THE WHOLE UNIT · ONE REFERENCE

Optimization in Several Variables
Cheat sheet.

The key rules, formulas and reminders from all 4 topics, gathered into reference cards.

Choose “Save as PDF” in the print dialog.

Key formulas, conditions and traps · Read down each column.

Critical Points and the Hessian

Core rule

At a stationary point: D=fxxfyy−fxy2D=f_{xx}f_{yy}-f_{xy}^2. D<0D<0: saddle. D>0D>0: use the sign of fxxf_{xx}. D=0D=0: inconclusive.

Watch for

This is a local test requiring second-order regularity. Semidefinite Hessians do not settle the classification.

Absolute Extrema on Closed Regions

Core rule

For continuous functions on compact regions, compare interior critical points, boundary critical points and boundary endpoints/corners.

Watch for

A boundary extremum need not have zero gradient. Check whether the domain actually includes limiting boundary points.

Lagrange Multipliers and Constraint Geometry

Core rule

∇f=λ∇g,g=c,∇g≠0.\nabla f=\lambda\nabla g,\quad g=c,\quad \nabla g\ne0.

Watch for

Compare candidates and check singular constraint points. Multiple constraints require independent gradients for the usual theorem.

Multivariable Taylor Approximation and Error

Core rule

P2=f(a)+∇f(a)Th+12hTH(a)h,∣f−L∣≤M2∥h∥2.P_2=f(a)+\nabla f(a)^Th+\tfrac12h^TH(a)h,\quad |f-L|\le\tfrac M2\|h\|^2.

Watch for

Include both mixed terms. A rigorous error bound requires a derivative bound along the entire input segment.

01

Critical Points and the Hessian

2 reference blocks

Read lesson ↗

Core rule

At a stationary point: D=fxxfyy−fxy2D=f_{xx}f_{yy}-f_{xy}^2. D<0D<0: saddle. D>0D>0: use the sign of fxxf_{xx}. D=0D=0: inconclusive.

Watch for

This is a local test requiring second-order regularity. Semidefinite Hessians do not settle the classification.

02

Absolute Extrema on Closed Regions

2 reference blocks

Read lesson ↗

Core rule

For continuous functions on compact regions, compare interior critical points, boundary critical points and boundary endpoints/corners.

Watch for

A boundary extremum need not have zero gradient. Check whether the domain actually includes limiting boundary points.

03

Lagrange Multipliers and Constraint Geometry

2 reference blocks

Read lesson ↗

Core rule

∇f=λ∇g,g=c,∇g≠0.\nabla f=\lambda\nabla g,\quad g=c,\quad \nabla g\ne0.

Watch for

Compare candidates and check singular constraint points. Multiple constraints require independent gradients for the usual theorem.

04

Multivariable Taylor Approximation and Error

2 reference blocks

Read lesson ↗

Core rule

P2=f(a)+∇f(a)Th+12hTH(a)h,∣f−L∣≤M2∥h∥2.P_2=f(a)+\nabla f(a)^Th+\tfrac12h^TH(a)h,\quad |f-L|\le\tfrac M2\|h\|^2.

Watch for

Include both mixed terms. A rigorous error bound requires a derivative bound along the entire input segment.