STEMviz
Mathematics · Introduction to Calculus

The Chain Rule (Derivative of a Composite Function)

Every differentiation rule met so far shares one limitation, flagged repeatedly in the last two chapters: none of them can differentiate a power of a compound expression, such as (x2+1)10(x^2+1)^{10}, without either expanding it (impossible for a tenth power by hand, and impossible in principle once non-polynomial pieces are involved) or finding a genuinely new rule. This chapter supplies that rule, for differentiating a composite function — a function applied to the output of another function.

You need function composition notation (f∘gf\circ g, read "ff of gg"), the power rule, and the sum/product/quotient rules from the last two chapters, since the chain rule is typically used in combination with all of them.

1. Composite Functions Recap

A composite function (f∘g)(x)=f(g(x))(f\circ g)(x) = f(g(x)) applies gg first, then ff to the result. For instance, if f(u)=u10f(u)=u^{10} and g(x)=x2+1g(x)=x^2+1, then (f∘g)(x)=(x2+1)10(f\circ g)(x) = (x^2+1)^{10}: the "outer" function ff raises its input to the tenth power; the "inner" function gg supplies that input.

Key distinction. Recognising the outer and inner functions correctly is the entire skill of this chapter. In (x2+1)10(x^2+1)^{10}, the outer function is "raise to the tenth power" and the inner function is x2+1x^2+1 — not, for instance, "x2x^2" and "+1+1 raised to the tenth", which does not parse the expression correctly at all.

Keep reading: The Chain Rule (Derivative of a Composite Function)

This chapter is Premium. Unlock every Mathematics lesson — theory, interactive visualizations, quizzes, exercises and flashcards — with a one-time purchase or a monthly plan, or get every subject at once with the Full Course Bundle. The first 2 chapters of every block are free with an account.