AP Calculus AB and BC

Chain Rule vs u-Substitution

They are the same rule read in opposite directions: the chain rule multiplies by the derivative of the inner function, and u-substitution divides that factor back out. In this reverse-chain-rule form, substitution works only when the inner derivative is already sitting in the integrand as a factor.

Chain rule

Use when: You are differentiating and the expression is a composite, one function evaluated inside another, with both the inner and the outer function differentiable at the point in question, so the derivative of the inner function comes along as a factor.

u-Substitution

Use when: You are integrating and, in the reverse-chain-rule form, the derivative of the inner function is already present in the integrand as a multiplying factor, up to a constant.

Side by side

Chain ruleu-Substitution
DirectionDifferentiationIntegration
Statementddxf(g(x))=f(g(x))g(x)\frac{d}{dx}\,f(g(x)) = f'(g(x))\,g'(x)f(g(x))g(x)dx=f(u)du\int f(g(x))\,g'(x)\,dx = \int f(u)\,du
The inner derivativeProduced automatically as a factorConsumed by du=g(x)dxdu = g'(x)\,dx, so in this reverse-chain-rule form it must already be present
One example, both waysddxsin(x2)=2xcos(x2)\frac{d}{dx}\sin(x^2) = 2x\cos(x^2)2xcos(x2)dx=sin(x2)+C\int 2x\cos(x^2)\,dx = \sin(x^2) + C
When it failsWhen either piece is not differentiable, since the rule needs gg differentiable at xx and ff differentiable at g(x)g(x); sinx\sin\lvert x\rvert has no derivative at 00Whenever g(x)g'(x) is missing, as in cos(x2)dx\int \cos(x^2)\,dx

Both rules are statements about the same object, a composite f(g(x))f(g(x)). Differentiating one produces the derivative of the inner function as a factor, so the chain rule hands you g(x)g'(x) whether you asked for it or not. Integration reads that statement right to left, which means the g(x)g'(x) has to be supplied by the integrand before substitution can cancel it against dudu.

ddxF(g(x))=F(g(x))g(x)F(g(x))g(x)dx=F(g(x))+C\frac{d}{dx}\,F(g(x)) = F'(g(x))\,g'(x) \qquad \Longleftrightarrow \qquad \int F'(g(x))\,g'(x)\,dx = F(g(x)) + C

The test takes a few seconds. Name the inner function, differentiate it, and look for that derivative in the integrand up to a constant multiple. In xex2dx\int x\,e^{x^2}\,dx the inner function is x2x^2, its derivative is 2x2x, and the integrand carries an xx, which is 2x2x times 12\frac{1}{2}. So u=x2u = x^2 with du=2xdxdu = 2x\,dx turns the problem into 12eudu=12ex2+C\frac{1}{2}\int e^u\,du = \frac{1}{2}e^{x^2} + C. That test is the right one because it is the chain rule read backwards; substitutions where you solve back for xx and dxdx instead, such as u=xu = \sqrt{x} in exdx\int e^{\sqrt{x}}\,dx, can still succeed without the inner derivative present, but they are no longer the chain rule reversed.

The mistake: manufacturing the missing factor

Because the chain rule creates the inner derivative for free, students expect integration to create it too and write ex2dx=12x2xex2dx\int e^{x^2}\,dx = \frac{1}{2x}\int 2x\,e^{x^2}\,dx. Only constants move across an integral sign, never a variable, so that line is false. When the inner derivative is genuinely absent, substitution is unavailable, and ex2dx\int e^{x^2}\,dx has no elementary antiderivative at all.

Frequently asked questions

Do I use the chain rule or u-substitution?

Look at the operation, not the expression. Differentiating a composite calls for the chain rule every time, provided both the inner and the outer function are differentiable at the relevant points. Integrating calls for substitution in its reverse-chain-rule form only when the derivative of the inner function appears as a factor, so check for it before committing to the method.

Does u-substitution undo the chain rule?

In its reverse-chain-rule form, yes. Any substitution you finish can be verified by differentiating your answer with the chain rule and watching the dudu factor reappear. That check takes seconds and catches a dropped constant immediately.

Do I have to change the limits in a definite integral?

You have two correct options. Convert the limits to uu values and evaluate in uu, or keep the original limits, substitute back to xx, and evaluate then. Mixing the two, evaluating a uu expression at the xx limits, is what costs points.

In the CED: Unit 3: Chain Rule, Implicit, and Inverses, Unit 6: Integration and Accumulation