Chalk−1

Math · College algebra · Worked example

Find the inverse of a linear function

Find the inverse of f⁡(x)=3⁢x−4 and check it.

y=3⁢x−4

Try one — Chalk checks each line

Check that f is one-to-one

f is a line with slope 3. It rises steadily, so every horizontal line crosses it exactly once, and f has an inverse.

Solve for x

Write y=f⁡(x). Undo the subtraction first by adding 4 to both sides, then undo the multiplication by dividing by 3. The steps run in reverse order.

y=3⁢x−4x=y+43

Swap the names

The formula x=(y+4)⁢/3 already undoes f. Renaming the variables lets the inverse take its input as x, like every other function.

f−1(x)=x+43

Check with a pair of values

f⁡(5)=3⋅5−4=11, so the inverse must send 11 back to 5. (11+4)⁢/3=15⁢/3=5.

f−1(11)=5

Check the composition

Put the inverse into f. f⁡(f−1(x)) =3⋅(x+4)⁢/3−4 =x+4−4 =x. Every input comes back unchanged, which proves the inverse for every x, not only for 11.

f⁡(f−1(x))=x

See the reflection

The graphs of f and f−1 are mirror images across the line y=x. They meet on that line, at (2,2), where f⁡(2)=2.

Result

f−1(x)=(x+4)⁢/3.

f−1(x)=x+43

Your turn

1. One like the example

Find the inverse of f⁡(x)=(x−1)⁢/5.

Show the answer and explanation

f−1(x)=5⁢x+1.

f subtracts 1 and then divides by 5. Undo in reverse order by multiplying by 5 and then adding 1, so f−1(x)=5⁢x+1. Check with a pair. f⁡(11)=2, and 5⋅2+1=11.

f⁡(x)=x−15f−1(x)=5⁢x+1f⁡(11)=2f−1(2)=11

2. A variation

Find the inverse of f⁡(x)=(2⁢x+1)⁢/⁢(x−3), for x≠3. This time x appears twice.

Show the answer and explanation

f−1(x) =(3⁢x+1)⁢/⁢(x−2), for x≠2.

Write y=(2⁢x+1)⁢/⁢(x−3) and multiply by x−3 to get x⁢y−3⁢y=2⁢x+1. Gather the x terms, x⁢y−2⁢x=3⁢y+1, and factor, x⁢(y−2)=3⁢y+1. Divide by y−2 and swap the names. f never outputs 2, so the inverse excludes 2. Check with f⁡(4)=9⁢/1=9 and f−1(9)=28⁢/7=4.

f⁡(x)=2⁢x+1x−3f−1(x)=3⁢x+1x−2f⁡(4)=9f−1(9)=4

3. Somewhere new

A Celsius temperature C is F⁢(C)=1.8⁢C+32 degrees Fahrenheit. Find the inverse function and use it to convert 77 °⁢F.

Show the answer and explanation

F−1(x)=(x−32)⁢/1.8, and 77 °⁢F is 25 °⁢C.

F multiplies by 1.8 and then adds 32. The inverse subtracts 32 and then divides by 1.8. It takes a Fahrenheit reading and returns the Celsius one, so the two scales swap roles. (77−32)⁢/1.8 =45⁢/1.8 =25.

F⁢(C)=1.8⁢C+32F−1(x)=x−321.8F−1(77)=25

Keep exploring

In Graph, the point (0,−4) on f and the point (−4,0) on f−1 swap coordinates, as every pair does across the line y=x.

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

See f, f⁻¹ and y = x in Graph Check the inverse in Math Study the 5 key terms Open worked example on a board Composition in Math Reference

Your existing work stays on this device. Examples open as editable copies.