diagonalization of quadratic form
A quadratic form may be diagonalized by the following procedure:
- 1.
Find a variable such that appears in the quadratic form. If no such variable can be found, perform a linear change of variable so as to create such a variable.
- 2.
By completing the square, define a new variable such that there are no cross-terms involving .
- 3.
Repeat the procedure with the remaining variables.
ExampleSuppose we have been asked to diagonalize the quadratic form
in three variables. We could proceed as follows:
- •
Since appears, we do not need to perform a change of variables.
- •
We have the cross terms and . If we define , then
Hence, we may re-express as
- •
We must now repeat the procedure with the remaining variables, and . Since neither nor appears, we must make a change of variable. Let us define .
- •
We have a cross term . To eliminate this term, make a change of variable . Then we have
and hence
The quadratic form is now diagonal, so we are done. We see that the form has rank 3 and signature
2.