Composition of Functions is the process of combining two functions where one function is performed first and the result of which is substituted in place of each x in the other function.
The composition of functions f and g is written as f o g.
[f o g](x) = f[g(x)]
Composition of functions is not commutative. f[g(x)] is generally not equal to g[f(x)].
For example, consider f(x) = 2x and g(x) = x - 3.
f[g(x)] = 2(x - 3) = 2x - 6
g[f(x)] = (2x) - 3 = 2x - 3
f[g(x)] is not equal to g[f(x)].
A. x - 8
B. 3x 2 - 48x + 198
C. 3x 2 - 2
D. 3x 2 + 6
Correct Answer: B
Step 1: f[g(x)] = f[x - 8]
Step 2: = 3(x - 8)2 + 6
Step 3: = 3(x 2 - 16x + 64) + 6
Step 4: = 3x 2 - 48x + 198.
Q1: If f(x) = x + 2 and g(x) = 3x, what is f[g(x)]?
Q: Is f[g(x)] always different from g[f(x)]?
A: Generally yes, but there can be cases where f[g(x)] = g[f(x)] for specific functions and values of x.