Create 2 functions named fx and gx Define the following and
Create 2 functions named f(x) and g(x). Define the following and give an example using real number values: a. Sum function b. Difference function c. Product function d. Quotient function e. Composite function f(g(x)) f. Composite function g(f(x)) For instance, if f(x)=3x and g(x)= x-1, then for the sum function: (f+g)(x) = 3x + x-1 = 4x-1 (f+g)(2) = 4(2)-1 = 8-1= 7 Don\'t forget to look over everyone\'s creations and their examples and comment!
Solution
Lets take f(x) = x +2 ; g(x) = x^2 +2x
a) Sum function : (f+g)(x) = x+2 + x^2 +2x = x^2 +4x
b) Difference function : ( f- g)(x) = f(x) - g(x) = x+2 - x^2 -2x = -x^2 -x +2
c) Product function : f(x)*g(x) = (x+2)(x^2+2x) = x^3 + 2x^2 +2x^2 + 4x = x^3 + 4x^2 + 4x
e) Composite function : f(g(x)) = (x^2 + 2x) +2 = x^2 + 2x +2
g(f(x)) = (x+2)^2 +2(x+2) = x^2 + 4x + 4 + 2x + 4 = x^2 + 6x + 8
