Inverse Functions
A function takes an input and gives you an output. Its inverse runs the process backwards: give it the output, and it hands you back the original input. Inverses let you “undo” a formula to answer questions the other way around, and later on they’re how logarithms are built from exponential functions.
Key ideas
Section titled “Key ideas”What an inverse does
Section titled “What an inverse does”If sends to , then the inverse sends back to :
For example, if , then .
Careful: the in is not an exponent. means “the inverse of ”, not .
Swap the inputs and outputs
Section titled “Swap the inputs and outputs”To find the inverse of a relation, swap the coordinates in every ordered pair: the point becomes .
Because inputs and outputs trade places, the domain and range trade places too:
- the domain of is the range of
- the range of is the domain of
Finding the inverse from an equation
Section titled “Finding the inverse from an equation”- Write in place of .
- Swap and .
- Solve for .
- Write in place of .
Graphing: reflect in the line y = x
Section titled “Graphing: reflect in the line y = x”Swapping the coordinates of a point is the same as reflecting it in the line . So the graph of is the mirror image of the graph of in that line. To sketch it, pick a few key points on , swap their coordinates, plot the new points, and join them. Example 4 shows this.
Is the inverse a function?
Section titled “Is the inverse a function?”Every function has an inverse, but the inverse is only a function if never gives the same output for two different inputs. Check with the horizontal line test: if some horizontal line crosses the graph of more than once, the inverse is not a function.
For example, fails the test: and , so the inverse would have to send to both and . The fix is to restrict the domain of , keeping only a part of the graph that passes the test. If you keep , the inverse is .
Checking your answer
Section titled “Checking your answer”- Quick check: pick a number, put it through , then put the result through . You should get your number back.
- Full check: show that both of these are true for every in the right domain:
Worked examples
Section titled “Worked examples”Example 1: Ordered pairs
Section titled “Example 1: Ordered pairs”Find the inverse of and state its domain and range. Is a function?
Solution. Swap the coordinates in each pair:
The domain of is the range of : . The range of is the domain of : .
is a function, because each of its inputs (, , and ) appears only once.
Notice that didn’t change. It sits on the line , so reflecting it leaves it where it is.
Example 2: A linear function
Section titled “Example 2: A linear function”Find for , then check your answer.
Solution.
- Write for :
- Swap and :
- Solve for : , so
- Write in place of :
Quick check: , and . We got back.
Full check:
Look at the order of the steps. multiplies by and then adds . The inverse undoes them in reverse order: subtract first, then divide by . It’s like socks and shoes: you put socks on first, but you take shoes off first.
Example 3: Temperature and altitude
Section titled “Example 3: Temperature and altitude”On a day when it’s at sea level, a simple model for the air temperature (in ) at a height of kilometres is
Find the inverse, and use it to find the height where the temperature is .
Solution. Here the letters have meanings: is always a temperature and is always a height. So don’t swap them. Just solve for the other variable, which gives the same inverse:
This inverse takes a temperature and gives the height. For :
The temperature is at a height of km.
Check: . ✓
Example 4: A quadratic with a restricted domain
Section titled “Example 4: A quadratic with a restricted domain”Let for . Find , state the domain and range of both and , and sketch both graphs.
Solution.
Domain and range of . The domain is given: . The graph is the right half of a parabola that opens up from its vertex , so the range is . Keeping only the right half is what makes pass the horizontal line test.
Find the inverse.
Which sign? The range of has to be the domain of , which is . The sign gives values that are at least ; the sign gives values that are at most . So we keep the :
Domain and range of . Swap them from : the domain is and the range is .
Quick check: , and . ✓
Sketch. Take key points on and swap their coordinates:
| On | ||||
|---|---|---|---|---|
| On |
Plot the swapped points and join them with a smooth curve. The two graphs are reflections of each other in the line .
Common mistakes
Section titled “Common mistakes”Reading as . The means “inverse”, not “reciprocal”. For , the inverse is , but . Those are completely different functions.
Undoing the steps in the wrong order. For , a common wrong answer is : it undoes “times ” and “plus ” in the same order instead of the reverse order. A quick check catches it: , but , not .
Leaving the in (or picking the wrong sign). isn’t a function, because it gives two outputs. Use the domain of the original function to decide: the range of must match the domain of .
Forgetting the inverse’s domain. The domain of is the range of , not automatically “all real numbers”. In Example 4, only works for .
Assuming every inverse is a function. Use the horizontal line test first. If fails it, restrict the domain before you find the inverse.
Swapping letters that have meanings. In a word problem like Example 3, solve for the other variable instead of swapping. Otherwise ends up standing for a height, which gets confusing fast.
Practice
Section titled “Practice”1. (Warm-up)
- (a) If , find .
- (b) If , find .
- (c) The point is on the graph of . Which point must be on the graph of ?
Solution
(a) sends to , so sends back to : .
(b) sends to , so sends to : .
(c) Swap the coordinates: .
2. (Warm-up) Find the inverse of , and state its domain and range.
Solution
Swap the coordinates in each pair:
Domain of : . Range of : .
3. (Core) Find for .
Solution
Swap and : . Then , so .
Check: , and . ✓
4. (Core) Find for .
Solution
Swap and : .
Multiply both sides by : . Add : . Divide by :
Check: , and . ✓
5. (Core) Show that and are inverses of each other.
Solution
Check both compositions:
Both give , so and are inverses.
6. (Core) Let .
- (a) Explain why the inverse of is not a function.
- (b) Restrict the domain of to . Find , and state its domain and range.
Solution
(a) Two different inputs give the same output: and . So the inverse would send to both and . (On the graph, the horizontal line crosses the parabola twice.)
(b) Swap and : , so . The range of must be the restricted domain of , , so take the sign:
Domain of : . Range of : .
Check: , and . ✓
7. (Core) A taxi charges a $3.50 flat fee plus $1.75 per kilometre, so a ride of kilometres costs dollars. Find the inverse, and use it to find how far you can ride for $24.50.
Solution
and have meanings, so solve for instead of swapping:
For :
You can ride km. Check: . ✓
8. (Challenge) Find for , where . What is the domain of ?
Solution
Swap and , then collect the terms on one side:
(This also tells you that never outputs .)
Check: , and . ✓
9. (Challenge) Show that is its own inverse. Then use its graph to explain why that makes sense.
Solution
Swap and : , so . That means , which is the same as .
The graph of is a line with slope through and , so it’s perpendicular to . Reflect any point on it in and you get . That point is on the same line, because . So reflecting the graph in gives back the same graph, and the inverse is the function itself.