1. Replace f(x) with y:
y = 3x - 1
2. Replace every "x" with "y" and every "y" with "x":
x = 3y - 1
3. Solve for y:
Add 1 to both sides:
x + 1 = 3y -1 + 1
x + 1 = 3y
Divide both sides by 3:
(x + 1)/3 = 3y/3
y = (x + 1)/3
4. Replace y with f−1(x) :
f-1 (x) = (x + 1)/3