Definition. f−1(x) is the function that, when applied to f(x), returns x:
f(f−1(x))=xandf−1(f(x))=x.
Method to find the inverse.
- Write y=f(x).
- Swap x and y.
- Solve for y.
- The result IS f−1(x).
Worked. f(x)=3x+5. Find f−1(x).
- y=3x+5.
- Swap: x=3y+5.
- Solve for y: x−5=3y⇒y=3x−5.
- f−1(x)=3x−5.
Check. f(f−1(x))=f(3x−5)=3⋅3x−5+5=x−5+5=x ✓.
Worked. f(x)=x−32x+1. Find f−1(x).
- y=x−32x+1.
- Swap: x=y−32y+1.
- Solve: x(y−3)=2y+1 → xy−3x=2y+1 → xy−2y=1+3x → y(x−2)=1+3x → y=x−21+3x.
- f−1(x)=x−23x+1.
Graphical view. The graph of f−1 is the reflection of f in the line y=x. Domain and range swap.