Imagine a mathematical conveyor belt. You feed an input into a function, the function performs a set of operations, and it spits out an output. Now, imagine you want to run the conveyor belt in reverse—to take that output, feed it backwards through the system, and recover your original input.

This "undo" mechanism is exactly what an inverse function does. It acts as the mathematical reverse gear, completely undoing the operations of the original function.

In the real world, inverse functions are everywhere. If you have a function that converts temperature from Celsius to Fahrenheit, its inverse function is the formula that converts Fahrenheit back to Celsius. In cryptography, if a function encrypts a private password into a secure string of code, the inverse function is the decryption key that recovers the original password.

The best Maths tutors available
Poonam
5
5 (74 reviews)
Poonam
£100
/h
Gift icon
1st lesson free!
Paolo
4.9
4.9 (83 reviews)
Paolo
£35
/h
Gift icon
1st lesson free!
Sehaj
4.9
4.9 (60 reviews)
Sehaj
£60
/h
Gift icon
1st lesson free!
Anthony
5
5 (86 reviews)
Anthony
£15
/h
Gift icon
1st lesson free!
Johann
5
5 (60 reviews)
Johann
£50
/h
Gift icon
1st lesson free!
Tomi
5
5 (40 reviews)
Tomi
£75
/h
Gift icon
1st lesson free!
Imad
5
5 (27 reviews)
Imad
£95
/h
Gift icon
1st lesson free!
Harjinder
4.9
4.9 (165 reviews)
Harjinder
£25
/h
Gift icon
1st lesson free!
Poonam
5
5 (74 reviews)
Poonam
£100
/h
Gift icon
1st lesson free!
Paolo
4.9
4.9 (83 reviews)
Paolo
£35
/h
Gift icon
1st lesson free!
Sehaj
4.9
4.9 (60 reviews)
Sehaj
£60
/h
Gift icon
1st lesson free!
Anthony
5
5 (86 reviews)
Anthony
£15
/h
Gift icon
1st lesson free!
Johann
5
5 (60 reviews)
Johann
£50
/h
Gift icon
1st lesson free!
Tomi
5
5 (40 reviews)
Tomi
£75
/h
Gift icon
1st lesson free!
Imad
5
5 (27 reviews)
Imad
£95
/h
Gift icon
1st lesson free!
Harjinder
4.9
4.9 (165 reviews)
Harjinder
£25
/h
Gift icon
1st lesson free!
Let's go

Core Principles of Inverse Functions

To write mathematical definitions for exams, we use the superscript notation f1(x)f^{-1}(x) to represent the inverse of a function f(x)f(x).

beenhere
Key Points

The superscript "1-1" in f1(x)f^ -1(x) is NOT an exponent.
It does NOT mean 1/f(x)1 / f(x).
f1(x)f^-1(x) represents the inverse function (the undo rule).
[f(x)]1[f(x)]^-1 represents the reciprocal, which is 1 / f(x).

The Domain and Range Swap

Because an inverse function reverses inputs and outputs:

  • The domain (allowable inputs) of f1(x)f^{-1}(x) is exactly equal to the range (possible outputs) of the original function f(x)f(x).
  • The range of f1(x)f^{-1}(x) is exactly equal to the domain of f(x)f(x).

The Identity Composition Rule

If you apply a function and then immediately apply its inverse (or vice versa), they cancel each other out completely, leaving you with your original input xx:

f(f1(x))=xandf1(f(x))=xf(f^{-1}(x)) = x \quad \text{and} \quad f^{-1}(f(x)) = x

Graphical Symmetry

If you plot f(x)f(x) and f1(x)f^{-1}(x) on the same coordinate grid, their curves are perfectly symmetrical to each other. One is a direct reflection of the other across the diagonal bisector line y=xy = x. This is because the process of finding an inverse swaps every coordinate (a,b)(a, b) on the original curve to (b,a)(b, a) on the inverse curve.

Graph illustrating the inverse of a function as the refliection across a diagonal bisector
Image Source: Gianpiero Placidi

The One-to-One (Bijective) Requirement

Before you can calculate the inverse of a function, you must first check if an inverse is mathematically allowed to exist.

An inverse function can only exist if the original function is one-to-one (injective). This means that for every unique output y, there is exactly one unique input x.

