Let f(x) = x + 8 and g(x) = x2 − 6x − 7. Find f(g(2))
To find the value of composition f(g(2)), or in another notation (f∘g)(2), we first find the value of inner function, g at point 2. Then, we use this result to find value of outer function, f.
So, value of inner function is:
Now we use this result, -15 and find the value of f at point −15:
Final result is -7. It can be written in one line like this: