Inverse Functions
Undoing a function machine, swap and solve, x on the top and bottom, and squared functions with a domain.
In the exam for Cambridge IGCSE Maths 0580, Cambridge O Level Maths 4024, Edexcel IGCSE Maths 4MA1 · 76 real past-paper questions below
اقرأ هذا الدرس مشروحاً بالعربي ←
What an Inverse Does
A function is a machine: a number goes in, a new number comes out. The inverse machine runs it backwards, from the output to the input.
Worked example
- 1
— f is a two-step machine: times 3, then add 2. We want the input that gives 20.
- 2
— Go backwards and do the opposite of each step, last one first: undo +2 with −2, then undo ×3 with ÷3.
- 3
— Check by running f forwards: 6 × 3 + 2 = 20.
Common mistake
Reading as . The −1 means “undo”, not “one over”.
Key idea
The Roman writer Suetonius tells us Julius Caesar hid messages by moving each letter 3 places on: A became D. To read them, you need the inverse: move each letter 3 places back. Try it: FDW means CAT.
Swap and Solve
To find : write y for f(x), make x the subject, then swap the letters.
Worked example
- 1
— f(x) = (2x + 7) ÷ 5
- 2
— multiply both sides by 5
- 3
— take 7 from both sides
- 4
— divide by 2
- 5
— swap y back to x
Key idea
Check with a number: f(4) = 3, so must come out as 4. It does: .
x on Top and Bottom
When x is on the top and the bottom of a fraction, gather the x terms on one side and factorise.
Worked example
- 1
— Write y for f(x). The letter x is on the top and the bottom.
- 2
— Multiply both sides by (x − 2) to clear the bottom of the fraction.
- 3
— Expand the bracket: y times x, and y times −2.
- 4
— Take 3x from both sides, so the x terms are together.
- 5
— Add 2y to both sides, so the terms without x are on the right.
- 6
— Take x out as a common factor, so x is written only once.
- 7
— Divide both sides by (y − 3).
- 8
— Swap y for x.
Common mistake
Stopping one line early. While x is in two places, it is not the subject. Factorise to get one x.
A Squared Function (Higher)
A square has two roots, so the question gives a domain like . The domain tells you which sign to keep.
Worked example
- 1
— the function
- 2
— take 2 from both sides
- 3
— square root both sides
- 4
— x ≥ 3, so keep the plus
- 5
— swap y to x
Key idea
The inputs of f are the outputs of the inverse. Here f only gives numbers from 2 up, so the inverse only takes x ≥ 2.
Inverse of a Quadratic (Higher)
Exams give you with a domain. Write it as a squared bracket first. Then swap and solve, and let the domain choose the sign.
Worked example
- 1
— Write y for f(x). The x terms are in two places, so complete the square.
- 2
— Take out the 2 from the x terms, so that x² has no number in front.
- 3
— Half of 4 is 2. The bracket (x + 2)² has an extra 4, so take 4 away.
- 4
— Multiply the −4 by the 2 outside the bracket.
- 5
— Work out −8 + 3.
- 6
— Add 5 to both sides.
- 7
— Divide both sides by 2.
- 8
— Square root both sides. A square has two roots.
- 9
— The domain x ≥ −2 means x + 2 is 0 or more, so keep the plus. Then take 2 from both sides.
- 10
— Swap y for x.
Key idea
The lowest value of f is , so the inverse takes . That is the same as saying the number under the root cannot be negative.
A Function and Its Inverse
A function followed by its own inverse changes nothing. Exams use this to simplify, and to spot a function that is its own inverse.
Formula
Rule
The answer is just . It is not 1 and it is not 0. Do the function and then undo it, and you are back where you began.
Worked example
- 1
— Test whether doing f twice gives x back. If it does, f undoes itself.
- 2
— Put the whole of f(x) into f, inside a bracket.
- 3
— Remove the bracket. The minus changes the sign of every term inside, so −(9 − x) = −9 + x.
- 4
— 9 − 9 = 0, so only x is left.
- 5
— Doing f twice gets x back, so f is its own inverse.
Worked example
- 1
— Another test: is h its own inverse?
- 2
— Put 1/x into h. The bottom of the fraction is now 1/x.
- 3
— 1 divided by 1/x flips back to x, so h is its own inverse.
Key idea
Any function is its own inverse. From you get , which is the same rule.
Which Method? Read the Question
Look at where x appears.
| You see | You do |
| x once | Undo each step, last first |
| x top and bottom | Gather x terms, factorise |
| A square and a domain | Square root, keep one sign |
| “Find ” | Solve f(x) = 3 |
| “Solve f(x) = f⁻¹(x)” | Solve f(x) = x instead |
Key idea
means . You do not always need the whole inverse.
Practise inverse functions now
Interactive visual aids, then real past-paper questions marked on your working like the exam. Free to start.
Practise free on LemmaraReal past-paper questions on inverse functions
Each with a full worked solution.
Lemmara is an independent study tool, not affiliated with or endorsed by Cambridge International Education or Pearson Edexcel. The lessons and worked examples are Lemmara’s own.