A composite function f(g(x)) applies g first and then f.
(f∘g)(x)=f(g(x))
The composite function f(g(x)) applies g to x first, then f to the result. Changing the order changes the function.
f(x)=x+3,g(x)=x2⇒g(f(x))=(x+3)2,f(g(x))=x2+3
For differentiation, practice seeing y=(2x+4)4 as an outer function y=u4 and an inner function u=2x+4. The chain rule multiplies the derivatives of the outer and inner parts.
Examples
01Write g(f(x)) as an expression:f(x)=x+3,g(x)=x2AnswerHide
Answer(x+3)2
02What is g(f(x)) − f(g(x))?g(f(x))=4x+2,f(g(x))=4x+8AnswerHide
Answer−6
03Write g(f(x)) as an expression:f(x)=x+4,g(x)=x2AnswerHide
Answer(x+4)2
04Viewing this as y=u4, what is the inner u?y=(2x+4)4AnswerHide
Answer2x+4
05Write f(g(x)) as an expression:f(x)=x+5,g(x)=x2AnswerHide
Answerx2+5
06What is g(f(x)) − f(g(x))?g(f(x))=3x+5,f(g(x))=3x+15AnswerHide
Answer−10
FAQ
Q1Are f(g(x)) and g(f(x)) the same?Show answerHide
A
Usually not. With f(x)=x+3 and g(x)=x2, f(g(x))=x2+3 but g(f(x))=(x+3)2. The order matters.
Practice this pattern in the app, 5 problems a day.
Before this
coming soonFunction notation f(x) and substitution