Maths WorkshopMaths problems with full solutions
Exercise 1796Calculus › Multivariable calculus › Optimisation in several variablesL1Added 3 Nov 2026

The Hessian matrix

#Hessian#second derivatives#quadratic form

Statement

Compute the Hessian of f(x,y)=x2+4xy+3y2f(x,y)=x^2+4xy+3y^2 at (0,0)(0,0) and classify the critical point.

Hint

The Hessian is the matrix of second partials; classify via its eigenvalues.

Show solutionHide solution

Solution

Partial derivatives. fx=2x+4yf_x=2x+4y, fy=4x+6yf_y=4x+6y; fxx=2f_{xx}=2, fyy=6f_{yy}=6, fxy=4f_{xy}=4.

Hessian. H=(2446)H=\begin{pmatrix}2&4\\4&6\end{pmatrix}.

Eigenvalues. det⁡(H−λI)=(2−λ)(6−λ)−16=λ2−8λ−4\det(H-\lambda I)=(2-\lambda)(6-\lambda)-16=\lambda^2-8\lambda-4; roots λ=4±25\lambda=4\pm2\sqrt5. One positive, one negative.

Conclusion. The origin is a saddle point (Hessian is indefinite).