Year 11 Maths Advanced Module 1 ⏱ ~40 min Lesson 7 of 15

Composite Functions

In a supply chain, raw materials go to a factory, and the factory's output goes to a distribution centre. The final product depends on two connected processes — one after the other. Composite functions work exactly the same way: one function feeds its output directly into another.

🏭
Printable worksheet

Download this lesson's worksheet

Use the PDF for classwork, homework or revision. It includes key ideas, activities, questions, an extend task and success-criteria proof.

Think First

Imagine two machines. Machine A doubles its input. Machine B adds 3 to its input. If you put a number into Machine A, then take the output and feed it into Machine B, what is the overall rule? Does it matter whether Machine A or Machine B goes first?

Type your initial response below — you will revisit this at the end of the lesson.

Write your initial response in your book. You will revisit it at the end of the lesson.

Write your initial thinking in your book
Saved
📐

Formula Reference — This Lesson

$(f \circ g)(x)$
$= f(g(x))$ Apply $g$ first, then $f$
Domain of $f \circ g$
$x$ must be in the domain of $g$ AND $g(x)$ must be in the domain of $f$
Key insight: Order matters. In almost all cases, $f(g(x)) \neq g(f(x))$.
📖 Know

Key Facts

  • The notation $(f \circ g)(x) = f(g(x))$
  • How to evaluate composite functions numerically
  • The domain conditions for composite functions
💡 Understand

Concepts

  • Why composite functions model chained processes
  • Why order matters in composition
  • How the domain of a composite is restricted by both inner and outer functions
✅ Can Do

Skills

  • Evaluate composite functions for given inputs
  • Find the algebraic expression for a composite function
  • Determine the domain of a composite function
  • Compare $f \circ g$ and $g \circ f$ and explain when they differ

Misconceptions to Fix

Wrong: The domain of a function is always all real numbers.

Right: The domain depends on the function; rational functions exclude values that make the denominator zero.

Key Terms
FunctionA relation where each input has exactly one output.
DomainThe set of all possible input values for a function.
RangeThe set of all possible output values for a function.
Inverse FunctionA function that reverses the effect of the original function.
QuadraticA polynomial of degree 2, in the form ax² + bx + c.
DiscriminantThe expression b² - 4ac that determines the nature of quadratic roots.
🔢

What Is a Composite Function?

A composite function is formed when the output of one function becomes the input of another. We write this as $(f \circ g)(x)$, which means $f(g(x))$: first apply $g$, then apply $f$ to the result.

Supply chains are composite. A factory takes raw materials and produces components. A second factory takes those components and assembles the final product. The overall transformation from raw materials to finished product is a composite of two separate functions. You cannot understand the whole process by looking at either factory in isolation.

The notation can be confusing at first. Remember:

How to Evaluate a Composite Function

  1. Start with the inner function. Evaluate $g(x)$ for the given input.
  2. Take that result and use it as the input for the outer function $f$.
  3. Simplify.

How to Find the Algebraic Expression

To find $(f \circ g)(x)$ algebraically, substitute the entire expression for $g(x)$ into every $x$ in $f(x)$. Use brackets to avoid errors.

Domain of a Composite Function

The domain of $f \circ g$ has two requirements:

  1. $x$ must be in the domain of $g$
  2. $g(x)$ must be in the domain of $f$

Both conditions must be satisfied. If either fails, the composite is undefined at that point.

⚖️

Order Matters

In most cases, $f(g(x)) \neq g(f(x))$. Composition is not commutative. The order in which you apply the functions usually changes the result.

For example, if $f(x) = x + 1$ and $g(x) = x^2$:

These are clearly different expressions. In real-world terms, it matters whether you double a price and then add tax, or add tax and then double the price.

COMPOSITE FUNCTION MACHINE x g(x) Inner function f(x) Outer function y x → g(x) → f(g(x)) = (f ∘ g)(x)

🧮 Worked Examples

Worked Example 1 — Evaluating a Composite Function

Stepwise
If $f(x) = 2x + 1$ and $g(x) = x^2 - 3$, find $(f \circ g)(2)$ and $(g \circ f)(2)$.
  1. 1
    Find $(f \circ g)(2) = f(g(2))$
    g(2) = (2)^2 - 3 = 4 - 3 = 1
    f(1) = 2(1) + 1 = 3
  2. 2
    Find $(g \circ f)(2) = g(f(2))$
    f(2) = 2(2) + 1 = 5
    g(5) = (5)^2 - 3 = 25 - 3 = 22
✓ Answer $(f \circ g)(2) = 3$ and $(g \circ f)(2) = 22$

Worked Example 2 — Finding the Algebraic Expression

Stepwise
If $f(x) = 3x - 2$ and $g(x) = x + 4$, find $(f \circ g)(x)$ and $(g \circ f)(x)$.
  1. 1
    Find $(f \circ g)(x) = f(g(x))$
    f(g(x)) = f(x + 4) = 3(x + 4) - 2
    = 3x + 12 - 2 = 3x + 10
  2. 2
    Find $(g \circ f)(x) = g(f(x))$
    g(f(x)) = g(3x - 2) = (3x - 2) + 4
    = 3x + 2
