NebulaNumerica

Inverse functions

A thermometer from the USA shows Fahrenheit. To turn a temperature C in degrees Celsius into Fahrenheit, multiply by 9/5 and add 32:

F equals 9 C over 5 plus 32

So 20 °C is 68 °F. But on holiday you need the other way round: from the 68 on the thermometer back to °C. That is the inverse function: the function that undoes the first one.

Solving for the other letter

To find it, solve the formula for C. Subtract 32, and then multiply by 5/9:

C equals 5 the quantity F minus 32, over 9

Now 68 °F gives back 20 °C. The inverse function takes the answer of the first and returns what went in.

The steps

With functions written in x and y, the steps are the same:

  1. Write y = f(x).
  2. Solve for x, treating y as if it were a number.
  3. Swap the letters: what you got is the inverse function, f⁻¹(x).

For f(x) = 2x + 3:

y equals 2 x plus 3

Subtract 3 and divide by 2:

x equals the quantity y minus 3, over 2

So the inverse function is f⁻¹(x) = (x − 3)/2. Check: f takes 4 to 11, and (11 − 3)/2 takes 11 back to 4.

In the app, you solve for x, and the app then writes the answer as f⁻¹(x).

To find the inverse function, solve y = f(x) for x, and then swap the letters.

The graph, mirrored

Swapping x and y swaps every point's coordinates: the point (4, 11) on the graph of f becomes (11, 4) on the graph of f⁻¹. So the two graphs are mirror images in the line y equals x.

x y (1, 5) (5, 1) y = x

Powers and logarithms

The inverse of a power of e uses ln, as in Undoing a power with a logarithm. From

y equals e to the power 3 x minus 4

add 4 and take ln of both sides, which gives 3 x equals ln of the quantity y plus 4, and divide by 3:

x equals ln of the quantity y plus 4, over 3

So f⁻¹(x) = ln(x + 4)/3. Since e to the power 3 x is always positive, f only gives values above −4, and ln(x + 4) only exists for x above −4: what one function gives out, the other takes in.

The other way round, from a logarithm to a power:

y equals ln of the quantity x plus 3

e to the power of both sides gives e to the power y equals x plus 3, so

x equals e to the power y minus 3

and f⁻¹(x) = e to the power x minus 3. And ln and e to the power x themselves are each other's inverse functions, which is why their graphs mirror each other.

The inverse function undoes the first: its graph is the mirror image in y = x, and what one gives out, the other takes in.

Practise Exponentials and logarithms

How was this article?

0 of 2000