Functions and Inverse Functions
A function is a rule that turns each input into exactly one output. Its inverse runs the rule backwards, from output to input, and that only works when no two inputs share an output; otherwise you couldn't tell which one to go back to.
What the symbols mean
- Composition
Apply g first, then apply f to the result. Order matters.
What the symbols mean
- Inverse function
Undoes f. It is not 1/f.
Explanation
A function is simply a machine: you feed it an input, and it hands back exactly one output. All we're really doing in this lesson is chaining machines together and running them in reverse. The notation has two pieces worth knowing: (composition: run through first, then feed the result into ) and (the inverse: the machine that undoes , taking each output back to the input it came from). The equations just say "do it, then undo it, and you're back where you started."
Everything in calculus is built on functions, so it's worth making sure these basics feel solid. The derivative is a rule for turning one function into another, the chain rule is about compositions, and inverses give us logarithms and the inverse trig functions.
Domain and range. The domain is every input the formula accepts; the range is every output it produces. Watch for division by zero, even roots of negatives, and logs of non-positive numbers.
Composition chains functions: . Usually , so read from the inside out. Think of putting on socks and then shoes: same two steps, but the order matters.
One-to-one functions. A function has an inverse only if different inputs always give different outputs. It makes sense: if and are both , then the inverse wouldn't know whether to send back to or to . On a graph: every horizontal line crosses it at most once (the horizontal line test). passes; fails, unless you restrict it to .
A common mistake. It's tempting to read as , because that's what the exponent means on a number. It doesn't mean that here: is the function that undoes . For , the inverse is , not .
Finding an inverse.
- Write .
- Solve for in terms of .
- Swap the names: that's .
- Check that .
The graph of is the graph of reflected across the line , and the domain and range trade places.
See it
Worked examples
Find the inverse of .
- 1
Write and solve for : .
With and , find and .
- 1
For , apply first and then take the root: . The inside is never negative, so this works for every .
Practice
Type your answer and check it. Solve them all to complete the lesson.
If , find .
With and , find .
With the same functions, find .
Find the inverse of .
What is the domain of ?
A thermistor's resistance drops as it warms: kΩ at °C. A circuit reads kΩ. Find the temperature, .
The hardest one here. Get it, and you've got this lesson.
Find the inverse of .
Where it's used
Unit conversions (°C ↔ °F), encryption and decryption, and correcting a camera lens's distortion are all function and inverse pairs: one maps forward, the other undoes it exactly.