Single-Variable-Calculus Β· Unit 4 Β· Video 3 Β· Interactive Practice

The Chain Rule: Differentiating a Composition of Functions

IKey Formulas

FormulaNameWhat you need
dydt=dydxβ‹…dxdt\dfrac{dy}{dt} = \dfrac{dy}{dx}\cdot\dfrac{dx}{dt}Chain rule, Leibniz formA named intermediate variable xx
ddtf(g(t))=fβ€²(g(t)) gβ€²(t)\dfrac{d}{dt}f\big(g(t)\big) = f'\big(g(t)\big)\,g'(t)Chain rule, function formOuter derivative evaluated at the inner function
ddt(sin⁑t)10=10sin⁑9t cos⁑t\dfrac{d}{dt}(\sin t)^{10} = 10\sin^9 t\,\cos tPower outside, sine insidex=sin⁑t,Β y=x10x = \sin t,\ y = x^{10}
ddtsin⁑(10t)=10cos⁑(10t)\dfrac{d}{dt}\sin(10t) = 10\cos(10t)Sine outside, 10t10t insidex=10t, y=sin⁑xx = 10t,\ y = \sin x

Key Insight: Before the limit, Ξ”yΞ”t=Ξ”yΞ”xβ‹…Ξ”xΞ”t\dfrac{\Delta y}{\Delta t} = \dfrac{\Delta y}{\Delta x}\cdot\dfrac{\Delta x}{\Delta t} is ordinary algebra β€” the two copies of Ξ”x\Delta x are numbers and really do cancel. The limit turns that identity into a statement about derivatives, and the cancellation survives only as a memory aid.

IIVisualization 1 β€” One Value of tt, Passed Through Two Functions

The inner function hands its output to the outer one: tβ†’x=sin⁑tβ†’y=x10t \to x = \sin t \to y = x^{10}.

IIIVisualization 2 β€” Why the Derivative Is a Product

A change in tt causes a change in xx, which in turn causes a change in yy.

IVVisualization 3 β€” The Inside's Derivative Is Not Optional

Only one candidate line is tangent: the one carrying the factor from the inside function.

πŸ’‘ Nothing stops the chain from growing: for f(g(h(t)))f\big(g(h(t))\big) the same argument gives a product of three derivatives, fβ€²(g(h(t))) gβ€²(h(t)) hβ€²(t)f'\big(g(h(t))\big)\,g'\big(h(t)\big)\,h'(t).

VQuiz Questions

Problem 1 Β· Power Outside, Sine Inside

Given: y=(sin⁑t)4y = (\sin t)^4 β€” find dydt\dfrac{dy}{dt}.

βœ… Correct! Outside first: dydx=4x3\frac{dy}{dx} = 4x^3 with x=sin⁑tx = \sin t. Inside next: dxdt=cos⁑t\frac{dx}{dt} = \cos t. Their product, with xx substituted back, is 4sin⁑3t cos⁑t4\sin^3 t\,\cos t.
❌ Not quite. That is only the outside derivative 4x34x^3 with x=sin⁑tx = \sin t put back. The inside function still has to be differentiated, and ddtsin⁑t=cos⁑t\frac{d}{dt}\sin t = \cos t.
❌ Not quite. The two functions have swapped jobs. The power is the outside function here, so the power rule acts on x=sin⁑tx = \sin t; the cosine can only enter as the derivative of the inside.
❌ Close, but check the exponent. The power rule drops the exponent by one: ddxx4=4x3\frac{d}{dx}x^4 = 4x^3, not 4x44x^4.
❌ Not quite. Differentiate the outside power, then multiply by the derivative of the inside.
Show solution

Name the two steps: x=sin⁑tx = \sin t (inside) and y=x4y = x^4 (outside).

dydx=4x3,dxdt=cos⁑t\frac{dy}{dx} = 4x^3, \qquad \frac{dx}{dt} = \cos t

The chain rule multiplies them:

dydt=dydxβ‹…dxdt=4x3cos⁑t\frac{dy}{dt} = \frac{dy}{dx}\cdot\frac{dx}{dt} = 4x^3\cos t

The letter xx was ours, so substitute it back, x=sin⁑tx = \sin t:

ddt(sin⁑t)4=4sin⁑3t cos⁑t=4sin⁑3tcos⁑t\frac{d}{dt}(\sin t)^4 = 4\sin^3 t\,\cos t = 4\sin^3 t\cos t

Problem 2 Β· Leave the Inside Exactly As It Is

Given: y=cos⁑(7t)y = \cos(7t) β€” find dydt\dfrac{dy}{dt}.

βœ… Correct! The outside derivative is βˆ’sin⁑x-\sin x evaluated at the untouched inside 7t7t, and the inside contributes its own derivative 77.
❌ Not quite. This is the classic missing factor. The inside function x=7tx = 7t still has to be differentiated, and dxdt=7\frac{dx}{dt} = 7.
❌ Close β€” check the sign. The magnitude is right, but ddxcos⁑x=βˆ’sin⁑x\frac{d}{dx}\cos x = -\sin x, so the answer stays negative.
❌ Not quite. The inside expression was disturbed. The outer derivative is evaluated at the inside function, which is 7t7t, not tt.
❌ Not quite. Differentiate the cosine without changing what is plugged into it, then multiply by the derivative of the inside.
Show solution

