Inverse Functions (AA HL)

The inverse function f−1f^{-1} reverses ff: if f(a)=bf(a)=b, then f−1(b)=af^{-1}(b)=a, and the graph of y=f−1(x)y=f^{-1}(x) is the reflection of y=f(x)y=f(x) in the line y=xy=x. Find it by writing y=f(x)y=f(x), swapping xx and yy and rearranging, but only a one-to-one function has an inverse, so the domain sometimes needs restricting. It's part of the broader Composite & Inverse Functions topic.

24 questions on this sub-topic.

Syllabus

CodeSyllabus content
SL2.5Composite functions (f∘g)(x)=f(g(x))(f\circ g)(x)=f(g(x)). The identity function. Finding the inverse function f−1(x)f^{-1}(x), including the existence of an inverse for one-to-one functions. Link to the inverse function as a reflection in the line y=xy=x.

Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).

Skills practised on this page:

Definition and method

Self-inverse functions

(f∘f)(x)=x(f\circ f)(x)=x

If composing ff with itself gives back xx, then f=f−1f=f^{-1} and the graph is symmetric about y=xy=x.

Not in the formula booklet - prior knowledge

Finding an inverse

y=f−1(x)⟺x=f(y)y=f^{-1}(x) \iff x=f(y)

Write y=f(x)y=f(x), swap xx and yy, then rearrange to make yy the subject. The inverse satisfies (f−1∘f)(x)=(f∘f−1)(x)=x(f^{-1}\circ f)(x) = (f\circ f^{-1})(x) = x.

Not in the formula booklet - prior knowledge

Need the full syllabus wording and formula-booklet reference table? See Composite & Inverse Functions.

Key terms

What is a one-to-one function?

A one-to-one function gives each output from exactly one input. Its graph passes the horizontal line test, and only such functions have an inverse.

e.g. f(x)=x3f(x)=x^3 is one-to-one, but f(x)=x2f(x)=x^2 on all real numbers is not, since f(2)=f(−2)=4f(2)=f(-2)=4.

How do you check that two functions are inverses?

Show that f(g(x))=xf(g(x))=x and g(f(x))=xg(f(x))=x for every xx in the relevant domains.

e.g. For f(x)=2x+1f(x)=2x+1 and g(x)=x−12g(x)=\dfrac{x-1}{2}: f(g(x))=2⋅x−12+1=xf(g(x))=2\cdot\dfrac{x-1}{2}+1=x and g(f(x))=2x+1−12=xg(f(x))=\dfrac{2x+1-1}{2}=x.

What is the identity function?

The identity function x↦xx\mapsto x leaves every input unchanged. Composing a function with its inverse gives the identity function.

e.g. For f(x)=x+4f(x)=x+4, f−1(x)=x−4f^{-1}(x)=x-4, and f(f−1(x))=xf(f^{-1}(x))=x.

How are the graphs of ff and f−1f^{-1} related?

They are reflections of each other in the line y=xy=x. A point (a,b)(a,b) on y=f(x)y=f(x) corresponds to the point (b,a)(b,a) on y=f−1(x)y=f^{-1}(x).

e.g. If (2,7)(2,7) lies on y=f(x)y=f(x), then (7,2)(7,2) lies on y=f−1(x)y=f^{-1}(x).

Worked examples

1
Medium
No calc
[4 marks]

f(x)=2x−1x+3.f(x)=\dfrac{2x-1}{x+3}. Find f−1(x).f^{-1}(x).

Worked solution

y=2x−1x+3⇒y(x+3)=2x−1.y=\dfrac{2x-1}{x+3}\Rightarrow y(x+3)=2x-1. M1
yx+3y=2x−1yx+3y=2x-1
yx−2x=−1−3yyx-2x=-1-3y
x(y−2)=−1−3y.x(y-2)=-1-3y. M1
x=−1−3yy−2=3y+12−y.x=\dfrac{-1-3y}{y-2}=\dfrac{3y+1}{2-y}. A1 Hence f−1(x)=3x+12−x.f^{-1}(x)=\dfrac{3x+1}{2-x}. A1

M1 Multiply to remove the denominator M1 Collect the xx terms on one side A1 Solve for xx and swap variables A1 Make xx the subject
2
Hard
No calc
[5 marks]

f(x)=x2−4x+1.f(x)=x^2-4x+1.

(a) State the largest domain x≥ax\ge a on which ff is one-to-one.

(b) Find f−1(x)f^{-1}(x) on that domain.

Worked solution

(a) f(x)=x2−4x+1=(x−2)2−3f(x)=x^2-4x+1=(x-2)^2-3, a parabola with vertex x=2.x=2. It is one-to-one on a half-line from the vertex, so the largest such domain is x≥2x\ge2, giving aa R1
a=2.a = 2. A1

(b) Set y=(x−2)2−3y=(x-2)^2-3: (x−2)2=y+3.(x-2)^2=y+3. M1 Since x≥2x\ge2, take the positive root: x=2+y+3.x=2+\sqrt{y+3}. A1 So f−1(x)=2+x+3,x≥−3.f^{-1}(x)=2+\sqrt{x+3},\quad x\ge-3. A1

R1 Reasoning A1 Turning point reasoning, then aa M1 Rearrange for x A1 Positive root A1 State f−1^{-1}(x)
3
Easy
No calc
[3 marks]

Find the inverse of f(x)=x−43.f(x)=\dfrac{x-4}{3}.

Worked solution

