In mathematics, a function acts as a processing machine: it accepts an input value from its domain, applies an algebraic rule, and produces a single output value in its range. A composite function occurs when two or more functions are chained together in sequence—the output of the first function becomes the direct input for the next.

Composite functions are a core component across GCSE (Higher) and A-Level Mathematics (AQA, Edexcel, OCR). They form the foundation for advanced calculus topics, such as the Chain Rule for differentiation and substitution techniques in integration. In examinations, questions range from basic numerical evaluations to multi-step algebraic proofs, solving composite equations, and determining domain restrictions.

The best Maths tutors available
Poonam
5
5 (80 reviews)
Poonam
£100
/h
Gift icon
1st lesson free!
Paolo
4.9
4.9 (83 reviews)
Paolo
£35
/h
Gift icon
1st lesson free!
Anthony
5
5 (94 reviews)
Anthony
£10
/h
Gift icon
1st lesson free!
Sehaj
4.9
4.9 (62 reviews)
Sehaj
£60
/h
Gift icon
1st lesson free!
Intasar
5
5 (71 reviews)
Intasar
£99
/h
Gift icon
1st lesson free!
Shane
4.9
4.9 (51 reviews)
Shane
£50
/h
Gift icon
1st lesson free!
Tomi
5
5 (40 reviews)
Tomi
£55
/h
Gift icon
1st lesson free!
Hiren
5
5 (34 reviews)
Hiren
£85
/h
Gift icon
1st lesson free!
Poonam
5
5 (80 reviews)
Poonam
£100
/h
Gift icon
1st lesson free!
Paolo
4.9
4.9 (83 reviews)
Paolo
£35
/h
Gift icon
1st lesson free!
Anthony
5
5 (94 reviews)
Anthony
£10
/h
Gift icon
1st lesson free!
Sehaj
4.9
4.9 (62 reviews)
Sehaj
£60
/h
Gift icon
1st lesson free!
Intasar
5
5 (71 reviews)
Intasar
£99
/h
Gift icon
1st lesson free!
Shane
4.9
4.9 (51 reviews)
Shane
£50
/h
Gift icon
1st lesson free!
Tomi
5
5 (40 reviews)
Tomi
£55
/h
Gift icon
1st lesson free!
Hiren
5
5 (34 reviews)
Hiren
£85
/h
Gift icon
1st lesson free!
Let's go

What is a Composite Function?

A composite function is formed by applying one function to the result of another function.

Key Definition:

If f and g are two functions, the composite function fg(x) (or f(g(x))) means that function g is applied to x first, and then function f is applied to the resulting output g(x).

Composite Function Notation

Examination boards represent composite functions in three equivalent ways:

  • Standard Form: fg(x) or gf(x)
  • Bracket Form: f(g(x)) or g(f(x))
  • Circle / Composition Operator Form: (f∘g)(x)=f(g(x)f \circ g)(x) = f(g(x))

Critical Rule: Order of Application (Inside-Out)

Always read composite functions from right to left (or from the inside out):

  • In fg(x), g acts first, then f acts on the result.
  • In gf(x), f acts first, then g acts on the result.

In general, function composition is not commutative:

fg(x)≠gf(x)fg(x) \neq gf(x)

Evaluating Numerical Values vs. Finding Algebraic Expressions

There are two primary methods for handling composite function questions:

Method A: Numerical Evaluation (e.g., Calculate fg(3))

When evaluating for a specific numerical input, work in two arithmetic steps:

  1. Calculate the output of the inner function: u = g(3).
  2. Substitute that result into the outer function: evaluate f(u).

Method B: Algebraic Expression (e.g., Find a formula for fg(x))

When asked for an expression in terms of x:

  1. Write the outer function with an empty set of brackets replacing every x: f(…)f(\dots).
  2. Substitute the entire expression for the inner function g(x) into those brackets.
  3. Expand and simplify the resulting algebraic expression.

Repeated Composition & Three-Function Chains

  • Self-Composition (f2(x)f^2(x) or ff(x)ff(x)): Applying a function to itself:

f2(x)=f(f(x))(Note: f2(x)≠[f(x)]2)f^2(x) = f(f(x)) \quad (\text{Note: } f^2(x) \neq [f(x)]^2)
  • Three-Function Composition (fgh(x)):Work sequentially from the innermost function outward:

fgh(x)=f(g(h(x)))fgh(x) = f(g(h(x)))
  • First evaluate h(x), feed that into g(x), and finally feed that result into f(x).

Domain and Range Considerations (A-Level Core)

For a composite function fg(x) to exist for a given value of x:

  1. The input x must belong to the domain of g (the inner function).
  2. The output g(x) must belong to the domain of f (the outer function).

A-Level Requirement:

The composite function fg(x) is only defined if the range of the inner function g(x) is a subset of the domain of the outer function f(x):

Range of g⊆Domain of f\text{Range of } g \subseteq \text{Domain of } f

Practice Questions & Solutions

1

The functions f(x) and g(x) are defined on R by:

Calculate the exact value of fg(2)

Calculate the exact value of gf(-1)

Find an expression for gf(x) in the expanded form

Solution

Calculate fg(2):

Inner function:

Outer function:

Calculate gf(-1):

Inner function:

Outer function:

Expression for gf(x):

2

The functions p(x) and q(x) are given by:

Solve the equation pq(x) = 0

Solution

Step 1: Set up the composite equation.

Step 2: Solve algebraically.

Step 3: Find both solutions.

Case 1:

Case 2:

3

The function h(x) is defined by

for

Show that

Hence, state the mathematical relationship between h(x) and its inverse

Solution

Step 1: Substitute h(x) into itself.

Step 2: Combine terms over common denominator (x - 1)

Numerator:

Denominator:

Step 3: Simplify and state conclusion.

Since h(h(x)) = x, the function is a self-inverse function, meaning

4

The functions f(x) and g(x) are defined by:

Find an expression for fg(x) in the expanded form

Solution

So

5

The functions m(x) and n(x) are defined by:

Calculate the exact value of mn(3)

Calculate the exact value of nm(-2)

Find an expression for nm(x) in the expanded form

Solution

Calculate mn(3):

Inner function:

Outer function:

Calculate nm(-2):

Inner function:

Outer function:

Expression for nm(x):

So

Summarise with AI:

Did you like this article? Rate it!

4.00 (3 rating(s))
Loading...

Gianpiero Placidi

UK-based Chemistry graduate with a passion for education, providing clear explanations and thoughtful guidance to inspire student success.