Академический Документы
Профессиональный Документы
Культура Документы
Raajasekar
Vector Space A vector space over a Field F (real or complex) is a set V with two
operations called addition and scalar multiplication described as follows:
Note: The elements of V are usually referred to as vectors while the elements of F are
referred as scalars.
Example 1.
Let V = Rn = (v1, v2, ….., vn) each vi ∈ R, the set of all ordered n-tuples of real numbers.
Define addition on V by
(v1, v2, ….., vn) + (w1, w2, . . . . , wn) = (v1 + w1, v2 + w2, ….., vn + wn)
for all vi, wi ∈ R (i = 1, 2, … , n).
Define scalar multiplication on V by
λ (v1, v2, ….., vn) = (λv1, λv2, …..,λvn) for all λ ∈ F, and vi ∈ R.
Then it is easy to check that V = Rn is a vector space over F = R.
1
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
Inner Product
The Inner product on a real vector space V is a mapping V × V → R, which is symmetric,
bilinear and positive definite.
Orthogonal basis
A basis {v1, v2, . . . . , vn} of a finite dimensional vector space V is called an orthogonal
basis with respect to the inner product < > on V provided <vi , vj> = 0 for all i ≠ j.
Orthonormal basis
An orthogonal basis {v1, v2, . . . . , vn}of finite dimensional vector space V is called an
orthonormal basis with respect to the inner product < > on V provided || vi || = 1 for each i
= 1, 2, ……, n.
Gram-Schmidt orthonormalization process
Let {v1, v2, . . . . , vn} be a basis of a finite-dimensional vector space V over F.
Let < > be an inner product on V. An orthnormal basis {w 1, w2, .. . . . . , wn} of V is
constructed as follows:
v1
Let w1 =
|| v1 ||
y2
Let y2 = v2 - <w1, v2> w1, and then w2 =
|| y2 ||
k 1
Assuming w1, w2, . . . . , wk-1 have been defined, we first let yk = vk - w ,v
i 1
i k wi , then
yk
define wk = .
|| yk ||
Then {w1, w2, . . . ., wn} is an orthonormal basis of V.
2
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
Example 2.
Use Gram-Schmidth Orthonormalization process to find orthonormal basis for the
following orthogonal basis {1, 2, 3}.
Soln.
Here v1 = i; v2 = 2j; and v3 = 3k.
||v1|| = ||i|| = 1.
v1 i
Let w1 = = = i.
|| v1 || 1
Let y2 = v2 - <w1, v2> w1 = 2j - <i, j>i = 2j – (0)i = 2j.
y2 2j
w2 = = = j.
|| y2 || 2
Let y3 = v3 - <w1, v3> w1 - <w2, v3>w2 = 3k - <i, 3k>i - <2j, 3k>2j
= 3k – (0)i – (0)(2j) = 3k
y3 3k
w3 = = = k.
|| y3 || 3
Clearly, {w1, w2, w3} forms an orthonormal basis vector for V.
Note: The above question may be seen as follows:
1 0 0
V = 0 2 0
0 0 3
Each of the vectors vi is orthogonal to vj for i ≠ j.
The orthonormal vector is
1 0 0
W = 0 1 0 .
0 0 1
Characteristic Polynomial
Let A = (aij) be a square matrix. The characteristic polynomial PA() of A is defined as
determinant of (A - I).
i.e. PA() = | A - I |.
3
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
Example 3.
Find the eigenvalues for the matrix
1 0 0
A = 0 2 0
0 0 3
Soln.
Characteristic Equation is obtained by equating |A - λI| to 0.
Thus,
| A - λI | = 0
1 0 0
⇒ 0 2 0 =0
0 0 3
(1 )(2 )(3 ) = 0
The eigenvalues are = 1, 2, 3.
Example 4.
Find the eigenvalue of the following matrix and find the algebraic multiplicity for
each of the eigenvalues:
2 1 0
A = 0 2 1
0 0 2
4
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
Soln.
The characteristic polynomial = | A - λI |.
The characteristic equation is | A - λI | = 0.
i.e.
2 1 0
0 2 1 =0
0 0 2
(2 - )(2 - )(2 - ) = 0
= 2, 2, 2.
Thus, the only eigenvalue is = 2 whose algebraic multiplicity is 3.
Eigenspace for the eigenvalue
The eigenspace for the eigenvalue 0 of the n × n matrix A, denoted by Wλ0, is defined as
Wλ0= { v ∈ Rn : Av = λ0v }
Example 5.
Find the eigenspace for the eigenvalue(s) obtained for the matrix given in example 4.
Soln.
We obtained the eigenvalue of the given matrix in the previous example as λ = 2 with
algebraic multiplicity 3.
Now, we first find the eigenvector corresponding to eigenvalue λ = 2.
i.e. we have to solve the equation Av = 2v.
Let v = (x, y, z)t.
Then we get
2 1 0 x x
= 2
0 2 1 y y
0 0 2 z z
2x y 2x
i.e. 2 y z = 2y
2z 2z
5
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
i.e. 2x + y – 2x = 0 ⇒ y=0
2y + z – 2y = 0 ⇒ z=0
2z – 2z = 0 ⇒ 0 = 0.
Thus,
x 1
y = x 0
z z
Thus, if we choose x = 1, we get the eigenvector as (1, 0, 0)t corresponding to = 2.
Thus, the eigenspace corresponding to = 2 is
{ ( k, 0, 0); k R}.
Note
1. A vector v = (v1, v2, …. , vn) is said to be linearly independent if for scalars 1,
6
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
Example 6. Find the eigenvalue, its algebraic multiplicity, eigenvector for each of
the eigenvalues, and their geometric multiplicities for the matrix
2 1 0
A = 0 2 0 .
0 0 2
Soln.
The characteristic polynomial = | A - I |.
The characteristic equation is | A - I | = 0.
i.e.
2 1 0
0 2 0 =0
0 0 2
(2 - )(2 - )(2 - ) = 0
= 2, 2, 2.
Thus, the only eigenvalue is = 2 whose algebraic multiplicity is 3.
We find the eigenvector corresponding to eigenvalue = 2.
i.e. we have to solve the equation Av = 2v.
Let v = (x, y, z)t.
Then we get
2 1 0 x x
= 2
0 2 0 y y
0 0 2 z z
2x y 2x
i.e. 2 y = 2y
2z 2z
i.e. 2x + y – 2x = 0 ⇒ y=0
2y – 2y = 0 ⇒ 0=0
2z – 2z = 0 ⇒ 0 = 0.
7
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
Thus,
x x 1 0
y = 0 x 0 z 0
z z 0 1
Thus, if we choose x = 1, and z = 0, we get the eigenvector as (1, 0, 0) t, and if we choose
x = 0 and z = 1, we get another eigenvector as (0, 0 , 1) corresponding to = 2. Thus, we
have two linearly independent eigenvectors corresponding to the eigenvalue = 2.
Thus, the geometric multiplicity corresponding to = 2 is two.
Example 7. Find the eigenvalue, its algebraic multiplicity, eigenvector for each of
the eigenvalues, and their geometric multiplicities for the matrix
2 0 0
A = 0 2 0 .
0 0 2
Soln.
The characteristic polynomial = | A - I |.
The characteristic equation is | A - I | = 0.
i.e.
2 0 0
0 2 0 =0
0 0 2
(2 - )(2 - )(2 - ) = 0
= 2, 2, 2.
Thus, the only eigenvalue is = 2 whose algebraic multiplicity is 3.
We find the eigenvector corresponding to eigenvalue = 2.
i.e. we have to solve the equation Av = 2v.
8
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
2 0 0 x x
= 2
0 2 0 y y
0 0 2 z z
2x 2x
i.e. 2y = 2y
2z 2z
i.e. 2x – 2x = 0 ⇒ 0=0
2y – 2y = 0 ⇒ 0=0
2z – 2z = 0 ⇒ 0 = 0.
Thus,
x 1 0 0
y = x 0 y 1 z 0
z 0 0 1
Thus, if we choose x = 1, y = 0, z = 0, we get the eigenvector as (1, 0, 0)t, and if we
choose x = 0, y = 1 and z = 0, we get another eigenvector as (0, 1 , 0). Further, If we
choose x = 0, y= 0 and z = 1, we get yet another eigenvector (0, 0, 1) corresponding to
= 2. Thus, we have three linearly independent eigenvectors corresponding to the
eigenvalue = 2.
Thus, the geometric multiplicity corresponding to = 2 is three.
9
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
Example 8. Find the eigenvalues, and their algebraic and geometric multiplicities
for the matrix:
2 6 1
A= 0 1 3
0 3 1
Soln.
The given matrix is a 3 × 3 matrix. Its characteristic equation may be found as
follows:
λ 3 – aλ 2 + bλ - c = 0
Where
a = sum of the diagonal elements of A
b = sum of the minors of the main diagonal elements
c = | A |.
Thus,
a = a11 + a22 + a33 = 2 + 1 + 1 = 4
1 3 2 1 2 6
b= = (1 – 9) + ( 2 – 0) + (2 – 0) = - 8 + 2 + 2 = - 4.
3 1 0 1 0 1
2 6 1
c = 0 1 3 = 2(1 – 9) = - 16.
0 3 1
10
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
i.e. (λ - 4) (λ + 2) = 0
i.e. λ = 4, -2.
Thus, the eigenvalue of A are
λ1 = 2 with algebraic multiplicity 1;
λ2 = 4 with algebraic multiplicity 1;
and λ3 = -2 with algebraic multiplicity 1.
Now, we find the geometric multiplicities for each of the eigenvalues obtained.
First, we find eigenvector corresponding to the eigenvalue λ1 = 2.
Thus, we have to solve the equation Av = 2v.
Let v = (x1, y1, z1)t.
Then we get
2 6 1 x1 x1
0 1 3 y1 = 2 y1
0 3 1 z z
1 1
2 x1 6 y1 z1 2 x1
i.e. y1 3 z1 = 2 y1
3 y1 z1 2z
1
i.e. 2x1 + 6y1 – z1 – 2x1 = 0 6y1 – z1 = 0 -----(i)
y1 + 3z1 – 2y1 = 0 - y1 + 3z1 = 0 -----(ii)
3y1 + z1 – 2z1 = 0 3y1 – z1 = 0. -----(iii)
11
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
It has only one (independent vector). Thus, the geometric multiplicity for the
eigenvalue λ = 2 is one. (note that only one variable remain in the vector).
Now, we find eigenvector corresponding to λ2 = 4.
Thus, we have to solve the equation Av = 4v.
Let v = (x2, y2, z2)t.
Then we get
2 6 1 x2 x2
0 1 3 y2 = 4 y2
0 3 1 z z
2 2
2 x2 6 y2 z2 4 x2
i.e. y2 3 z 2 = 4 y2
3 y2 z 2 4z
2
x2 1
x2
y2 = x2 = x2 1
z2
2 2
x2 5
5
Thus, for x2 = 1, the eigenvector is (1, 1, 2/5) corresponding to 2 = 4. The geometric
multiplicity is one.
Finally, we consider the eigenvector 3 = -2. The eigenvector may be calculated as
follows:
i.e. we have to solve the equation Av = - 2v.
Let v = (x3, y3, z3)t.
Then we get
12
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
2 6 1 x3 x3
0 1 3 y3 = -2 y3
0 3 1 z z
3 3
2 x3 6 y3 z3 2 x3
i.e. y3 3 z3 = 2 y3
3 y3 z3 2 z
3
Example 9.
Find the eigenvalues, and their algebraic and geometric multiplicities for the
matrix:
1 0 1 0
0 1 0 1
A= .
1 0 1 0
0 1 0 1
Soln.
13
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
1 0 1 0 1 1
(1-) 0 1 0 +11 0 0 =0
1 0 1 0 1 1
14
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
x1 x1 1 0
y1 = y1 = x1 0 + y1 1
z1 x1 1 0
w1
y1
0 1
For x1 = 1 and y1 = 0, we get the eigenvector as ( 1, 0 , -1, 0), and for x1 = 0 and y1 = 1,
we get another independent vector (0, 1, 0, -1).
This shows that the eigenvalue = 0 has geometric multiplicity 2.
x2 x2 1 0
y2 = y2 = x2 0 + y2 1
z2 x2 1 0
w y 0 1
2 2
For x2 = 1 and y2 = 0, we get the eigenvector as ( 1, 0 , 1, 0), and for x2 = 0 and y2 = 1, we
get another independent vector (0, 1, 0, 1).
This shows that the eigenvalue λ = 2 also has geometric multiplicity 2.
Jordan block
A k × k Jordan block J(λ) corresponding to an element λ ∈ C is a matrix of the form
15
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
1 0 0 0 0
0 1 0 0 0
0 0 0 0 0
0 0 0 0 1
0 0 0 0 0
i.e. J( ) has entries on the diagonal, “one” on the superdiagonal, and “zero” elsewhere.
Example.
1. Write Jordan Canonical form for the matrix given in example 5.
Soln.
The eigenvalue = 2 has algebraic multiplicity 3 and geometric multiplicity 1.
Thus, the Jordan Canonical form of the matrix A is
2 1 0
J = 0 2 1
0 0 2
Note:
1. Sum of the sizes of the blocks (for =2) = 3 = algebraic multiplicity.
2. Geometric Multiplicity of = 2 is one = the number of blocks.
16
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
17
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
18
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
Exercise.
2 1 3
4 3 3 .
2 1 1
19
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
20
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
8. Show that the Jordan form for the matrix given in exercise 7 is
0 1 0 0
0 0 0 0
0 0 0 .
1
0 0 0 0
9. Show that the following matrix has eigenvalue λ = 1 with algebraic
multiplicity 1, and geometric multiplicity 1. Also, show that the eigenvalue λ
= 2 has algebraic multiplicity 2 and geometric multiplicity 2
1 6 3
0 2 0 .
0 0 2
10. Show that the Jordan (canonical) form of the matrix given in exercise 9 is
1 0 0
0 2 0
0 0 2
21
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
Example 10. Find the minimal polynomial for the matrix shown in example 4.
Soln.
2 1 0
A = 0 2 1 .
0 0 2
The characteristic polynomial for the matrix A is
PA() = | A - I |.
2 1 0
| A - I | = 0 2 1
0 0 2
= (2 - )3.
Now, we list all the factors in increasing order of its degree.
i.e. The three possibilities for the minimal polynomial are ( - 2), ( - 2)2, ( - 2)3.
2 1 0 1 0 0 0 1 0
A – 2I = 0 2 1 - 2 0 1 0 = 0 0 1 ≠ 0 (zero matrix)
0 0 2 0 0 1 0 0 0
22
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
0 1 0 0 1 0 0 0 1
(A – 2I) = 0 0 1 0 0 1 =
2
0 0 0 ≠ 0
0 0 0 0 0 0 0 0 0
Now, we evaluate ( - 2)3 for = A.
0 0 1 0 1 0 0 0 0
(A – 2I)3 = (A – 2I)2(A – 2I) = 0 0 0 0 0 1 = 0 0 0 .
0 0 0 0 0 0 0 0 0
Thus, the minimal polynomial is ( - 2)3.
Note:
The largest block involving a particular eigenvalue of A equals the multiplicity of
that eigenvalue as a root of the minimal polynomial of A
Thus,
Jordan form for the example 10 (from minimal polynomial approach) is
2 1 0
J = 0 2 1 .
0 0 2
Example 11. Find the minimal polynomial for the matrix shown in example 6.
Soln.
2 1 0
Given that A = 0 2 0 .
0 0 2
The characteristic polynomial for the matrix A is
PA() = | A - I |.
2 1 0
| A - I | = 0 2 0
0 0 2
= (2 - )3.
Now, we list all the factors in increasing order of its degree.
i.e. The three possibilities for the minimal polynomial are ( - 2), ( - 2)2, ( - 2)3.
23
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
2 1 0 1 0 0 0 1 0
A – 2I = 0 2 0 - 2 0 1 0 = 0 0 0 ≠ 0 (zero matrix)
0 0 2 0 0 1 0 0 0
Now, we evaluate ( - 2)2 for = A.
0 1 0 0 1 0 0 0 0
(A – 2I)2 = 0 0 0 0 0 0 = 0 0 0 .
0 0 0 0 0 0 0 0 0
Thus, the minimal polynomial is ( - 2)2.
Note:
The largest block involving a particular eigenvalue of A equals the multiplicity of
that eigenvalue as a root of the minimal polynomial of A
Thus,
Jordan form for the example 11 (from minimal polynomial approach) is
2 1 0
J = 0 2 0 .
0 0 2
Example 12. Find the minimal polynomial for the matrix shown in example 7.
Soln.
2 0 0
Given that A = 0 2 0 .
0 0 2
The characteristic polynomial for the matrix A is
PA() = | A - I |.
2 0 0
| A - I | = 0 2 0
0 0 2
= (2 - )3.
Now, we list all the factors in increasing order of its degree.
24
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
i.e. The three possibilities for the minimal polynomial are (λ - 2), (λ - 2)2, (λ - 2)3.
2 0 0 1 0 0 0 0 0
A – 2I = 0 2 0 - 2 0 1 0 = 0 0 0
0 0 2 0 0 1 0 0 0
Thus, the minimal polynomial is ( - 2).
Note:
The largest block involving a particular eigenvalue of A equals the multiplicity of
that eigenvalue as a root of the minimal polynomial of A
Thus,
Jordan form for the example 12 (from minimal polynomial approach) is
2 0 0
J= 0 2 0 .
0 0 2
13. Find the minimal polynomial for the matrix shown in example 9.
Soln.
1 0 1 0
0 1 0 1
Given that A = .
1 0 1 0
0 1 0 1
The characteristic polynomial is 2 ( - 2)2 = 0. (Refer example 9).
i.e. The four possibilities for the minimal polynomial are ( - 2), 2( - 2), ( - 2)2,
and 2(-2)2.
Now, we evaluate ( - 2) for = A.
1 0 1 0 1 0 1 0 0 0 0 0
0 1 0 1 0 1 0 1 0 0 0 0
A ( A – 2I) = =
1 0 1 0 1 0 1 0 0 0 0 0
0 1 0 1 0 1 0 1 0 0 0 0
Thus, the minimal polynomial is ( - 2).
25
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
26
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
Generalized eigenvectors
A vector xm is a generalized eigenvector of type m corresponding to the matrix A and the
eigenvalue λ if (A - λI) m xm = 0 but (A - λI) m-1 xm ≠ 0.
Example 1. Show that the vector (0, 0, 1)t is a generalized vector of type 3 corresponding
to the eigenvalue λ = 2 for the following matrix :
2 1 1
A= 0 2 1
0 0 2
Soln.
We have to show that (A - 2I) 3 x3 = 0 but (A - 2I) 2 x3 ≠ 0.
2 1 1 1 0 0 0 1 1
A - 2I = 0 2 1 - 2 0 1 0 = 0 0 1
0 0 2 0 0 1 0 0 0
0 1 1 0 1 1 0 0 1
(A - 2I)2 = 0 0 1 0 0 1 = 0 0 0
0 0 0 0 0 0 0 0 0
0 0 1 0 1 1 0 0 0
(A - 2I)3 = (A - I)2(A - I) = 0 0 0 0 0 1 = 0 0 0
0 0 0 0 0 0 0 0 0
0 0 0 0 0
0
0 0 0 0
1
3 1
(A - 2I) = 0 0 0 = 0
0 0 0 1 0 1
0
0 0 0 0 0
1
2 1
(A - 2I) = 0 0 0 = 0 ≠ 0
Thus, the required result is proved.
27
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
Example 2.
Show that the vector (-1, 1, 0)t is a generalized vector of type 2 corresponding to the
eigenvalue λ = 2 for the following matrix :
2 1 1
A= 0 2 1
0 0 2
Soln.
We have to show that (A - 2I)2 x2 = 0 and (A – 2I)x2 ≠ 0.
Note that A and values are same as that of the previous question.
0 0 1 1 0
(A - 2I)2 x2 = 0 0 0 1 = 0
0 0 0 0 0
Further,
0 1 1 1 1
(A - 2I) x2 = 0 0 1 1 = 0 ≠ 0
0 0 0 0 0
Example 3.
Show that (1, 0 , 0)t is a generalize eigenvector of type 1 corresponding to λ = 2 for
the matrix
2 1 1
A= 0 2 1
0 0 2
Soln.
Again the matrix A and eigenvalue are same as that of example 1.
Thus,
0 1 1
A – 2 I = 0 0 1 .
0 0 0
We have to show that (A – 2I)x1 = 0 and (A – 2I)0x1 ≠ 0.
28
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
0 1 1 1 0
(A – 2I)x1 = 0 0 1 0 = 0
0 0 0 0 0
1
(A – 2I)0 x1 = x1 = 0 ≠ 0
0
Thus, x1 is a generalized eigenvector of type 1 corresponding to = 2 for the matrix A.
Example 4.
It is known that the matrix
5 0 2
A= 2 1 1
5 1 1
has a generalized eigenvector of type 2 corresponding to λ = 2. Find it.
Soln.
5 0 2 1 0 0 3 0 2
A – 2I = 2 1 1 - 2 0 1 0 = 2 1 1
5 1 1 0 0 1 5 1 3
3 0 2 3 0 2
(A – 2I)2 = 2 1 1 2 1 1
5 1 3 5 1 3
9 10 2 66 1 2 0
= 625 11 4 1 3 = 1 2 0
15 2 15 1 3 10 1 9 2 4 0
29
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
1 2 0 x 0
(A – 2I) x2 = 0 ⇒ 1 2 0 y = 0
2
2 4 0 z 0
x 2 y 0
x 2 y 0
2x 4 y 0
-x+2y=0
-x+2y=0
2x–4y=0
x = 2y.
Also, (A – 2I)x2 ≠ 0
3 0 2 x
(A – 2I)x2 = 2 1 1 y
5 1 3 z
3x 2 z
= 2 x y z ------------(*)
5 x y 3 z
Since we need x = 2y, by using this in (*) we get,
3(2 y ) 2 z 6 y 2 z 2(3 y z )
(A – 2I)x2 = 2(2 y ) y z 3 y z 3 y z
5(2 y ) y 3 z 9 y 3z 3(3 y z )
Thus, 3y + z ≠ 0.
30
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
Example 5.
It is known that the matrix
5 1 2 4
0 5 2 2
A=
0 0 5 3
0 0 0 4
has a generalized eigenvector of type 3 corresponding to λ = 5. Find it.
Soln.
Let x3 = (w, x, y, z)t be the required generalized eigenvector.
Then x3 has to satisfy (A – 5I)3x3 = 0 and (A – 5I)2 ≠ 0.
5 1 2 4 1 0 0 0 0 1 2 4
0 5 2 2 0 1 0 0 0 0 2 2
A – 5I = -5 =
0 0 5 3 0 0 1 0 0 0 0 3
0 0 0 4 0 0 0 1 0 0 0 1
0 1 2 4 0 1 2 4
0 0 2 2 0 0 2 2
(A – 5I) =
2
0 0 0 3 0 0 0 3
0 0 0 1 0 0 0 1
0 0 2 2 6 4 0 0 2 8
0 0 0 62 0 0 0 4
= =
0 0 0 3 0 0 0 3
0 0 0 1 0 0 0 1
0 0 2 8 0 0 2 8 0 0 0 6 8
0 0 0 4 0 0 0 4 0 0 0 4
(A – 5I) =(A – 5I) (A – 5I ) =
3 2
=
0 0 0 3 0 0 0 3 0 0 0 3
0 0 0 1 0 0 0 1 0 0 0 1
31
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
0 0 0 14 w 0
0 0 0 4 x 0
(A – 5I) x3 = 0 ⇒
3
=
0 0 0 3 y 0
0
0 0 0 1 z
14 z 0
4 z 0
=
3z 0
z 0
z = 0.
0 0 2 8 w
0 0 0 4 x
(A – 5I) x3 =
2
0 0 0 3 y
0 0 0 1 z
2 y 8z
4z
= --------------------- (*)
3 z
z
Using z = 0 in (*), we get
2y
2 0
(A – 5I) x3 =
0
0
Note that x3 should satisfy (A – 5I)2x3 ≠ 0.
Thus,
y ≠ 0.
32
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
Singular Value
Let A be an m × n matrix with complex entries. The singular values of A are σ1, σ2, σ3,
…. , σn where σ1 ≥ σ2 ≥ σ3 ≥ …. ≥ σn > 0 and σ12, σ22, σ32, ……, σn2 are the
eigenvalues of A t A.
Rank of a matrix
A matrix is said to be of rank r when
a) it has at least one non-zero minor of order r, and
b) every minor of order higher than r vanishes.
Example
1 0 0
Find the rank of the matrix 0 2 0 .
0 0 3
Soln.
1 0 0
Let A = 0 2 0
0 0 3
Given matrix is of order 3 (it is a 3 × 3 matrix).
Rank(A) ≤ Min (row, column) = Min (3, 3) = 3.
1 0 0
| A | = 0 2 0 = 1(6) = 6 ≠ 0.
0 0 3
33
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
Example
1 0 0
Find the rank of the matrix 0 2 0 .
0 0 0
Soln.
1 0 0
Let A = 0 2 0
0 0 0
Given matrix is of order 3 (it is a 3 × 3 matrix).
Rank(A) ≤ Min (row, column) = Min (3, 3) = 3.
But, all the entries in the third row/column is zero. So, |A| = 0.
Thus, we have to consider the matrix after removing third row/column.
rank(A) ≤ 2.
1 0
It is not difficult to check that the minor has a non-zero determinant value.
0 2
Thus, rank (A) = 2.
Result 2.
Let A be an m × n matrix with complex entries.
Then rank A = rank A tA = rank A A t.
Unitary Matrix
A square matrix U is said to unitary if U tU = I.
Theorem (SVD)
Let A be an m × n matrix with complex entries. Let 1, 2, 3, …. , r be the non-zero
singular values of A. Where r = rank A, and i are written in non-decreasing order
1 ≥ 2 ≥ 3 ≥ …. ≥ n > 0. Let D be the r × r matrix with entries 1, 2, 3, …. , r on
the main diagonal and zero elsewhere. Let ∑ be the m × n matrix with D as the top left-
hand r × r block and zero elsewhere. Then there exists a unitary m × m matrix U and a
unitary matrix V such that U tAV = ∑.
34
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
n × n matrix A tA.
Example.
2 1
Find the singular value decomposition of A = 2 1
4 2
Soln.
Since the given matrix is a real matrix (entries are real numbers), A = A.
2 2 4
Therefore, A t = At, and At =
1 1 2
Now,
2 1
2 2 4
2 1
t
A A=
1 1 2 4 2
4 4 16 2 2 8 24 12
= =
2 2 8 1 1 4 12 6
The characteristic polynomial of At A is
24 12 1 0
=
12 6 0 1
24 12
=
12 6
= (24-)(6-) – 144
= 144 – 24 - 6 + 2 – 144
= 2 - 30
= ( - 30).
The eigenvalues of At A are = 0, 30.
35
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
2 1
2 2 4
AAt = 2 1
4 2 1 1 2
4 1 4 1 8 2
= 4 1 4 1 8 2
8 2 8 2 16 4
5 5 10
= 5 5 10
10 10 20
Characteristic polynomial of AAt
5 5 10 1 0 0
= 5 5 10 0 1 0
10 10 20 0 0 1
5 5 10
= 5 5 10
10 10 20
36
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
= -λ3 + 30λ2
= λ2(30-λ)
The eigenvalues are 0, 0, 30.
For the eigenvalue λ = 0, the eigenvector is calculated as follows:
Solve for v, the equation:
(AAt - λI)v = 0.
i.e. AAt v = 0. [since λ = 0
Let v = (x, y, z)t.
Then
5 5 10 x 0
AA v = 0 ⇒ 5 5 10 y = 0
t
10 10 20 z 0
5 x 5 y 10 z 0
5 x 5 y 10 z = 0
10 x 10 y 20 z 0
5(x – y + 2z) = 0
-5(x – y + 2z) = 0
10(x – y + 2z) = 0
x = y – 2z
x y 2z y 2z 1 2
y = y = y 0 = y 1 z 0
z z 0 z 0 1
For y = 1 and z = 0 we get one eigenvector as v1 = (1, 1, 0)t.
For y = 0 and z = 1 we get another eigenvector as v2 = (-2, 0, 1)t.
Thus for the eigenvalue = 0, we have two eigenvectors v1 and v2.
Now, we find eigenvector for the eigenvalue λ = 30.
Solve for v, the equation:
(AAt - 30I)v = 0.
Let v = (x, y, z)t.
37
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
(AAt - 30I)v = 0
5 5 10 1 0 0 x 0
⇒ 5 5 10 30 0 1 0 y 0
10 10 20 0 0 1 z 0
25 5 10 x 0
5 25 10 y 0
10 10 10 z 0
25 x 5 y 10 z 0
5 x 25 y 10 z 0
10 x 10 y 10 z 0
-5(5x + y – 2z) = 0 ------------(i)
-5(x + 5y + 2z) = 0 -----------(ii)
10(x – y - z) = 0 -----------(iii)
Solving (i) and (iii), we get
5x + y – 2z = 0
x–y -z =0
----------------------------
6x - 3z = 0 ----------(iv)
Solving (ii) and (iii), we get
x + 5y + 2z = 0
5x - 5y - 5z = 0
______________________
6x - 3z = 0 --------- (v)
6x = 3z
z = 2x
(iii) y = x – z = x – 2x = - x
Thus,
x x 1
y = x x 1
z 2x 2
For x = 1, the eigenvector is v3 = (1, -1, 2)t.
38
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
Now, we find orthonormal basis {w1, w2, w3} from {v1, v2, v3} using Gram-schmidt
(orthonormalization) process
||v1|| = 12 12 0 2
1
1 2
1 1 1
w1 = v1 = 1
|| v1 || 2 2
0
0
Let y2 = v2 - <w1, v2> w1
1 1
<w1, v2> = (2) (0) 0(1) 2
2 2
Thus,
1
2 2 2 1 1
1 =
y2 = 0 - (-2) 0 + 1 = 1
1 2 1 0 1
0
1
1 3
1 1 1
1
w2 = y2 =
|| y2 || (1) 2 12 12 3
1
1 3
Let y3 = v3 - <w1, v3>w1 - <w2, v3> w2
1 1
< w1, v3> = (1) (1) 0(2) 0
2 2
1 1 1
<w2, v3> = (1) ( 1) (2) 0
3 3 3
Thus, y3 = v3.
1
1 6
1 1
Now, w3 = y3 =
1 1
|| y3 || 12 (1) 2 22 6
2
2 6
39
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
1 1 1
6 2 3
The orthonormal vector U = 1 1 1 .
6 2 3
2 6 0 1 3
24 12
Now, we find orthonormal basis for V from the eigenvectors of AtA = .
12 6
We already found the eigenvalue of AtA as 30 and 0.
We find the eigenvector corresponding to λ = 0
Let v = (x , y)
We have to find v such that (AtA – 0I)v = 0.
i.e. AtAv = 0.
24 12 x 0
i.e. =
12 6 y 0
24x – 12y = 0 12(2x – y) = 0 2x = y
-12x + 6y = 0 -6(2x – y) = 0
x x 1
Thus, = x .
y 2x 2
Thus, the eigenvector corresponding to = 0 is v1 = (1, 2)t [for the choice of x = 1]
We find the eigenvector corresponding to λ =30
Let v = (x , y)
We have to find v such that (AtA – 30I)v = 0.
6 12 x 0
i.e. =
12 24 y 0
-6x – 12y = 0 -6(x + 2y) = 0 y = - x/2
-12x – 24y = 0 -12(x + 2y) = 0
x x 1
=
x 1
x
y
2 2
For x = 1, the eigenvector is v2 = (1, - ½)t.
40
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
1 2 1
<w1, v2> = (1) ( ) 0
5 5 2
Thus, y2 = v2.
1
y2 =
1
2
2
1 4 1
|| y2 || = 1
5
2
2 4 2
Now,
1 2 1 2 5
w2 = y2 =
|| y2 || 5 1 2 1 5
Thus,
2 5 1 5
V = .
1 5 2 5
Now, it is not difficult to verify that UtAV = ∑.
Important Note: The columns of U and V are written in such a way that the basis
vector corresponding to their respective eigenvalues are in non-increasing order.
Note: In the above example, in U, the first column is for eigenvalue λ = 30 then
second the third columns for λ = 0. Similarly, in V, the first column is for the
eigenvalue λ = 30 and second column is for λ = 0.
Exercise
2 2
Find the singular value decomposition of the matrix 1 1 .
2 2
41
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
Generalized Inverse
Let A be an m × n matrix with complex entries. The generalized inverse of A is the
unique n × m matrix B which satisfies each of the following four conditions.
i) AB = AB t
ii) BA = BA t
iii) ABA = A
iv) BAB = B.
Applications: Generalized inverses are useful in a number of different areas including
differential and difference equations, statistics, numerical analysis and electrical
networks.
Procedure for finding Generalized Inverse
Step 1. Find the Singular value decomposition of A.
i.e. Find the unitary matrices U and V such that U tAV = ∑.
Note that the m × n matrix ∑ has the r × r diagonal block D in the top left corner.
The diagonal entries of D being the non-zero singular values of A, and r being the
rank of A = rank (A A t ) = rank( A tA).
–1
Step 2. Let ∑1 be the n × m matrix with the r × r block D in the top left corner and
zero everywhere else.
Step 3. The Moore-Penrose generalized inverse, denoted by A+, is computed as follows:
A+ = V∑1 U t
Example. Find the Moore-Penrose generalized inverse (Pseudo inverse) for the matrix
2 1
A = 2 1 .
4 2
Soln.
We already discussed the singular value decomposition of the matrix A given in this
question (refer the previous example).
Thus,
42
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
1 1 1
6 2 3
U = 1 1 1 .
6 2 3
2 6 0 1 3
30 0
2 5 1 5
V = , and ∑= 0 0 .
1 5 2 5
0 0
1 0 0
Thus, ∑1 = 30 .
0 0 0
The required Moore-Penrose generalized inverse
A+ = V ∑1 U t = V ∑1Ut [since U is real matrix
1 1 2
6 6 6
2 51 5 1 0 0
= 30 1 1 0
1 5 2 5 0 0
2 2
1 3
0
1 3 1 3
1 1 2
2 0 0 6 6 6
5 6 1 1
= 0
1 0 0 2 2
5 6 1 3 1 3 1 3
2 2 4
30 30 30
=
1 1 2
30 30 30
1 1 2
15 15 15
=
1 1 1
30 30 15
43
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
Example
Find the least-square straight line for the following x – y data:
x 0 1 2 3 4
y 1 5 3 6 9
Soln.
We know that y = mx + c is the best least-square fit for the x – y data.
Normal equations for the least-squares fit in two variables is
∑y = m ∑x + nc --------------(1)
Here, n = 5.
We compute ∑x, ∑y, ∑xy and ∑x2 from the following table.
x y x2 xy
0 1 0 0
1 5 1 5
2 3 4 6
3 6 9 18
4 9 16 36
∑x =10 ∑y = 24 ∑x2 = 30 ∑xy = 65
44
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
(i) ⇒ 24 = 10m + 5c
(ii) ⇒ 65 = 30m + 10c
Example
Find the least-squares solution to
x + 2y + z = 1
3x – y =2
2x + y – z = 2
x + 2y + 2z = 1
45
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
Soln.
The system written in matrix form is
1 2 1 1
x
3 1 0 y 2
2 1 1 2
z 1
1 2 2
1 2 1 1
x
3 1 0 2 .
Let A =
2 1 1
;X= y ; B = 2
z
1 2 2 1
The normal equation for this type of system is
At A X = At B
1 3 2 1
At = 2 1 1 2 .
1 0 1 2
1 2 1
1 3 2 1
3 1 0
A A = 2 1 1 2
t
1 0 1 2 2 1 1
1 2 2
1 1 3 3 2 2 1 1 1 2 3 (1) 2 1 1 2 11 3 0 2 (1) 1 2
= 2 1 (1) 3 1 2 2 1 2 2 (1) (1) 11 2 2 2 1 (1) 0 1 (1) 2 2
11 0 3 (1) 2 2 1 1 2 0 (1) (1) 1 2 2 11 0 0 (1) (1) 2 2
1 9 4 1 2 3 2 2 1 0 2 2
= 2 3 2 2 4 1 1 4 2 0 1 4
1 0 2 2 2 0 1 4 1 0 1 4
15 3 1
= 3 10 5
1 5 6
46
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
1
1 3 2 1 1 1 3 2 2 2 1 1 1 6 4 1 12
2
AtB = 2 1 1 2 = 2 1 (1) 2 1 2 2 1= 2 2 2 2 4
1 0 1 2 2 1 1 0 2 (1) 2 2 1 1 0 2 2 1
1
Thus, the normal equation is
15 3 1 x 12
= -------------(*)
3 10 5 y 4
1 5 6 z 1
We solve the system (*) using Gaussian elimination process as follows:
15 3 1 12
3 3 3 3
= 3 (15) 10 (3) 5 (1) 4 (12)
15 15 15 15
1 1 1 1
1 (15) 5 (3) 6 (1) 1 (12)
15 15 15 15
1
R2 ← R2 - 3( R1)
15
1
R3 ← R3 - R1
15
3 1 12 3 1 12
15 15
3 1 12
= 0 10 5 4 = 0 47 24 8
5 5 5 5 5 5
0 0 24 89 1
1 1 4
5 6 1 5 15 5
5 15 5
47
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
3 1 12
15
= 0 47
5
24
5
8
5
0 24 24 47 89 24 24 1 24 8
5 47 5 15 47 5 5 47 5
24 5 24
R3 ← R3 - R2 = R3 - R2
5 47 47
15 3 1 12
= 0 9.4 4.8 1.6
0 0 3.48 -0.62
The solution is
Exercise
Find the least-square solution to the following systems
1. 2x + 3y = 8
3x – y = 5
x+y =6
2. 2x + 3y – 4z = 1
x – 2y + 3z = 3
x + 4y + 2z = 6
2x + y – 3z = 1
48
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
QR Decomposition
Result:
Let A be an n × n matrix over a complex field. Then there exists a unitary n × n matrix Q
and an upper triangular matrix R such that A = QR.
1. Transform the basis {v1, v2, ….., vn} into an orthonormal basis {w1, w2, …,wn}
using Gram-Schmidt process.
2. Now Q is the unitary matrix with columns w1, w2, …,wn.
3. To find R, we write vi as follows:
vi = α 1i w1 + α 2i w2 + α 3i w3 + …… + α ni wn, for i = 1,2, …., n
The solution set (α 1i , α 2i, α 3i , …… , α ni ) for each i gives the ith column of the
Matrix R.
Example 1.
3 2
Find a QR decomposition for the matrix A =
4 5
Soln.
3 2
Let v1 = and v2 = .
4 5
|| v1 || = 32 42 = 5
3
1 1 3
w1 = v1 = = 5
|| v1 || 5 4 4
5
Let y2 = v2 - <w1, v2> w1
<w1, v2> = (3/5)× (2) + (4/5)× (5) = 6/5 + 20/5 = 26/5.
3 78 28
2 26 5 2 25 25
y2 = - = - =
5 5 4 5 104 21
5 25 25
2 2
28 21 784 441 35 7
|| y2|| =
25 25 25 25 5
49
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
1 28 4
5 25 5
w2 = y 2 = .
|| y2 || 7 21 3
25 5
3 4
5 5
Thus, Q = .
4 3
5 5
Now, we find R.
Let v1 = w1 + w2.
Then, we get
3 4
3 5 + 5
=
4 4 3
5 5
3 4
3= - 15 = 3 - 4 ------------(1)
5 5
4 3
4= + 20 = 4 + 3 ------------(2)
5 5
5
First column of R is
0
Let v2 = w1 + w2.
Then, we get
3 4
2 5 5
= +
5 4 3
5 5
50
Lecture Notes in Applied Mathematics Dr. K.C. Raajasekar
3 4
⇒2= α - β ⇒ 10 = 3α - 4β ------------(3)
5 5
4 3
5= α + β ⇒ 25 = 4α + 3β ------------(4)
5 5
(4) × 4 ⇒ 100 = 16α + 12β
(3) × 3 ⇒ 30 = 9α - 12β
_________________
130 26
130 = 25α α= .
25 5
26 26 78 50 28 7
(3) 10 = 3 – 4 4 = 3 -10 = = .
5 5 5 5 5
26
5
The second column of R is .
7
5
5 26
5
Thus, R = .
0 7
5
51