Principal axis theorem explained

In geometry and linear algebra, a principal axis is a certain line in a Euclidean space associated with an ellipsoid or hyperboloid, generalizing the major and minor axes of an ellipse or hyperbola. The principal axis theorem states that the principal axes are perpendicular, and gives a constructive procedure for finding them.

Mathematically, the principal axis theorem is a generalization of the method of completing the square from elementary algebra. In linear algebra and functional analysis, the principal axis theorem is a geometrical counterpart of the spectral theorem. It has applications to the statistics of principal components analysis and the singular value decomposition. In physics, the theorem is fundamental to the studies of angular momentum and birefringence.

Motivation

The equations in the Cartesian plane R2:

\begin{align}

x2
9

+

y2
25

&=1\\[3pt]

x2
9

-

y2
25

&=1 \end{align}

define, respectively, an ellipse and a hyperbola. In each case, the x and y axes are the principal axes. This is easily seen, given that there are no cross-terms involving products xy in either expression. However, the situation is more complicated for equations like

5x2+8xy+5y2=1.

Here some method is required to determine whether this is an ellipse or a hyperbola. The basic observation is that if, by completing the square, the quadratic expression can be reduced to a sum of two squares then the equation defines an ellipse, whereas if it reduces to a difference of two squares then the equation represents a hyperbola:

\begin{align} u(x,y)2+v(x,y)2&=1    (ellipse)\\ u(x,y)2-v(x,y)2&=1    (hyperbola). \end{align}

Thus, in our example expression, the problem is how to absorb the coefficient of the cross-term 8xy into the functions u and v. Formally, this problem is similar to the problem of matrix diagonalization, where one tries to find a suitable coordinate system in which the matrix of a linear transformation is diagonal. The first step is to find a matrix in which the technique of diagonalization can be applied.

The trick is to write the quadratic form as

5x2+8xy+5y2= \begin{bmatrix} x&y \end{bmatrix} \begin{bmatrix} 5&4\\ 4&5 \end{bmatrix} \begin{bmatrix} x\y \end{bmatrix}= xsf{T}Ax

where the cross-term has been split into two equal parts. The matrix A in the above decomposition is a symmetric matrix. In particular, by the spectral theorem, it has real eigenvalues and is diagonalizable by an orthogonal matrix (orthogonally diagonalizable).

To orthogonally diagonalize A, one must first find its eigenvalues, and then find an orthonormal eigenbasis. Calculation reveals that the eigenvalues of A are

λ1=1,λ2=9

with corresponding eigenvectors

v1=\begin{bmatrix}1\ -1\end{bmatrix}, v2=\begin{bmatrix}1\1\end{bmatrix}.

Dividing these by their respective lengths yields an orthonormal eigenbasis:

u1=\begin{bmatrix}1/\sqrt{2}\ -1/\sqrt{2}\end{bmatrix}, u2=\begin{bmatrix}1/\sqrt{2}\1/\sqrt{2}\end{bmatrix}.

Now the matrix S = ['''u'''<sub>1</sub> '''u'''<sub>2</sub>] is an orthogonal matrix, since it has orthonormal columns, and A is diagonalized by:

A=SDS-1=SDSsf{T}= \begin{bmatrix} 1/\sqrt{2}&1/\sqrt{2}\\ -1/\sqrt{2}&1/\sqrt{2} \end{bmatrix} \begin{bmatrix} 1&0\\ 0&9 \end{bmatrix} \begin{bmatrix} 1/\sqrt{2}&-1/\sqrt{2}\\ 1/\sqrt{2}&1/\sqrt{2} \end{bmatrix}.

This applies to the present problem of "diagonalizing" the quadratic form through the observation that

5x2+8xy+5y2= xsf{T}Ax= xsf{T}\left(SDSsf{T}\right)x= \left(Ssf{T}x\right)sf{T}D\left(Ssf{T}x\right)= 1\left(

x-y
\sqrt{2
}\right)^2 + 9\left(\frac\right)^2.

Thus, the equation

5x2+8xy+5y2=1

is that of an ellipse, since the left side can be written as the sum of two squares.

It is tempting to simplify this expression by pulling out factors of 2. However, it is important not to do this. The quantities

c1=

x-y
\sqrt{2
},\quad c_2 = \frachave a geometrical meaning. They determine an orthonormal coordinate system on R2. In other words, they are obtained from the original coordinates by the application of a rotation (and possibly a reflection). Consequently, one may use the c1 and c2 coordinates to make statements about length and angles (particularly length), which would otherwise be more difficult in a different choice of coordinates (by rescaling them, for instance). For example, the maximum distance from the origin on the ellipse c12 + 9c22 = 1 occurs when c2 = 0, so at the points c1 = ±1. Similarly, the minimum distance is where c2 = ±1/3.

It is possible now to read off the major and minor axes of this ellipse. These are precisely the individual eigenspaces of the matrix A, since these are where c2 = 0 or c1 = 0. Symbolically, the principal axes are

E1=span\left(\begin{bmatrix}1/\sqrt{2}\ -1/\sqrt{2}\end{bmatrix}\right), E2=span\left(\begin{bmatrix}1/\sqrt{2}\1/\sqrt{2}\end{bmatrix}\right).

To summarize:

Using this information, it is possible to attain a clear geometrical picture of the ellipse: to graph it, for instance.

Formal statement

The principal axis theorem concerns quadratic forms in Rn, which are homogeneous polynomials of degree 2. Any quadratic form may be represented as

Q(x)=xsf{T}Ax

where A is a symmetric matrix.

The first part of the theorem is contained in the following statements guaranteed by the spectral theorem:

In particular, A is orthogonally diagonalizable, since one may take a basis of each eigenspace and apply the Gram-Schmidt process separately within the eigenspace to obtain an orthonormal eigenbasis.

For the second part, suppose that the eigenvalues of A are &lambda;1, ..., &lambda;n (possibly repeated according to their algebraic multiplicities) and the corresponding orthonormal eigenbasis is u1, ..., un. Then,

c=[u1,

sf{T}
\ldots,u
n]

x,

and

Q(x)=λ1

2
c
1

+λ2

2
c
2

+...+λn

2,
c
n

where ci is the i-th entry of c . Furthermore,

The i-th principal axis is the line determined by equating cj =0 for all

j=1,\ldots,i-1,i+1,\ldots,n

. The i-th principal axis is the span of the vector ui .

See also

References

. Gilbert Strang. Introduction to Linear Algebra. Wellesley-Cambridge Press. 1994. 0-9614088-5-5.