✓ Answer $(f \circ g)(x) = 3x + 10$ and $(g \circ f)(x) = 3x + 2$

Worked Example 3 — Domain of a Composite Function

Stepwise
Find the domain of $(f \circ g)(x)$ where $f(x) = \sqrt{x}$ and $g(x) = x - 5$.
  1. 1
    Write the composite
    (f \circ g)(x) = f(g(x)) = f(x - 5) = \sqrt{x - 5}
  2. 2
    Check domain of $g$
    $g(x) = x - 5$ is defined for all real $x$.
  3. 3
    Check domain of $f$
    $f$ requires its input to be $\geq 0$. So we need $g(x) \geq 0$.
    x - 5 \geq 0 \Rightarrow x \geq 5
  4. 4
    Combine conditions
    The domain is all $x$ satisfying both conditions: $x \geq 5$.
✓ Answer Domain: $[5, \infty)$
⚠️

Common Mistakes — Don't Lose Easy Marks

Applying the functions in the wrong order
$(f \circ g)(x)$ means $g$ first, then $f$. Many students do the opposite, especially when both functions are simple. This almost always leads to a wrong answer.
✓ Fix: Write "INNER = $g(x)$" and "OUTER = $f(\text{inner})$" before you substitute any numbers.
Assuming $f(g(x)) = g(f(x))$
Composition is not commutative. Unless there is a specific reason (like when $f$ and $g$ are inverses), the order matters.
✓ Fix: Treat every composition problem as order-dependent unless you have proven otherwise.
Forgetting brackets when substituting algebraic expressions
If $f(x) = x^2 + 1$ and you want $f(x + 3)$, writing $x + 3^2 + 1$ is wrong. The entire expression $x + 3$ must be squared: $(x + 3)^2 + 1$.
✓ Fix: Always use brackets around the substituted expression before simplifying.
Ignoring the domain of the inner function
When finding the domain of a composite, students often check only the outer function's domain and forget that the input $x$ must first be valid for the inner function $g$.
✓ Fix: Domain of $f \circ g$ = domain of $g$ intersected with the set of $x$ where $g(x)$ is in the domain of $f$.

📓 Copy Into Your Books

📖 Notation

  • $(f \circ g)(x) = f(g(x))$
  • $g$ is the inner function (applied first)
  • $f$ is the outer function (applied second)

🔢 Evaluation Steps

  • Step 1: Evaluate the inner function $g(x)$
  • Step 2: Use that result as the input for $f$
  • Step 3: Simplify the final expression

⚠️ Domain of Composite

  • $x$ must be in the domain of $g$
  • $g(x)$ must be in the domain of $f$
  • Both conditions must hold

💡 Order Warning

  • $f(g(x))$ is generally NOT equal to $g(f(x))$
  • Only equal in special cases (e.g. inverses, same function)

📝 How are you completing this lesson?

🧪 Activities

🔍 Activity 1 — Calculate + Interpret

Evaluate the Composites

Let $f(x) = 2x + 3$ and $g(x) = x^2 - 1$. Find each of the following.

  1. 1 $(f \circ g)(1)$

    Type your answer:

    Answer in your workbook.

    Answer in your workbook
  2. 2 $(g \circ f)(1)$

    Type your answer:

    Answer in your workbook.

    Answer in your workbook
  3. 3 $(f \circ g)(x)$ in simplified form

    Type your answer:

    Answer in your workbook.

    Answer in your workbook
  4. 4 $(g \circ f)(x)$ in simplified form

    Type your answer:

    Answer in your workbook.

    Answer in your workbook
🌍 Activity 2 — Domain in Context

Find the Domain

Find the domain of each composite function. Write your answer in interval notation and explain the restriction.

  1. 1 $(f \circ g)(x)$ where $f(x) = \sqrt{x}$ and $g(x) = x - 7$

    Type your answer:

    Answer in your workbook.

    Answer in your workbook
  2. 2 $(f \circ g)(x)$ where $f(x) = \dfrac{1}{x}$ and $g(x) = x + 2$

    Type your answer:

    Answer in your workbook.

    Answer in your workbook
  3. 3 A manufacturing process has two stages. Stage 1 transforms raw material according to $g(t) = t + 5$, and Stage 2 processes the output according to $f(s) = \sqrt{s}$. Explain why the composite process $(f \circ g)(t)$ cannot begin with $t = -10$.

    Type your answer:

    Answer in your workbook.

    Answer in your workbook
Revisit Your Thinking

Earlier you were asked: If Machine A doubles its input and Machine B adds 3, what is the overall rule? Does it matter which machine goes first?

If A goes first and then B, the overall rule is $B(A(x)) = 2x + 3$. If B goes first and then A, the overall rule is $A(B(x)) = 2(x + 3) = 2x + 6$. These are different results, so yes — the order matters. This is the fundamental nature of composite functions: $(f \circ g)(x)$ is not the same as $(g \circ f)(x)$ unless the functions have a special relationship (like being inverses). In supply chains, manufacturing, and even cooking, the order in which you apply processes almost always changes the final outcome.

