Lesson 9

Inverse Functions And Restrictions

Theory and examples

In the last lesson, reflecting a graph in y=xy=x always produced the inverse relation— but that relation is a function only when the original is one-to-one. Here we find inverse functions algebraically and choose the restriction that makes the inverse exist.

When the inverse is a function

The inverse of ff is a function exactly when ff is one-to-one. If ff is many-to-one, restrict its domain to make it one-to-one first.

Finding an inverse function

The algebra is the same swap as before, done on the rule. The one extra step is stating the inverse’s domain.

The method

  1. Write y=f(x)y=f(x).
  2. Swap xx and yy.
  3. Make yy the subject — this is f−1(x)f^{-1}(x).
  4. State the domain of f−1f^{-1}: it is the range of ff.

Example: a square root function

Find the inverse function of f(x)=x−1f(x)=\sqrt{x-1}, which has domain x≥1x\ge 1 and range [0,∞)[0,\infty).

  1. y=x−1y=\sqrt{x-1}

    Write the rule with yy.

  2. x=y−1x=\sqrt{y-1}

    Swap xx and yy.

  3. x2=y−1x^2=y-1

    Square both sides to undo the root.

  4. f−1(x)=x2+1f^{-1}(x)=x^2+1

    Make yy the subject.

Do not drop the domain

On all of R\mathbb{R}, the rule x2+1x^2+1 is many-to-one, so it is not the whole story. The inverse only lives on the range of ff, which is [0,∞)[0,\infty). The complete answer is f−1(x)=x2+1f^{-1}(x)=x^2+1 with domain x≥0x\ge 0.

Restricting a many-to-one function

A function like f(x)=x2f(x)=x^2 is many-to-one, so it has no inverse function until we restrict it. Keeping x≥0x\ge 0 makes it one-to-one, and now the method runs as usual.

Example: a restricted parabola

Find the inverse function of f(x)=x2f(x)=x^2 restricted to x≥0x\ge 0.

  1. y=x2,x≥0y=x^2,\qquad x\ge 0

    Only the right branch is kept, so ff is one-to-one.

  2. x=y2x=y^2

    Swap xx and yy.

  3. y=±xy=\pm\sqrt{x}

    Solving gives two possible signs.

  4. f−1(x)=xf^{-1}(x)=\sqrt{x}

    The inverse’s outputs are the original’s inputs, and those satisfy x≥0x\ge 0, so keep the positive root.

y = x
f(x)=x2, x≥0f(x)=x^2,\ x\ge 0 f−1(x)=xf^{-1}(x)=\sqrt{x}

Which sign do I keep?

The ±\pm is decided by the restriction. The outputs of f−1f^{-1} are the inputs of ff, so they must obey the original restriction — here x≥0x\ge 0, so we take +x+\sqrt{x}.

Domain and range of the inverse

Because an inverse swaps inputs and outputs, its domain and range are the range and domain of ff. Reading them off is often the quickest way to state f−1f^{-1} completely.

DomainRange
f(x)=x−1f(x)=\sqrt{x-1}[1,∞)[1,\infty)[0,∞)[0,\infty)
f−1(x)=x2+1f^{-1}(x)=x^2+1[0,∞)[0,\infty)[1,∞)[1,\infty)

Lesson summary

  • The inverse of ff is a function only when ff is one-to-one.
  • To find it: write y=f(x)y=f(x), swap xx and yy, then make yy the subject.
  • Always state the domain of f−1f^{-1}— it is the range of ff.
  • For a many-to-one function, restrict first; the original restriction decides which sign to keep.
  • Domain and range swap between ff and f−1f^{-1}.

Optional mastery

Mastery questions

Do you want a high study score? Be disciplined. Do the mastery questions.

Open mastery questions

Checkpoint

Multiple-choice questions

Answer every question correctly to unlock the next lesson. If something is marked red, change your answer and check again.

Question 1
To make the inverse of a many-to-one function a function, what do you do first?
Question 2
For f(x)=x−1f(x)=\sqrt{x-1}, what is the domain of f−1f^{-1}?
Question 3
The inverse of f(x)=x2f(x)=x^2 restricted to x≥0x\ge 0 is: