Skip to content
IGCSE·Tuition
Mathematics · Lessons

Reverse a one-to-one mapping

Finding the inverse can feel like a trick until you see it as simply running the machine backwards.

On this page
  1. What does “reverse” mean?
  2. How to find an inverse, step by step
  3. Worked example
  4. The mistake to watch for
  5. Check yourself
  6. Where this leads next

To reverse a function, undo its operations in the opposite order. A mapping can be reversed cleanly only if each output comes from exactly one input, which is what “one-to-one” means.

This lesson follows tracing an input through a composite function and belongs to functions and mappings. It also appears, in disguise, whenever you work backwards from a final value to an original one.

What does “reverse” mean?

Take the mapping x → 3x + 1 on the inputs 1, 2 and 3.

Input xOutput f(x)
14
27
310

Reversed, 4 goes back to 1, 7 to 2 and 10 to 3. The reverse mapping reads the table from right to left. Because no two inputs share an output, nothing is lost by reversing.

How to find an inverse, step by step

  1. Write y = the rule. For example y = 3x − 5.
  2. Make x the subject. Undo the last operation first: add 5, then divide by 3.
  3. Rename: replace y with x in the result and write it as f⁻¹(x).
  4. Check with a number: apply f, then f⁻¹, and confirm you return to the start.

Worked example

Find the inverse of f(x) = 3x − 5.

Step 1: y = 3x − 5.

Step 2: y + 5 = 3x, so x = (y + 5)/3.

Step 3: f⁻¹(x) = (x + 5)/3.

Check: f(4) = 12 − 5 = 7. Then f⁻¹(7) = (7 + 5)/3 = 12/3 = 4. We are back at 4, so it works.

The same idea appears in percentages.

A price after a 20% increase is 1.2 times the original, so x → 1.2x. If the new price is RM96, the original is found by the inverse, dividing by 1.2: 96 ÷ 1.2 = RM80.

Check: 80 × 1.2 = 96. The percentage-base explorer shows why you divide rather than subtract 20%.

The mistake to watch for

Two slips are common. One is to take the reciprocal, and the other is to undo the operations in the wrong order.

Mistaken working: f(x) = 3x − 5, so f⁻¹(x) = x/3 + 5

The student undid the operations in the same order as they were applied, dividing by 3 before adding 5.

Test it: f⁻¹(7) would give 7/3 + 5, which is not 4.

The correct approach is to undo the last operation first. f did ”× 3, then − 5”, so the inverse does ”+ 5, then ÷ 3”. A single test number exposes the error in seconds.

Check yourself

Work on paper first, then open each answer.

1. Find the inverse of f(x) = 2x + 7, then evaluate f⁻¹(11).

Show answer

y = 2x + 7, so x = (y − 7)/2. Therefore f⁻¹(x) = (x − 7)/2. f⁻¹(11) = 4/2 = 2. Check: f(2) = 11.

2. Find the inverse of f(x) = x/4 − 3.

Show answer

y = x/4 − 3, so y + 3 = x/4, and x = 4(y + 3). Therefore f⁻¹(x) = 4(x + 3), which is 4x + 12. Check: f(8) = 2 − 3 = −1, and f⁻¹(−1) = 4(2) = 8.

3. Find f⁻¹(−3) when f(x) = 5 − 2x.

Show answer

y = 5 − 2x, so 2x = 5 − y and x = (5 − y)/2. So f⁻¹(x) = (5 − x)/2, and f⁻¹(−3) = 8/2 = 4. Check: f(4) = 5 − 8 = −3.

Where this leads next

Not every rule can be reversed over all numbers, so next look at restricting inputs to keep an expression defined. The function composition and inverse explorer and the non-calculator working trainer are useful for testing your inverses with numbers.

If undoing operations in the right order still feels uncertain, our teachers can work through it with you in online one-to-one Mathematics tuition.

Questions people ask

What is an inverse function?

An inverse function undoes the original. If f takes 4 to 7, then the inverse f⁻¹ takes 7 back to 4. Every output of f becomes an input of f⁻¹. Together they return you to the number you started with, which gives a useful check.

Does f⁻¹(x) mean 1/f(x)?

No. The small −1 is not a power in the usual sense here. f⁻¹(x) means the inverse function, while 1/f(x) is the reciprocal. For f(x) = 3x − 5, the inverse is (x + 5)/3, not 1/(3x − 5).

Does every function have an inverse?

Only a one-to-one mapping can be reversed cleanly, meaning each output comes from exactly one input. For example, f(x) = x² sends both 3 and −3 to 9, so 9 cannot be sent back to a single input unless the domain is restricted.

How can I check my inverse is correct?

Pick an input, say 4, and find f(4). Then put that answer into your inverse. If you get 4 back, the inverse is very likely right. Do the check with a second number to be safe, because one lucky match can hide a slip.

Updated:

Your next step

If inverse questions feel like a memorised routine that breaks when the function changes shape, a one-to-one teacher can rebuild the idea so it works on any rule you meet.

Paid one-hour trial at your assigned teacher’s confirmed rate, starting from RM80. Other fees, schedules and ongoing arrangements are confirmed directly with your teacher after the trial class.

Tuition is arranged with a parent or guardian. Send them this page on WhatsApp and they can enquire for you.

Parent or guardian? Enquire here

9,000+ students helped through our service