Now revisit your initial response. What did you get right? What has changed in your thinking?

Look back at your initial response in your book. Annotate it with what you now understand differently.

Annotate your initial response in your book
Saved
Revisit Your Initial Thinking

Look back at what you wrote in the Think First section. What has changed? What did you get right? What surprised you?

MC

Multiple Choice

5 random questions from a replayable lesson bank — feedback shown immediately

✍️ Short Answer

📝

Extended Questions

ApplyBand 3

8. Let $f(x) = 2x - 1$ and $g(x) = x^2 + 3$. (a) Find $(f \circ g)(x)$ in expanded form. (b) Find $(g \circ f)(x)$ in expanded form. (c) Show that $(f \circ g)(x) \neq (g \circ f)(x)$. 4 MARKS

Type your answer below:

Answer in your workbook.

✏️ Answer in your workbook
ApplyBand 4

9. Find the domain of $(f \circ g)(x)$ where $f(x) = \sqrt{x + 2}$ and $g(x) = x - 3$. Show the inequality you solve and write your final answer in interval notation. 3 MARKS

Type your answer below:

Answer in your workbook.

✏️ Answer in your workbook
EvaluateBand 5

10. A student claims that $(f \circ g)(x)$ and $(g \circ f)(x)$ are always different. Evaluate this claim by considering the functions $f(x) = x + 2$ and $g(x) = x - 2$. Calculate both composites and explain what this example tells you about the student's claim. 3 MARKS

Type your answer below:

Answer in your workbook.

✏️ Answer in your workbook

✅ Comprehensive Answers

🔍 Activity 1 — Evaluate the Composites Model Answers

1. $g(1) = 1^2 - 1 = 0$, so $(f \circ g)(1) = f(0) = 2(0) + 3 = 3$.

2. $f(1) = 2(1) + 3 = 5$, so $(g \circ f)(1) = g(5) = 5^2 - 1 = 24$.

3. $(f \circ g)(x) = f(x^2 - 1) = 2(x^2 - 1) + 3 = 2x^2 + 1$.

4. $(g \circ f)(x) = g(2x + 3) = (2x + 3)^2 - 1 = 4x^2 + 12x + 9 - 1 = 4x^2 + 12x + 8$.

🌍 Activity 2 — Domain in Context Model Answers

1. $(f \circ g)(x) = \sqrt{x - 7}$. Domain: $[7, \infty)$ because $x - 7 \geq 0$.

2. $(f \circ g)(x) = \frac{1}{x + 2}$. Domain: $(-\infty, -2) \cup (-2, \infty)$ because $x + 2 \neq 0$.

3. $(f \circ g)(t) = \sqrt{t + 5}$. If $t = -10$, then $g(-10) = -5$, and $f(-5) = \sqrt{-5}$ is undefined in the real numbers. The composite process cannot start at $t = -10$ because the output of Stage 1 would be a negative input for Stage 2.

❓ Multiple Choice

1. B — $(f \circ g)(x) = f(g(x)) = f(x + 3) = 2(x + 3) = 2x + 6$.

2. B — $(g \circ f)(2) = g(f(2)) = g(4) = 4 + 1 = 5$.

3. B — $(f \circ g)(x) = f(g(x))$.

4. C — $\sqrt{x - 4}$ requires $x \geq 4$.

5. A — $(f \circ g)(x) = f(x^2) = 3x^2 - 1$.

📝 Short Answer Model Answers

Q8 (4 marks):

(a) $(f \circ g)(x) = f(x^2 + 3) = 2(x^2 + 3) - 1 = 2x^2 + 5$ (b) $(g \circ f)(x) = g(2x - 1) = (2x - 1)^2 + 3 = 4x^2 - 4x + 1 + 3 = 4x^2 - 4x + 4$

(c) $2x^2 + 5 \neq 4x^2 - 4x + 4$ for most values of $x$ [1]. Therefore $(f \circ g)(x) \neq (g \circ f)(x)$ [1].

Q9 (3 marks): $(f \circ g)(x) = f(x - 3) = \sqrt{(x - 3) + 2} = \sqrt{x - 1}$ [1]. We need $x - 1 \geq 0$ [1]. Domain: $[1, \infty)$ [1].

Q10 (3 marks): The student's claim is false [1]. $(f \circ g)(x) = f(x - 2) = (x - 2) + 2 = x$ [0.5]. $(g \circ f)(x) = g(x + 2) = (x + 2) - 2 = x$ [0.5]. In this case, both composites equal $x$ because $f$ and $g$ are inverses of each other [1]. This shows that while composition is not generally commutative, there are special cases where the two composites are the same.

🏎️
Speed Race

Race Through Composite Functions!

Answer questions on composing and evaluating composite functions. Pool: lessons 1–7.

Mark lesson as complete

Tick when you've finished all activities and checked your answers.