HP -15C Advanced Functions Handbook page 151

Hide thumbs Also See for HP-15C:
Table of Contents

Advertisement

Section 4: Using Matrix Operations
149
When A is real and symmetric (A = A
T
) its eigenvalues Ay are all
real and possess orthogonal eigenvectors qy. Then
and
/
if j ^ k
if; = k.
The eigenvectors (qi,q2, •••) constitute the columns of an orthogonal
matrix Q which satisfies.
Q
7
'AQ = diag(A
1
,A
2
,...)
and
An orthogonal change of variables x = Qz, which is equivalent to
rotating the coordinate axes, changes the equation of a family of
quadratic surfaces (x^Ax = constant) into the form
k ^~ \
T
(Q
T
AQ)z = / , A,Z; — constant.
;
With the equation in this form, you can recognize what kind of
surfaces these are (ellipsoids, hyperboloids, paraboloids, cones,
cylinders, planes) because the surface's semi-axes lie along the new
coordinate axes.
The program below starts with a given matrix A that is assumed to
be symmetric (if it isn't, it is replaced by (A + A
T
)/2, which is
symmetric).
Given a symmetric matrix A, the program constructs a skew-
symmetric matrix (that is, one for which B = -B
r
) using the
formula
J tan(
1
/4tan"
1
(2ay/(a
n
— a
;
y)))
if i ^j and a
y
- ^ 0
11
\
ifi
Then Q = 2(1 + B)'
1
— I must be an orthogonal matrix whose
columns approximate the eigenvalues of A; the smaller are all the
elements of B, the better the approximation. Therefore Q
T
AQ must
be more nearly diagonal than A but with the same eigenvalues. If

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents