14.108 min read
One Underlying Variable
An important special case: depends on a single scalar variable , and is a scalar output. This is the case , .
The Jacobian of is the column vector . The Jacobian of is the row vector .
The chain rule gives — a dot product. This is a row vector times a column vector = a scalar.
Formal View
Theorem 14.6 — Chain Rule: One Underlying Variable
If is differentiable at and is differentiable at , then satisfies
In Leibniz notation: .
Why This Matters
The one-underlying-variable case is ubiquitous in physics where a function depends on space, and space depends on time.
- Rate of change of a scalar quantity along a trajectory:
- Hamiltonian mechanics:
- Neural ODE: continuous-depth neural networks parameterized by a single "depth" variable
Quiz
Question 1
If , then equals:
Common Mistakes
- Forgetting to evaluate at , not at .
- Treating as a vector when the output is scalar — it is a scalar.
- Omitting the dot product: writing as without the dot, causing dimension confusion.