What does it mean for a symmetric matrix A to be positive definite rather than positive semidefinite, and what shape does x⊤Ax 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 x⊤Ax.

Key idea

For a vector x and symmetric matrix A, the number x⊤Ax acts like a multi-dimensional parabola. A is positive definite (PD) when x⊤Ax>0 for every non-zero x, forming a strict upward bowl with one bottom at x=0; A is positive semidefinite (PSD) when x⊤Ax≥0, which allows flat valleys where x⊤Ax=0 along some direction.

Steps

  1. Define positive definite (PD): x⊤Ax>0 for every non-zero vector x, where x⊤Ax is the single number you get by computing Ax and then taking its dot product with x. Geometrically, x⊤Ax curves strictly upward in every direction like a round or oval bowl (for example, x12+x22), with a single minimum at x=0.
  2. Define positive semidefinite (PSD): x⊤Ax≥0 for all x, allowing x⊤Ax=0 even when x≠0.
  3. Contrast the PSD shape with an example: x⊤Ax=x12 is zero everywhere along the x2-axis, forming a flat trough or gutter with infinitely many minima along the bottom line.
  4. 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

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 A, and what does a non-trivial null space mean for the linear system Ax=b?
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?