E3.3 - Inverse functions (Extended)

E3.3 - Inverse functions (Extended)

A function multiplies an input by 3 and subtracts 4. If its output is 11, how can you recover the input without guessing? You will reverse input-output pairs, find inverse formulas and check that the inverse really undoes the original function.

Reversing a function

If f(x)=3x−4f(x)=3x-4, the input 5 produces f(5)=11f(5)=11. Reversing this pair sends 11 back to 5: add 4, then divide by 3. Reverse the order as well as the operations.

Inverse function

An inverse function, written f−1f^{-1}, reverses a function's input-output pairs. Thus f(a)=bf(a)=b means f−1(b)=af^{-1}(b)=a. The domain of the inverse is the range of the original function, and its range is the original domain.

The superscript −1-1 here names an inverse function; it does not mean a reciprocal. For the example, f−1(11)=5f^{-1}(11)=5, whereas 1/f(11)=1/291/f(11)=1/29.

[DIAGRAM: asset_name: Reversing three mapping arrows; asset_slug: inverse_mapping_pairs; caption: An inverse reverses every arrow and exchanges the input and output sets.; description: Left mapping shows f of x equals 2x plus 1 on the domain minus one, zero and two, with arrows to minus one, one and five respectively. Right mapping shows the inverse arrows from minus one, one and five back to minus one, zero and two. Input and output columns are explicitly labelled.]
An inverse reverses every arrow and exchanges the input and output sets.

For f(x)=2x+1f(x)=2x+1 on the finite domain {−1,0,2}\{-1,0,2\}, the pairs are −1↦−1-1\mapsto-1, 0↦10\mapsto1, 2↦52\mapsto5. The inverse has domain {−1,1,5}\{-1,1,5\} and sends 5↦25\mapsto2, for instance. A mapping diagram can therefore give inverse values without any rearrangement.

A reverse rule must still be a function: each input must have exactly one output. On the whole real line, h(x)=x2h(x)=x^2 sends both 2 and −2-2 to 4, so reversing would send 4 to two different numbers. It has no inverse function on that whole domain. Restricting it to x≥0x\ge0 removes that ambiguity, giving the inverse h−1(x)=xh^{-1}(x)=\sqrt{x} for x≥0x\ge0. A function whose distinct inputs always give distinct outputs is called one-to-one.

Key idea

The original domain matters. Reverse a one-to-one function, or a stated one-to-one restriction, and exchange its domain and range.

Read the inverse notation as a reversed pair.

Finding an inverse

To turn the reversed pairs into a formula, write y=f(x)y=f(x) and rearrange to make the original input xx the subject. The result tells you the input in terms of the output. Rename the inverse's input xx only after completing that rearrangement.

Worked example 1: reversing a linear rule

Question. Find f−1(x)f^{-1}(x) when f(x)=3x−4f(x)=3x-4, with domain all real numbers.

Plan. Solve the equation y=3x−4y=3x-4 for its input.

y=3x−4y+4=3xadd 4 firstx=y+43divide by 3\begin{aligned} y&=3x-4\\ y+4&=3x &&\text{add 4 first}\\ x&=\frac{y+4}{3} &&\text{divide by 3} \end{aligned}

Answer. f−1(x)=(x+4)/3f^{-1}(x)=(x+4)/3, with domain all real numbers.

Check. f(2)=2f(2)=2, and the inverse sends 2 to (2+4)/3=2(2+4)/3=2. A second pair, f(−1)=−7f(-1)=-7, reverses to (−7+4)/3=−1(-7+4)/3=-1. This also recovers the opening input: (11+4)/3=5(11+4)/3=5.

Change the input operation from xx to x2x^2. A domain restriction is now essential when choosing the square-root sign.

Worked example 2: an inverse with a restricted domain

Question. Find g−1(x)g^{-1}(x) when g(x)=3x2−4g(x)=3x^2-4, with domain x≥0x\ge0. State the inverse's domain.

Plan. Rearrange, select the non-negative root required by the original domain, then exchange the domain and range.

y+4=3x2add 4x2=y+43divide by 3x=y+43the original input is non-negative\begin{aligned} y+4&=3x^2 &&\text{add 4}\\ x^2&=\frac{y+4}{3} &&\text{divide by 3}\\ x&=\sqrt{\frac{y+4}{3}} &&\text{the original input is non-negative} \end{aligned}

The least output of gg is −4-4, obtained at x=0x=0. Its outputs include every value above −4-4, so that is the inverse's domain.

Answer. g−1(x)=(x+4)/3g^{-1}(x)=\sqrt{(x+4)/3}, for x≥−4x\ge-4. Its outputs are non-negative.

Check. g(3)=23g(3)=23, and g−1(23)=27/3=3g^{-1}(23)=\sqrt{27/3}=3. The negative root −3-3 is outside the original domain and must not be included. At the boundary, g−1(−4)=0g^{-1}(-4)=0, which correctly reverses g(0)=−4g(0)=-4.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account