Maths4UBETA

Composite functions

Use Cambridge composite notation, apply functions in the correct order and simplify the resulting expression.

Try the quick check →
Lesson 5 of 6

Section 1 of 3 · Extension · about 6 min

Which function acts first in a composite?

A composite uses an output from one rule as the input to a second rule.

Input 2 passes through f to become 7, then through g to become 9.

The output of the inner function becomes the input of the outer function.

Worked example

Evaluate a composite value

Use f(x)=6x−3f(x)=6 x - 3 and g(x)=3−2xg(x)=3 - 2 x.

Find gf(−2)gf(-2).

  1. Apply ff to the input first.

  2. f(−2)=−15f(-2)=-15

  3. gf(−2)=g(−15)=3−2(−15)gf(-2)=g(-15)=3 - 2 \left(-15\right)

  4. gf(−2)=33gf(-2)=33

Your turn

Use f(x)=3x−7f(x)=3 x - 7 and g(x)=8−3xg(x)=8 - 3 x.

Find gf(−3)gf(-3).

Enter one number. Fractions and decimals are accepted.

Worked example

Evaluate a composite value

Use f(x)=7x−3f(x)=7 x - 3 and g(x)=3−3xg(x)=3 - 3 x.

Find fg(3)fg(3).

Try it on paper first.

  1. Apply gg to the input first.

  2. g(3)=−6g(3)=-6

  3. fg(3)=f(−6)=7(−6)−3fg(3)=f(-6)=7 \left(-6\right) - 3

  4. fg(3)=−45fg(3)=-45

Your turn

Use f(x)=4x−7f(x)=4 x - 7 and g(x)=8−4xg(x)=8 - 4 x.

Find fg(8)fg(8).

Enter one number. Fractions and decimals are accepted.

Section 2 of 3 · Extension · about 7 min

Can the first output be an expression or use the same rule?

In a repeated composite such as gg(x)gg(x), the first output is fed back into the same rule.

Worked example

Evaluate a composite value

Use g(x)=3−4xg(x)=3 - 4 x.

Find gg(−4)gg(-4).

  1. Apply gg to the input first.

  2. g(−4)=19g(-4)=19

  3. gg(−4)=g(19)=3−4(19)gg(-4)=g(19)=3 - 4 \left(19\right)

  4. gg(−4)=−73gg(-4)=-73

Your turn

Use g(x)=8−5xg(x)=8 - 5 x.

Find gg(−5)gg(-5).

Enter one number. Fractions and decimals are accepted.

Worked example

Compose an algebraic input

Use f(x)=3x−4f(x)=3 x - 4 and g(x)=(x+5)2−3g(x)=\left(x + 5\right)^{2} - 3.

Find gf(x)gf(x). Give an expression in xx.

Try it on paper first.

  1. Apply ff to the input first.

  2. f(x)=3x−4f(x)=3 x - 4

  3. gf(x)=g(3x−4)=((3x−4)+5)2−3gf(x)=g(3 x - 4)=\left(\left(3 x - 4\right) + 5\right)^{2} - 3

  4. gf(x)=9x2+6x−2gf(x)=9 x^{2} + 6 x - 2

Your turn

Use f(x)=6x−7f(x)=6 x - 7 and g(x)=(x+2)2−9g(x)=\left(x + 2\right)^{2} - 9.

Find gf(x)gf(x). Give an expression in xx.

Enter an expression in x; use ^ for powers and / for fractions.

Section 3 of 3 · Extension · about 8 min

How do I simplify a quadratic or a fractional composite?

After substituting, the output expression has a form you can simplify. A single fraction needs one numerator and one denominator.

Worked example

Compose an algebraic input

Use f(x)=4x−4f(x)=4 x - 4 and g(x)=(x+2)2−4g(x)=\left(x + 2\right)^{2} - 4.

Find fg(x)fg(x). Give an expression in xx.

  1. Apply gg to the input first.

  2. g(x)=x(x+4)g(x)=x \left(x + 4\right)

  3. fg(x)=f(x(x+4))=4(x(x+4))−4fg(x)=f(x \left(x + 4\right))=4 \left(x \left(x + 4\right)\right) - 4

  4. fg(x)=4x2+16x−4fg(x)=4 x^{2} + 16 x - 4

