Docsity

Eigenvalues and Eigenvectors of Non-Symmetric Matrices, Study notes of Mathematics

Toggle sidebar
bg1
1
IB Paper 7: Linear Algebra Handout 7
8. Eigenvalues and Eigenvectors
There are many problems which reduce to finding the eigenvalues of a matrix, for example, finding
the resonant frequencies of a vibrating system. There are, in addition, many problems where the
analysis is greatly simplified if we use the eigenvectors of a matrix as a convenient co-ordinate
system such as those involving principal stresses and strains. In Part IA, we studied symmetric
matrices and we showed there that:-
For a symmetric matrix A, the eigenvalues are real and the eigenvectors orthogonal. This means
that if we use a set of normalised (unit) eigenvectors for A,
1
1 1
u u
λ
=A 2
2 2
u u
λ
=A, etc. Then
A1 2
...
...
n
u u u
↑ ↑ ↑
↓ ↓ ↓
= 2
1
...
...
n
u u u
↑ ↑ ↑
↓ ↓ ↓
1
2
0 ... 0
0 ... 0
... ... ... ...
0 0 ...
n
λ
λ
λ
or A U = U Λ
ΛΛ
Λ A = U Λ
ΛΛ
Λ UT since 1−=
T
U U
We used this to show that in the co-ordinate system defined by the
i
u
, then A is simply a diagonal
matrix. Further, problems which involved repeated multiplication by A, also greatly simplified
Ak = (UΛ
ΛΛ
ΛU−1) (UΛ
ΛΛ
ΛU−1) ... (UΛ
ΛΛ
ΛU−1) = UΛ
ΛΛ
ΛkU−1
or, in terms of vectors, 1 1
1
k k
x u
α λ
≈A where
λ
1 is the largest eigenvalue (in magnitude) and
1 2 3
1 2 3
x u u u
α α α
= + + +
...
If, for example, you wish to find out which variables really matter to a problem which involves
eigenvalues and you wish to neglect the others, you simply find the eigenvalues of A and throw
away the small ones
A = 2
1
...
..
0
.
0u u
↑ ↑ ↑ ↑
↓ ↓ ↓ ↓
1
2
0 ... 0 0
0 ... 0 0
... ... ... ... ...
0 0 ... 0
0 0 .
0
0
.. 0
λ
λ
2
1
...
..
0
.
0u u
↑ ↑ ↑ ↑
↓ ↓ ↓ ↓
T
In this section we will consider whether we can do something similar for non-symmetric matrices.
Even for non-linear problems, knowing/finding the eigenvalues of a matrix can be the key to
finding a successful solution. Non-linear problems usually involve iterative methods consisting of
guessing a solution and then refining the guess in some way to obtain a closer approximation to the
solution. Suppose for example x and y are related through some non-linear equations we wish to
solve
(
)
,
x f x y
=
(
)
,
y g x y
=
T T
1 2
1 1 2 2
T
n
n n
u u u u
u u
λ λ
λ
= +
+ ... +
A
T T
1 2
1 1 2 2
T
where is smaller than
k
k k
u u u u
u u
k n
λ λ
λ
= +
+ ... +
A
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Eigenvalues and Eigenvectors of Non-Symmetric Matrices and more Study notes Mathematics in PDF only on Docsity!

IB Paper 7: Linear Algebra Handout 7

8. Eigenvalues and Eigenvectors

There are many problems which reduce to finding the eigenvalues of a matrix, for example, findingthe resonant frequencies of a vibrating system. There are, in addition, many problems where the analysis is greatly simplified if we use the eigenvectors of a matrix as a convenient co-ordinate system such as those involving principal stresses and strains. In Part IA, we studied symmetric matrices and we showed there that:- For athat if we use a set of normalised (unit) eigenvectors for symmetric matrix A , the eigenvalues are real and the eigenvectors orthogonal. This means A ,

A u 1 (^) = λ 1 u 1 A u (^) 2 = λ 2 u 2 , etc. Then

A (^) 1 2

u u u n

u u u n

1 2

0 0 ... (^) n

