Study Guide

Composite Functions

IB Mathematics Analysis and Approaches SLΒ· 2.3 Composite functionsΒ· 40 min read

1. What is a Composite Function?β˜…β˜…β˜†β˜†β˜†β± 10 min

πŸ“˜ Definition

Composite Function

, read as "f after g"

A function formed by using the output of one function as the input to a second function , so .

Example:

If and , then

A core property of composition is that order matters: is almost never equal to .

πŸ“ Worked Example

Given and , find

  1. 1

    First evaluate the innermost function at :

    g(2)=(2)2βˆ’1=4βˆ’1=3g(2) = (2)^2 - 1 = 4 - 1 = 3
  2. 2

    Substitute this result into the outer function :

    f(g(2))=f(3)=2(3)+3=9f(g(2)) = f(3) = 2(3) + 3 = 9

Exam tip:

Always work from the inside out: evaluate the function closest to first, then work outward to the outermost function.

2. Finding Algebraic Expressionsβ˜…β˜…β˜…β˜†β˜†β± 15 min

To find the general algebraic form of , replace every occurrence of in the outer function with the full expression of the inner function , then simplify if required.

πŸ“ Worked Example

Given and , find in simplest form

  1. 1

    Replace in with the full expression for :

    f(g(x))=f(3xβˆ’2)=(3xβˆ’2)+4f(g(x)) = f(3x - 2) = \sqrt{(3x - 2) + 4}
  2. 2

    Simplify the expression inside the square root:

    3xβˆ’2+4=3x+2\sqrt{3x - 2 + 4} = \sqrt{3x + 2}

3. Domain of a Composite Functionβ˜…β˜…β˜…β˜…β˜†β± 15 min

The domain of follows a simple two-part rule:

  1. All must be in the domain of the inner function

  2. The output must be in the domain of the outer function

πŸ“ Worked Example

Find the domain of where and

  1. 1

    Find the domain of the inner function : is linear, so its domain is all real numbers:

    dom(g)=R\text{dom}(g) = \mathbb{R}
  2. 2

    Find the domain of the outer function : the input to the square root must be non-negative:

    x+4β‰₯0β€…β€ŠβŸΉβ€…β€Šdom(f)=[βˆ’4,∞)x + 4 \geq 0 \implies \text{dom}(f) = [-4, \infty)
  3. 3

    Require and solve for :

    3xβˆ’2β‰₯βˆ’4β€…β€ŠβŸΉβ€…β€Š3xβ‰₯βˆ’2β€…β€ŠβŸΉβ€…β€Šxβ‰₯βˆ’233x - 2 \geq -4 \implies 3x \geq -2 \implies x \geq -\frac{2}{3}

Exam tip:

Never just use the domain of the simplified composite expression: always check restrictions from the original inner function first.

4. Decomposing Functionsβ˜…β˜…β˜…β˜†β˜†β± 10 min

Exam questions often ask you to reverse the composition process: write a given complex function as a composite of two simpler non-trivial functions. This is an important skill for later topics like the chain rule.

πŸ“ Worked Example

Write as

  1. 1

    Identify the inner function: the expression that is being substituted into a basic outer function. Here is the inner function:

    g(x)=2x+5g(x) = 2x + 5
  2. 2

    Identify the outer function that acts on the inner expression:

    f(x)=x3f(x) = x^3
  3. 3

    Check that the composition matches the original function:

    f(g(x))=f(2x+5)=(2x+5)3=h(x)f(g(x)) = f(2x + 5) = (2x + 5)^3 = h(x)

5. Common Pitfalls

Wrong move:

Swapping order of composition, calculating when asked for

Why:

Many students misread as "f first then g", instead of "f after g"

Correct move:

Remember: , the function closest to is always applied first

Wrong move:

Taking the domain of the simplified composite expression instead of applying the two-step rule

Why:

Simplification can remove restrictions that originated from the inner function

Correct move:

Always check that is in the domain of , and is in the domain of

Wrong move:

Confusing composition with multiplication, calculating for

Why:

Similar notation leads to this common error, especially in exam pressure

Correct move:

Recall is function composition, not multiplication: substitute inner output into outer function

Wrong move:

Giving a trivial decomposition for a decomposition question

Why:

While technically correct, this does not answer what the question asks for

Correct move:

Decompose into two non-trivial simpler functions, with the inner function as the substituted expression and outer as the basic function acting on it

6. Quick Reference Cheatsheet

Concept

Notation

Key Rule

Composite (f after g)

Evaluate at

Calculate first, substitute into

Domain of

,

Decompose

Inner = substituted expression, Outer = basic function

When this came up on past exams

AI-estimated based on syllabus patterns β€” cross-check with official past papers for accuracy. Use only as revision-focus signals.

  • 2021 Β· 1

    Evaluate composite function at a point

  • 2022 Β· 1

    Find domain of composite function

  • 2023 Β· 2

    Find algebraic form of composite

What's Next

Composite functions are a foundational building block for almost all advanced function topics in IB AI SL. You will use composition to describe transformations of functions, and later apply it to differentiation (via the chain rule) and integration (via -substitution). Errors in composition order or domain calculation are common sources of lost marks in these higher-weight topics, so mastering this sub-topic pays off across the whole syllabus. Practice the skills here to build a solid base for what comes next.