sciandu
Mathematics

Mathematics

Inverse functions

Every function is a machine, and some machines can run backwards.

You wrap a present: first the paper, then the ribbon. To unwrap it you do everything backwards: first untie the ribbon, then remove the paper. That is exactly the idea behind inverse functions. A function turns an input into an output. Its inverse function undoes this: it turns the output back into the original input.

Running the machine backwards

Take the function y=2x+3y = 2x + 3. Read as a machine, it does two steps: first multiply by 2, then add 3. The input 4 becomes the output 11. To calculate backwards, you reverse both things: the order of the steps and each step itself. Backwards this means: first subtract 3, then divide by 2. 11 becomes 4 again. Just like with the present: what was done last is undone first.

Function machine
x4
4
· 2 + 1
9
f(4) = 9
Try it: send numbers through the function machine and remember the pairs of input and output. The inverse function is the machine that turns every output back into its input.

Swap the table, mirror the graph

In a table of values, inverting is very simple: you swap the two columns. If the function has the pair input 2 and output 7, then the inverse function has input 7 and output 2. Something beautiful happens to the graph: because every point (a|b) becomes the point (b|a), the graph of the inverse function appears by mirroring at the line y=xy = x. This line is the diagonal on which input and output are equal.

f(x)=2x+3f1(x)=x32f(x) = 2x + 3 \quad \Rightarrow \quad f^{-1}(x) = \frac{x - 3}{2}
The inverse function of f(x)=2x+3f(x) = 2x + 3. It performs the backward steps: first subtract 3, then divide by 2. The notation f1f^{-1} is read as f inverse.

Not every machine can be reversed this easily. For linear functions like y=2x+3y = 2x + 3 it always works, as long as the slope is not 0. For y=x2y = x^2, on the other hand, both 3 and −3 give the output 9, so from the output alone the input can no longer be recovered uniquely. It gets exciting with functions like y=10xy = 10^x: it has an inverse too. That inverse answers the question of which 10 has to be raised to in order to give a particular number. For the output 1000 that exponent is 3. This inverse is called the , and you will meet it in more detail later.

Exercises

0 of 6 solved

Time to try it yourself. You can't break anything, every attempt counts.

What does an inverse function do?

A machine adds 5 to every input. The output is 12. What was the input?

A machine calculates: first multiply by 2, then add 3. What does the backward machine do?

The graph of the inverse function appears by mirroring the graph at the .

The function is y = 2x + 3. Which input gives the output 11?

Match each calculation step to its inverse step.

Add 4
Multiply by 3
Subtract 7
Divide by 5