Skip to content

Inverse functions: finding, graphing and restricting the domain

Decide whether a function can be undone, find its inverse by swapping and solving, and restrict the domain when it cannot.

It opens on

A stone dropped off a bridge falls d = 4.9t² metres in t seconds, and it fell 44.1 m. How long was it in the air?

Why it matters

Every solve-backwards key on a calculator, from √ to the logarithm, is an inverse, and the exp and log lessons ahead lean on this one.

Good to know first

  • Inverse functions for linear functions: the inverse undoes the function by reversing its steps, so f⁻¹(f(x)) = x
  • What a function is: one output per input, function notation, domain and range: each input has exactly one output, and the set of outputs is the range
  • Solving quadratics by inspection and square roots: x² = c gives x = ±√c

Step by step

  1. Can it be undone?

    Decide with the horizontal line test whether a function is one-to-one and so has an inverse function.

    Horizontal line test: a horizontal line that meets the graph twice means two inputs share an output, so y = x² fails it.

    A common mix-up

    Every function has an inverse function: swap, solve, write ±.

    In fact: The ± gives two outputs for one input, so test first with a horizontal line.

  2. Swap and solve

    Find f⁻¹ for a rational function by swapping and solving, and read its domain and range from f.

    For f(x) = (2x + 1)/(x − 3), swap: x = (2y + 1)/(y − 3).

    A common mix-up

    The graph of the inverse is f flipped over the x-axis or the y-axis.

    In fact: Swap each point's coordinates; the mirror is the line y = x.

  3. Restrict the domain

    Restrict a quadratic or a root to a one-to-one piece, choose the right sign, and trade domain and range.

    Keep f(x) = (x − 2)² + 3 only for x ≥ 2; the right branch rises from the vertex (2, 3), so it passes the test.

    A common mix-up

    After restricting and inverting, the inverse keeps the same domain.

    In fact: Domain and range trade places, so read the range of f.

  4. Check both ways

    Verify inverses by composing both ways, and see why one direction can be fooled.

    For f(x) = x³ + 1 and g(x) = ∛(x − 1): f(g(x)) = (x − 1) + 1 = x.

    A common mix-up

    If f(g(x)) = x then g is the inverse of f.

    In fact: Compose both ways, and test a negative input.

Try it

Does f(x) = x² + 3 have an inverse function on all real numbers?Answer

No; f(1) = f(−1) = 4, so two inputs share one output

Hint: Compare f(1) with f(−1)

Finish g: from y(x − 1) = 2x + 1 find g⁻¹(x), and give its domain.Answer

g⁻¹(x) = (2x + 1)/(x − 1); x ≠ 1

Hint: Divide by x − 1

Restrict f(x) = (x − 3)² + 2 to x ≥ 3 and find f⁻¹ and its domain.Answer

f⁻¹(x) = 3 + √(x − 2); x ≥ 2

Hint: The outputs of f⁻¹ are at least 3

Show that f(x) = 2x − 6 and g(x) = (x + 6)/2 are inverses.Answer

f(g(x)) = x + 6 − 6 = x and g(f(x)) = (2x − 6 + 6)/2 = x

Hint: Compose both ways

How many inputs of y = x² give the output 4, and what would going backwards from 4 return?Answer

Two, −2 and 2; it cannot choose.

Inverse functions: finding, graphing and restricting the domain

30 minutes every month. No card.