What is composition?
Composition of functions means using the output of one function as the input of another.
Written as:
f(g(x))
How to evaluate f(g(x))
Steps:
-
Find g(x)
-
Plug that result into f(x)
Example
f(x) = x + 2
g(x) = 3x
Find f(g(x)):
g(x) = 3x
f(3x) = 3x + 2