$f(t, x) = t x^2$ along the path $x(t) = e^t$
The one-variable function $g(t) = f(t, e^t) = t e^{2t}$ is the composition of $f(x, t)$ and $x(t)$.
Terms
| Term | This example | Why |
|---|---|---|
| ordinary derivative | For $g(t) = f(t, e^t) = t e^{2t}$, $g^{\prime}(t) = e^{2t} + 2 t e^{2t}$ | Along the path, $g(t) = f(t, e^t)$ is a function of one variable, so it has an ordinary derivative. |
| total derivative (along a path) | $\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)$. |