Dayaan M. answered 10/18/26
Patient Algebra 1 Tutor, 1,100+ Hours Taught and 5.0 Rated
In order to answer a question like this one, there are really two parts to it. First we have to decide whether f(x) = 3x + 5 even has an inverse, and then if it does, we go find it.
A function has an inverse only when it is one to one, which means every input gives a different output and no two x values ever land on the same y. The reason that matters is that an inverse has to send each y back to exactly one x, and if two different inputs shared the same output, the inverse would not know which one to send it back to.
Here f(x) = 3x + 5 is a line with a slope of 3. A line with a slope that is not zero is always increasing or always decreasing, so it never repeats a y value, which you can also see with the horizontal line test since no horizontal line can cross a slanted line more than once. So yes, this function does have an inverse.
Now to find it, we start by replacing f(x) with y, because it is easier to work with:
y = 3x + 5
The idea behind an inverse is that it undoes what the original function did, so we swap x and y to switch the input and the output:
x = 3y + 5
and then we solve for y, which is the same isolating work you have been doing since Algebra 1:
x = 3y + 5 Our goal is to get y by itself
x − 5 = 3y Subtract 5 from both sides
(x − 5)/3 = y Divide both sides by 3
So the inverse function is
f−1(x) = (x − 5)/3
Notice the original function multiplies by 3 and then adds 5, and the inverse subtracts 5 and then divides by 3, so it undoes both steps in the opposite order, like untying your shoes in the reverse order you tied them.
If you want to check it, plug a number into one and then put that result into the other. Starting with x = 4, f(4) = 3(4) + 5 = 17, and then f−1(17) = (17 − 5)/3 = 12/3 = 4, so we got back the number we started with, which is exactly what an inverse is supposed to do.
One small note on the notation, the −1 in f−1(x) is not an exponent and it does not mean 1/f(x). It is just the symbol for the inverse, and that is a very common place to get tripped up.