Total Derivative: Along a Path vs. Linear Map
“Total derivative” has two meanings. It can mean the derivative of $f(t, x(t))$ with respect to $t$ along a path, including the change that comes through $x(t)$. It can also mean the linear map $Df(x)$ of multivariable calculus, also called the differential.
Definitions
Level:
Worked examples
-
Value:
$\frac{\mathrm{d}}{\mathrm{d}t} f(t, e^t) = e^{2t} + 2 t e^{2t}$
By the chain rule, it equals $\frac{\partial f}{\partial t} + \frac{\partial f}{\partial x} x^{\prime}(t)$.
Undergraduate
In multivariable calculus, the total derivative of $f : \reals^n \to \reals^m$ at $x$ is the linear map $Df(x)$ that best approximates $f(x + h) - f(x)$ for small $h$.
Worked examples
-
Value:
The linear map $Df(t, x) : (\Delta t, \Delta x) \mapsto x^2 \Delta t + 2 t x \Delta x$
Examples
Each cell is the total derivative of the function in that row, in the ___ sense.
| Example | total derivative (along a path) | total derivative (linear map) | Why |
|---|---|---|---|
| $f(t, x) = t x^2$ along the path $x(t) = e^t$ | $\frac{\mathrm{d}}{\mathrm{d}t} f(t, e^t) = e^{2t} + 2 t e^{2t}$ | – | The one-variable function $g(t) = f(t, e^t) = t e^{2t}$ is the composition of $f(x, t)$ and $x(t)$. |
| $f(t, x) = t x^2$ | – | The linear map $Df(t, x) : (\Delta t, \Delta x) \mapsto x^2 \Delta t + 2 t x \Delta x$ |
How the two meanings are related
The total derivative along a path is the linear map applied to the velocity of the path:
\[\frac{\mathrm{d}}{\mathrm{d}t} f(t, x(t)) = Df(t, x(t))~(1, x^{\prime}(t)).\]Notes
- Writing $\frac{\mathrm{d}f}{\mathrm{d}t}$ for a function $f(t, x)$ is ambiguous unless it is clear whether $x$ depends on $t$. Writing $\frac{\mathrm{d}}{\mathrm{d}t} f(t, x(t))$ removes the ambiguity.
- In fluid mechanics, the total derivative along the motion of a fluid particle is called the material derivative. In Lyapunov analysis, $\dot{V}$ is the total derivative of $V(x(t))$ along solutions.