Euler Hall — free maths guides

The chain rule with one parameter

Apply the chain rule when both variables depend on one parameter. The idea in plain words, a worked example, and a check with the answers shown — part of the free Calculus III guides.

One term per route

Whenxx andyy both depend on a parametertt, the chain rule sums a term for each:

dfdt=fxdxdt+fydydt.\frac{df}{dt} = f_x\frac{dx}{dt} + f_y\frac{dy}{dt}.

Read it as routes. The parameter reaches the output throughxx and throughyy. Thexx route contributes fxf_x times how fastxx moves"; theyy route contributes the same withyy. Freeze one route and you have half the answer.

A worked case.f=x2+y2f=x^2+y^2 withx=tx=t andy=t2y=t^2:

fx=2x=2t,x′=1;fy=2y=2t2,y′=2t.f_x = 2x = 2t, \quad x' = 1; \qquad f_y = 2y = 2t^2, \quad y' = 2t.

Sodfdt=2t⋅1+2t2⋅2t=2t+4t3\frac{df}{dt} = 2t\cdot1 + 2t^2\cdot2t = 2t + 4t^3.

A check that catches the commonest error. Differentiateff directly after substituting:f=t2+t4f = t^2 + t^4, whose derivative is2t+4t32t + 4t^3. It agrees, which is what the rule promises.

Why substituting first also works

For a function of one parameter, substitutingx(t)x(t) andy(t)y(t) intoff gives a plain one-variable function, and you can differentiate it directly.

The chain rule's value is that it lets you work from the PARTIALS, which you may know without having a formula forff in terms oftt — and it explains where each contribution comes from.

A chain rule with numbers

Question, in the shape the practice takes. At a point,fx=2f_x=2,fy=3f_y=3,x′=1x'=1,y′=4y'=4. Finddf/dtdf/dt.

Work it through.2⋅1+3⋅4=142\cdot1 + 3\cdot4 = 14.

The reading. Theyy route dominates here, because both its partial and its rate are larger.

By the end you can
  • Apply the chain rule when both variables depend on one parameter
  • Say why the rule has one term per route
  • Evaluate the derivative at a named time
Check yourself

f=x2yf=x^2y withx=tx=t,y=ty=t. Finddf/dtdf/dt att=1t=1.

Answers

fx=2xy=2t2f_x=2xy=2t^2,x′=1x'=1;fy=x2=t2f_y=x^2=t^2,y′=1y'=1. Total3t23t^2, which att=1t=1 is 3. (Directly:f=t3f=t^3, derivative3t23t^2. ✓)

Work out where to start — free, no accountAnswer six real questions — free, no account