Académique Documents
Professionnel Documents
Culture Documents
EXPERIMENT 1a
Eigenvalues and Eigenvectors
THEORY:
Eigenvalues are special set of scalars associated with a linear system of equations (i.e., a matrix
equation) that are sometimes also known as characteristic roots, characteristic values, proper
values, or latent roots. They satisfy the following equation for a square matrix =
Where is the eigenvalue and is the eigenvector corresponding to it. This
is the characteristic equation( ) = 0
Properties of eigenvalues:
LIST OF COMMANDS:
1. eig(A)- returns a column vector containing the eigenvalues of square matrix A.
2. [V, D] = eig(A) returns diagonal matrix D of eigenvalues and matrix V whose columns are the
corresponding right eigenvectors, so that A*V = V*D.
3. r = roots(p) returns the roots of the polynomial represented by p as a column vector.
15BCE0342
Problem 1- If =
a)
b)
c)
d)
e)
f)
g)
, find:
Characteristic polynomial of A
Roots of the characteristic polynomial of A
Eigenvalues of A
Eigenvectors of A
Eigenvalues of A-1
Eigenvalues of A
Eigenvalues of B = A2 + 3A + 2I
SOLUTION:
>> a = [3 0 -1; 0 1 0; 2 0 0] a
=
0 -1
1 -4
5 -2
2.0000 + 0.0000i
1.0000 + 0.0000i
1.0000 - 0.0000i
15BCE0342
0.7071 0.4472
0
0 1.0000
0.7071 0.8944
d=
-0.7071 -0.4472
0
0 1.0000
-0.7071 -0.8944
d=
0.5000
0 1.0000
0 1.0000
0.8944 -0.7071
0
0 1.0000
15BCE0342
-0.4472 0.7071
d=
18
0 -6
12
0.7071 0.4472
0
0 1.0000
0.7071 0.8944
d=
12
EXERCISE 2- If =
, find:
15BCE0342
a)
b)
c)
d)
e)
f)
g)
Characteristic polynomial of A
Roots of the characteristic polynomial of A
Eigenvalues of A
Eigenvectors of A
Eigenvalues of A-1
Eigenvalues of A
Eigenvalues of B = A2 + 3A + 2I
SOLUTION
>> a = [1 2 1; 6 -1 0; -1 -2 -1]
a=
6 -1
-1 -2 -1
-4.0000
3.0000
0.0000
15BCE0342
d=
-4.0000
0 3.0000
0 0.0000
d=
-4.0000
0 3.0000
0 -0.0000
17
18
12
3
6
-15 -4 -1
15BCE0342
d=
20.0000
0 6.0000
0 2.0000