Composite Functions fg(x) and Inverses f⁻¹(x) on a Chosen Domain | AQA GCSE Further Maths notes

Free preview: Composite Functions fg(x) and Inverses f⁻¹(x) on a Chosen Domain

Composite Functions: Do g First, Then f

AQA Level 2 Further Maths

In real life you often do one job and then another to the result: put on socks, then shoes. Functions can be chained the same way. The output of one function becomes the input of the next. The result is called a composite function.

  • You met composite and inverse functions before. Recap: see the note 'Inverse Functions and Composite Functions'. This note adds algebra with them, solving equations, and choosing a domain so that an inverse exists.
  • This builds on the last note, 'Function Notation, Domain and Range: Writing f(x) ≥ −1 Properly'.

What fg(x) means

fg(x)=f(g(x))

  • Read it from the inside out. g is next to the x, so g acts first. Then f acts on the result.
  • gf(x) is the other way round: f first, then g. Usually fg(x)≠gf(x).
  • ff(x) means do f twice: f(f(x)).

Composite Functions fg(x) and Inverses f⁻¹(x) on a Chosen Domain diagram

What the picture shows

  1. The 3 goes into g first, because g is written next to it: g(3)=9.
  2. The 9 then goes into f: f(9)=2×9+1=19.
  3. So fg(3)=19. Work from the inside bracket outwards.

Composite Functions fg(x) and Inverses f⁻¹(x) on a Chosen Domain diagram

What the picture shows

  1. Wrong: reading left to right, like a sentence, does f first. That gives gf(3)=49, a different number.
  2. Right: the function nearest the input acts first. fg(3)=19.

The recipe: fg(x) with algebra

  1. Write g(x) out.
  2. Put the whole of g(x) into f, in a bracket, wherever f has an x.
  3. Simplify.

👀 Watch me do it: find fg(x), gf(x) and ff(x) for f(x)=2x+1 and g(x)=x2

What I writeWhy I do it
fg(x)=f(x2)=2x2+1g first gives x2. Then f doubles it and adds 1.
gf(x)=g(2x+1)=(2x+1)2=4x2+4x+1f first gives 2x+1. Then g squares the whole bracket.
ff(x)=f(2x+1)=2(2x+1)+1=4x+3Put 2x+1 into f again.
Check with x=3: 2(9)+1=19 ✓Matches the picture.

Solving an equation with composites

👀 Watch me do it: solve fg(x)=gf(x) for the same f and g

What I writeWhy I do it
2x2+1=4x2+4x+1Use the expressions just found.
0=2x2+4x, so 2x(x+2)=0Collect on the side with the bigger x2. Factorise.
x=0 or x=−2Check x=−2: fg(−2)=9 and gf(−2)=(−3)2=9 ✓

📝 Two habits that save marks

  • Always put the inside function in a bracket before simplifying. g(2x+1) is (2x+1)2, and the bracket stops you writing 2x2+1 by mistake.
  • After finding fg(x), test it with one easy number, such as x=0 or x=1. Work out g then f with that number the slow way, and compare.

✏️ YOUR TURN 1

Try this first:

Given f(x)=x−5 and g(x)=3x, find fg(4), gf(4) and an expression for gf(x).

Answer:

  • fg(4)=f(12)=7.
  • gf(4)=g(−1)=−3.
  • gf(x)=g(x−5)=3(x−5)=3x−15.

✏️ YOUR TURN 2

Try this first:

Given f(x)=x+2 and g(x)=1x (x≠0), solve fg(x)=5.

Answer:

  • fg(x)=f(1x)=1x+2.
  • 1x+2=5, so 1x=3 and x=13.

Inverse Functions: Undoing f

The inverse of f, written f−1(x), undoes what f does. If f takes 2 to 7, then f−1 takes 7 back to 2.

  • Doing f and then f−1 gets you back where you started: f−1f(x)=x and ff−1(x)=x.
  • Here's the trap: f−1(x) does not mean 1f(x). The −1 is a label meaning "inverse", not a power.

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in · Subscribe · Start free trial

All notes in Functions: Notation, Domain, Range, Composite and Inverse

  1. Function Notation, Domain and Range: Writing f(x) ≥ −1 Properly
  2. Composite Functions fg(x) and Inverses f⁻¹(x) on a Chosen Domain

What's inside for this topic

2 teacher notes, 34 practice questions, 31 flashcards, 2 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp · Try one live lesson

Previous note: Function Notation, Domain and Range: Writing f(x) ≥ −1 Properly

All AQA GCSE Further Maths topics · GCSE Further Maths