Your turn

Use f(x)=7x−7f(x)=7 x - 7 and g(x)=(x+3)2−9g(x)=\left(x + 3\right)^{2} - 9.

Find fg(x)fg(x). Give an expression in xx.

Enter an expression in x; use ^ for powers and / for fractions.

Worked example

Write a rational composite as one fraction

Use f(x)=5x−4f(x)=5 x - 4 and g(x)=1+4x+3g(x)=1 + \frac{4}{x + 3}.

Find gf(x)gf(x). Give your answer as a single fraction.

Try it on paper first.

  1. Apply ff to the input first.

  2. f(x)=5x−4f(x)=5 x - 4

  3. gf(x)=g(5x−4)=1+4(5x−4)+3gf(x)=g(5 x - 4)=1 + \frac{4}{\left(5 x - 4\right) + 3}

  4. gf(x)=5x+35x−1gf(x)=\frac{5 x + 3}{5 x - 1}

  5. The original second stage excludes −3-3, so here x≠15x\ne \frac{1}{5}.

Your turn

Use f(x)=2x−8f(x)=2 x - 8 and g(x)=1+9x+4g(x)=1 + \frac{9}{x + 4}.

Find gf(x)gf(x). Give your answer as a single fraction.

Enter a single fraction such as (2x+1)/(x−3). You can also separate the numerator and denominator with a semicolon.

Worked examples

Practise the method

Core practice

Question 1 of 5

0 / 5 checked in this collection

Question list

Core practice

Fresh variants

Exam-style

Evaluate a composite value

1 mark

Use f(x)=4x−14f(x)=4 x - 14 and g(x)=19−2xg(x)=19 - 2 x.

Find gf(−2)gf(-2).

Enter one number. Fractions and decimals are accepted.

Full answer-format guide

Exact numbers: 3/2, sqrt(5), 2-sqrt(3), pi/6, 3*pi/2. Sets: {1,4}. Intervals: (3,5]; a round bracket excludes the endpoint. Infinity: inf; union: U; no solutions: empty. Separate coordinate pairs or triples with semicolons. Expressions: 2x^2+3x-1; equations: x^2=3x+1 or the polynomial equal to zero. Factors: x-1 ; x+2. Parameter fraction: numerator ; denominator. List integer answers individually.

Review the method

Progress stays in this browser. Create an account to save it or sign in.

Extra practice from this lesson

Evaluate a composite value

Use f(x)=7x−10f(x)=7 x - 10 and g(x)=13−5xg(x)=13 - 5 x.

Find gf(−5)gf(-5).

Enter one number. Fractions and decimals are accepted.

Evaluate a composite value

Use f(x)=2x−11f(x)=2 x - 11 and g(x)=14−2xg(x)=14 - 2 x.

Find fg(14)fg(14).

Enter one number. Fractions and decimals are accepted.

Evaluate a composite value

Use g(x)=14−3xg(x)=14 - 3 x.

Find gg(−3)gg(-3).

Enter one number. Fractions and decimals are accepted.

Compose an algebraic input

Use f(x)=4x−11f(x)=4 x - 11 and g(x)=(x+4)2−14g(x)=\left(x + 4\right)^{2} - 14.

Find gf(x)gf(x). Give an expression in xx.

Enter an expression in x; use ^ for powers and / for fractions.

Compose an algebraic input

Use f(x)=5x−11f(x)=5 x - 11 and g(x)=(x+5)2−14g(x)=\left(x + 5\right)^{2} - 14.

Find fg(x)fg(x). Give an expression in xx.

Enter an expression in x; use ^ for powers and / for fractions.

Write a rational composite as one fraction

Use f(x)=6x−11f(x)=6 x - 11 and g(x)=1+15x+2g(x)=1 + \frac{15}{x + 2}.

Find gf(x)gf(x). Give your answer as a single fraction.

Enter a single fraction such as (2x+1)/(x−3). You can also separate the numerator and denominator with a semicolon.

Apply it · original exam-style problems

Show your working on paper and compare it with the worked solution and marking guidance.

Come back to what needs practice

Quick revision sheet (A4)

Your review plan starts after your first check.