Beruflich Dokumente
Kultur Dokumente
Supandi
1.1
Matrices
1.2
Operations of matrices
1.3
Types of matrices
1.4
Properties of matrices
1.5
Determinants
1.6
Inverse of a 33 matrix
2
1.1 Matrices
2 3 7
A
1 1 5
1 3 1
B 2 1 4
4 7 6
Why matrix?
3
1.1 Matrices
Consider the following set of equations:
x y 7,
3x y 5.
2 x y 4 z 2,
5 x 4 y 10 z 1,
3 x y 6 z 5.
1.1 Matrices
In the matrix
a11
a
21
a12
a22
M
O
am1 am 2
a1n
a2 n
amn
1.1 Matrices
Square matrices
When m = n, i.e.,
a11 a12 K
a
a22
21
A
M
O
an1 an 2
a1n
a2 n
ann
aii
i 1
a11 a22
...
ann
1.1 Matrices
Equal matrices
Two matrices A = [aij] and B = [bij] are said to
be equal (A = B) iff each element of A is equal
to the corresponding element of B, i.e., aij = bij
for 1 i m, 1 j n.
iff pronouns if and only if
if A = B, it implies aij = bij for 1 i m, 1 j n;
if aij = bij for 1 i m, 1 j n, it implies A = B.
7
1.1 Matrices
Equal matrices
Example:
1 0
A
4
2
and
a b
B
c
d
1.1 Matrices
Zero matrices
Every element of a matrix is zero, it is called
a zero matrix, i.e.,
0 0 K
0 0
A
M
O
0 0
0
0
1 2 3
A
0
1
4
and
Evaluate A + B and A B.
2 3 0
B
1
2
5
2 3 3 0
1 2
A B
1)
1
2
4
3 5 3
1
3
2 3 3 0
1 2
A B
1)
1
2
4
1 1
1 1
3
1
10
1 3 1
2 1 4
4 7 6
11
3 1 3 2 3 3
3A
0
3
1
3
3 6 9
12
0
3
(commutative law)
A + (B +C) = (A + B) +C
(associative law)
(A + B) = A + B, where is a scalar
(distributive law)
C = A + B.
Since C = (A + B), so (A + B) = A + B
14
0
1
4
Example:
Evaluate c21.
1 2
1 2 3
2
3
0 1 4
5 0
1 2
B 2 3
5 0
and C = AB.
c21 0 (1) 1 2 4 5 22
15
5 0
AB.
c11 1 (1) 2 2 3 5 18
1 2
c 1 2 2 3 3 0 8
1 2 3
12
2
3
0 1 4
5 0
c21 0 (1) 1 2 4 5 22
c22 0 2 1 3 4 0 3
1 2
1 2 3
18 8
C AB
2 3
0
1
4
22
5
0
16
b
B 21
M
bm1
17
b11a11
b21a11
b11a12
b21a12
M
O
bm1a11 bm1a12
b11a 1m
b21a 1m
bm1a 1m
So AB BA in general !
18
However
A(BC) = (AB) C
AB BA in general
AB = 0 NOT necessarily imply A = 0 or B = 0
AB = AC NOT necessarily imply B = C
19
k 1
k 1
k 1
k 1
k 1
21
M
O
0
0
a1n
a2 n
ann
a
21 a22
M
an1
an 2
0
0
ann
22
0
0
ann
23
1 0
0 1
and
1 0 0
0 1 0
0 0 1
24
1 2 3
A 1 3 3
1 2 4
6 2 3
B 1 1 0
1 0 1
26
1 2 3
A
4
5
6
The transpose of A is
1 4
AT 2 5
3 6
1 2 3
A 2 4 5
3 5 6
is symmetric.
A matrix A such that AT = -A is called skewsymmetric, i.e., aji = -aij for all i and j.
A - AT must be skew-symmetric. Why?
28
Since,
A 1/ 6
1/ 2
T
1/ 6
A 1/ 3 2 / 6
1/ 3 1/ 6
1/ 3
2 / 6 1/ 6
0
1/ 2
1/ 2
1/ 2
is
1/ 3
30
31
1.5 Determinants
Determinant of order 2
Consider a 2 2 matrix:
a11
A
a21
a12
a22
a12
a11 a22 a12 a21
a22
32
1.5 Determinants
Determinant of order 2
easy to remember (for order 2 only)..
a11
| A |
a21
-
a12
a11 a22 a12 a21
a22
+
1 2
3 4
1 4 2 3 2
33
1.5 Determinants
The following properties are true for
determinants of any order.
1. If every element of a row (column) is zero,
e.g.,
1 2
0 0
1 0 2 0 0 ,
2. |AT| = |A|
then |A| = 0.
determinant of a
matrix = that of its
transpose
3. |AB| = |A||B|
34
1.5 Determinants
Example: Show that the determinant of any
orthogonal matrix is either +1 or 1.
For any orthogonal matrix, A AT = I.
Since |AAT| = |A||AT | = 1 and |AT| = |A|, so |A|2 = 1 or
|A| = 1.
35
1.5 Determinants
For any 2x2 matrix
a11
A
a21
a12
a22
1
A
A
a22
a
21
a12
a11
1 0
A
1
2
0
1
A
1/ 2 1/ 2
1
1 2 3
A 4 5 6
7 8 9
4 5
1 2
1 2
A 4 5 6 3
6
9
7 8
7 8
4 5
7 8 9
3 3 6 6 9 3 0
1 2 3
A 0 4 5
1 0 6
4 5
0 6
24
2 3
A21
12
0 6
A31
2 3
4 5
0 5
A12
5
1 6
0 4
A13
4
1 0
1 3
A22
3
1 6
1 2
A23
2
1 0
A32
1 3
0 5
A33
1 2
0 4
4
38
1 2 3
A 0 4 5
1 0 6
is then given
24 5 4
12 3 2
2 5 4
39
1 2 3
A 0 4 5
1 0 6
24 5 4
1
1
A
12
3
2
A
2 5 4
is given by:
24 12
1
5
3
22
4 2
2
5
12 11 6 11 1 11
5 22 3 22 5 22
2 11 1 11
2 11
40