IB Maths AA HL Topic 2 โ€” Functions Paper 1 & 2 ~6 min read

Self-Inverse Functions

A self-inverse function is one that equals its own inverse โ€” apply it twice and you get back to where you started. The classic example: f(x) = 1/x. Take any number, take its reciprocal, take the reciprocal again, and you’ve got the original. Most rational functions of the form (ax + b)/(cx + d) are self-inverse if and only if d = โˆ’a. Useful to spot, useful to prove, useful for shortcut algebra.

๐Ÿ“˜ What you need to know

The two conditions โ€” they say the same thing

Condition 1
f(x) = fโˆ’1(x)
function is its own inverse
Condition 2
f(f(x)) = x
applying it twice gets you back

๐Ÿค” Why are they the same?

If f = fโˆ’1, then f(f(x)) = f(fโˆ’1(x)) = x automatically. And conversely, if f(f(x)) = x, then f undoes itself, so f matches the definition of fโˆ’1.

Common self-inverse functions

Identity
f(x) = x
does literally nothing
Reciprocal
f(x) = 1/x
flip, then flip again
Lines, gradient โˆ’1
f(x) = k โˆ’ x
e.g. 12 โˆ’ x, 7 โˆ’ x
Rational shortcut:   the rational function f(x) = (ax + b)/(cx + d) is self-inverse if and only if a + d = 0. Just check: are the coefficients of x on top and the constant on the bottom opposite in sign? If yes, self-inverse.

Graphical view โ€” symmetric in y = x

Since f = fโˆ’1, and the graph of fโˆ’1 is the reflection of f in y = x, a self-inverse function’s graph is its own reflection. The graph is unchanged when flipped across the line y = x.

A self-inverse curve โ€” its own mirror image in y = x
x y y = x (a, b) (b, a) if (a, b) lies on the curve, so does (b, a) โ€” same graph

How to prove a function is self-inverse

Method 1 โ€” composition
show f(f(x)) = x
substitute the function into itself, simplify; if it gives x, you’re done
Method 2 โ€” find inverse
find fโˆ’1(x), check it equals f(x)
use the swap-and-rearrange method from the inverse functions note
For rational functions like (ax + b)/(cx + d), Method 1 (composition) is usually faster. The numerator and denominator both simplify with the same factor cancelling out โ€” feels almost magical.

Worked examples

WE 1

Verify the reciprocal function is self-inverse

Show that f(x) = 1/x, x โ‰  0 is self-inverse.

Compute f(f(x)) f(f(x)) = f(1/x) = 1 / (1/x) = x โœ“ f(f(x)) = x, so f is self-inverse flip, then flip again โ€” back to the original
WE 2

A linear self-inverse function

Show that f(x) = 12 โˆ’ x is self-inverse.

Compute f(f(x)) f(f(x)) = f(12 โˆ’ x) = 12 โˆ’ (12 โˆ’ x) = 12 โˆ’ 12 + x = x โœ“ f(x) = 12 โˆ’ x is self-inverse any line of gradient โˆ’1, written as f(x) = k โˆ’ x, is self-inverse โ€” the graph is its own reflection in y = x
WE 3

Prove a rational function is self-inverse using composition

Show that f(x) = 4x + 3x โˆ’ 4, x โ‰  4 is self-inverse.

Compute f(f(x)) โ€” substitute f(x) into itself f(f(x)) = [4ยทf(x) + 3] / [f(x) โˆ’ 4] Numerator: 4ยทf(x) + 3 = 4ยท(4x+3)/(xโˆ’4) + 3 = [4(4x+3) + 3(xโˆ’4)] / (xโˆ’4) = [16x + 12 + 3x โˆ’ 12] / (xโˆ’4) = 19x / (xโˆ’4) Denominator: f(x) โˆ’ 4 = (4x+3)/(xโˆ’4) โˆ’ 4 = [(4x+3) โˆ’ 4(xโˆ’4)] / (xโˆ’4) = [4x + 3 โˆ’ 4x + 16] / (xโˆ’4) = 19 / (xโˆ’4) Divide numerator by denominator f(f(x)) = [19x/(xโˆ’4)] / [19/(xโˆ’4)] = 19x/19 = x โœ“ f(f(x)) = x, so f is self-inverse a + d = 4 + (โˆ’4) = 0 โ€” matches the rational shortcut, so this was expected
WE 4

Prove a rational function is self-inverse by finding its inverse

Show that f(x) = 5x โˆ’ 1x โˆ’ 5, x โ‰  5 is self-inverse.

Step 1: Set y = f(x) and swap x and y y = (5x โˆ’ 1)/(x โˆ’ 5) swap โ†’ x = (5y โˆ’ 1)/(y โˆ’ 5) Step 2: Multiply through by (y โˆ’ 5) x(y โˆ’ 5) = 5y โˆ’ 1 xy โˆ’ 5x = 5y โˆ’ 1 Step 3: Group y terms xy โˆ’ 5y = 5x โˆ’ 1 y(x โˆ’ 5) = 5x โˆ’ 1 y = (5x โˆ’ 1)/(x โˆ’ 5) Step 4: Compare fโปยน(x) = (5x โˆ’ 1)/(x โˆ’ 5) = f(x) โœ“ fโปยน(x) = f(x), so f is self-inverse again: a + d = 5 + (โˆ’5) = 0 โ€” fits the rational pattern
WE 5

Find k for which a function is self-inverse

Find the value of k such that f(x) = kx + 12x โˆ’ 3 is self-inverse.

Use the rational shortcut: a + d = 0 here a = k, d = โˆ’3 need k + (โˆ’3) = 0 k = 3 k = 3, giving f(x) = (3x + 12)/(x โˆ’ 3) Quick check by composition f(f(x)) numerator: 3ยท(3x+12)/(xโˆ’3) + 12 = [9x + 36 + 12x โˆ’ 36]/(xโˆ’3) = 21x/(xโˆ’3) denominator: (3x+12)/(xโˆ’3) โˆ’ 3 = [3x + 12 โˆ’ 3x + 9]/(xโˆ’3) = 21/(xโˆ’3) f(f(x)) = 21x/21 = x โœ“ memorise the “a + d = 0” shortcut โ€” saves a lot of algebra in exam questions
WE 6

Use the self-inverse property to find a value

The function f is self-inverse, and f(2) = 11. Find the value of f(11).

Use the property f(f(x)) = x f(f(2)) = 2 f(11) = 2 (since f(2) = 11) f(11) = 2 alternative reasoning: since f = fโปยน, f(2) = 11 means fโปยน(11) = 2, which is also f(11)

๐Ÿ’ก Top tips

โš  Common mistakes

Self-inverse, periodic, odd, even โ€” all four are special structural properties that the IB likes to test, because spotting them turns hard problems into easy ones. The next note shifts focus from algebraic properties to graphing functions and their key features โ€” what to label on a sketch, how to use your GDC, and the difference between “sketch” and “draw”.

Need help with Self-Inverse Functions?

Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.

Book Free Session โ†’