or A U = U (^) ΛΛΛΛ  A = U ΛΛΛΛ UT^ since U −^1 = UT We used this to show that in the co-ordinate system defined by the u (^) i , then A is simply a diagonal matrix. Further, problems which involved repeated multiplication by A , also greatly simplified A k^ = ( U ΛΛΛΛ U −^1 ) ( U ΛΛΛΛ U −^1 ) ... ( U ΛΛΛΛ U −^1 ) = U ΛΛΛΛ k U −^1

or, in terms of vectors, A^ k^ x ≈ α λ1 1 k u 1 where λ 1 is the largest eigenvalue (in magnitude) and

x = α 1 u 1 + α 2 u 2 + α 3 u 3 + ...

If, for example, you wish to find out which variables really matter to a problem which involveseigenvalues and you wish to neglect the others, you simply find the eigenvalues of A and throw away the small ones

A = 12

u u 0

1 2

1 2

u u 0

T

In this section we will consider whether we can do something similar for non-symmetric matrices.

Even for non-linear problems, knowing/finding the eigenvalues of a matrix can be the key tofinding a successful solution. Non-linear problems usually involve iterative methods consisting of guessing a solution and then refining the guess in some way to obtain a closer approximation to the solution. Suppose for example x and y are related through some non-linear equations we wish to solve

x = f ( x y , ) y = g ( x y , )

1 1 1 T 2 2 T 2 n n^ T n

u u u u u u

A

1 1 1 T 2 2 T 2 T where is smaller than

k (^) k k

u u u u u u k n

A

We can attempt to solve these by iterating xn , yn , where xn (^) + 1 = f (^) ( xn , yn ) yn (^) + 1 = g (^) ( xn , yn )

Question: Under what circumstances will this process converge to the solution? Suppose the solution is x 0 , y 0 i.e. x 0 (^) = f (^) ( x 0 (^) , y 0 ) y 0 (^) = g (^) ( x 0 (^) , y 0 ), then

xn (^) + 1 − x 0 (^) = f (^) ( xn , yn (^) ) − f (^) ( x 0 (^) , y 0 ) ( ) ( ) n (^0) x 0 (^) , y 0 (^) n (^0) x 0 (^) , y 0 x x f^ y y f x y

≈ − ∂^ + − ∂

yn (^) + 1 − y 0 (^) = g (^) ( xn , yn (^) ) − g (^) ( x 0 (^) , y 0 ) ( ) ( ) n (^0) x 0 (^) , y 0 (^) n (^0) x 0 (^) , y 0 x x g^ y y g x y

≈ − ∂^ + − ∂

i.e. (^1 0 1 0 0) ( 0 ) 1 0 0 n n^ n n n n

x x x^ x^ x^ x x x y y y

f f x y g g x y

y +^ +

− = ^ −^ ^ = ^ ^ −  = −

 −  ^  − 

 ∂^ ∂^ 

A

If we are close to the solution, every time we iterate we effectively multiply by this matrix and the process will converge provided A^ k^ ( x (^) n − x 0 )tends to zero as k is increased. This will happen

provided all the eigenvalues of the iteration matrix A satisfy λ < 1.

Characteristic Equation

The equation Ax = λ x can be written ( A − λ I ) x = 0

Note that A must be square , since both x and λ x have the same number of components. The phrase

"The eigenvalues and eigenvectors of a rectangular matrix" has no meaning. For there to be a non- zero solution for x , we must have A − λ I is singular ⇔ ( A − λ I ) −^1 must not exist ⇔ det( A − λ I ) = 0

To this, we can add x ∈ Nullspace( A − λ I ) which must not just consist of 0.

For a general n × n matrix A , the characteristic equation , det( A − λ I ) = 0, takes the form

P( λ) = det( A − λ I ) =

n n nn

n

n

a a ... a

a a ... a

a a ... a

1 2

21 22 2

11 12 1 = 0

Since every stage in evaluating a determinant involves multiplying by an element from each row,this is a polynomial of degree n , and the coefficients are all real.

P( λ) = (^) ( − λ (^) )^ n^ + α 1 ( −λ (^) ) n^^ −^1 + α (^2) ( −λ (^) ) n^ −^2 + ... + α n = 0

For repeated eigenvalues then, the corresponding eigenvectors do not have to be orthogonal to each other (they must of course be orthogonal to eigenvectors corresponding to abut we can choose to take them so. If we have a set which are not orthogonal, we can use the Gram different eigenvalue), Schmidt process (Section 7) to produce an orthogonal one.

