Single-Variable-Calculus Β· Unit 4 Β· Video 3 Β· Interactive Practice
The Chain Rule: Differentiating a Composition of Functions
IKey Formulas
Formula
Name
What you need
dtdyβ=dxdyββ dtdxβ
Chain rule, Leibniz form
A named intermediate variable x
dtdβf(g(t))=fβ²(g(t))gβ²(t)
Chain rule, function form
Outer derivative evaluated at the inner function
dtdβ(sint)10=10sin9tcost
Power outside, sine inside
x=sint,Β y=x10
dtdβsin(10t)=10cos(10t)
Sine outside, 10t inside
x=10t,Β y=sinx
Key Insight: Before the limit, ΞtΞyβ=ΞxΞyββ ΞtΞxβ is ordinary algebra β the two copies of Ξ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 t, Passed Through Two Functions
The inner function hands its output to the outer one: tβx=sintβy=x10.
IIIVisualization 2 β Why the Derivative Is a Product
A change in t causes a change in x, which in turn causes a change in y.
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))) the same argument gives a product of three derivatives, fβ²(g(h(t)))gβ²(h(t))hβ²(t).
VQuiz Questions
Problem 1 Β· Power Outside, Sine Inside
Given:y=(sint)4 β finddtdyβ.
β Correct! Outside first: dxdyβ=4x3 with x=sint. Inside next: dtdxβ=cost. Their product, with x substituted back, is 4sin3tcost.
β Not quite. That is only the outside derivative 4x3 with x=sint put back. The inside function still has to be differentiated, and dtdβsint=cost.
β Not quite. The two functions have swapped jobs. The power is the outside function here, so the power rule acts on x=sint; the cosine can only enter as the derivative of the inside.
β Close, but check the exponent. The power rule drops the exponent by one: dxdβx4=4x3, not 4x4.
β Not quite. Differentiate the outside power, then multiply by the derivative of the inside.
Show solution
Name the two steps: x=sint (inside) and y=x4 (outside).
dxdyβ=4x3,dtdxβ=cost
The chain rule multiplies them:
dtdyβ=dxdyββ dtdxβ=4x3cost
The letter x was ours, so substitute it back, x=sint:
dtdβ(sint)4=4sin3tcost=4sin3tcost
Problem 2 Β· Leave the Inside Exactly As It Is
Given:y=cos(7t) β finddtdyβ.
β Correct! The outside derivative is βsinx evaluated at the untouched inside 7t, and the inside contributes its own derivative 7.
β Not quite. This is the classic missing factor. The inside function x=7t still has to be differentiated, and dtdxβ=7.
β Close β check the sign. The magnitude is right, but dxdβcosx=βsinx, so the answer stays negative.
β Not quite. The inside expression was disturbed. The outer derivative is evaluated at the inside function, which is 7t, not t.
β Not quite. Differentiate the cosine without changing what is plugged into it, then multiply by the derivative of the inside.
Both classic mistakes are avoided here: the inside 7t is left exactly as it was, and the factor 7 is not dropped.
Problem 3 Β· Both Factors, Then Substitute Back
Given:y=(2t+1)6, with the intermediate variable named x=2t+1 so that y=x6.
What is dxdyβ?
What is dtdyβ, written in terms of t?
β Correct!dxdyβ=6x5 and dtdxβ=2, so dtdyβ=12x5=12(2t+1)5.
β Not yet. The factor 2 belongs to the inside function; dxdyβ asks for the derivative of y=x6 with respect to its own variable only.
β Check the power rule. Differentiating x6 with respect to x multiplies by the exponent and lowers it by one.
β Not quite. The outside derivative is right, but dtdxβ=2 has not been multiplied in.
β Check the product. Multiply dxdyβ=6x5 by dtdxβ=2, then replace x by 2t+1 β the exponent does not change at this step.
Show solution
Step 1 β outside, with respect to its own variable:
dxdyβ=dxdβx6=6x5
Step 2 β inside:
dtdxβ=dtdβ(2t+1)=2
Step 3 β multiply:
dtdyβ=6x5β 2=12x5
Step 4 β substitute backx=2t+1:
dtdβ(2t+1)6=12(2t+1)5
Check at t=0: the formula gives 12(1)5=12. Expanding first, (2t+1)6=1+12t+β¦, whose derivative at t=0 is also 12Β β
Problem 4 Β· Roles Reversed
Given:y=sin(t2) β the sine is now the outside function and the squaring is inside. Finddtdyβ.
β Correct! The cosine keeps the inside t2 untouched, and the inside contributes dtdβt2=2t.
β Not quite. The outside derivative is right and the inside was left alone, but the factor dtdxβ=2t is missing.
β Not quite. The factor 2t is right, but the inside expression was changed: the outer derivative must be evaluated at t2, giving cos(t2).
β 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 t2 exactly where it is, and multiply by the derivative of t2.
Show solution
Inside x=t2, outside y=sinx β the opposite arrangement to Problem 1.
dxdyβ=cosx,dtdxβ=2tdtdyβ=cosxβ 2t
Substituting x=t2 back, and writing the inside derivative in front:
dtdβsin(t2)=2tcos(t2)
Compare with dtdβ(sint)2=2sintcost: the same two ingredients composed in the other order give a different function and a different derivative.