Course contentsShow
← Mathematics
Lesson 1408 of 3,12132. Derivatives — Definition and Basic RulesFree lesson

Composition of Functions Review

Recall how to compose functions and recognize composite functions in various forms.

Composition of Functions Review

You'll learn how to identify and build composite functions—a critical skill for applying the chain rule in calculus.

Before we tackle the chain rule for derivatives, we need to be completely comfortable with function composition. A composite function is what you get when you feed the output of one function directly into another function as its input.

The Core Idea

When we write (f ∘ g)(x) or f(g(x)), we're composing two functions:

  • First, evaluate the "inner" function g(x)
  • Then, plug that result into the "outer" function f

Think of it like a two-stage machine: the raw material goes through machine g, and then that output immediately goes through machine f.

Example Walkthrough

If f(x) = x² + 1 and g(x) = 3x - 2, then:

f(g(x)) means "apply g first, then f":

  • Start with g(x) = 3x - 2
  • Now substitute this entire expression wherever you see the variable in f:
  • f(g(x)) = f(3x - 2) = (3x - 2)² + 1

Notice that g(f(x)) would give a different result:

  • g(f(x)) = g(x² + 1) = 3(x² + 1) - 2 = 3x² + 1

Recognizing Compositions

A function like h(x) = (2x + 5)³ is secretly a composition. You can break it down:

  • Inner function: g(x) = 2x + 5
  • Outer function: f(u) = u³
  • So h(x) = f(g(x))

Key Takeaway: Composition means evaluating one function inside another; always work from the inside out, and remember that order matters—f(g(x)) ≠ g(f(x)) in general.