Quarry School

Inverses of rational functions — quick review

In plain words

A rational function is a fraction whose top and bottom are polynomials.

Rule

For f(x) = ax+bcx+d with c ≠ 0 and ad − bc ≠ 0, swap and solve gives f⁻¹(x) = −dx+bcx−a. Domain of f: x ≠ −dc. Range of f: y ≠ ac. Domain of f⁻¹ = range of f. Range of f⁻¹ = domain of f.

Step

  1. Find the input f cannot take: set the bottom of f equal to 0 and solve. Leave that number out of the domain of f.

  2. Write y in place of f(x).

  3. Swap x and y everywhere.

  4. Multiply both sides by the whole bottom, written in brackets, so the fraction disappears.

  5. Distribute to remove the brackets.

  6. Gather: move every term that contains y to one side and every term without y to the other side.

  7. Factor y out of the side that holds it, so y appears once, times a bracket.

  8. Divide both sides by that bracket. Rename y as f⁻¹(x).

  9. Find the input f⁻¹ cannot take: set the bottom of f⁻¹ equal to 0 and solve. That number is left out of the domain of f⁻¹ and out of the range of f.

  10. Trade: the range of f⁻¹ is the domain of f from step 1.

  11. Check with one number: pick an input, run f, feed the output to f⁻¹, and confirm you get the input back.

Question

Find the inverse function of f(x) = 2x+1x−3. Then give the domain and range of f and of f⁻¹.

Answer

f⁻¹(x) = 3x+1x−2
Domain of f: x ≠ 3, or (−∞, 3) ∪ (3, ∞)
Range of f: y ≠ 2, or (−∞, 2) ∪ (2, ∞)
Domain of f⁻¹: x ≠ 2, or (−∞, 2) ∪ (2, ∞)
Range of f⁻¹: y ≠ 3, or (−∞, 3) ∪ (3, ∞)

Trap

After the fraction is cleared, y sits in two terms on opposite sides, as in xy − 3x = 2y + 1. The common mistake is to divide right away and write y = 2y+3x+1x. That is not solved, because y is still on the right. Gather every y term on one side first, factor y out, and only then divide.

Strategy

  1. Set the bottom of f equal to 0 and solve. Leave that input out of the domain of f.

  2. Write y for f(x), then swap x and y.

  3. Clear the fraction: multiply both sides by the bottom, in brackets, and distribute.

  4. Gather every y term on one side and everything else on the other.

  5. Factor y out, then divide by the bracket. Name the result f⁻¹(x).

  6. Set the bottom of f⁻¹ equal to 0 and solve. Leave that input out of the domain of f⁻¹.

  7. Trade: range of f = domain of f⁻¹, and range of f⁻¹ = domain of f.

  8. Check one number through f and back through f⁻¹.

Term

inverse function

Definition

The function that undoes another function. If f turns 3 into 7, then the inverse, written f−1, turns 7 back into 3.

Term

one-to-one function

Definition

A function in which every output comes from only one input. No two inputs share an output, so no horizontal line meets its graph twice.