Inverse and Composite Functions
x

Revision notes for Edexcel GCSE Maths Inverse and Composite Functions. Open the guide for explanations and worked examples. Written against the Edexcel GCSE Maths (1MA1) specification, so the content matches what's examinable rather than general Maths background.

Inverse and Composite Functions

What you'll learn

  • Use function notation such as f(3)f(3)f(3) and g(−2)g(-2)g(−2).
  • Solve equations where a function output is given.
  • Find and use inverse functions, written f−1(x)f^{-1}(x)f−1(x).
  • Work with composite functions such as fg(x)fg(x)fg(x) and gf(x)gf(x)gf(x).

1. Function notation: inputs and outputs

Definition

Function notation

A function is a rule that takes an input and gives exactly one output. In f(x)f(x)f(x), the letter fff names the function, and xxx is the input.

Think of f(x)f(x)f(x) as “the output from function fff when the input is xxx”. To evaluate a function, substitute the given input wherever you see xxx.

Example

Evaluating a function

For h(x)=2x2−6h(x)=2x^2-6h(x)=2x2−6, find h(4)h(4)h(4) and h(−4)h(-4)h(−4).

Function-machine view of substituting 4 and -4 into the same rule, showing both inputs give the same output.

  1. To find h(4)h(4)h(4), replace every xxx with 4.

  2. Calculate:

    h(4)=2(4)2−6=32−6=26h(4)=2(4)^2-6=32-6=26h(4)=2(4)2−6=32−6=26
  3. To find h(−4)h(-4)h(−4), replace every xxx with −4-4−4. Keep brackets around the negative input.

  4. Calculate:

    h(−4)=2(−4)2−6=32−6=26h(-4)=2(-4)^2-6=32-6=26h(−4)=2(−4)2−6=32−6=26
  5. The outputs match here because (−4)2=42(-4)^2=4^2(−4)2=42.

Common Mistake

Forgetting brackets with negatives

Use (−4)2(-4)^2(−4)2, not −42-4^2−42. The first gives 16, but the second means “negative of 424^242”.

2. Solving with function notation

When a question says solve q(x)=23q(x)=23q(x)=23, it means “find the input values that make the output 23”. Replace q(x)q(x)q(x) with the formula for the function, then solve the equation.

Key Idea

Function notation is just shorthand

A statement like f(x)=g(x)f(x)=g(x)f(x)=g(x) means “set the formula for fff equal to the formula for ggg”.

Example

Solving a function equation

Let q(x)=3x2−4q(x)=3x^2-4q(x)=3x2−4. Solve q(x)=23q(x)=23q(x)=23.

The output 23 is traced backwards through the function machine to find the possible inputs.

  1. Replace q(x)q(x)q(x) with its formula:

    3x2−4=233x^2-4=233x2−4=23
  2. Rearrange until x2x^2x2 is on its own:

    3x2−4=233x2=27x2=9\begin{aligned} 3x^2-4&=23\\ 3x^2&=27\\ x^2&=9 \end{aligned}3x2−43x2x2​=23=27=9​
  3. Square root both sides:

    x=±3x=\pm 3x=±3
Common Mistake

Missing the negative solution

If x2=9x^2=9x2=9, then x=3x=3x=3 or x=−3x=-3x=−3. A squared input can hide two possible answers.

3. Inverse functions: undoing a rule

Definition

Inverse function

The inverse function f−1f^{-1}f−1 undoes the function fff. If f(a)=bf(a)=bf(a)=b, then f−1(b)=af^{-1}(b)=af−1(b)=a.

To find an inverse, use this routine: write y=y=y= the function, swap xxx and yyy, then rearrange to make yyy the subject.

Example

Finding and using an inverse

For r(x)=4x−3r(x)=4x-3r(x)=4x−3, find r−1(x)r^{-1}(x)r−1(x). Then solve r−1(x)=5r^{-1}(x)=5r−1(x)=5.

The inverse of r reverses the operations of multiplying by 4 and subtracting 3.

  1. Write the function using yyy:

    y=4x−3y=4x-3y=4x−3
  2. Swap xxx and yyy:

    x=4y−3x=4y-3x=4y−3
  3. Rearrange to make yyy the subject:

    x=4y−3x+3=4yy=x+34\begin{aligned} x&=4y-3\\ x+3&=4y\\ y&=\frac{x+3}{4} \end{aligned}xx+3y​=4y−3=4y=4x+3​​
  4. So the inverse is:

    r−1(x)=x+34r^{-1}(x)=\frac{x+3}{4}r−1(x)=4x+3​
  5. Now set the inverse equal to 5:

    x+34=5\frac{x+3}{4}=54x+3​=5
  6. Solve:

    x+3=20x=17\begin{aligned} x+3&=20\\ x&=17 \end{aligned}x+3x​=20=17​
Common Mistake

Inverse is not reciprocal

The symbol f−1(x)f^{-1}(x)f−1(x) means “undo fff”. It does not mean 1f(x)\frac{1}{f(x)}f(x)1​.

Common Mistake

Quadratic inverses

A quadratic like x2−9x^2-9x2−9 gives the same output for inputs 3 and -3, so its inverse needs a restricted domain. The domain is the set of allowed inputs. If no restriction is stated, GCSE questions often use the non-negative square root, such as f−1(x)=x+9f^{-1}(x)=\sqrt{x+9}f−1(x)=x+9​.