Triangular Matrices The eigenvalues of a triangular matrix are also easy to find - they also lie on the diagonal. Considera triangular matrix A (* represents numbers that may have any value):

A =

11 22

    • ... (^) nn

d d d

det( A − λ I ) =

11 22

    • ... (^) nn

d d ... d

The determinant is simply (^) ( d 11 (^) − λ) ( d 22 (^) − λ) ( d (^) 33 − λ) ... (^) ( dnn − λ) = 0 E.g.

A = 

3

2

1

A − λ 1 I =

x 1 ,

A − λ 2 I =

x 2. A − λ 3 I =

3

x

Singular Matrices As far as eigenvalues and eigenvectors are concerned, there is nothing special about a singular matrix - it simply implies that at least one of the eigenvalues is 0 (remember product of eigenvalues = det( A )). E.g.

A = (^)  12 12  det( A − λ I ) = ( 2 −λ ) ( 1 −λ) − 2 = λ 2 − 3 λ = λ(λ − 3 )

2

1

λ A − λ 1 I = 

x 1^1 A − λ 2 I = 

x 2 2

Matrix with Complex Eigenvalues It is possible for a real matrix to have complex eigenvalues. Consider

A = ^10 − 01  det( A − λ I ) = λ^2 + 1 = 0,

i

i = −

2

1

λ A − λ 1 I = 

i

i 1

x^ i A − λ 2 I = 

i

i 1

x^ i

8.2 Defective Matrices In all the examples above, and probably for all the matrices studied in Part IA, each eigenvalue hasan associated eigenvector. Consider

A = (^) ^01 − 11  det( A − λ I ) = (^) ( λ − (^1) )^2 = 0,

1 2

= A^ −^ λ^1 I =^

0 1 0 0

− (^) ( )

A − λ 1 I ^^ xy = 0  y = 0, take x 1 =     ^10

A − λ 2 I =   ^00 01   

− (^) leading to the same eigenvector!

i.e. Only one eigenvector for two eigenvalues. The null-space of ( A − λ I ) has dimension 1, even

though the eigenvalue appears twice. (The jargon is that the algebraic multiplicity is 2, while the geometric multiplicity is 1). We will show later that this can only happen when the eigenvalue is repeated. A matrix which does not have a full set of eigenvectors is said to be defective.

8.3 Diagonal Form of a Matrix Suppose that the matrix A has n linearly independent eigenvectors. The eigenvalue-eigenvector relationships

Ax 1 = λ 1 x 1 Ax 2 = λ 2 x 2 ... Ax n = λ n x n

can, just as for the symmetric case, be written as

A 

x (^) 1 x 2 x n =  

x (^) 1 x 2 x n 

... n

2

1

A X = X ΛΛΛΛ

Cheating a bit, now in  n^ rather than  n

8.4 When are (non-symmetric) matrices diagonalisable? Matrices which are not diagonalisable do not have a full set of independent eigenvectors, i.e. they are defective. So this is really asking when is a matrix defective. Whether or not a matrix A is defective has nothing to do with whether or not the matrix A is singular (which only implies that the matrix must have at least one zero eigenvalue). N.B. Defective means X singular not A singular It is not always possible to tell in advance whether a matrix is diagonalisable, but some important types of matrices are always diagonalisable.

Matrices with Distinct Eigenvalues

Any matrix with distinct eigenvalues can be diagonalised.

Since there is always at least one eigenvector for each eigenvalue, if a matrix has n distinct eigenvalues, then it certainly has enough eigenvectors. It is sufficient then to prove that these eigenvectors are independent. We do this by assuming the opposite and deriving a contradiction. Suppose only k of the eigenvectors of A are independent. This means that we can not express any of x 1 , x (^) 2 , ... x (^) k as a linear combination of the others. With this assumption, then x (^) k + 1 is not independent of these:- i.e.

x k + 1 = α 1 x 1 + α 2 x 2 + ... + α k x k (a)

Multiplying by A gives

Ax k + 1 = α 1 Ax 1 + α 2 Ax 2 + ... + α k Ax k

 λ k + 1 x k + 1 = α 1 λ 1 x 1 + α 2 λ 2 x 2 + ... + α k λ k x k

