Step by step
The question
Question: find the inverse of f(x) = 7 − 2x.
The inverse function goes back.
If f takes 2 to 3, the inverse takes 3 back to 2.
1 Write y for f(x)
f(x) is the answer that comes out.
Let's call it y.
2 Swap x and y
The inverse goes back: the answer goes in, and the start comes out.
So x and y swap places.
Now we find y again, like in any formula.
3 y on the left
y is on the right.
We swap the two sides, so y is on the left.
They are still equal.
4 Remove the 7
We want y by itself.
The 7 is in the way.
To remove 7, we take away 7.
We do it on both sides.
They make zero.
Cross them out.
Now we have −2y = x − 7.
5 Remove the −2
−2y means −2 times y.
We want just y.
To remove times −2, we divide by −2.
We do it on both sides.
−2 divided by −2 is 1.
So just y is left.
Now we have y = (x − 7) over −2.
6 Make it simpler
A minus at the bottom is hard to read.
We change the sign of the top and the bottom.
The fraction stays the same.
So y = (7 − x)/2.
7 Write the inverse
This y is the inverse.
We write it f⁻¹(x).
The little −1 is part of the name.
It is not a power.
8 Check
Let's check with a number.
Put 2 into f.
We get 3.
Now put 3 into the inverse.
We get 2.
The inverse took 3 back to 2.
So f⁻¹(x) = (7 − x)/2 is right!
Let's look back.
First: write y for f(x).
Then: swap x and y.
Then: y on the left.
Then: remove the 7.
Then: remove the −2.
Then: make it simpler.
Then: write the inverse.
Last: check.