y=x−43⇒3y=x−4.y=\dfrac{x-4}{3}\Rightarrow 3y=x-4. M1
x=3y+4.x=3y+4. A1
So f−1(x)=3x+4.f^{-1}(x)=3x+4. A1

M1 Clear fraction A1 Isolate xx A1 Inverse
4
Hard
GDC
[6 marks]

f(x)=2x−3.f(x)=2x-3.

Solve f(x)=f−1(x).f(x)=f^{-1}(x).

Worked solution

y=2x−3⇒x=y+32y=2x-3\Rightarrow x=\dfrac{y+3}{2}, so f−1(x)f^{-1}(x) M1 =x+32.=\dfrac{x+3}{2}. A1
ff is increasing and linear, so any intersection of ff and f−1f^{-1} lies on y=x.y=x. R1 Solve 2x−3=x⇒x2x-3=x\Rightarrow x A1 =3.=3. A1
Check: f(3)=3f(3)=3, confirming the fixed point. A1On the GDC. Find the x-coordinate of the intersection of y=2×x−3y=2\times x-3 and y=(x+3)/2y=(x+3)/2 near x=2x=2. The calculator shows about 3.

TI-84 Plus CE: Y= clear Y1= 2*x-3 ▼ Y2= (x+3)/2 window Xmin -5 Xmax 10 Ymin -5 Ymax 10 graph 2nd trace 5:intersect enter enter move to the crossing near x = 2 enterCasio fx-CG50: MENU 5 Y1 2*x-3 EXE Y2 (x+3)/2 EXE SHIFT F3 Xmin -5 Xmax 10 Ymin -5 Ymax 10 EXIT F6 SHIFT F5 F5 move to the crossing near x = 2 EXECasio fx-CG100: HOME Graph&Table y1 2*x-3 EXE y2 (x+3)/2 EXE TOOLS View Window Xmin -5 Xmax 10 Ymin -5 Ymax 10 OK draw the graphs TOOLS Graph Solve Intersection move to the crossing near x = 2 OKTI-Nspire CX: Graphs page, f1(x) = 2*x-3 enter ▼ (x+3)/2 enter menu Window/Zoom Window Settings Xmin -5 Xmax 10 Ymin -5 Ymax 10 enter menu Analyze Graph Intersection bounds either side of x = 2 enterFull GDC guide: Find where two graphs meet Topic page

M1 Rearranging y=2x−3y=2x-3 to make xx the subject A1 Inverse R1 Line y=xy=x A1 Equation A1 Correct solution x=3x=3 A1 Checking that f(3)=3f(3)=3

Common mistakes

  • Writing f−1(x)f^{-1}(x) as 1f(x)\dfrac{1}{f(x)}. The −1-1 in f−1f^{-1} is inverse-function notation, not a power - it never means "reciprocal of ff".
  • Forgetting to restrict the domain before inverting. A many-to-one function like f(x)=x2f(x)=x^2 has no inverse over its full domain; you must restrict to x≥0x\ge0 (or x≤0x\le0) first.
  • Stating the inverse but not its domain. The domain of f−1f^{-1} equals the range of ff, not the domain of ff - this is worth its own mark and is easy to skip.

Using your GDC

There's no dedicated calculator menu for composing or inverting functions - the two guides normally indexed for this topic (inverse normal probabilities, matrix equation-solving) don't actually apply here. Your GDC is best used to verify an inverse or composite you've already found algebraically.

Show steps for:
Check a composite or inverse numerically

A quick way to catch an algebra slip before you commit to an answer, on any calculator model.

  1. To check (f∘g)(x)(f\circ g)(x): store a value of xx, evaluate g(x)g(x) first, then feed that result into f( )f(\ ) - this substitution method works identically on every model.
  2. To spot-check a claimed inverse: evaluate ff at a chosen xx, then evaluate your f−1f^{-1} at that output - you should get back your original xx.
  3. Use the graphing screen to plot y=f(x)y=f(x), y=f−1(x)y=f^{-1}(x) and y=xy=x together - a correct inverse looks like a mirror image of ff across that line.

Tip: There's no shortcut button for "find the inverse" - use your GDC to verify an inverse you've derived by hand, not to generate one from scratch.

See the full GDC guide for more calculator models and topics.

Quick questions

How do you find the inverse of a function?

Write y=f(x)y=f(x), swap xx and yy, then rearrange to make yy the subject. The result is f−1(x)f^{-1}(x).

What is the domain of an inverse function?

The domain of f−1f^{-1} equals the range of ff, and the range of f−1f^{-1} equals the domain of ff.

Why does f(x)=x2f(x)=x^2 need a restricted domain to have an inverse?

On all real numbers it is many-to-one, so it fails the horizontal line test. Restricting to x≥0x\ge0 makes it one-to-one, with inverse f−1(x)=xf^{-1}(x)=\sqrt{x} and domain x≥0x\ge0.

How do I find f−1(5)f^{-1}(5) without finding the whole inverse?

Solve f(x)=5f(x)=5, because the input that gives 55 is the output of the inverse. For f(x)=3x−1f(x)=3x-1, 3x−1=53x-1=5 gives x=2x=2, so f−1(5)=2f^{-1}(5)=2.

Is f−1(x)f^{-1}(x) the same as 1f(x)\dfrac{1}{f(x)}?

No. The notation f−1f^{-1} means the inverse function, not a reciprocal. For f(x)=2xf(x)=2x, f−1(x)=x2f^{-1}(x)=\dfrac{x}{2}, but 1f(x)=12x\dfrac{1}{f(x)}=\dfrac{1}{2x}.

Ready to practise properly?

24 inverse-function questions, marked instantly like the real exam.