If a function is many-to-one (for example, the quadratic curve f(x)=x2f(x) = x^2, where both x=2x = 2 and x=2x = 2 give the output y=4y = 4, a true inverse cannot exist over its entire domain. If you tried to inverse it, the input y=4y = 4 would point to two different outputs (22 and 2-2), violating the fundamental definition of a function.

To find the inverse of a many-to-one function, you must first restrict its domain (for example, restricting f(x)=x2f(x) = x^2 to only positive values, x0x \ge 0 to make it one-to-one.

Step-by-Step Method to Calculate the Inverse

To find the algebraic rule for f1(x)f^{-1}(x), follow this reliable four-step method:

StepActionExample: f(x) = 2x + 3
1Replace f(x) with y
2Rearrange the equation to isolate x
3Swap the variables: replace x with and y with x
4Verify your inverse using composition (Optional)

Exam-Style Worked Examples

Let's look at three standard exam-style problems, starting from basic linear expressions up to complex rational equations and domain restrictions.

Example 1: Linear Function Inverse

Question: Find the inverse of the function f(x)=4x7f(x) = 4x - 7, and evaluate f1(5)f^{-1}(5).

Step-by-step Solution:

  1. Replace f(x) with y:

y=4x7y = 4x - 7

Rearrange to make x the subject:

y+7=4xx=y+74y + 7 = 4x \implies x = \dfrac{y + 7}{4}

Swap variables to find the inverse function:

f1(x)=x+74f^{-1}(x) = \dfrac{x + 7}{4}

Evaluate at x = 5:

f1(5)=5+74=124=3f^{-1}(5) = \dfrac{5 + 7}{4} = \dfrac{12}{4} = 3

Example 2: Rational Function Inverse (Standard A-Level Template)

Question: The function g(x)g(x) is defined by:

g(x)=2x+3x5,x5g(x) = \dfrac{2x + 3}{x - 5}, \quad x \neq 5

Find an expression for g1(x)g^{-1}(x) and state the value of x for which g1(x)g^{-1}(x) is undefined.

Step-by-step Solution:

  1. Replace g(x)g(x) with yy:

y=2x+3x5y = \dfrac{2x + 3}{x - 5}

Multiply both sides by the denominator to clear the fraction:

y(x5)=2x+3xy5y=2x+3y(x - 5) = 2x + 3 \implies xy - 5y = 2x + 3

Group all terms containing xx on one side and the rest on the other:

xy2x=5y+3xy - 2x = 5y + 3

Factorise out xx to isolate it:

x(y2)=5y+3x=5y+3y2x(y - 2) = 5y + 3 \implies x = \dfrac{5y + 3}{y - 2}

Swap variables to write the inverse function:

g1(x)=5x+3x2g^{-1}(x) = \dfrac{5x + 3}{x - 2}

Identify where the inverse is undefined: An algebraic fraction is undefined when its denominator equals zero.

x2=0x=2x - 2 = 0 \implies x = 2

Therefore, g1(x)g^{-1}(x) is undefined at x=2x = 2 (the domain of the inverse is x2x \neq 2, which is the range of the original function g(x)g(x)).

Examiner Tips & Common Pitfalls

Examiner Tip: When finding the inverse of a rational function (like in Example 2), students often make algebraic mistakes when factorising out x. Always group your x-terms on one side of the equals sign before attempting to factorise. If you have xy2x=5y+3xy - 2x = 5y + 3, you cannot divide by y or 2 individually; you must write x(y2)x(y - 2) first.

Additionally, always double-check if your calculated domain of the inverse function is mathematically valid for your expression. For instance, if your inverse contains a square root xa\sqrt{x - a}, your domain must restrict xax \ge a to keep the root real.

Practice Questions & Solutions

1

The function f(x) is defined by:

for

.

Find

and state its domain.

Solution

Step 1:

Step 2: Multiply out:

Step 3: Rearrange to isolate x:

Step 4: Swap variables:

Step 5: Determine the domain. The denominator cannot be zero, so the domain of the inverse is:

(which is also the range of the original function f(x) because a fraction with a constant numerator 3 can never equal zero).

2

The function g(x) is defined as:

for

x greater than 3.

Find the expression for

and state its range.

Solution

Step 1:

Step 2: Rearrange to isolate x by converting the logarithmic form to exponential form:

Step 3: Swap variables:

Step 4: State the range. The range of the inverse function is identical to the domain of the original function. Since g(x) is defined for x > 3, the range of the inverse is:

(which matches the output of because for all real values of x).

3

A function is defined as:

for

.

Find

by completing the square first.

Solution

Step 1: Complete the square on the original quadratic:

Step 2: Set equal to y:

Step 3: Rearrange to isolate x:

(Note: We select the positive root because the domain restriction is ).

Step 4: Swap variables:

Summarise with AI:

Did you like this article? Rate it!

4.00 (3 rating(s))
Loading...

Gianpiero Placidi

UK-based Chemistry graduate with a passion for education, providing clear explanations and thoughtful guidance to inspire student success.