Educerie

Educerie · AP · Precalculus

AP Precalculus 2.8

Inverse Functions

When does a function have an inverse, and how do you find its input-output pairs, its formula and its graph?

What you will learn

  • Understand that an inverse exists only where each output has one input, and restricting the domain can create one
  • Know that the inverse swaps pairs, domain and range, and its graph is the reflection in y = x
  • Know how to find an inverse formula by swapping and solving

You must be able to

  1. Decide if a function is invertible and give a restriction that makes it so
  2. Read an inverse value from a table or graph
  3. Find the formula of an inverse and its domain
  4. Choose the root sign that matches the restricted domain
  5. Explain why 'no solution' is wrong when several inputs give one output
  6. Say where context stops an inverse applying

In the exam. Section I multiple choice, Part A and Part B: "Which restriction of the domain makes ff invertible?", an inverse value read from a table or graph, or the formula of an inverse. Free-response 1 (calculator) asks for the input that gives a certain output, which is an inverse value, and a "no inverse" reason: students lose the point by writing "no solution" when several inputs give one output. Free-response 4 uses inverses of exponential and logarithmic functions.

1Invertible or not

A function has an inverse on a domain when no output is produced by two different inputs. On a graph, no horizontal line crosses the curve twice. On a table, no output value is repeated.

Worked example 1. A table for ff.

xx1234
f(x)f(x)58812

The output 88 comes from both x=2x = 2 and x=3x = 3. So ff is not invertible on this domain: f−1(8)f^{-1}(8) would need to be both 22 and 33. Remove one input, say restrict to x∈{1,2,4}x\in\{1, 2, 4\}, and it is invertible.

Restricting the domain. f(x)=x2f(x) = x^2 is not invertible on all real numbers: f(2)=f(−2)=4f(2) = f(-2) = 4. On x≥0x \ge 0 it is invertible. On x≤0x \le 0 it is also invertible, with a different inverse. There are many ways to restrict, so say which one you use.

Where one output has many inputs, say so. If a question asks for the input that gives f(x)=4f(x) = 4 and there are two, the answer is two values, not "no solution".

2Pairs and tables

If (a,b)(a, b) is a pair of ff, then (b,a)(b, a) is a pair of f−1f^{-1}. To build a table for the inverse, swap the two rows.

For the invertible part of Worked example 1, x∈{1,2,4}x \in \{1, 2, 4\}:

xx5812
f−1(x)f^{-1}(x)124

So f−1(8)=2f^{-1}(8) = 2 and f−1(12)=4f^{-1}(12) = 4.

Composing with the inverse. On the invertible domain,

f ⁣(f−1(x))=x,f−1 ⁣(f(x))=xf\!\left(f^{-1}(x)\right) = x, \qquad f^{-1}\!\left(f(x)\right) = x

Each undoes the other, so the composite is the identity function. If f(3)=7f(3) = 7, then f−1(7)=3f^{-1}(7) = 3, and f−1(f(3))=3f^{-1}(f(3)) = 3.

Notation warning. f−1(x)f^{-1}(x) means the inverse function, not 1f(x)\dfrac{1}{f(x)}. If f(x)=2xf(x) = 2x, then f−1(x)=x/2f^{-1}(x) = x/2 but 1/f(x)=1/(2x)1/f(x) = 1/(2x).

3The graph of the inverse

Swapping xx and yy swaps the axes' roles. So the graph of f−1f^{-1} is the graph of ff reflected in the line y=xy = x.

Figure 1. The graph of f(x) = x squared for x at least 0 and the graph of its inverse, the square root of x, drawn on equal scales: each is the reflection of the other in the line y = x, and the point (2, 4) on f matches the point (4, 2) on the inverse 1 2 3 4 5 6 1 2 3 4 5 6 0 y x f f-1 y = x (2, 4) (4, 2)
Figure 1 · f(x) = x squared for x at least 0, its inverse the square root, and the line y = x

In Figure 1:

  • The teal curve is f(x)=x2f(x) = x^2 restricted to x≥0x \ge 0, so it is invertible. The amber curve is its inverse, f−1(x)=xf^{-1}(x) = \sqrt{x}.
  • The dashed line is y=xy = x. Each curve is the mirror image of the other in this line.
  • The point (2,4)(2, 4) is on ff, so (4,2)(4, 2) is on f−1f^{-1}. Their coordinates are swapped.
  • The curves meet the mirror line at (0,0)(0, 0) and (1,1)(1, 1), where the swapped point is the point itself.

Domain and range swap: ff has domain x≥0x\ge0 and range y≥0y\ge0, and so does f−1f^{-1}, but for a general function the two are exchanged.

4Finding a formula

Reverse the operations. A reliable method is:

  1. Write y=f(x)y = f(x).
  2. Swap xx and yy.
  3. Solve for yy. That is f−1(x)f^{-1}(x).

Worked example 2. f(x)=3x−5f(x) = 3x - 5.

x=3y−5  ⇒  3y=x+5  ⇒  f−1(x)=x+53x = 3y - 5 \;\Rightarrow\; 3y = x + 5 \;\Rightarrow\; f^{-1}(x) = \frac{x+5}{3}

Check: f(f−1(x))=3⋅x+53−5=xf(f^{-1}(x)) = 3\cdot\dfrac{x+5}{3} - 5 = x.

Worked example 3. f(x)=(x−2)2+1f(x) = (x - 2)^2 + 1 for x≥2x \ge 2.

x=(y−2)2+1  ⇒  (y−2)2=x−1  ⇒  y−2=x−1x = (y-2)^{2} + 1 \;\Rightarrow\; (y-2)^{2} = x - 1 \;\Rightarrow\; y - 2 = \sqrt{x-1}f−1(x)=2+x−1,x≥1f^{-1}(x) = 2 + \sqrt{x-1}, \qquad x \ge 1

Choose the positive root because the original domain is x≥2x \ge 2, so the inverse outputs are at least 22. The inverse's domain x≥1x\ge1 is the range of ff.

Worked example 4. f(x)=2x+1f(x) = \dfrac{2}{x+1}.

x=2y+1  ⇒  y+1=2x  ⇒  f−1(x)=2x−1x = \frac{2}{y+1} \;\Rightarrow\; y + 1 = \frac{2}{x} \;\Rightarrow\; f^{-1}(x) = \frac{2}{x} - 1

5Context can restrict the inverse

A model may have an inverse that is meaningless outside the context.

Example. A ball dropped from 100100 m has height h(t)=100−5t2h(t) = 100 - 5t^2 for 0≤t≤200 \le t \le \sqrt{20}. Solving x=100−5y2x = 100 - 5y^2 for yy gives

t=h−1(x)=100−x5t = h^{-1}(x) = \sqrt{\frac{100 - x}{5}}

This is the time at which the ball is at height xx, and it works only for 0≤x≤1000 \le x \le 100. A height of 120120 m would give a square root of a negative number, and the context says the ball never reaches it.

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.