The first step in any multivariate optimisation — portfolio construction, model calibration, MLE — is finding where the gradient vanishes: the critical points of the objective function. But a critical point may be a local minimum (what we want), a local maximum (often what we want to avoid), or a saddle point (neither — a direction of ascent and a direction of descent both exist). The second derivative test uses the discriminant to classify all three cases for without having to examine every direction. This note develops the test from first principles, works through the geometry of the saddle point, and connects the three cases to the curvature of the objective surface.
Learning objectives. By the end of this note you should be able to:
- find all critical points of a differentiable by solving ;
- compute the discriminant at a critical point;
- classify critical points as local min, local max, saddle, or inconclusive;
- describe the geometry of a saddle point and why "gradient zero" is not enough for optimality;
- apply the second derivative test to a portfolio variance function.
In this lesson
-
- Critical Points
-
- The Discriminant and the Second Derivative Test
-
- Classifying Examples
-
- The Geometry of a Saddle Point
-
- Applied Example — Portfolio Variance
Before you start
- Partial Derivatives: Computation, Higher Partials, and Schwarz's Theorem
- The Gradient Vector and Directional Derivatives
The full lesson, with worked examples and exercise solutions, is for members.
Read the full lessonNew to SelfMadeQuant.com? See membership options or explore the curriculum.