BCLA_Module_5_Simplified
BCLA_Module_5_Simplified
BCLA_Module_5_Simplified
Module 5: Matrices
1. Motivation:
Applications of matrices are found in most scientific fields. Matrices are applicable to study
physical phenomena, such as the motion of rigid bodies which occurs in every branch
of physics
models and
In probability
theory and statistics, stochastic matrices are used to describe sets of probabilities; for
instance,
they are used within the PageRank algorithm that ranks the pages in a Google search. Matrix
relationships.
a 2-dimensional
screen.
project
them
onto
Introduction:
and n columns enclosed by a pair of square brackets (or round brackets). It is written as
A
11
21
12
22
...
...
a
m
...
mn
is the element
in the ith row and jth column, written as element of the matrix. The order of matrix
is read as m by n or written as m × n.
Two matrices can be added or subtracted provided they are of same order.
where
ij m n
ija
and
ij m n
ij
pq
1A
IAA
, where
AA
then
0A
is called
(cid:3028)(cid:3031)(cid:3037).(cid:3002)
|(cid:3002)| .
Key Notations:
1.
2.
|𝐴|: Determinant of A
𝐴 = (cid:3427)𝑎(cid:3036)(cid:3037)(cid:3431)
Key Definitions:
(1) Diagonal Matrix: A square matrix whose all non -diagonal elements are zero and at
20
01
e.g.
100
,040
008
(2) Scalar Matrix: A square matrix, whose all diagonal elements are equal, is called a scalar
30
03
matrix. e.g.
200
,020
002
(3) Upper Triangular Matrix: A square matrix, in which all the elements below the
13
04
00
(4) Lower Triangular Matrix: A square matrix, in which all the elements above the
00
140
52
(5) Trace of Matrix: The sum of all the principal diagonal elements of a square matrix is
Trace of A=2+6+3=11.
'
A or A .
13
12
A
ij
mn
then A
ji
nm
e.g.
i.e. if
A
ij m n
is called symmetric if
ij
a
ji
A A
e.g.
24
43
1
ij m n
ij
a
ji
A
0 −3 −4
4 −8
(cid:3433)
(9) Conjugate of a matrix: A matrix obtained from any given matrix A, on replacing its
and it is denoted by A .
A
13
25
e.g.
13
i
25
form
Here with the help of elementary transformations (row and column) we will learn to find
rank of matrix which will give idea about number of linearly independent rows and
columns in a matrix.
(1) Rank of the Matrix: The rank of the matrix is said to be r if it possesses the following
properties:
(i)
(ii)
A
(2) Normal form or Canonical form: Every m n matrix of rank r can be reduced to the
nI
normal form
called the ‘normal form’ or the first Canonical form of the matrix A. By reducing the
(ii) The number of zeros before the first non-zero element in a row is less than the
number of such zeros in the next row.
The rank of a matrix in echelon form is equal to the number of non-zero rows of the
matrix.
The null space of matrix A is the set of all solutions to the homogeneous equation AX=0.
Evaluate the rank of the following matrices by reducing them to Echelon form and
1)
Exercise
i) A =(cid:3429)
123
142
265
(cid:3433)
ii) A =(cid:3430)
3 −1
−2 −1 −3 −1
1 −1
0
0
3 −1 −1
1 −1 −2 −4
3 −2
0 −7
(cid:3434)
Homework Problems
1)
Evaluate the rank of the following matrices by reducing them to Echelon form:
i)
A =(cid:3429)
2 −2
−1
0 −2
(cid:3433)
We will learn one of the applications of rank of matrices to solve the non-homogeneous
system
of equations. For this purpose, we will write the given system in matrix notation as AX=B.
Then we consider the augmented matrix [A : B] and find the rank of augmented matrix.
matrix A and the augmented matrix [A : B] are of the same rank. i.e.
[
AB
Case I: If
AB
Case II: If
AB
:
]
AB
When
Exercise
1) Discuss the consistency of the system and if consistent solve the equation:
i) x
2x
ii) x
z
2y
3z
14
4y
7z
30
2y
3z
10
x
iii) x
2y
3z
2y
Ans :Inconsistent.
4x
2y
3
4
Ans : Consistent :
(x, y, z, w) = (
- t,
t,
- t, t ) .
2)
2x
3y
5z
7x
3y
2z
3y
2x
λz
2y
4z
4y
10z
1) Discuss the consistency of the system and if consistent solve the equation:
Homework Problems
i) 2x
3y
7z
3x
3z
13
2x
19 y
47z
32
ii) x
3x
y
2z
2x
4y
7z
Ans: Inconsistent.
Ans: Inconsistent.
2) Discuss for all values of λ, the nature of solution of the system of equations
4z
2y
2z
λx
3𝑥 + 4 𝑦 + 5 𝑧 = α
4𝑥 + 5𝑦 + 6z = 𝛽
[Hint : Reduce the augmented matrix [A|B ] into row echelon form and then for
consistency we derive
-2 + α = 0
We will learn one more application of rank of matrices to solve the homogeneous system of
equations. For this purpose, we will write the given system in matrix notation as AX=O.
Then
we consider the augmented matrix [A]and find the rank of the matrix.
)A
Case II: If
)A
1)
2x
2y
5z
Exercise
4x
z
3x
2y
3z
Ans:
3y
2)
Solve 3x
Ans:
3)
7z
(x, y, z) = (0, 0, 0)
,x
z
-k ,
(x, y, z) =
-7k
,k
2z
, 5x
y 3z
Find the value of λ for which following system of equations has nonzero solutions
2y
3z
x
3x
2z
y
2x
Ans:
3y
z
λ = 6, x = y = z = t
1)
Solve x
Ans:
z
Homework Problems
, 3x
, x
2z
(cid:3047)(cid:3117)
(cid:2870)
(cid:2871)(cid:3047)(cid:3117)
(cid:2870)
0
.
2) Discuss for what values λ the system of equations has non-trivial solution? Obtain the
Consistent,(𝑥, 𝑦, 𝑧, 𝑤) = ( −
Ans:
4x
0,
2y
3x
2x
4y
3z
0.
0,
XX
,.....
kX
kX
.....
,..... r
kk
kX
.
2)
XX
,.....
X is said to be linearly
kk
2
,..... r
k , such that if
kX
kX
.....
kX
then 1
.....
r
0.
Exercise
Homework Problems
Ans: Dependent ,
1
Ans: Independent
Ans: Independent
32
Eigen Values:
The roots of this characteristic equation are called the characteristic roots or latent roots
or
e.g. If 𝐴 = (cid:4674)
43
1,5.
Eigen Vectors:
Suppose (cid:2869)is
𝜆 a root of |𝐴 − 𝜆
𝐼| = 0then |𝐴 − 𝜆(cid:2869)𝐼| = 0.Further we find a non-
zero column
matrix X such that [𝐴 − 𝐼(cid:2869)𝑋]𝑋 = 0.The vectors X is called the eigen vector or latent
vector
EXERCISE
01
121
322
(i) A =
22
111
31
4
(iii) A =
(ii) A =
10
00
33
(iv) A =
2
(v) A =
42
30
2. If A =
Homework Problem
1. If A =
22
A2 – 4I .
64
31
3.
32
10
4. Find the sum and product of the eigen values of the matrix A =
Ans: 2 , 4
10
21
14
5.
2 −1 1
1 2 −1
1 −1 2
linear
Quadratic forms:
form.
Exercise
1.
2. Reduce the quadratic form to the canonical form by orthogonal reduction and discuss
Reduce the quadratic form 3𝑥(cid:2870) + 5𝑦(cid:2870) + 2𝑧(cid:2870) − 2𝑦𝑧 + 2𝑧𝑥 − 2𝑥𝑦
to the canonical form
its nature 2𝑥(cid:2869)𝑥(cid:2870) + 2𝑥(cid:2869)𝑥(cid:2871) − 2𝑥(cid:2870)𝑥(cid:2871).
(cid:2870) + 3𝑥(cid:2870)
3𝑥(cid:2869)
(i)
(ii)
Find the nature of the quadratic form 𝑥(cid:2870) + 5𝑦(cid:2870) + 𝑧(cid:2870) + 2𝑥𝑦 + 2𝑦𝑧
+ 6𝑧𝑥
(cid:2870) + 3𝑥(cid:2871)
4.
Vector space:
1. Norm: If X is a complex n-vector then the positive square root of the inner product (X,X)
Thus, if X=
then
3. Orthogonal Vectors: If X and Y are any two complex n-vectors then X is said to be
4 Vector Spaces: A vector space V is a collection of objects with a (vector) addition and
Scalar multiplication defined that closed under both operations and which in addition
(ii) α(βx)=(αβ)x
(vii) 0x = 0
Exercise
𝑥0
0𝑦
4. Q1. Determine whether any of the following sets are spanning sets for 𝑅(cid:2870)
i)
ii)
𝑆(cid:2869) = (cid:4676)(cid:4674)
(cid:4675) , (cid:4674)
1
𝑆(cid:2869) = (cid:4676)(cid:4674)
(cid:4675) , (cid:4674)
(cid:4675)(cid:4677)
(cid:4675) , (cid:4674)
(cid:4675)(cid:4677)
iii)
𝑆(cid:2871) = (cid:4676)(cid:4674)
(cid:4675) , (cid:4674)
(cid:4675) (cid:4677)
(cid:4675) , (cid:4674)
1
(cid:4675) (cid:4677) is basis for 𝑅(cid:2870)
(cid:4675) , (cid:4674)
−1
**********************************************************************************
ORTHOGONAL TRANSFORMATION:
Quadratic form:
form
Example:
Note:
Problems:
Solution:Q =
Here
Solution: Q =
3. Write down the quadratic form corresponding to the following symmetric matrix
Solution:Let
Rank of the quadratic form:The number of square terms in the canonical form is the rank (r)
of
Index of the quadratic form: The number of positive square terms in the canonical form is
Signature of the quadratic form:The difference between the number of positive and negative
square terms = s
(1) Positive definite if all the eigen values are positive numbers
(2) Negative definite if all the eigen values are negative numbers
(3) Positive Semi-definite if all the eigen values are greater than or equal to zero and at
(4) Negative Semi-definite if all the eigen values are less than or equal to zero and at least
Problems:
canonical form
Working rule:
Step 6: Find
Step 7: Find AN
Step 8: Find D =
Problems:
1. Reduce the given quadratic form Q to its canonical form using orthogonal
transformation Q =
i.e., A =
where
1 1 -7 14
-8
0 1 -6 8
-6
8 0
Case 1: When
= 0 -------- (1)
-------- (2)
-------- (3)
-1
-1
-1
Case 2: When
= 0 -------- (1)
-------- (2)
-------- (3)
1
0
-1
-1
Case 3: When
= 0 -------- (1)
-------- (2)
-------- (3)
-1
-1
-3
-1
AN =
i.e.,
canonical form is
i.e., A
where
1 1 0 -3
0 1 1 -2
1 -2 0
Case 1: When
------- (1)
------- (2)
------- (3)
-1
Case 2: When
------- (1)
------ (2)
------ (3)
Put
. Let
. Then
Let
. Since
is orthogonal to
-------- (1)
--------- (2)
-1
-1
-1
;
AN =
i.e.,
1.
mathinsight.org/matrix_introduction
2. www.mathresource.iitb.ac.in/linear%20algebra/chapter2.0.html
3. https://en.wikipedia.org/wiki/Matrix_(mathematics)
4. www.slideshare.net/moneebakhtar50/application-of-matrices-in-real-life
5. www.youtube.com/watch?v=jzHb1R5wWYU
6. www.clarkson.edu/~pmarzocc/AE430/Matlab_Eig.pdf