Connection with optimization
Introduction / Definition
Positive definite matrices make quadratic optimization problems strictly convex. Strict convexity ensures a unique minimizer for an unconstrained quadratic with a positive definite Hessian. The optimal point can be obtained by solving a linear system. This connection appears in least squares and Newton-type methods.
Syntax / Mathematical Form
f(x)=½xᵀAx−bᵀx, A≻0; ∇f=Ax−b
Detailed Explanation
Setting the gradient to zero gives Ax=b. Since A is positive definite, it is invertible and the solution is unique. The Hessian A is positive definite, so the stationary point is the unique global minimizer.
Example
A = [ 2 0 ]
[ 0 4 ], b=(2,8)ᵀ
Ax=b ⇒ x\*=(1,2)ᵀ.
Output
The unique minimizer is (1,2)ᵀ.
Explanation
error code: 502
Important Points / Notes
- Positive definite A gives strict convexity.
- Ax=b gives the optimum.
- The minimizer is unique.
Mini Practice Question
For f(x)=2x²−8x, find the minimizer.