Chalk−1

Math · College algebra · Worked example

Restrict a domain to find an inverse

f⁡(x)=(x−2)2 is not one-to-one. Restrict its domain so that it has an inverse, and find that inverse.

f⁡(x)=(x−2)2

See why there is no inverse yet

f⁡(1) and f⁡(3) are both 1. Two inputs give the same output, so the horizontal line y=1 crosses the graph twice and no single inverse can send 1 back.

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

Restrict the domain

Keep the right half of the parabola, x≥2. On it, f is increasing, so it is one-to-one, and its outputs are y≥0.

Solve for x

y=(x−2)2 gives x−2=y, taking the positive root because x≥2. Adding 2 gives x=2+y.

Swap and state the domain

Swapping the names gives f−1(x)=2+x, for x≥0. The range of the restricted f becomes the domain of the inverse. Check with a pair. f⁡(5)=9, and 2+9=5.

f⁡(x)=(x−2)2f−1(x)=2+xf⁡(5)=9f−1(9)=5

Result

On x≥2, f−1(x)=2+x, for x≥0.

Your turn

1. One like the example

On the domain x≥0, find the inverse of f⁡(x)=x2+1.

Show the answer and explanation

f−1(x)=x−1, for x≥1.

For x≥0 the outputs are y≥1. Solving y=x2+1 gives x=y−1, the root that is not negative because x≥0. Swap to get f−1(x)=x−1 for x≥1. Check with f⁡(2)=5 and 5−1=2.

f⁡(x)=x2+1f−1(x)=x−1f⁡(2)=5f−1(5)=2

2. A variation

On the domain x≤3, find the inverse of f⁡(x)=(x−3)2. This time keep the left half.

Show the answer and explanation

f−1(x)=3−x, for x≥0.

On x≤3, x−3 is 0 or negative, so (x−3)2=y gives x−3=−y. Then x=3−y, and swapping gives f−1(x)=3−x. Check with f⁡(1)=4 and 3−4=1. The other branch, 3+x, would send 4 to 5, which is not in the domain. Chalk accepts either branch as an inverse, so the value row is the one that tells them apart.

f⁡(x)=(x−3)2f−1(x)=3−xf⁡(1)=4f−1(4)=1

3. Somewhere new

On dry pavement, a car at v m⁢/⁢s needs about d⁢(v)=v2/20 meters to brake, for v≥0. Find the speed as a function of the braking distance, and the speed that needs 45 m.

Show the answer and explanation

v⁢(d)=20⁢d, and a 45 m stop means 30 m⁢/⁢s.

Speeds are not negative, so d is one-to-one on v≥0. Solve d=v2/20 to get v2=20⁢d, and keep the root that is not negative, v=20⁢d. At d=45, v=900=30 m⁢/⁢s. Check with d⁢(30)=900⁢/20=45.

d⁢(v)=v220v⁢(d)=20⁢dd⁢(30)=45v⁢(45)=30

Keep exploring

Restrict to the left half, x≤2, instead. Then the inverse takes the negative root, f−1(x)=2−x, which sends 9 back to −1.

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, 2 + √x and y = x in Graph Check the values 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.