Source scope: §4.4, PDF pages 28. Numerical examples, experiments, added derivations, and practice are teaching supplements unless identified as source results.
Equal slopes can hide different curvature
For , the coordinate slopes are . Those slopes change twice as fast in the direction. The gradient records slope at a point; its derivative records how that slope changes.
For , the Hessian is the matrix
When the second partial derivatives are continuous in a neighborhood, mixed partial derivatives commute (Clairaut’s theorem), so the Hessian is symmetric. Differentiability alone does not guarantee this condition. The source expects this regularity in its working examples.
Slice in a direction
Teaching supplement. The restriction has . For our bowl, . A unit direction has curvature . The value lies between two and four, matching the Rayleigh bounds from Module 3. For the saddle , changing the slice direction can change the sign of curvature.
Why Newton’s method uses a Hessian
The source notes that forming the Hessian can be expensive but may reduce the iterations needed to find a local minimum. Teaching derivation: a local quadratic model is
Its stationary step solves , the Newton step when is invertible. For our quadratic bowl this gives and reaches zero in one step. Gradient descent instead uses , one shared step size for unequal curvatures.
A dense Hessian has entries and solving its linear system costs additional work. If is singular, this inverse-based step is undefined. If is indefinite, a Newton stationary step need not descend. The one-step result above is specific to an exact positive definite quadratic, not a guarantee for arbitrary functions.
Transfer
For , . The coordinate slices have zero second derivative, but directions and have curvature and . Diagonal entries alone cannot characterize all curvature.
Explore the relationship
Cut the surface in a direction
Can the second derivative become negative when the slicing direction changes?
Preparing interactive controls…