Quadratic Forms
Definition
A quadratic form in n variables is a function of the form:
Here, A is a symmetric n×n matrix and x is in Rn. A is called the matrix associated with f.
Example:
Diagonalization
By using its associated matrix you can diagonalize a quadratic form like any other symmetric matrix. This provides insight into what the function does exactly (like any other diagonalization). The change of variables will also speed up computation if you're doing a lot of consecutive transformations with it, because there will not be any cross-product terms; you can just raise the diagonal matrix to nth power for n transformations.
Expressing the diagonalization as an algebraic formula works as follows:
Orthogonally diagonalize associated, symmetric matrix A as A=QDQT.
x=Qy, or similarly, y=QTx.
For a great example, see page 412 of David Poole's book on Linear Algebra.
Last updated