Year 1 Sem 2/LC Mathematics for Physicists 1B/Lecture 05
← Previous lecture · Module · Next lecture →
2D Recap
In 2D, a stationary point of a function $f(x)$ occurs at $x = a$ where $f(x)$ is neither increasing or decreasing such that $f^\prime(a) = 0$.
Consider the Taylor series about $x = a$, where $f^\prime(a) = 0$:
If $f^{\prime\prime} (a) > 0$, the function looks like $+h^2$ near the stationary point. This gives us a minima. If the second derivative is negative the function looks like $-h^2$, giving a maximum point.
If the second derivative is zero, we need to find the first non-zero derivative $f^n{(a)} \neq 0$ where $n > 2$.
- If $n = 2k + 1$ (odd), the function looks like $\pm h^{2k + 1}$ near the stationary point. This results in a point of inflexion.
- If $n = 2k$ (even) and $f^{2k}(a) > 0$, the function looks like $+ h^{2k}$ near the stationary point so that we have a minimum.
- If $n = 2k$ (even) and $f^{2k}(a) < 0$, the function looks like $- h^{2k}$ near the stationary point so that we have a maximum.
Stationary Points of Several Variables
Two Variables
Consider a function $f(x, y)$ at a point $(a, b)$. For a stationary point to occur here, the function must be flat in all directions at that point, so all the partial derivatives must be zero:
To classify it, we again consider the Taylor series:
Where $A = f_{xx}(a, b)$, $B = f_{xy}(a,b)$ and $C = f_{yy}(a,b)$. We can then complete the square:
- For the stationary point to be a minimum, we need $A > 0$ and $C - B^2 / A = AC - B^2 > 0$.
- For a maximum, we need $A < 0$ and $C-B^2/A = AC-B^2 < 0$.
- For a saddle point, with a minimum in one direction and a maximum in the other, we need $A$ and $C - B^2/A$ to be oppositely signed. This corresponds to the case where $AC - B^2 < 0$.
Considering the second derivatives directly:
-
For a minimum we need $f_{xx} > 0$ and the Hessian determinant must be positive: $$\Delta = \det H = \det \begin{bmatrix} f_{xx} & f_{xy} \\ f_{yx} & f_{yy} \end{bmatrix} > 0$$
-
For a maximum, we need $f_{xx} < 0$ and the Hessian determinant must be positive: $$\Delta = \det H = \det \begin{bmatrix} f_{xx} & f_{xy} \\ f_{yx} & f_{yy} \end{bmatrix} > 0$$
-
For a saddle point, we need the Hessian determinant to be negative: $$\Delta = \det H = \det \begin{bmatrix} f_{xx} & f_{xy} \\ f_{yx} & f_{yy} \end{bmatrix} < 0$$
Generalising To 3D
For a function $f(x, y, z)$ to have a stationary point at $(a, b, c)$, all first derivatives must be zero. The Taylor expansion then has no linear term, and performing the Taylor Expansion gives:
where $A = f_{xx},\, B = f_{xy},\, C = f_{xz},\, D = f_{yy},\, E = f_{yz},\, F = f_{zz}$, all evaluated at $(a,b,c)$. We define the quadratic:
as the extra factor of $1/2$ does not change the classification of the point. The stationary point is a minimum $Q > 0$ for all $(h, k, l) \neq (0,0,0)$, because a positive $Q$ means that the function increases in all directions away from the point.
Completing the square in $h$ (treating $k$ and $l$ as fixed):
Expanding the subtracted term:
Substituting back and collecting the $k$- and $l$-terms:
The second quadratic in $A', 2B', C'$ is just our previous 2D example, so that condition holds. For the quadratic, we require:
Expanding the last condition we get:
Finally, our conditions for a minimum are:
-
$$f_{xx} > 0$$.
-
$$\det \begin{bmatrix} f_{xx} & f_{xy} \\ f_{yx} & f_{yy} \end{bmatrix} > 0$$
-
$$\det \begin{bmatrix} f_{xx} & f_{xy} & f_{xz} \\ f_{yx} & f_{yy} & f_{yz} \\ f_{zx} & f_{zy} & f_{zz} \end{bmatrix} > 0$$
And for a maximum:
-
$$f_{xx} < 0$$.
-
$$\det \begin{bmatrix} f_{xx} & f_{xy} \\ f_{yx} & f_{yy} \end{bmatrix} > 0$$
-
$$\det \begin{bmatrix} f_{xx} & f_{xy} & f_{xz} \\ f_{yx} & f_{yy} & f_{yz} \\ f_{zx} & f_{zy} & f_{zz} \end{bmatrix} < 0$$
More generally, for a minimum we need these matrices, called the leading minors of the Hessian, to be positive and for a maximum we need them to alternate in sign.