The inverse function, and the logarithm as the inverse of the exponential
Week 7 · The inverse function, and the logarithmic function as the inverse of the exponential function · 3 lessons
1
The inverse function: the one-to-one condition, swapping x and y, and the mirror line y = x
Pure Mathematics Sec 2 Term 1, Unit 2, Lessons 4–5
GoalSay when a function has an inverse, and see the inverse as the mirror image in y = x.
New words
inverse function · the function f⁻¹ that undoes f: f⁻¹(f(x)) = xmirror line · the line y = x, in which the graphs of f and f⁻¹ are images of each other
Explanation
A taxi charges 5 LE plus 3 LE for each kilometre: f(d) = 3d + 5, so f(4) = 17 LE. If the passenger knows the fare, we can go backwards: the fare 17 LE came from 4 km. That backwards machine is the inverse function f⁻¹, with f⁻¹(17) = 4. It simply reverses every pair: if f contains (x, y) then f⁻¹ contains (y, x), as in the table for f(x) = 2x + 1. This only works when each fare comes from one distance, that is when f is one-to-one; otherwise the backwards machine would have two answers. Graphically, swapping the coordinates is a reflection in the line y = x, so the curve of f⁻¹ is the mirror image of the curve of f. Hence a function has an inverse exactly when every horizontal line meets its graph at most once. Because the pairs are turned round, the domain of f is the range of f⁻¹ and the range of f is the domain of f⁻¹, and f⁻¹(f(x)) = x = f(f⁻¹(x)). The function x² on R is not one-to-one ((−2, 4) and (2, 4)), so its mirror image is a parabola lying on its side, which is not a function. (In Arabic: الدالة العكسية.)
f
f⁻¹
domain
D
range of f
range
range of f
D
Worked examples
x
f(x) = 2x + 1
x
f⁻¹(x)
1
3
3
1
2
5
5
2
3
7
7
3
4
9
9
4
f(x) = 2x + 1 on the numbers 1, 2, 3, 4 gives the pairs (1, 3), (2, 5), (3, 7), (4, 9). Its inverse reverses them: (3, 1), (5, 2), (7, 3), (9, 4), so f⁻¹(7) = 3.
The curve of f(x) = 2x + 1 and the curve of f⁻¹(x) = (x − 1)/2 are mirror images in y = x: the point (1, 3) of f matches (3, 1) of f⁻¹. Check: f(f⁻¹(5)) = f(2) = 5.
y = x² is not one-to-one: the horizontal line y = 4 meets it at (−2, 4) and (2, 4). Its mirror image in y = x is not a function. But on x ≥ 0 it is one-to-one, and its inverse is y = √x.
Class activity
Undo it. Take any number, apply f(x) = 2x + 1 and then (x − 1)/2 to the result. Try three numbers and say what you notice.
Practice
1
The taxi rule f(d) = 3d + 5. Find f⁻¹(26): the distance for a fare of 26 LE.
3d + 5 = 26 gives d = 7, so f⁻¹(26) = 7 km.
2
The function f is {(1, 4), (2, 7), (3, 10)}. Write f⁻¹ and find the domain of f⁻¹.
f⁻¹ = {(4, 1), (7, 2), (10, 3)}; its domain is {4, 7, 10}, the range of f.
3
Which has an inverse on R: x³, x², |x|, 2x − 5? Use the horizontal line test.
x³ and 2x − 5. x² and |x| are met twice by y = 4 (x = ±2 / ±4).
4
The point (5, 12) is on the curve of f. Name a point on the curve of f⁻¹ and a point on the line y = x.
(12, 5) is on f⁻¹. Any (a, a), such as (3, 3), is on y = x.
5
If f(x) = 2x + 1, find f(f⁻¹(10)) without finding f⁻¹.