The Morse lemma states that if is a nondegenerate critical point of a smooth real function on an -dimensional smooth manifold, there are smooth coordinates , centered at , such that
Here is the Morse index, the number of negative directions of the Hessian matrix at . The equality is exact on a neighborhood, not merely a second-order expansion.
To prove it, start with any coordinates putting . Since , integral Taylor theorem gives
The matrix is smooth and symmetric, with . By Sylvester's law of inertia, a constant invertible linear coordinate change makes .
We perform completion of squares with coefficients depending smoothly on the original . The first pivot stays nonzero and keeps its sign on a sufficiently small neighborhood. Algebraically,
The remaining coefficient matrix is the Schur complement. At zero it is the remaining signed diagonal matrix, so its first pivot is also nonzero nearby. Continue recursively, shrinking the neighborhood finitely many times. Every pivot is smooth and nonzero, with sign for and thereafter. Absorb into the square by its smooth positive square root. This produces a smooth triangular matrix with nonzero diagonal such that
All coefficients here are functions of the original ; no circular coordinate substitution is involved. Define . Its derivative at zero is , which is invertible. The inverse function theorem makes a smooth coordinate system and gives the asserted exact quadratic form. The number of negative squares agrees with the Hessian matrix signature and hence with the Morse index. This is the smooth completing-square proof of the Morse lemma.