Composite and Inverse Functions: f(g(x)) and f⁻¹(x) Explained
How to chain functions together and why the order matters, how to find an inverse by swapping and , and why the graph of an inverse is a reflection in the line .
Composite functions
Functions can be chained like machines on a production line. The output of the first becomes the input of the second. Feeding into and then the result into gives the composite , also written .
Find and .
Order matters. means do first. Work from the inside out.
You can compose with expressions too: while .
Inverse functions
An inverse function runs the machine backwards. If doubles a number and adds , its inverse subtracts and halves. Applying a function and then its inverse returns you to where you started: .
Find the inverse of .
- 1
Write and swap and .
Check: and ✓.
The graph of an inverse
Swapping and turns every point on the graph of into on the graph of . Geometrically, that is a reflection in the line .
Mirror images in the line .
When there is no inverse
A function only has an inverse if each output comes from just one input. sends both and to , so "undo" would not know which to return. Restricting the domain to fixes this, and then the inverse is .
is not . The here means "inverse function", not a power.
Some of the most important functions are inverse pairs: squaring and square roots, exponentials and logarithms, sine and .
Common questions
- Does f(g(x)) equal g(f(x))?
Usually not. With and , but .
- How do you find an inverse function?
Write , swap and , then solve for . The result is .
The Composite Functions lesson has worked examples and unlimited practice that adapts to you.