Академический Документы
Профессиональный Документы
Культура Документы
Shahid Hussain
May 19, 2009
Outline
Introduction
Determinant
Introduction to Eigensystems
Similarity
Introduction and Preliminaries
Permutation
A permutation p = (p
1
, p
2
, . . . , p
n
) of numbers (1, 2, . . . , n is
simply any rearrangement. There are total n! dierent
permutations for (1, 2, . . . , n).
For example, the set
{(1, 2, 3) (1, 3, 2) (2, 1, 3) (2, 3, 1) (3, 1, 2) (3, 2, 1)}
contains the six distinct permutations of (1, 2, 3).
Cont.
Parity
The parity of a permutation is unique i.e., if a permutation p
can be restored to natural order by an even (odd) number of
interchanges, then every other sequence of interchanges that
restores p to natural order must also by even (odd). Accordingly,
the sign of a permutation p is dened to be the number
(p) =
_
_
+1
if p can be restored to natural order by an
even number of interchanges,
1
if p can restored to natural order by an
odd number of interchanges.
For example, if p = (1, 4, 3, 2), then (p) = 1, and if
p = (4, 3, 2, 1), then (p) = +1. The sign of natural order of
p = (1, 2, 3, 4) is naturally (p) = +1.
Determinant
Determinant
For an n n matrix A = [a
ij
], the determinant of A is dened to
be the scalar
det(A) =
p
(p)a
1p
1
a
2p
2
a
np
n
,
where the sum is taken over the n! permutations
p = (p
1
, p
2
, . . . , p
n
) of (1, 2, . . . , n). Observe that each term
a
1p
1
a
2p
2
a
np
n
contains exactly one entry from each row and
each column of A. The determinant of A can be denoted by
det(A) or |A|, whichever is more convenient.
Cont.
For example, when A is 2 2 there are 2! = 2 permutations of
(1, 2) namely, {(1, 2) (2, 1)}, so det(A) contains the two terms:
(1, 2)a
11
a
22
and (2, 1)a
12
a
21
.
Since (1, 2) = +1 and (2, 1) = 1, we obtain the familiar
formula
a
11
a
12
a
21
a
22
= a
11
a
22
a
12
a
21
.
Example
Use the denition to compute det(A), where A =
_
_
1 2 3
4 5 6
7 8 9
_
_
.
Solution. There are six permutations 3! = 6 of (1, 2, 3) shown
together with the terms in the expansion of det(A) in following
table.
p = (p
1
, p
2
, p
3
) (p) a
1p
1
a
2p
2
a
3p
3
(1, 2, 3) + 1 5 9 = 45
(1, 3, 2) 1 6 8 = 48
(2, 1, 3) 2 4 9 = 72
(2, 3, 1) + 2 6 7 = 84
(3, 1, 2) + 3 4 8 = 96
(3, 2, 1) 3 5 7 = 105
Therefore,
det(A) =
p
(p)a
1p
1
a
2p
2
a
3p
3
= 454872+84+96105 = 0.
Example
Use the denition to compute det(A), where A =
_
_
1 2 3
4 5 6
7 8 9
_
_
.
Solution. There are six permutations 3! = 6 of (1, 2, 3) shown
together with the terms in the expansion of det(A) in following
table.
p = (p
1
, p
2
, p
3
) (p) a
1p
1
a
2p
2
a
3p
3
(1, 2, 3) + 1 5 9 = 45
(1, 3, 2) 1 6 8 = 48
(2, 1, 3) 2 4 9 = 72
(2, 3, 1) + 2 6 7 = 84
(3, 1, 2) + 3 4 8 = 96
(3, 2, 1) 3 5 7 = 105
Therefore,
det(A) =
p
(p)a
1p
1
a
2p
2
a
3p
3
= 454872+84+96105 = 0.
Nilpotent Matrices
Nilpotent Matrices
N
nn
is said to be nilpotent whenever N
k
= 0 for some
positive integer k.
1
u
2
_
=
_
7 4
5 2
_ _
u
1
u
2
_
or, equivalently, u
= Au.
Solution of single equation u
1
e
t
= 7
1
e
t
4
2
e
t
2
e
t
= 5
2
e
t
2
2
e
t
We get:
1
= 7
1
4
2
2
= 5
1
2
2
We get:
_
7 4
2 2
_ _
2
_
=
_
2
_
Eigenvalues and Eigenvectors
Eigenvalues and Eigenvectors
For an n n matrix A, scalars and vectors x
n1
= 0 satisfying
Ax = x are called eigenvalues and eigenvectors of A, respectively,
and any such pair (, x) is called eigenpair for A. The set of
distinct eigenvalues, denoted by (A), is called the spectrum of A.
such that y
7 4
5 2
=
2
5+6 = (2)(3).
We call p() the characteristic polynomial for A.
Cont.
The eigenvectors associated with = 2 and = 3 are simply the
nonzero vectors in the eigenspaces N(A2I) and N(A3I),
respectively. We solve two homogeneous systems, (A2I)x = 0
and (A3I)x = 0.
For = 2,
A2I =
_
5 4
5 4
_
_
1 4/5
0 0
_
=
x
1
= (4/5)x
2
x
2
is free
We get
N(A2I) =
_
x |x =
_
4/5
1
__
.
For = 3,
A3I =
_
3 4
5 5
_
_
1 1
0 0
_
=
x
1
= x
2
x
2
is free
We get
N(A3I) =
_
x |x =
_
1
1
__
.
Characteristic Polynomial
n
.
_
4 1 1 1
1 4 1 1
1 1 4 1
1 1 1 4
_
_
does not have a
zero eigenvalue, and hence why A is nonsingular.
4. Prove that the eigenvalues of A
A and AA
1
0 0
0
2
0
.
.
.
.
.
.
.
.
.
.
.
.
0 0
n
_
_
Cont.
which implies
A[P
1
| | P
n
] = [P
1
| | P
n
]
_
1
0 0
0
2
0
.
.
.
.
.
.
.
.
.
.
.
.
0 0
n
_
_
or
equivalently, [AP
1
| | AP
n
] = [
1
P
1
| |
n
P
n
].
Consequently, AP
j
=
j
P
j
for each j, so each (
j
, P
j
) is an
eigenpair for A. In simple words, P
1
AP = D implies that P
must be a matrix whose columns constitute n linearly independent
eigenvectors, and D is a diagonal matrix whose diagonal entries
are the corresponding eigenvalues.
Diagonalizability
Diagonalizability
A
nn
is diagonalizable if and only if A possesses a complete
set of eigenvectors. Moreover,
P
1
AP = diag (
1
,
2
, . . . ,
n
) if and only if the columns of
P constitute a complete set of eigenvectors and the
j
s are
the associated eigenvalues, i.e., each (
j
, P
j
) is an eigenpair
for A.
Cont.
If possible, diagonalize the following matrix with a similarity
transformation:
A =
_
_
1 4 4
8 11 8
8 8 5
_
_
.
Solution. Determine whether or not A has a complete set of three
linearly independent eigenvectors. The characteristic equation,
perhaps computed is:
3
+ 5
2
+ 3 9 = ( 1)( + 3)
2
= 0.
= 1 is a simple eigenvalue, = 3 is repeated twice (we say its
algebraic multiplicity is 2). Following are the eigenspaces:
N(A1I) = span
_
_
_
_
_
1
2
2
_
_
_
_
_
and N(A+3I) = span
_
_
_
_
_
1
1
0
_
_
,
_
_
1
0
1
_
_
_
_
_
,
Cont.
If possible, diagonalize the following matrix with a similarity
transformation:
A =
_
_
1 4 4
8 11 8
8 8 5
_
_
.
Solution. Determine whether or not A has a complete set of three
linearly independent eigenvectors. The characteristic equation,
perhaps computed is:
3
+ 5
2
+ 3 9 = ( 1)( + 3)
2
= 0.
= 1 is a simple eigenvalue, = 3 is repeated twice (we say its
algebraic multiplicity is 2). Following are the eigenspaces:
N(A1I) = span
_
_
_
_
_
1
2
2
_
_
_
_
_
and N(A+3I) = span
_
_
_
_
_
1
1
0
_
_
,
_
_
1
0
1
_
_
_
_
_
,
Cont.
When combined these three eigenvectors constitute a linearly
independent set. Consequently, A must be diagonalizable. To
explicitly exhibit the similarity transformation that diagonalize A,
set
P =
_
_
1 1 1
2 1 0
2 0 1
_
_
, and verify P
1
AP =
_
_
1 0 0
0 3 0
0 0 3
_
_
= D.
Cont.
If {(
1
, x
1
), (
2
, x
2
), . . . , (
k
, x
k
)} is a set of eigenpairs for A,
then S = {x
1
, x
2
, . . . , x
k
} is a linearly independent set.
If B
i
is a basis for N(A
i
I), then B = B
1
B
2
B
k
,
is a linearly independent set.
Cont.
Diagonalizability and Multiplicities
A matrix A
nn
is diagonalizable if and only if
geo mult
A
() = alg mult
A
()
for each (A), i.e., if and only if every eigenvalue is
semisimple.
Cont.
Determine which of the following matrix(matrices) is(are)
diagonalizable:
A =
_
_
1 1 2
8 11 8
10 11 7
_
_
, B =
_
_
1 4 4
8 11 8
8 8 5
_
_
.
Cont.
Distinct Eigenvalues
If no eigenvalue of A is repeated, then Ais diagonalizable.
Caution! The converse is not true.
Spectral Theorem for Diagonalizable Matrices
Theorem
A matrix A
nn
with spectrum A = {
1
,
2
, . . . ,
k
} is
diagonalizable if and only if there exist matrices {G
1
, G
2
, . . . , G
k
}
such that
A =
1
G
1
+
2
G
2
+ +
k
G
k
,
where the G
i
s have the following properties.
G
i
is the projector onto N(A
i
I) along R(A
i
I).
G
i
G
j
= 0 whenever i = j.
G
1
+G
2
+ G
k
= I
The above equation is known as the spectral decomposition of A,
and the G
i
s are called the spectral projectors associated with A.
Cont.
Simple Eigenvalues and Projectors
If x and y
/y
x
is the projected onto N(AI) along R(AI). In the context
of the spectral theorem, this means that G is the spectral projector
associated with .
Problem
Determine the spectral projector for A =
_
_
1 4 4
8 11 8
8 8 5
_
_
.
Solution. We already know that A is diagonalizable and there are
two distinct eigenvalues
1
= 1 and
2
= 3, there are two
spectral projector,
G
1
= the projector onto N(A1I) along R(A1I).
G
2
= the projector onto N(A+ 3I) along R(A+ 3I).
There are several dierent ways to nd these projectors.
1. Compute bases for the necessary nullspaces and ranges,
2. Compute G
i
= X
i
Y
T
i
. The required computations are
essentially the same as those needed above. Since much of
the work has already been done in previous example, lets
complete the arithmetic. We have
P =
1 1 1
2 1 0
2 0 1
= [X
1
|X
2
] , P
1
=
1 1 1
2 3 2
2 2 1
Y
T
1
Y
T
2
,
Problem
Determine the spectral projector for A =
_
_
1 4 4
8 11 8
8 8 5
_
_
.
Solution. We already know that A is diagonalizable and there are
two distinct eigenvalues
1
= 1 and
2
= 3, there are two
spectral projector,
G
1
= the projector onto N(A1I) along R(A1I).
G
2
= the projector onto N(A+ 3I) along R(A+ 3I).
There are several dierent ways to nd these projectors.
1. Compute bases for the necessary nullspaces and ranges,
2. Compute G
i
= X
i
Y
T
i
. The required computations are
essentially the same as those needed above. Since much of
the work has already been done in previous example, lets
complete the arithmetic. We have
P =
1 1 1
2 1 0
2 0 1
= [X
1
|X
2
] , P
1
=
1 1 1
2 3 2
2 2 1
Y
T
1
Y
T
2
,
Cont.
so
G
1
= X
1
Y
T
1
=
_
_
1 1 1
2 2 2
2 2 2
_
_
, G
2
= X
2
Y
T
2
=
_
_
0 1 1
2 3 2
2 2 1
_
_
.
3. Since
1
= 1 is a simple eigenvalue, we can compute G
1
as
G
1
=
xy
T
y
T
x
=
_
_
1
2
2
_
_
_
1 1 1
=
_
_
1 1 1
2 2 2
2 2 2
_
_
.
Other spectral projects is G
2
= I G
1
.
Cont.
4. An even easier solutions is obtained from the spectral theorem
by writing
AI = (1G
1
3G
2
) (G
1
+G
2
) = 4G
2
,
A+ 3I = (1G
1
3G
2
) + 3(G
1
+G
2
) = 4G
1
,
so that
G
1
=
A+ 3I
4
and G
2
=
(AI)
4
.
5. In face, the above is really a special case of a completely
general formula giving each G
i
as a function Aand
i
as
G
i
=
k
j=1
j=i
(A
j
I)
k
j=1
j=i
(
i
j
)
.
Summary
Summary of Diagonalizability
For an n n matrix A with spectrum (A) = {
1
,
2
, . . . ,
k
},
the following statements are equivalent.
Every
i
is semisimple, i.e., geo mult
A
(
i
) = alg mult
A
(
i
).
A =
1
G
1
+
2
G
2
+ +
k
G
k
, where
G
i
is the projector onto N(A
i
I) along R(A
i
I),
G
i
G
j
= 0 whenever i = j,
G
1
+G
2
+ +G
k
= I,
G
i
=
k
j=1
j=i
(A
j
I)
_
k
j=1
j=i
(
i
j
),
If
i
is a simple eigenvalue associated with right-hand and
left-hand eigenvectors x and y
, respectively, then
G
i
= xy
/y
x.