Maths4UBETA

Composite functions and their domains

Choose the right order, apply the inner rule and restrict its output when needed.

Try the quick check →
Lesson 3 of 7

Section 1 of 3 · Lesson · about 8 min

Which rule goes first?

Think of two boxes connected in a row. The inner rule sees the original input. Its result is what enters the outer rule.

Worked example

Choose the correct order of a composition

Let f(x)=3x+1f(x)=3 x + 1 and g(x)=(x−2)2g(x)=\left(x - 2\right)^{2}.

Find an expression for fg(x)fg(x).

  1. Apply the right-hand function first.

  2. Substitute (x−2)2\left(x - 2\right)^{2} for the input of ff, then simplify.

  3. Final answer: 3x2−12x+133 x^{2} - 12 x + 13.

Your turn

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

Find an expression for fg(x)fg(x).

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

Worked example

Choose the correct order of a composition

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

Find an expression for fg(x)fg(x).

Try it on paper first.

  1. Apply the right-hand function first.

  2. Substitute (x−3)2\left(x - 3\right)^{2} for the input of ff, then simplify.

  3. Final answer: 4x2−24x+374 x^{2} - 24 x + 37.

Your turn

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

Find an expression for fg(x)fg(x).

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

Section 2 of 3 · Lesson · about 8 min

Does f squared mean the output is squared?

In the Cambridge composition notation the superscript on the function name indicates that the rule is applied twice.

Worked example

Choose the correct order of a composition

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

Find f2(x)f^2(x), where the superscript denotes composition.

  1. Use the output of the first application of f as a new input.

  2. Substitute 4x+24 x + 2 for x in f(x)f(x).

  3. Final answer: 16x+1016 x + 10.

Your turn

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

Find f2(x)f^2(x), where the superscript denotes composition.

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

Worked example

Choose the correct order of a composition

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

Find f2(x)f^2(x), where the superscript denotes composition.

Try it on paper first.

  1. Use the output of the first application of f as a new input.

  2. Substitute 2x+32 x + 3 for x in f(x)f(x).

  3. Final answer: 4x+94 x + 9.

Your turn

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

Find f2(x)f^2(x), where the superscript denotes composition.

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

Section 3 of 3 · Lesson · about 8 min

How can one rule limit the next?

An initial input can be allowed by the inner rule while the first output is refused by the outer rule.

Worked example

Restrict a composite's domain

Let f(x)=x−4f(x)=\sqrt{x - 4} on its natural domain and g(x)=3−3xg(x)=3 - 3 x for all real xx.

Find the domain of fgfg.

  1. The output of g must be a valid input of f.

  2. Solve 3−3x≥43 - 3 x\ge 4. Reverse the inequality when dividing by a negative number.

  3. Final answer: x≤−13x\le - \frac{1}{3}.

Your turn

Let f(x)=x−7f(x)=\sqrt{x - 7} on its natural domain and g(x)=1−3xg(x)=1 - 3 x for all real xx.

Find the domain of fgfg.

Give the complete set: {1, 4} for separate values, (1, 5] for an interval, U for union or empty for no real solutions. Use sqrt(...) for exact roots.

Worked example

Restrict a composite's domain

Let f(x)=x−4f(x)=\sqrt{x - 4} on its natural domain and g(x)=4−4xg(x)=4 - 4 x for all real xx.

Find the domain of fgfg.

Try it on paper first.

  1. The output of g must be a valid input of f.

  2. Solve 4−4x≥44 - 4 x\ge 4. Reverse the inequality when dividing by a negative number.

  3. Final answer: x≤0x\le 0.

Your turn

Let f(x)=x−7f(x)=\sqrt{x - 7} on its natural domain and g(x)=2−4xg(x)=2 - 4 x for all real xx.

Find the domain of fgfg.

Give the complete set: {1, 4} for separate values, (1, 5] for an interval, U for union or empty for no real solutions. Use sqrt(...) for exact roots.

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

Choose the correct order of a composition

1 mark

Let f(x)=2x+15f(x)=2 x + 15 and g(x)=(x−3)2g(x)=\left(x - 3\right)^{2}.

Find an expression for fg(x)fg(x).

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

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

Let f(x)=2x+10f(x)=2 x + 10 and g(x)=(x−3)2g(x)=\left(x - 3\right)^{2}.

Find an expression for fg(x)fg(x).

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

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

Find an expression for fg(x)fg(x).

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

Let f(x)=3x+11f(x)=3 x + 11 and g(x)=(x−2)2g(x)=\left(x - 2\right)^{2}.

Find f2(x)f^2(x), where the superscript denotes composition.

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

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

Find f2(x)f^2(x), where the superscript denotes composition.

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

Let f(x)=x−10f(x)=\sqrt{x - 10} on its natural domain and g(x)=1−5xg(x)=1 - 5 x for all real xx.

Find the domain of fgfg.

Give the complete set: {1, 4} for separate values, (1, 5] for an interval, U for union or empty for no real solutions. Use sqrt(...) for exact roots.

Let f(x)=x−11f(x)=\sqrt{x - 11} on its natural domain and g(x)=2−2xg(x)=2 - 2 x for all real xx.

Find the domain of fgfg.

Give the complete set: {1, 4} for separate values, (1, 5] for an interval, U for union or empty for no real solutions. Use sqrt(...) for exact roots.

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.