What does it mean for a symmetric matrix to be positive definite rather than positive semidefinite, and what shape does have in each case?
Linear algebra and optimisation, Positive definite matrices
Level L1 Beginner. Length Short. Nature Th+Mat Both.
What's being asked
Whether you can distinguish strict positivity from non-negativity in the sign and bowl shape of .
Key idea
For a vector and symmetric matrix , the number acts like a multi-dimensional parabola. is positive definite (PD) when for every non-zero , forming a strict upward bowl with one bottom at ; is positive semidefinite (PSD) when , which allows flat valleys where along some direction.
Steps
- Define positive definite (PD): for every non-zero vector , where is the single number you get by computing and then taking its dot product with . Geometrically, curves strictly upward in every direction like a round or oval bowl (for example, ), with a single minimum at .
- Define positive semidefinite (PSD): for all , allowing even when .
- Contrast the PSD shape with an example: is zero everywhere along the -axis, forming a flat trough or gutter with infinitely many minima along the bottom line.
- Note what comes next: testing whether a matrix is PD or PSD using its eigenvalues or determinants is covered at the next level.
Common mistakes
- Checking only the diagonal entries of : positive diagonal entries are not enough — for example, has positive diagonal entries, yet for it gives .
- Thinking a PSD matrix must have a unique minimum; any flat zero-curvature direction creates a whole line or plane of minima.
How long your answer should be
3–4 sentences.
Read this
Previous in Linear algebra and optimisation: What is the null space (kernel) of a matrix , and what does a non-trivial null space mean for the linear system ?
Next in Linear algebra and optimisation: What is a convex set, what is a convex function, and what does the bowl shape of a convex problem mean for finding a minimum?