Quadratic form

Quadratic form

Eliminating cross terms

Eliminating cross terms

Problem: Eliminate the cross terms in the quadratic form .

Solution: First compute the matrix of . By reading off the components (dividing in half the cross term), we see

Now we must write for an orthogonal matrix. We find the eigenvalues and then seek eigenvectors that are orthonormal. Observe that , so the eigenvalues are .

Then we have:

so gives the relation satisfied by the rows of an eigenvector. Choose and then normalize this to the unit vector .

Then we also have:

so and we choose as an eigenvector, and normalize to the unit vector . Notice that .

Now we set and and write our expression for :

In terms of the variables, we have . The formulas relating the variables to each other are given by interpreting as the change of variable transfer matrix:

Optimizing the quadratic form from the eliminating cross terms example

Optimizing

In the Example of the previous section on eliminating cross terms, we obtained the formula for in terms of the variables . We can see directly from this formula that the min eigenvalue is and the max eigenvalue is .

The min of occurs when . In other words it is at the first eigenvector . In terms of the variables, this occurs at and , the components of in the standard basis.

The max of occurs when . In other words at , which corresponds to and .