Classify the quadratic form \(q(x)=x^{\mathsf T}Ax\) using the eigenvalues (signature) of a symmetric matrix \(A\), and optionally check positive/negative definiteness using Sylvester’s criterion.
Quadratic Form Classifier
Math Linear Algebra • Applications and Advanced Linear Algebra (capstone)
Frequently Asked Questions
Why does the calculator prefer symmetric matrices?
For quadratic forms, only the symmetric part contributes: x^T A x = x^T ((A + A^T)/2) x. Symmetric matrices guarantee real eigenvalues and clean classification.
What is the signature (n+, n-, n0)?
It counts the number of positive, negative, and near-zero eigenvalues of A. The signature determines whether the form is definite, semidefinite, or indefinite.
What does Sylvester’s criterion test?
For symmetric matrices, it tests positive definiteness by requiring all leading principal minors Δk to be positive, and negative definiteness by alternating signs.
Why might a negative definite form plot x^T A x = -1 instead of 1?
If A is negative definite then x^T A x is always negative for x ≠ 0, so the level set x^T A x = 1 is empty. Using -1 yields an ellipse-like set.