01 · Linear inverse
Find the inverse of f(x) = 4x + 9 on the real numbers.
Hint
Undo addition, then multiplication.
Worked solution
f⁻¹(x) = (x − 9)/4. Domain and range are both all real numbers.
Understand · explore · practise
Find inverse functions, choose the correct quadratic branch and exchange domain and range. Explore reflection in y = x, verify compositions and practise with solutions.
Before you startOne-to-one functions, domain and range, rearranging formulas and composite functions
01 / Reverse a function
If f maps a to b, then its inverse maps b back to a. This requires f to be one-to-one on its domain: otherwise a shared output would have two possible original inputs.
f(a) = b ⇔ f⁻¹(b) = a
The inverse is defined on the range actually reached by f. For example, f(x) = x² on all real numbers has no inverse function because 9 came from both −3 and 3. Restricting the domain to x ≥ 0 gives a unique inverse √x.
f⁻¹(x) means the inverse function. It does not mean 1/f(x).
02 / Rearrange and relabel
y = 3x − 7 ⇒ x = (y + 7)/3
Undo subtracting 7, then undo multiplying by 3.
f⁻¹(x) = (x + 7)/3
Relabel the new input as x after rearranging.
Both domain and range are all real numbers
The linear rule is one-to-one and reaches every real output.
For comparison, the reciprocal of f(x) is 1/(3x − 7), which is a completely different function.
03 / Choose the correct branch
y − 2 = (x − 1)²
The range of f is y ≥ 2.
x − 1 = √(y − 2)
Since x ≥ 1, the original x − 1 is nonnegative. Choose the positive branch.
f⁻¹(x) = 1 + √(x − 2), with x ≥ 2
The inverse has range y ≥ 1.
If instead the original domain were x ≤ 1, its inverse would be 1 − √(x − 2), still with domain x ≥ 2 but range y ≤ 1. Never keep an unexplained ± in the answer for an inverse function.
Blue: f(x) = (x − 1)² + 2, x ≥ 1.
Gold: f⁻¹(x) = 1 + √(x − 2), x ≥ 2.
Only the part within the displayed axes is shown.
(2, 3) on f ↔ (3, 2) on f⁻¹.
The dashed connector is perpendicular to y = x and its midpoint lies on that line.
Pause, replay or seek freely. The notes explain the same idea and stay in view.
04 / Exchange domain and range
If f has domain D and range R, its inverse has domain R and range D. These restrictions are part of the answer, even when a rearranged formula appears to work more widely.
f(x) = (x − 1)² + 2 for 1 < x ≤ 3
The function increases throughout its domain.
Range of f: 2 < y ≤ 6
The lower value is approached, not attained.
f⁻¹(x) = 1 + √(x − 2)
Domain: 2 < x ≤ 6
Range: 1 < y ≤ 3
Keep the open and closed endpoints when exchanging the sets.
05 / Rational inverses
y(x − 3) = 2x + 1
Multiply by the nonzero denominator.
x(y − 2) = 3y + 1
Collect x terms on one side.
x = (3y + 1)/(y − 2)
Here y cannot equal 2. The original expression is 2 + 7/(x − 3), so its range excludes 2.
f⁻¹(x) = (3x + 1)/(x − 2)
Domain x ≠ 2; range y ≠ 3
Each allowed output has exactly one original input.
06 / Roots and exponentials
y − 1 = √(3x − 2), so y ≥ 1
The sign restriction must survive squaring.
(y − 1)² = 3x − 2
Now rearrange for x.
p⁻¹(x) = ((x − 1)² + 2)/3
Domain x ≥ 1; range y ≥ 2/3
The polynomial expression alone does not justify using x < 1.
y + 4 = e^(2x) > 0
The range of q is y > −4.
ln(y + 4) = 2x
Take logarithms of positive quantities.
q⁻¹(x) = ½ ln(x + 4)
Domain x > −4; range all real y
The inverse domain comes from the original range.
07 / Verify by composition
For f⁻¹ to undo f, check f⁻¹(f(x)) = x on the domain of f and f(f⁻¹(x)) = x on the domain of f⁻¹.
f⁻¹(f(x)) = 1 + √((x − 1)²)
= 1 + |x − 1|
The square root of a square is an absolute value.
For x ≥ 1, this equals 1 + (x − 1) = x
The branch restriction is exactly what makes it work.
f(f⁻¹(x)) = (√(x − 2))² + 2 = x for x ≥ 2
The second round trip starts in the inverse domain.
08 / Reflection and intersections
A point (a, b) on f corresponds to (b, a) on f⁻¹. Equal axis scales make this a geometric reflection. A fixed point f(a) = a lies on both graphs and on y = x.
For a strictly increasing function, every intersection with its inverse lies on y = x. To see why, an intersection gives f(a) = b and f(b) = a. If a < b, increasing behaviour would require b < a, a contradiction. The case a > b is equally impossible. Therefore a = b.
f(x) = 2x + 1; f⁻¹(x) = (x − 1)/2
Both are increasing.
2x + 1 = x ⇒ x = −1
The only intersection is (−1, −1).
Do not use this shortcut for every inverse pair. The decreasing function f(x) = 5 − x is its own inverse. The two graphs coincide along the entire line, including (1, 4), which is not on y = x. Their only fixed point is (5/2, 5/2), but it is not their only intersection.
09 / Your turn
State the branch and any excluded values explicitly.
Find the inverse of f(x) = 4x + 9 on the real numbers.
Undo addition, then multiplication.
f⁻¹(x) = (x − 9)/4. Domain and range are both all real numbers.
f(x) = (x + 2)² − 5, with x ≤ −2. Find f⁻¹ and its domain/range.
The original x + 2 is nonpositive.
f⁻¹(x) = −2 − √(x + 5). Its domain is x ≥ −5 and range y ≤ −2.
g(x) = x² for 2 ≤ x < 5. Find g⁻¹, including its domain and range.
The original range is [4, 25).
g⁻¹(x) = √x for 4 ≤ x < 25. Its range is 2 ≤ y < 5.
h(x) = (3x − 2)/(x + 1), x ≠ −1. Find h⁻¹ and its domain/range.
Collect x terms after multiplying by x + 1.
yx + y = 3x − 2 gives x(y − 3) = −y − 2. Thus h⁻¹(x) = (x + 2)/(3 − x), with domain x ≠ 3 and range y ≠ −1.
p(x) = √(2x + 6), x ≥ −3. Find its inverse.
The original output is nonnegative.
p⁻¹(x) = (x² − 6)/2, domain x ≥ 0 and range y ≥ −3. Negative inverse inputs must be excluded.
q(x) = 3eˣ + 2 for real x. Find q⁻¹ and its domain.
Isolate eˣ before taking logarithms.
q⁻¹(x) = ln((x − 2)/3), with domain x > 2 and range all real numbers.
Why is √(x²) = x not true for all real x? Explain its relevance to inverting x².
Test x = −3.
√(x²) = |x|. At −3 it equals 3. The inverse √x undoes x² on x ≥ 0; on x ≤ 0 the correct inverse is −√x. Without a restriction, x² has no inverse function.
Show that r(x) = 7 − x is its own inverse. Are all intersections of r and r⁻¹ on y = x?
Compute r(r(x)).
r(r(x)) = 7 − (7 − x) = x for every real x. The graphs are the same whole line, so they have infinitely many intersections, most off y = x. For example, (0, 7) is common to both.
Find the intersection of f(x) = 3x − 4 and f⁻¹(x).
The function is strictly increasing, so solve f(x) = x.
3x − 4 = x gives x = 2 and y = 2. The inverse is (x + 4)/3, which also gives 2 at x = 2.
If f(6) = −2 and f is invertible, what is f⁻¹(−2)? Can you deduce 1/f(−2)?
Reverse the given mapping. Do not confuse notation.
f⁻¹(−2) = 6. The given information does not determine f(−2), so it does not determine its reciprocal; that reciprocal might even be undefined.
10 / Recap
Section 1 of 10 · Reverse a function