Skip to content

Composite Functions (Function Composition)

Mathematics Algebra Difficulty 3/5

Beginning of the lesson

Composite Functions (Function Composition)

Big Idea: A composite function is formed when the output of one function becomes the input of another. It is one of the most important operations in all of mathematics — essential for calculus, modelling, and advanced algebra.

1. What Is Function Composition?

Suppose you have two functions, $f$ and $g$. Composition means you apply one function to the result of the other. The standard notation is:

$$ (f \circ g)(x) = f\!\bigl(g(x)\bigr) $$

We read this as "f composed with g at x" or simply "f of g of x." The symbol $\circ$ is called the composition operator.

Which function acts first?

We follow the usual convention with parentheses by starting with the innermost parentheses first:

  1. The inner function $g$ takes the input $x$ first and produces $g(x)$.
  2. The outer function $f$ then takes $g(x)$ as its input and produces $f(g(x))$.

Think of it as a two-stage machine:

$$ x \;\xrightarrow{\;g\;}\; g(x) \;\xrightarrow{\;f\;}\; f\!\bigl(g(x)\bigr) $$

Real-world analogy: Suppose the temperature on day $d$ of the year is $T(d)$, and the heating cost at temperature $T$ is $C(T)$. Then the cost on day $d$ is $C\!\bigl(T(d)\bigr)$ — a composition where $T$ acts first (inner) and $C$ acts second (outer).

2. Evaluating Compositions & Building Formulas

Evaluating at a Specific Point

To evaluate $f(g(a))$ for a specific number $a$, work inside-out:

  1. Compute $g(a)$ — get a number.
  2. Substitute that number into $f$.
Quick Example

Let $f(x) = x^2 - 2x$ and $g(x) = x - 5$. Find $f(g(-1))$.

Step 1: $g(-1) = -1 - 5 = -6$

Continue this lesson on YourAIZone

The full lesson has the complete explanation, worked examples, common mistakes, tests with instant checking and an AI tutor. Start right away as a guest, or create an account to keep your progress.

In the full lesson

  • The complete explanation
  • Worked examples
  • Common mistakes and how to avoid them
  • Test questions: 15
  • AI tutor that answers questions about the topic
  • Progress tracking for students, parents and teachers