Subtracting λ k + 1 times (a) from this gives

0 = α 1 ( λ 1 − λ k + 1 ) x 1 + α 2 ( λ 2 − λ k + 1 ) x 2 + ... + α k ( λ k − λ k + 1 ) x (^) k If any of the coefficients multiplying the x 's are non-zero, then we can solve this equations for one of them in terms of the others. But this can't be done since x 1 , x (^) 2 , ... x (^) k are independent. All the coefficients must therefore be zero 0 = α 1 ( λ 1 − λ k + 1 ) = α 2 ( λ 2 − λ k + 1 ) = ... = α k ( λ k − λ k + 1 )

But since the λ's are distinct, we must have

α 1 = α 2 = ... = α k = 0

This means that x (^) k + 1 is zero, which is not possible for an eigenvector. This is a contradiction and the theorem is proved.

Eigenvectors corresponding to distinct eigenvalues are thus independent. If A has n distinct eigenvalues, then we have n independent eigenvectors and the matrix is diagonalisable.

Non-symmetric matrices with repeated eigenvalues.

These may be diagonalisable, they may not****.

e.g. An example of a non-diagonalisable case was the defective matrix shown earlier

A = (^) ^01 − 11  det( A − λ I ) = (λ − 1 )^2 giving λ = 1 (twice)

The following matrix can be diagonalised

A = 

(triangular matrix, therefore, eigenvalues down the diagonal)

3

2

1 = −

A − λ 1 , 2 I =

1,

x ,

A − λ 3 I =

x (^) 3 ,

Giving X =

X −^1 =

and A = X ΛΛΛΛ X −^1

8.6 Computation of Eigenvalues and Iterative Schemes To find eigenvalues and eigenvectors in practice for large n , we don't use the determinant. To work out an n × n determinant,

n n nn

n

n

a a ... a

a a ... a

a a ... a

1 2

21 22 2

11 12 1 = a 11 (^) n − 1 det. − a 12 (^) n − 1 det. + ... + a 1 (^) n n −1 det.

i.e. we need to work out n determinants which are ( n − 1) × ( n − 1) (not to mention n multiplications and n − 1 additions/subtractions). This involves n × ( n − 1) × ( n − 2 determinants) = ... = n! (1 determinants) = n! operations.

so that the eigenvalues ofsame eigenvectors. Provided the procedure converges, we will obtain an estimate of the A −^1 are simply the reciprocal of those of A and the two matrices have the smallest

eigenvalue of A. Each step of the iteration has to form r k (^) = A^ −^1 r k (^) − 1 , or rather solve the equation Ar k (^) = r k (^) − 1 (best accomplished by first using LU decomp. on A and keeping note of L and U ). As for the normal power method, any vector can be written

r 0 = α1 1 x + α 2 x 2 + ... +α n x n

for some coefficients, α 1 , α 2 , ... , α n. After multiplying k times by A −^1 , the vector

r k = α 1 λ^11 k x 1 + α 2 λ^12 k^ x 2 + ...+α n λ^1 nk x n

k (^) n k^ n k n^ k

λ n r k = α ^ λ^ λ x + α λλ x + + α n − λλ n − x n − +α n x n  λ n k r k ≈α n x n

The convergence factor is now λ n λ n − 1.

8.6.3 Shifted inverse power method It is the shifted inverse power method that makes power methods worthwhile. Suppose that

A is replaced by A − α I:

Ax = λ x  ( A − α I ) x = Ax − α Ix = λ x − α x =(λ − α) x

A − α I thus has identical eigenvectors to A , and the eigenvalues have all been reduced by the same

amount α. If we repeat the inverse power method, the convergence factor will be

r = λ^ λ n^ n^ − 1 −−α α e.g.

With α = .99 λ^ λ n^ n^ − 1 −−^ αα = .01 .11^ = 111

If α can be chosen as a good approximation to λ n , then r will be small and the convergence rate

will be significantly enhanced. Note that for the shifted inverse power method, we can obtain any

eigenvalue. Provided that the method converges, it will produce the eigenvalue closest to α (since

this will have the smallest value of λ − α). An approximation for λ may have already been

obtained by another method. See Appendix to Handout 8 for one such method.

λ n = 1 λ n − 1 = 1.1  λ^ λ n^ n − 1 =^1011