Tutorials › AP Calculus › Zero Derivatives in Composite Functions

Chain Rule and Nested Functions · Tutorial 175 of 999

Zero Derivatives in Composite Functions

Learn to locate and classify zero derivatives in a composition by checking both the inner derivative and the outer derivative at the inner function’s value.

Intermediate 8 min read

What You'll Learn

  • Apply the chain rule to determine when a composite derivative is zero.
  • Identify points where the inner derivative vanishes.
  • Identify points where the outer derivative vanishes at the inner function’s value.
  • Find and classify all zero-derivative points in polynomial, trigonometric, and exponential compositions.
  • Avoid overlooking one source of zeros or assuming a zero derivative guarantees an extremum.

Why a Composite Derivative Can Be Zero

A composite function changes through two linked processes. As \(x\) changes, the inner function \(g(x)\) changes; then the outer function \(F\) responds to that change. The chain rule records both rates:

$$ \frac{d}{dx}F(g(x))=F'(g(x))g'(x). $$

This product can be zero for either of two reasons. The inner function may have derivative zero, so its output is not changing instantaneously. Or the outer function may have derivative zero at the current inner output, so the outer function is locally unresponsive there. Both factors can also be zero at once.

These are different sources of a zero derivative. To find every such point, check both factors rather than stopping as soon as one source appears.

Definition: Suppose \(g\) is differentiable at \(a\), and \(F\) is differentiable at \(g(a)\). A zero-derivative point of the composition \(F(g(x))\) is a value \(a\) for which \(\frac{d}{dx}F(g(x))\big|_{x=a}=0\). It is classified as an inner-source zero if \(g'(a)=0\), and as an outer-source zero if \(F'(g(a))=0\). A point can have both classifications.

The Zero-Product Test for Compositions

At any point where the chain rule applies, the derivative is a product of two real numbers. A product of two real numbers is zero exactly when at least one factor is zero. Thus we can find the zeros by solving the two factor equations separately.

Theorem: If \(g\) is differentiable at \(a\) and \(F\) is differentiable at \(g(a)\), then $$ \frac{d}{dx}F(g(x))\bigg|_{x=a}=0 \quad\Longleftrightarrow\quad F'(g(a))=0\ \text{or}\ g'(a)=0. $$ The “or” includes the possibility that both equalities hold.

Justification. By the chain rule, the derivative at \(a\) is \(F'(g(a))g'(a)\). If \(F'(g(a))=0\), this product is zero; if \(g'(a)=0\), it is also zero. Conversely, if the product is zero, the zero-product property of real numbers says that at least one factor is zero. This proves both directions of the equivalence.

The differentiability conditions matter: the chain-rule product gives the derivative only when \(g\) is differentiable at the input and \(F\) is differentiable at the corresponding inner output. The theorem does not claim that every composition has a derivative at every point.

A Reliable Method

For a composition \(F(g(x))\), first write its derivative in factored chain-rule form. Then solve \(g'(x)=0\) and \(F'(g(x))=0\) separately, keeping only values where the relevant functions and derivatives are defined. Finally, combine the two sets of solutions and check the derivative at each candidate.

1
Identify the layers.
Write the expression as \(F(g(x))\), naming the inner function \(g\) and the outer function \(F\).
2
Differentiate by the chain rule.
Keep the factors \(F'(g(x))\) and \(g'(x)\) visible.
3
Find each source of zeros.
Solve \(g'(x)=0\), then solve \(F'(g(x))=0\).
4
Combine and classify.
List the distinct solutions, indicate their source, and verify them in the derivative.

Worked Example: A Polynomial Composition with Both Sources

Worked Example: A Polynomial Composition with Both Sources

Find all points where \(y=(x^2-1)^3\) has derivative zero, and classify the source of each zero.

Set \(g(x)=x^2-1\) and \(F(u)=u^3\). Then \(g'(x)=2x\) and \(F'(u)=3u^2\). The chain rule gives

$$ y'=F'(g(x))g'(x) =3(x^2-1)^2(2x) =6x(x^2-1)^2. $$

The inner-source equation is \(g'(x)=2x=0\), so \(x=0\). The outer-source equation is \(F'(g(x))=3(x^2-1)^2=0\). A square is zero exactly when its base is zero, so \(x^2-1=0\), giving \(x=1\) or \(x=-1\).