A quadratic can fail to have a simple inverse because two different inputs can lead to the same output.

4. Composite functions: functions in a chain

Definition

Composite function

A composite function applies one function and then another. The notation gf(x)gf(x)gf(x) means g(f(x))g(f(x))g(f(x)), so you do fff first and then ggg.

Common Mistake

Composition is not multiplication

In gf(x)gf(x)gf(x), the letters are not multiplied together. The function nearest xxx is done first.

Example

Finding composites and solving them

Let f(x)=2x+1f(x)=2x+1f(x)=2x+1 and g(x)=x2g(x)=x^2g(x)=x2. Find fg(x)fg(x)fg(x), gf(x)gf(x)gf(x), and solve fg(x)=gf(x)fg(x)=gf(x)fg(x)=gf(x).

The two composite chains use the same functions in opposite orders, so they usually give different expressions.

  1. For fg(x)fg(x)fg(x), do ggg first, then put the result into fff:

    fg(x)=f(x2)=2x2+1fg(x)=f(x^2)=2x^2+1fg(x)=f(x2)=2x2+1
  2. For gf(x)gf(x)gf(x), do fff first, then put the result into ggg:

    gf(x)=g(2x+1)=(2x+1)2gf(x)=g(2x+1)=(2x+1)^2gf(x)=g(2x+1)=(2x+1)2
  3. Set the two composite functions equal:

    2x2+1=(2x+1)22x^2+1=(2x+1)^22x2+1=(2x+1)2
  4. Expand and rearrange:

    2x2+1=4x2+4x+10=2x2+4x0=2x(x+2)\begin{aligned} 2x^2+1&=4x^2+4x+1\\ 0&=2x^2+4x\\ 0&=2x(x+2) \end{aligned}2x2+100​=4x2+4x+1=2x2+4x=2x(x+2)​
  5. Solve from the factors:

    x=0 or x=−2x=0 \text{ or } x=-2x=0 or x=−2

5. Substituting expressions and “hence” solving

An expression is a piece of algebra, such as x−3x-3x−3. If a question asks for f(x−3)f(x-3)f(x−3), substitute the whole expression wherever xxx appears.

Tip

Use brackets first

When substituting an expression, put it in brackets before expanding. This prevents sign and squaring mistakes.

Example

Finding f(x−3) and solving

Let f(x)=x2+2f(x)=x^2+2f(x)=x2+2. Find f(x−3)f(x-3)f(x−3), then solve f(x−3)=11f(x-3)=11f(x−3)=11.

Substituting the whole expression x-3 into f means the entire expression is squared before adding 2.

  1. Substitute x−3x-3x−3 into the rule:

    f(x−3)=(x−3)2+2f(x-3)=(x-3)^2+2f(x−3)=(x−3)2+2
  2. Use the equation f(x−3)=11f(x-3)=11f(x−3)=11:

    (x−3)2+2=11(x-3)^2+2=11(x−3)2+2=11
  3. Rearrange:

    (x−3)2=9(x-3)^2=9(x−3)2=9
  4. Square root both sides:

    x−3=3 or x−3=−3x-3=3 \text{ or } x-3=-3x−3=3 or x−3=−3
  5. Solve each equation:

    x=6 or x=0x=6 \text{ or } x=0x=6 or x=0

6. Constants inside function questions

A constant is a value that does not change. In function questions, a constant may be shown as a letter such as kkk.

Example

Finding an unknown constant

Let a(x)=3x−4a(x)=3x-4a(x)=3x−4 and b(x)=kx2b(x)=kx^2b(x)=kx2. Given that ab(2)=20ab(2)=20ab(2)=20, find kkk.

For ab(2), the inside function b is applied first, then its result is used as the input to a.

  1. Start with the inside function because ab(2)=a(b(2))ab(2)=a(b(2))ab(2)=a(b(2)).

  2. Work out b(2)b(2)b(2):

    b(2)=k(2)2=4kb(2)=k(2)^2=4kb(2)=k(2)2=4k
  3. Put 4k4k4k into function aaa:

    a(4k)=3(4k)−4=12k−4a(4k)=3(4k)-4=12k-4a(4k)=3(4k)−4=12k−4
  4. Use the given output:

    12k−4=2012k-4=2012k−4=20
  5. Solve for kkk:

    12k=24k=2\begin{aligned} 12k&=24\\ k&=2 \end{aligned}12kk​=24=2​
Exam technique

In the exam

  1. Read composite functions from right to left: in gf(3)gf(3)gf(3), do fff first.

  2. Use brackets whenever you substitute a negative number or an expression like x−2x-2x−2.

  3. When square rooting, consider both positive and negative answers unless a domain or context rules one out.

Self review

Check yourself

  • If f(x)=4x−7f(x)=4x-7f(x)=4x−7, what operation would f−1f^{-1}f−1 undo first?

  • Why are fg(x)fg(x)fg(x) and gf(x)gf(x)gf(x) usually different?

  • When solving (x−2)2=25(x-2)^2=25(x−2)2=25, why are there two possible starting equations?

Recap questions

Test yourself with 5 quick questions on this guide. Answer them all correctly to complete it.

You've reached the end

Test yourself on this topic, or move on to the next guide.

FlashcardsSelf-test with active recall
IterationUp next

How was this guide?

Inverse and Composite Functions Revision Guide

  1. GCSE
  2. /Maths
  3. /Inverse and Composite Functions