Inside x=7tx = 7t, outside y=cos⁑xy = \cos x.

dydx=βˆ’sin⁑x,dxdt=7\frac{dy}{dx} = -\sin x, \qquad \frac{dx}{dt} = 7 dydt=βˆ’sin⁑xβ‹…7=βˆ’7sin⁑x\frac{dy}{dt} = -\sin x \cdot 7 = -7\sin x

Substituting x=7tx = 7t back:

ddtcos⁑(7t)=βˆ’7sin⁑(7t)\frac{d}{dt}\cos(7t) = -7\sin(7t)

Both classic mistakes are avoided here: the inside 7t7t is left exactly as it was, and the factor 77 is not dropped.

Problem 3 Β· Both Factors, Then Substitute Back

Given: y=(2t+1)6y = (2t+1)^6, with the intermediate variable named x=2t+1x = 2t+1 so that y=x6y = x^6.

What is dydx\dfrac{dy}{dx}?

What is dydt\dfrac{dy}{dt}, written in terms of tt?

βœ… Correct! dydx=6x5\frac{dy}{dx} = 6x^5 and dxdt=2\frac{dx}{dt} = 2, so dydt=12x5=12(2t+1)5\frac{dy}{dt} = 12x^5 = 12(2t+1)^5.
❌ Not yet. The factor 22 belongs to the inside function; dydx\frac{dy}{dx} asks for the derivative of y=x6y = x^6 with respect to its own variable only.
❌ Check the power rule. Differentiating x6x^6 with respect to xx multiplies by the exponent and lowers it by one.
❌ Not quite. The outside derivative is right, but dxdt=2\frac{dx}{dt} = 2 has not been multiplied in.
❌ Check the product. Multiply dydx=6x5\frac{dy}{dx} = 6x^5 by dxdt=2\frac{dx}{dt} = 2, then replace xx by 2t+12t+1 β€” the exponent does not change at this step.
Show solution

Step 1 β€” outside, with respect to its own variable:

dydx=ddxx6=6x5\frac{dy}{dx} = \frac{d}{dx}x^6 = 6x^5

Step 2 β€” inside:

dxdt=ddt(2t+1)=2\frac{dx}{dt} = \frac{d}{dt}(2t+1) = 2

Step 3 β€” multiply:

dydt=6x5β‹…2=12x5\frac{dy}{dt} = 6x^5\cdot 2 = 12x^5

Step 4 β€” substitute back x=2t+1x = 2t+1:

ddt(2t+1)6=12(2t+1)5\frac{d}{dt}(2t+1)^6 = 12(2t+1)^5

Check at t=0t = 0: the formula gives 12(1)5=1212(1)^5 = 12. Expanding first, (2t+1)6=1+12t+…(2t+1)^6 = 1 + 12t + \dots, whose derivative at t=0t = 0 is also 12Β βœ“12\ \checkmark

Problem 4 Β· Roles Reversed

Given: y=sin⁑(t2)y = \sin(t^2) β€” the sine is now the outside function and the squaring is inside. Find dydt\dfrac{dy}{dt}.

βœ… Correct! The cosine keeps the inside t2t^2 untouched, and the inside contributes ddtt2=2t\frac{d}{dt}t^2 = 2t.
❌ Not quite. The outside derivative is right and the inside was left alone, but the factor dxdt=2t\frac{dx}{dt} = 2t is missing.
❌ Not quite. The factor 2t2t is right, but the inside expression was changed: the outer derivative must be evaluated at t2t^2, giving cos⁑(t2)\cos(t^2).
❌ Not quite. Here the inside has been differentiated inside the cosine. The inside stays as it is inside the outer function; its derivative appears as a separate factor out front.
❌ Not quite. Differentiate the sine, leave t2t^2 exactly where it is, and multiply by the derivative of t2t^2.
Show solution

Inside x=t2x = t^2, outside y=sin⁑xy = \sin x β€” the opposite arrangement to Problem 1.

dydx=cos⁑x,dxdt=2t\frac{dy}{dx} = \cos x, \qquad \frac{dx}{dt} = 2t dydt=cos⁑xβ‹…2t\frac{dy}{dt} = \cos x \cdot 2t

Substituting x=t2x = t^2 back, and writing the inside derivative in front:

ddtsin⁑(t2)=2tcos⁑(t2)\frac{d}{dt}\sin(t^2) = 2t\cos(t^2)

Compare with ddt(sin⁑t)2=2sin⁑t cos⁑t\dfrac{d}{dt}(\sin t)^2 = 2\sin t\,\cos t: the same two ingredients composed in the other order give a different function and a different derivative.

Solved: 0 / 4