Test whether x transpose A x is positive for every nonzero x
State the positive definite definition as a for-all statement and the negation as a there-exists. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.
A symmetric matrix is positive definite when
Read that literally and it looks impossible to check: infinitely many vectors, one test. That is exactly why four other tests exist in this module — pivots, leading minors,, and eigenvalues. Each of them settles the whole for-all in finite work.
There is one direction you can check by hand, and it is the direction exam questions actually use:
So one counterexample kills definiteness, and no number of positive samples establishes it.
Why the quantifier is "every nonzero" and not "every": at the value is always, so including it would make the definition unsatisfiable.
The boundary case matters too. Positive semidefinite allows with equality possible at a nonzero. The difference between the two words is exactly whether that equality happens.
For and, write (or use separately). Then
Since, the sign of the energy is the sign of the bracket for every real. A quadratic in one variable is positive for all exactly when its leading coefficient is positive and its discriminant is negative:
That is the two-condition test and. So the for-all statement about vectors becomes a two-number test, and the derivation is a change of variable — no spectral theory needed.
For larger the same idea needs more than the determinant: three dimensions give a cubic and the test becomes the leading-minor one. That is the next skill but one.
A matrix that is definite.. Test and. Both hold, so is positive definite. Confirm by completing the square:, a sum of two squares with positive coefficients.
A matrix that is not.. Here but. Negative determinant means the eigenvalues have opposite signs, so some direction goes downhill. Find it: try giving. Indefinite.
A semidefinite one, the edge case. has. The energy is, and it is at. So is positive semidefinite and not positive definite. The distinction is that single zero.
- State the positive definite definition as a for-all statement and the negation as a there-exists
- Refute definiteness by producing one vector with non-positive energy
- Decide a symmetric 2x2 by the two-condition test a11 > 0 and det > 0
- Distinguish positive definite from positive semidefinite at the zero boundary
- 1. Is positive definite?
- 2. Is positive definite?
- 3. Give a nonzero with for.
Answers
1. and, so yes. 2. but, so it is only semidefinite. Indeed the form is, which is at. 3. Any multiple of: the form is, so gives.