Mathematics QM 016 Topic 5: Matrices And System Of Linear Equations-Lesson Plan TOPIC : 5.0 MATRICES AND SYSTEMS OF LINEAR EQUATIONS SUBTOPIC : 5.1 Matrices LEARNING OUTCOMES : (a) Define a matrix and the equality of matrices (b) Identify the different types of matrices such as row, column, zero, diagonal, upper triangular, lower triangular and identity matrices. (c) Perform operations on matrices such as addition, subtraction, scalar multiplication and multiplication of two matrices. The result Euro 2006 ( Group B ) Team GP W D L Pts France 3 2 1 0 7 England 3 2 0 1 6 Croatia 3 0 2 1 2 Switzerland 3 0 1 2 2 The above standing shows MATRIX form. What is rows and what is columns.?? Definition A matrix is a rectangular array of numbers enclosed between brackets. The general form of a matrix with m rows and n columns is mn m m m n n n a a a a a a a a a a a a a a a a 3 2 1 3 33 32 31 2 23 22 21 1 13 12 11 m rows n columns The order or dimension of a matrix of m rows and n columns is m x n. The individual numbers that makes up a matrix are called its entries or elements , ij a and they are specified by their row and column position. The matrix for which the entry is in th i row and th j column is denoted by [ ij a ].
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Mathematics QM 016
Topic 5: Matrices And System Of Linear Equations-Lesson Plan
TOPIC : 5.0 MATRICES AND SYSTEMS OF LINEAR EQUATIONS
SUBTOPIC : 5.1 Matrices
LEARNING
OUTCOMES :
(a) Define a matrix and the equality of matrices
(b) Identify the different types of matrices such as row, column,
zero, diagonal, upper triangular, lower triangular and identity
matrices.
(c) Perform operations on matrices such as addition, subtraction,
scalar multiplication and multiplication of two matrices.
The result Euro 2006 ( Group B )
Team GP W D L Pts
France 3 2 1 0 7
England 3 2 0 1 6
Croatia 3 0 2 1 2
Switzerland 3 0 1 2 2
The above standing shows MATRIX form.
What is rows and what is columns.??
Definition
A matrix is a rectangular array of numbers enclosed between brackets.
The general form of a matrix with m rows and n columns is
mnmmm
n
n
n
aaaa
aaaa
aaaa
aaaa
321
3333231
2232221
1131211
m rows
n columns
The order or dimension of a matrix of m rows and n columns is m x n.
The individual numbers that makes up a matrix are called its entries or elements,
ija and they are specified by their row and column position.
The matrix for which the entry is in thi row and thj column is denoted by [ ija ].
Mathematics QM 016
Topic 5: Matrices And System Of Linear Equations-Lesson Plan
Example
Let
732
6521
A
(a) What is the order of matrix A ?
(b) If A=[ ija ], identify 21a and 13a .
Solution
(a) Since A has 2 rows and 3 columns, the order of A is 2 x 3.
(b) The entry 21a is in the second row and the first column. Thus, 21a = -2.
The entry 13a is in the first row and the third column, and so 13a = 21 .
Example 1
Given 3 3ij x
A a
Find matrix A if 2
ij
ij, i ja
j i, i j
Equality of Matrices
Two matrices are equal if they have the same dimension and their corresponding entries
are equal.
Example 2
Which matrices below are the same ?
12
21A , 21B , 12C ,
12
21D ,
12
12E ,
12
12
21
F
Solution
A = D
Example 3
Let
248
463
b
aA , and
2832
469
d
cB .
If A = B, find value of a, b, c, and d.
Mathematics QM 016
Topic 5: Matrices And System Of Linear Equations-Lesson Plan
Types of Matrices
Row Matrix is a (1 x n) matrix ( one row );
naaaaA 1131211
Example
54321A ; 5348701B
Column Matrix is a (m x 1) matrix ( one column );
1
31
21
11
ma
a
a
a
A
Example
0
4A
,
2
3
5
7
B
Square Matrix is a nxn matrix which has the same number of rows as columns.
Example
81
31A , 2 x 2 matrix.
132
213
231
B , 3 x 3 matrix.
Zero Matrix is a (m x n) matrix which every entry is zero, and denoted by O.
Example
0 0 0
0 0 0
0 0 0
O
,
0 0
0 0
0 0
O
, 0 0
0 0O
Mathematics QM 016
Topic 5: Matrices And System Of Linear Equations-Lesson Plan
Diagonal Matrix
Let A =
11 12 13 1
21 22 23 2
31 32 33 3
1 2 3
m
m
m
m m m mm
a a a a
a a a a
a a a a
a a a a
The diagonal entries of A are 11 22 33a , a , a ,…, mma
A square matrix which non-diagonal entries are all zero is called a diagonal
matrix.
Example
(a) 2 0
0 3A
(b)
1 0 0
0 2 0
0 0 3
B
(c)
0 0
0 0 0
0 0
a
C
b
Identity Matrix is a diagonal matrix in which all its diagonal entries are 1, and
denoted by I.
Example
(a) 2 2
1 0
0 1A I
(b) 3 3
1 0 0
0 1 0
0 0 1
B I
Lower Triangular Matrix is a square matrix and 0ija for i j
11 12 12
21 22 23
31 32 33
a a a
A a a a
a a a
Example
A =
323
023
001
B =
edc
fb
a
0
00
Mathematics QM 016
Topic 5: Matrices And System Of Linear Equations-Lesson Plan
Upper Triangular Matrix is a square matrix and 0ija for i j
11 12 12
21 22 23
31 32 33
a a a
A a a a
a a a
Example
A =
300
420
321
B =
f
ed
cba
00
0
Operations on Matrices
Addition And Subtraction Of Matrices
For m x n matrices, A = [ ija ] and B = [ ijb ],
A + B = C = ij mxnc , where ijijij bac .
A – B = D = ij mxnd , where .ijijij bad
Note
The addition or subtraction of two matrices with different orders is not defined. We say
the two matrices are incompatible.
Example 4
Simplify the given quantity for
43
21A ,
65
34B and
2
1C .
(a) A + B (b) A – B (c) A + C
Scalar Multiplication
If c is a scalar and ijA a then ijcA b where ij ijb ca
Mathematics QM 016
Topic 5: Matrices And System Of Linear Equations-Lesson Plan
Example 5
Given
2 4
8 5
6 7
A
, find 1
2A .
Example 6
Let 1 4
5 3A
and 3 6
4 2B
. Calculate 3 2A B.
Properties
(a) A B B A ( Commutative )
(b) A B C A B C ( Associative)
(c) A A A A O ( O- zero matrix)
(d) A A A , constant
(e) A B A B
(f) A A
Exercises
1. Identify the order of the given matrix.
(a)
654
321 (b)
10
01
01
(c)
d
c
b
a
(d) kji
Mathematics QM 016
Topic 5: Matrices And System Of Linear Equations-Lesson Plan
2. (a) Find matrix 2 3ij x
A a if 2 2ija i j j i
(b) Find matrix 3 3ij x
B b if
2
2
ij
i j, i j
b ij, i j
i j, i j
3. Simplify the given quantity for
53
21A and
94
12B .
(a) A + B (b) A – B
(c) 2A – 5B (d) 3A + 2B
4. Solve the given equation for the unknown matrix X.
(a) 2X +
456
321 =
000
000
(b) -2
42
004
33
62XX
Answers
1. (a) 2 X 3 (b) 3 X 2 (c) 4 X 1 (d) 1 X 3
2. (a) 2 6 12
6 16 30
(b)
1 4 5
0 4 7
1 1 9
3. (a)
147
33 (b)
41
11 (c)
3514
18 (d)
3317
87
4. (a)
23
1
25
23
21
(b)
54
62
Mathematics QM 016
Topic 5: Matrices And System Of Linear Equations-Lesson Plan
SUBTOPIC : 5.1 Matrices
LEARNING
OUTCOMES :
(a) Perform operations on matrices such as multiplication of two
matrices.
(d) Define the transpose of a matrix and explain its properties.
(c) Define symmetric matrix and skew symmetric matrix.
Operation on Matrices
Multiplication of Matrices
The product of two matrices A and B is defined only when the number of columns in A is
equal to the number of rows in B.
If the order of A is m n and the order of B is n p, then AB has order m p.
m n n p m pA B AB
A row and a column must have the same number of entries in order to be multiplied.
1 2 3 nR a a a ... a and
1
2
3
n
b
b
bC
...
b
1 1 2 2 3 3 n nRC a b a b a b ...a b
Example 1
Find
2 11 2 3
3 42 0 5
2 1
Example 2
2 5 4
2 0 5A
and
1 2 3 5
3 2 1 5
5 4 0 7
B
. Find AB.
Mathematics QM 016
Topic 5: Matrices And System Of Linear Equations-Lesson Plan
Example 3
Let
43
21A and
23
12B
Show that AB ≠ BA.
Properties
(a) A BC AB C ( Associativite)
(b) A B C AB AC ( Distributive)
Transpose Matrix
The transpose of a matrix A, written as AT, is the matrix obtained by interchanging the
rows and columns of A. That is, the i th column of AT is the i th row of A for all i’s.
If m n ijA a then T
n m jiA a
11 12 13
21 22 23
31 32 33 3 3
a a a
A a a a
a a a
then
11 21 31
12 22 32
13 23 33 3 3
T
a a a
A a a a
a a a
Example
Let
3 1
2
1
3
B
then 1 3
2 1 3TB
If
3 3
1 3 3
2 5 4
1 3 5
D
then
3 3
1 2 1
3 5 3
3 4 5
TD
Mathematics QM 016
Topic 5: Matrices And System Of Linear Equations-Lesson Plan
Example 4
Let
43
21A ,
12
43B and
23
41C .
Show that (a) (A + B )T = A
T + B
T
(b) (BC)T = C
TB
T
Properties of the transpose matrix
(A ± B)T = A
T ± B
T
(AT)
T = A
(AB)T = B
TA
T
(kA)T = kA
T
A symmetric Matrix
A square matrix, A = [ ija ], is symmetric if it is equal to its own transpose,
A = AT and aij = aji .
Example
32
21
2
3
1
cb
ca
ba
A square matrix, A = [ aij ] is a skew symmetrical matrix if A = -AT and aij = -aji where
i j and aii = 0
Example
02
20
031
302
120
Mathematics QM 016
Topic 5: Matrices And System Of Linear Equations-Lesson Plan
Exercises
1. Let
032
421A ,
43
21B , and
462
154
973
C .Indicate whether the
given product is defined. If so, give the order of the matrix product. Compute the
product, if possible.
(a) AB (b) AC (c) BA
(d) BC (e) CA (f) CB
2. Let
12
04
13
A ,
11
21
12
B and
22
43C .
Find
(a) ATB (b) B
TA (c) (BC)
T (d) (A+B)
T
Answers
1. (a) Not defined
(a) Defined; 2x3 ;19 41 27
18 29 21
(b) Defined; 2x3 ;5 8 4
11 18 12
(c) Not defined
(d) Not defined
(e) Not defined
2. (a)
01
1312 (b)
013
112
(c)
6810
578 (d)
220
355
Mathematics QM 016
Topic 5: Matrices And System Of Linear Equations-Lesson Plan
SUBTOPIC : 5.2 Determinant of Matrices
LEARNING
OUTCOMES :
(a) Define the minor and cofactor for ija
(e) Discuss the expansion of the cofactor and find the determinant
of a 3 ×3 matrix.
What is the history of determinant of matrices?
Historically, determinants were considered before matrices. Originally, a determinant was
defined as a property of a system of linear equations. The determinant "determines"
whether the system has a unique solution (which occurs precisely if the determinant is
non-zero). In this sense, two-by-two determinants were considered by Cardano at the end
of the 16th century and larger ones by Leibniz about 100 years later.
What can you explain about the determinant and its application.
The determinant is an algebraic operation that transforms a square matrix into a scalar.
This operation has many useful and important properties. For example, the determinant is
zero if and only if the corresponding system of homogeneous equations is singular.
Determinants are used to characterize invertible matrices, and to explicitly describe the
solution to a system of linear equations with Cramer's rule.
Determinant of 2 x 2 Matrices
Given A =
Then determinant A = a b
c d = ad – bc
Example 1
Given A = 2 5
3 8
and B = 3 2
5 2
, find , , ,A B AB BA .
: 4NOTE AB A B BA
a b
c d
Mathematics QM 016
Topic 5: Matrices And System Of Linear Equations-Lesson Plan
Minor and Cofactor
Let A be n x n matrix,
1. The minor Mij of the element aij is the determinant of the matrix
obtained
by deleting the ith row and jth column of A
2. The cofactor Cij of the element aij is
Cij = (-1)i+j
Mij
Consider the matrix A =
3 4 1
2 4 3
1- 2 1
Minor
M11 is the determinant of the matrix obtained by deleting the first row
and first column from A.
M11 =
341
243
121 =
34
24
= 4
Similarly
M32 =
341
243
121 =
23
11 = 5
Therefore,
If A =
a a a
a a a
a a a
333231
232221
131211
, then
M11 =
3332
2322aa
a a
and M32 =
2321
1311aa
a a
Cofactor
Cij = ( - 1 )i +j
Mij
Then, C11 = (-1)1+1
M11 = 4 and
C32 = (-1)3+2
M32 = -5
Mathematics QM 016
Topic 5: Matrices And System Of Linear Equations-Lesson Plan