Beruflich Dokumente
Kultur Dokumente
( )Matrices
1.1 Operations with Matrices ()
1.2 Properties of Matrix Operations (
)
1.3 The Inverse of a Matrix ()
1.4 Elementary Matrices ()
1.5 Applications of Matrix Operations (
)
1.1
Matrix:
a11
a
21
A [aij ] a31
am1
a12
a22
a32
am 2
a13
a 23
a33
am 3
a1n
a2 n
M mn
a3n
amn mn
1.2
Ex 1: Equality of matrices ()
1 2
A
3
4
a b
B
c
d
If A B, then a 1, b 2, c 3, and d 4
1.3
Matrix addition () :
If A [aij ]m n , B [bij ]m n ,
then A B [aij ]mn [bij ]mn [aij bij ]mn [cij ]mn C
Ex 2: Matrix addition () :
1 2 1 3 1 1 2 3 0 5
0 1 1 2 0 1 1 2 1 3
1 1
11
3 3 3 3
2 2
2 2
0
0
0
1.4
Scalar multiplication () :
If A [aij ]mn and c is a constant scalar,
then cA [caij ]m n
Matrix subtraction () ::
A B A (1) B
Ex 3: Scalar multiplication and matrix subtraction
1 2 4
3 0 1
2 1 2
0 0
2
B 1 4 3
3 2
1
Sol:
(a)
3A 3
(b)
1 2 4 31 3 2
3 4 3 6 12
3 0 1 3 3 3 0 3 1 9 0 3
2 1 2 3 2 31
3 2 6 3
6
0
0
0 0
2
2
4 3
B 1 1 4 3 1
1 3 2
3 2
1
(c)
3A B
1 6 12
3 6 12 2
0 0
9 0 3 1 4 3 10 4 6
4
6 3
6 1
3 2 7 0
1.6
Matrix multiplication () :
If A [aij ]m n and B [bij ]n p ,
a11
ai1
a12 a1n
ai 2
an1 an 2
ain
ann
b11 b1 j b1n
b21 b2 j b2 n
ci1 ci 2 cij cin
Ex 4: Find AB
1 3
3 2
A 4 2
B
4
1
2 2
5 0 3 2
Sol:
(1)(3) (3)(4) (1)(2) (3)(1)
AB (4)(3) (2)(4) (4)(2) ( 2)(1)
(5)(3) (0)(4)
(5)(2) (0)(1)
3 2
9 1
4 6
15 10 3 2
Note: (1) BA is not multipliable
(2) Even BA is multipliable BA , ABBA
1.8
m linear equations
am1 x1 am 2 x2 amn xn bm
a11
a
21
am1
a12 a1n x1 b1
a22 a2 n x2 b2
am 2 amn xn bm
m 1
1.9
Tr (A T ) Tr (A );
Tr (AB ) Tr (BA );
Tr (A B ) Tr ( A ) Tr (B )
Tr (kB ) kTr (A )
0
0
M nn
d n
1.10
Zero matrix () :
0 m n
0
0
0
0 L 0
M O M
0 L 0 mn
0 L
1
0
In
M
0
1 L 0
M O M
0 L 1 n n
0 L
1.11
(5) c( A+B ) = cA + cB
(6) ( c+d ) A = cA + dA
c, d ( )
1.12
(2) A ( A) 0mn
Thus , A is called the additive inverse of A
1.13
1.14
1 0
1 2
1 0 2
3 1 .
A
,
B
,
and
C
3 2 1
2 4
Sol:
1 2 1
( AB)C
3
2
5 4 0
1
2
3
1 0
0 2
3
1
2 1
2 4
1 0
17 4
3 1
13 14
2 4
1.15
1 2 1
A( BC )
3
2
1 2 3
7
2
1 0
0 2
3
1
2 1
2 4
8
17 4
2 13 14
1.16
0
d2
M
0
L
L
O
L
0
d1k 0 L
k
0
0
d
L
k
2
D
M M
d n
0 0 L
0
M
d nk
1.17
Transpose of a matrix () )( :
a11 a12 L a1n
a
a
L
a
22
2 n
If A 21
M mn ,
M M M M
am1 am 2 L amn
a11 a21 L am1
a
a
L
a
22
m 2
then AT 12
M n m
M M M M
a1n a2 n L amn
The transpose operation is to move the entry aij (original at the position (i, j)) to
the position (j, i)
Note that after performing the transpose operation, AT is with the size nm
1.18
(a) A
(b) A 4 5 6
)
8
7 8 9
1 1
Sol: (a)
2
A
AT 2
8
(b)
1 2 3
1
A 4 5 6 AT 2
7 8 9
3
(c
0
1
)
0
T
A 2 4
A
1
1
8
4 7
5 8
6 9
2 1
4 1
1.19
( 2) ( A B )T AT B T
(3) (cA)T c( AT )
( 4) ( AB )T B T AT
Properties (2) and (4) can be generalized to the sum or product of
multiple matrices. For example, (A+B+C)T = AT+BT+CT and (ABC)T =
CTBTAT
1.20
3 1
B 2 1
3 0
Sol:
T
2
1 2 3 1
2 1
T
( AB) 1 0
3 2 1 6 1
0 2
1
3
0
1 2
3 2 3
B A
1
0
2 1 0
1 0 2
2 3
1
2 6
1 1
2 6 1
1
2
1
2
1.21
Symmetric matrix () :
A square matrix A is symmetric if A = AT
Skew-symmetric matrix () : :
A square matrix A is skew-symmetric if AT = A
Ex:
1 2 3
If A a 4 5 is symmetric, find a, b, c?
b c 6
Sol:
1 2 3
1 a b
T
A
A
A a 4 5 AT 2 4 c
a 2, b 3, c 5
b c 6
3 5 6
1.22
Ex:
0 1 2
If A a 0 3 is a skew-symmetric, find a, b, c?
b c 0
Sol:
0 a b
0 1 2
A a 0 3
AT 1 0 c
b c 0
2 3 0
A AT a 1, b 2, c 3
( AAT )T ( AT )T AT AAT
AA is symmetric
T
Real number () :
ab = ba (Commutative property of real-number multiplication)
Matrix () : :
AB BA
mn n p n p m n
same)
1.24
Ex 4:
AB BA
0
2
2
Sol:
1 3
AB
5
2 1 2
0 2 4 4
7
2 1 1 3 0
BA
0
2
2
1
4
1.25
Notes:
(1) A+B = B+A (the commutative law of matrix addition)
1.26
Real number :
ac bc, c 0
ab
(Cancellation law for real numbers)
Matrix () :
AC BC and C 0 (C is not a zero matrix)
(1) If C is invertible () , then A = B
(2) If C is not invertible () , then A B
(Cancellation law is not necessary to be valid)
1.27
0
1
2
3
1
2
Sol:
1
AC
0
2
BC
2
3
1
4
3
1 2 2 4
1
2 1 2
1 2 2 4
1 2 1 2
So, although AC BC , A B
1.28
Inverse matrix:
Consider A M nn ,
if there exists a matrix B M n n such that AB BA I n ,
then (1) A is invertible (or nonsingular)
(2) B is the inverse of A
B A 1
Note:
A square matrix that does not have an inverse ()
is called noninvertible (or singular) ()
1.29
Notes:
(1) The inverse of A is denoted by A1
(2) AA1 A1 A I
A1
A
1.30