Introduction
A quantity can change over time for more than one reason. Its spatial location may move through a field, and the field itself may also change with time. To find the quantity’s actual rate of change, both sources must be included.
For instance, let \(T(x,y,t)\) describe temperature at location \((x,y)\) and time \(t\). A moving object follows the path \((x(t),y(t))\), so the temperature it experiences is the single-variable function \(T(x(t),y(t),t)\). Differentiating this quantity requires the chain rule, including the direct dependence on \(t\).
The Total Time Derivative
Suppose \(T\) is a differentiable function of three variables, \(T=T(x,y,t)\), and suppose \(x=x(t)\) and \(y=y(t)\) are differentiable paths. Define the quantity along the path by \(F(t)=T(x(t),y(t),t)\). The derivative \(dF/dt\) is the total time derivative: it accounts for every way the value can change as time advances.
The first two terms describe changes caused by motion through the spatial inputs. The last term describes the change that would occur from time passing even if the spatial location were fixed. The values of the partial derivatives and the input rates are all evaluated at the same time and along the same path.
In particular, \(T_t\) is not generally the same as \(dT/dt\). It is only one contribution to the total derivative. If \(T\) has no explicit dependence on time, then \(T_t=0\), and only the spatial-motion terms remain. If the spatial inputs are momentarily stationary, then \(x'=y'=0\), but the total derivative can still be nonzero when \(T_t\ne 0\).
Why the Formula Works
The formula is an application of the multivariable chain rule along a parametrized path. A short derivation also clarifies why the three contributions are added rather than treated as alternatives.
Fix a time \(t\), and let \(h\) be a small time increment. The inputs change by \(\Delta x=x(t+h)-x(t)\), \(\Delta y=y(t+h)-y(t)\), and \(\Delta t=h\). Since \(T\) is differentiable, its first-order change is given by its linear approximation at \((x(t),y(t),t)\), with a remainder smaller than the size of the input change.
Because \(x\) and \(y\) are differentiable at \(t\), their changes satisfy \(\Delta x=x'(t)h+o(h)\) and \(\Delta y=y'(t)h+o(h)\). Thus the size of the combined input change is bounded by a constant times \(|h|\) for sufficiently small \(h\), and the remainder divided by \(h\) tends to zero. Divide the displayed equation by \(h\) and let \(h\) tend to zero. The left side becomes the derivative of the composition, while the three linear terms become \(T_xx'(t)\), \(T_yy'(t)\), and \(T_t\). This gives the stated formula.
Worked Example: A Polynomial with Explicit Time Dependence
Worked Example: A Polynomial with Explicit Time Dependence
Let \(T(x,y,t)=x^2y+3t\), with \(x(t)=1+t\) and \(y(t)=2-t\). Find the total derivative at \(t=1\).
First calculate the partial derivatives, holding the other inputs fixed:
The path rates are \(x'(t)=1\) and \(y'(t)=-1\). At \(t=1\), the inputs and rates are
Evaluate the partial derivatives at \((2,1,1)\): \(T_x=2(2)(1)=4\), \(T_y=2^2=4\), and \(T_t=3\). Therefore,
Check by substituting the path into \(T\) first:
Its derivative is \(6-3t^2\), which at \(t=1\) equals \(6-3=3\). This agrees with the chain-rule calculation.
Separating Spatial Change from Explicit Time Change
The three terms in the formula have distinct meanings. The spatial terms measure how the value changes as the point moves through the field at the current time. The explicit time term measures how the field changes at a fixed point. A moving path can make the spatial contributions cancel even while the explicit time contribution remains.
Worked Example: Motion Along a Circle in a Changing Field
Let \(T(x,y,t)=e^{-t}(x^2+y^2)\), with \(x(t)=3\cos t\) and \(y(t)=3\sin t\). Find \(dT/dt\) at \(t=0\), and interpret the contributions.
Differentiate with respect to each input while holding the others fixed:
The path values at \(t=0\) are \(x(0)=3\) and \(y(0)=0\). The rates are \(x'(t)=-3\sin t\) and \(y'(t)=3\cos t\), so \(x'(0)=0\) and \(y'(0)=3\). At \((3,0,0)\), the partial derivatives are \(T_x=6\), \(T_y=0\), and \(T_t=-9\). Thus,
To check, note that \(x(t)^2+y(t)^2=9\cos^2t+9\sin^2t=9\). Hence \(T(x(t),y(t),t)=9e^{-t}\), whose derivative is \(-9e^{-t}\), equal to \(-9\) at \(t=0\). The spatial contributions sum to zero because the path stays at a constant distance from the origin; the field’s explicit time dependence accounts for the change.
Worked Example: A Moving Location and a Changing Formula
Worked Example: A Moving Location and a Changing Formula
Let \(T(x,y,t)=xy+tx\), with \(x(t)=t^2\) and \(y(t)=1+2t\). Find the total derivative at \(t=1\), showing each contribution separately.
The partial derivatives are
The path rates are \(x'(t)=2t\) and \(y'(t)=2\). At \(t=1\), \(x=1\), \(y=3\), \(x'=2\), and \(y'=2\). Therefore \(T_x=3+1=4\), \(T_y=1\), and \(T_t=1\). The total derivative is
For a direct check, substitute the paths before differentiating:
Differentiating gives \(2t+9t^2\), whose value at \(t=1\) is \(2+9=11\). The direct calculation confirms the total derivative, including both spatial motion and explicit time dependence.
Interpreting Units and Signs
The formula also provides a useful consistency check. Suppose \(T\) is measured in degrees, \(x\) and \(y\) in metres, and \(t\) in seconds. Then \(T_x\) and \(T_y\) have units of degrees per metre, while \(x'\) and \(y'\) have units of metres per second. Consequently, \(T_xx'\) and \(T_yy'\) have units of degrees per second. The partial derivative \(T_t\) also has units of degrees per second, so every term can be added.
The signs of the terms describe whether each source increases or decreases the quantity at that instant. A negative contribution does not guarantee the total derivative is negative: positive contributions from other terms may outweigh it. The formula adds the signed contributions, not their absolute values.
Common Mistake: Omitting the Explicit Time Term
A frequent error is to apply the path terms but forget \(T_t\). For a concrete example, let \(T(x,y,t)=x^2+y^2+t\), and keep the location fixed at \(x(t)=1\), \(y(t)=2\). Then \(x'=y'=0\), and the partial derivatives with respect to the spatial inputs contribute nothing. If one incorrectly writes only \(T_xx'+T_yy'\), the result is \(0\).
But \(T_t=1\), so the correct calculation is
Indeed, substitution gives \(T(1,2,t)=1+4+t=5+t\), whose derivative is \(1\). The location is fixed, but the quantity still changes because the formula itself depends on time.
The opposite bookkeeping error is to treat \(T_t\) as though it already included the effects of changing \(x\) and \(y\). It does not: its definition holds those inputs fixed. Include the spatial terms separately, and include \(T_t\) exactly once.
Check Your Understanding
Use the total-time-derivative formula to answer the following questions. When a path and a time are given, evaluate every term at that time.
- For \(T(x,y,t)=x+y+t\), with \(x(t)=t^2\) and \(y(t)=3t\), find \(dT/dt\) at \(t=2\).
- In the formula for \(dT/dt\), which inputs are held fixed when computing \(T_t\)?
- If \(x'(t)=y'(t)=0\) at a particular instant, what does the total derivative reduce to?
- For \(T(x,y,t)=x^2+y^2+t\), with \(x(t)=\cos t\) and \(y(t)=\sin t\), compute \(dT/dt\) and explain which contribution remains.
- State the differentiability conditions needed to apply the total-time-derivative formula at a given time.