At \(x=0\), \(g'(0)=0\), while \(F'(g(0))=F'(-1)=3\), so this is an inner-source zero only. At \(x=1\), \(g'(1)=2\) and \(F'(g(1))=F'(0)=0\). At \(x=-1\), \(g'(-1)=-2\) and \(F'(g(-1))=F'(0)=0\). Thus \(x=1\) and \(x=-1\) are outer-source zeros.

Check by substitution into the derivative:

$$ y'(0)=6(0)(0^2-1)^2=0,\qquad y'(1)=6(1)(1^2-1)^2=0,\qquad y'(-1)=6(-1)((-1)^2-1)^2=0. $$

The complete set is \(x=-1,0,1\), with the classifications above.

Worked Example: Zeros from a Trigonometric Outer Function

Worked Example: Zeros from a Trigonometric Outer Function

Find all real points where \(y=\sin((x-2)^2)\) has derivative zero, and identify the source of each zero.

Let \(g(x)=(x-2)^2\) and \(F(u)=\sin u\). Then \(g'(x)=2(x-2)\) and \(F'(u)=\cos u\). Therefore

$$ y'=2(x-2)\cos((x-2)^2). $$

The inner-source equation \(2(x-2)=0\) gives \(x=2\). For an outer-source zero, solve \(\cos((x-2)^2)=0\). Cosine is zero when its argument is \(\frac{\pi}{2}+k\pi\), where \(k\) is an integer. Since \((x-2)^2\geq 0\), the allowable values here are \(k=0,1,2,\ldots\). Hence

$$ (x-2)^2=\frac{\pi}{2}+k\pi \quad\Longrightarrow\quad x=2\pm\sqrt{\frac{\pi}{2}+k\pi}, \qquad k=0,1,2,\ldots. $$

At these outer-source points the square root is positive, so \(x\ne2\) and the inner factor \(2(x-2)\) is nonzero. The points \(x=2\) and \(x=2\pm\sqrt{\frac{\pi}{2}+k\pi}\) therefore account for all zeros, with \(x=2\) from the inner derivative and the two families from the outer derivative.

For a check, at \(x=2\) the derivative has first factor \(2(2-2)=0\). At \(x=2\pm\sqrt{\frac{\pi}{2}+k\pi}\), the cosine factor is \(\cos(\frac{\pi}{2}+k\pi)=0\). Thus the derivative vanishes at every listed value.

Worked Example: When Only the Inner Derivative Can Vanish

Worked Example: When Only the Inner Derivative Can Vanish

Find the zero-derivative points of \(y=e^{x^2-4}\), and explain why there is no outer-source zero.

Take \(g(x)=x^2-4\) and \(F(u)=e^u\). Their derivatives are \(g'(x)=2x\) and \(F'(u)=e^u\). By the chain rule,

$$ y'=e^{x^2-4}(2x)=2xe^{x^2-4}. $$

The inner-source equation \(2x=0\) gives \(x=0\). The outer-source equation would be \(e^{x^2-4}=0\), which has no real solutions because an exponential is positive for every real exponent. Therefore \(x=0\) is the only zero-derivative point, and it comes from the inner derivative.

Check: \(y'(0)=2(0)e^{-4}=0\). At every \(x\ne0\), both \(2x\) and \(e^{x^2-4}\) are nonzero, so their product is nonzero. This confirms there are no other zeros.

Common Mistake: Checking Only One Factor

A common error is to find where the inner derivative is zero and then assume those are all the zero-derivative points. In the polynomial example, that approach would solve \(2x=0\) and report only \(x=0\). But the full derivative is \(6x(x^2-1)^2\), and its outer factor also vanishes at \(x=1\) and \(x=-1\). The correction is to set each chain-rule factor equal to zero and combine the solutions.

The reverse mistake is also possible: solving only \(F'(g(x))=0\) misses zeros contributed by \(g'(x)\). Keep the chain-rule factors visible until both equations have been considered. Do not divide by a factor that might itself be zero; doing so could discard exactly the points being sought.

What a Zero Derivative Does—and Does Not—Tell You

A zero derivative says that the instantaneous rate of change of the composite is zero at that point. It does not, by itself, guarantee a local maximum or minimum. For instance, \(y=x^3\) has derivative \(3x^2\), which is zero at \(x=0\), even though the function increases on both sides of that point. The classification into inner-source and outer-source zeros explains how the chain-rule product becomes zero; it does not alone describe the surrounding behavior of the function.

It is also important not to confuse a zero of \(F'\) with a zero of \(F'(g(x))\) without checking the input. The outer derivative must be evaluated at the inner function’s value. In other words, the outer-source equation is \(F'(g(x))=0\), not simply an equation in which \(x\) is substituted directly into \(F'\).

Key takeaway: Where the chain rule applies, a composite derivative is zero precisely when the inner derivative is zero, the outer derivative at the inner output is zero, or both. Check both factors to find every point.

Check Your Understanding

For each question, use the chain-rule factors to distinguish inner-source and outer-source zeros.

  1. For \(y=(x^2+1)^2\), find all zero-derivative points and classify their sources.
  2. For \(y=\cos(3x)\), write the two factor equations for possible derivative zeros. Which factor can vanish?
  3. For \(y=(x^2-4)^3\), find all zero-derivative points and identify any point where both factors vanish.
  4. Why must the outer-source equation be written using \(F'(g(x))\), rather than \(F'(x)\)?
  5. Does \(f'(a)=0\) guarantee that \(f\) has a local maximum or minimum at \(a\)? Give a reason.

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon
Clinical Biostats