← MathScape

Recognizing Composite Functions

MATH161
Reference: Stewart 2.5  •  Chapter: 2  •  Section: 5

Navigation: Wiki Home > Skills > Recognizing Composite Functions

Recognizing Composite Functions

Why This Matters

Before you can apply the Chain Rule, you need to see the composition. Consider differentiating $\sqrt{x^2 + 1}$. None of your basic rules work directly—it's not a power of $x$, it's not a product, it's not a quotient. But if you recognize that this is $\sqrt{\text{something}}$ where "something" is $x^2 + 1$, you've found the key to unlocking the derivative.

Every composite function has an outer function (what you do last) and an inner function (what you do first). The Chain Rule multiplies their derivatives—but only after you correctly identify who's who.

Prerequisite Map

Prerequisites
Function CompositionBasic Derivative Rules
This skill
Recognizing Composite Functions

Quick Reference

Property Value
Concept Chain Rule
Chapter 2.5
Difficulty Beginner
Time ~15 minutes

Key Concepts

What is a Composite Function?

A composite function is a function built by plugging one function into another. If $y = f(g(x))$, then:

$$F(x) = f(g(x)) = f(\underbrace{g(x)}_{\text{inner}})$$

The "Peel the Onion" Method

Think of a composite function as an onion with layers:

        ┌─────────────────────────────┐
        │         OUTER               │
        │    ┌───────────────┐        │
        │    │    INNER      │        │
        │    │   g(x) = x²+1 │        │
        │    └───────────────┘        │
        │    f(u) = √u               │
        └─────────────────────────────┘

        F(x) = √(x² + 1)

To identify the composition:

  1. Ask: "What operation is done last?" → That's the outer function
  2. Ask: "What is that operation done to?" → That's the inner function

Common Composition Patterns

Expression Outer $f(u)$ Inner $u = g(x)$
$\sin(3x)$ $\sin u$ $3x$
$(x^2 - 5)^7$ $u^7$ $x^2 - 5$
$\sqrt{1 + x^2}$ $\sqrt{u}$ $1 + x^2$
$\cos^2 x$ $u^2$ $\cos x$
$\tan(x^3)$ $\tan u$ $x^3$
$e^{2x+1}$ $e^u$ $2x + 1$

Warning: $\sin^2 x$ vs $\sin(x^2)$

These look similar but have opposite compositions:

Expression Meaning Outer Inner
$\sin^2 x$ $(\sin x)^2$ squaring $\sin x$
$\sin(x^2)$ $\sin(x^2)$ sine $x^2$

Always expand the notation before identifying the composition!

Practice Problems

Level 1 Direct Identification

For $F(x) = (2x + 3)^5$, identify the inner function $g(x)$ and the outer function $f(u)$.

Thought Process

Ask yourself: "What is the last operation performed when computing $F(x)$?"

If I had to compute $(2x+3)^5$ step by step:

  1. First compute $2x + 3$
  2. Then raise the result to the 5th power

The last step is raising to the 5th power. That's the outer function.

Show Answer

Inner function: $g(x) = 2x + 3$

Outer function: $f(u) = u^5$

Check: $f(g(x)) = (2x + 3)^5$ ✓

Level 2 Trigonometric Composition

Identify the inner and outer functions for $F(x) = \cos(x^2 - 4x)$.

Thought Process

The expression says "take the cosine of $x^2 - 4x$."

  • What's done last? Taking cosine.
  • What is cosine applied to? The expression $x^2 - 4x$.

So cosine is the outer function, and the polynomial is the inner function.

Show Answer

Inner function: $g(x) = x^2 - 4x$

Outer function: $f(u) = \cos u$

Check: $f(g(x)) = \cos(x^2 - 4x)$ ✓

Level 3 Notation Disambiguation

For each function, identify the inner and outer functions. Be careful about notation!

  1. $F(x) = \tan^3(x)$
  2. $G(x) = \tan(x^3)$
Thought Process

The notation $\tan^3 x$ means $(\tan x)^3$—you first take the tangent, then cube it.

The notation $\tan(x^3)$ means you first cube $x$, then take the tangent.

These have opposite inner/outer structures!

Show Answer

(a) $F(x) = \tan^3(x) = (\tan x)^3$

  • Inner: $g(x) = \tan x$
  • Outer: $f(u) = u^3$

(b) $G(x) = \tan(x^3)$

  • Inner: $g(x) = x^3$
  • Outer: $f(u) = \tan u$
Level 4 Nested Compositions

For $F(x) = \sin(\cos(x^2))$, identify all layers of the composition. Express $F$ as $f(g(h(x)))$ where each function takes a single variable.

Thought Process

Work from the inside out:

  1. First we compute $x^2$ — that's the innermost layer
  2. Then we take cosine of that result
  3. Finally we take sine of the cosine

This is a three-layer composition.

Show Answer

Innermost: $h(x) = x^2$

Middle: $g(u) = \cos u$

Outermost: $f(v) = \sin v$

Check: $$F(x) = f(g(h(x))) = f(g(x^2)) = f(\cos(x^2)) = \sin(\cos(x^2))$$ ✓

Level 5 Reverse Engineering

Given that $f(u) = \sqrt{u}$ and $F(x) = f(g(x)) = \sqrt{5x^3 - 2x + 7}$, find $g(x)$.

Then, write a different function $H(x)$ such that:

  • $H(x) = h(g(x))$ uses the same inner function $g(x)$
  • $H(x)$ is not equal to $F(x)$
Thought Process

Since $F(x) = f(g(x)) = \sqrt{g(x)}$, we need $g(x)$ to be whatever is under the square root.

For the second part, we can keep $g(x)$ the same but choose any different outer function $h(u)$.

Show Answer

Since $F(x) = \sqrt{g(x)} = \sqrt{5x^3 - 2x + 7}$:

$$g(x) = 5x^3 - 2x + 7$$

For $H(x)$, we can choose any outer function $h(u) \neq \sqrt{u}$. Examples:

  • $h(u) = u^2$ gives $H(x) = (5x^3 - 2x + 7)^2$
  • $h(u) = \sin u$ gives $H(x) = \sin(5x^3 - 2x + 7)$
  • $h(u) = e^u$ gives $H(x) = e^{5x^3 - 2x + 7}$

All share the same inner function $g(x) = 5x^3 - 2x + 7$.

Mastery Checklist

Mental Model

The Assembly Line: Think of a composite function as a factory assembly line. The input $x$ goes through stations:

  1. Station 1 (Inner): Transform $x$ into $g(x)$
  2. Station 2 (Outer): Transform that result into $f(g(x))$

To find the composition, trace the assembly line from input to output and identify each station.

When you differentiate later using the Chain Rule, you'll multiply the rates of change at each station.


Connections

Looking back:

Looking ahead:


Previous Up Next
Trigonometric Derivatives Skills Index Chain Rule Formula

Last updated: 2026-01-22