Inverse of a Function
The inverse of a function undoes it: whatever the function does to a number, the inverse does backwards. If f turns 5 into 13, then f⁻¹ turns 13 back into 5. A function has an inverse exactly when it is one-to-one — every output comes from just one input — which is always true for a straight-line function with a non-zero gradient.
The swap-and-solve method
Write the function as y = …, then swap x and y — that swap is the undoing — and solve the new equation for y. The result is f⁻¹(x). Three moves, every time: replace f(x) with y, swap, rearrange. Inverse functions sit inside the wider Functions topic, and the domains and ranges of inverses are covered on Domain and Range of a Function. Practise below in the solver — free, no sign-up.
Think first
Before reading the solution, try to answer these — they are the hints Arithly itself gives:
- Formula — Inverse function: swap x and y in the rule, then solve for y; the inverse undoes what the function does.
- Work in order: write y = the rule, swap x and y, then undo the operations to free y.
Worked example
Find the inverse of f(x) = 2x + 3
- The inverse function undoes f: swap x and y, then solve for y.
- Write the rule with y in place of f(x): y = 2x + 3.
- Swap x and y: x = 2y + 3.
- Take away 3 from both sides: x − 3 = 2y.
- Divide both sides by 2: y = x/2 - 3/2.
- Answer: f⁻¹(x) = x/2 - 3/2.
Answer: f⁻¹(x) = x/2 - 3/2
Practice
Try these yourself. Each one opens in Arithly with the question already filled in — solve it there and check your working:
- Find the inverse of the function f(x) = 3x - 5 Try it in Arithly →
- What is the inverse of f(x) = x + 7? Try it in Arithly →
- Find the inverse of f(x) = 4x + 1 Try it in Arithly →
Related topics
Changing the Subject
Finding an inverse is rearranging with the letters swapped.
Exponential Functions
Half of the flagship inverse pair — logarithms are the other half.
Functions
Notation, domains and ranges: the ground inverses stand on.
Logarithmic Functions
Inverses drawn as graphs: reflections in the line y = x.
Algebra hub
All of Arithly's algebra topics, from linear equations to quadratics.
More topics: all maths topics · Next topic: Fractions