Intro To Matrix
Intro To Matrix
1 3 7 −2 4
d. The matrix has size3 5 .
9 11 5 6 8
6 −2 −1 1 1
Transpose of a Matrix
• A transpose matrix is denoted by AT.
Example 3 – Constructing Matrices
1 2 3
If A =
, find A T .
4 5 6
1 4
Solution: A
T
= 2 5
3 6
Observe that (A ) T T
= A .
©2007 Pearson Education Asia
Matrix Addition and Scalar Multiplication
Matrix Addition
• Sum A + B is the m × n matrix obtained by adding
corresponding entries of A and B.
1 2 2
b. + is impossible as matrices are not of the same
3 4 1
size.
©2007 Pearson Education Asia
Example 3 – Demand Vectors for an Economy
Subtraction of Matrices
• Property of subtraction is − A = (− 1) A
a. 2 6 6 − 2 2 − 6 6 + 2 − 4 8
−4 1 − 4 1 = −4−4 1− 1 = − 8 0
3 2 0 3 3 + 0 2 − 3 3 − 1
6 2 6 − 6 0 8
b. A
T
− 2B = − =
0 − 1 2 4 − 2 − 5
c ij = a ik
b kj = a i 1b1 j +a i 2 b 2 j + ... + a in b nj
k =1
C = 3 × 5 matrix
D = 7 × 3 matrix
CD = undefined but DC = 7 × 5 matrix.
4
a. 1 2 3 5 = 32
6
1 1 6
b. 2 1 6 = 2 12
3 3 18
1 3 0 1 0 2 16 −3 11
−2 2 1 −2 −1 3 = 10 −1 0
c.
1 0 − 4 2 1 − 2 − 7 −4 10
Solution 1: Solution 2: 1 0
1 0 1 − 2 3 1
− 2 3
0
1
A (BC ) =
0 1 ( AB )C =
−3 0 2
0 2
− 4 1
− 3 − 4 1 1 2
1 2
1
1 1 1
1 − 2 2 − 1 − 4 − 9 1 0
= = 1 −2 − 5 − 4 − 9
− 3 − 4 3 4 6 19 = 0 2 =
− 5 4 11
6 19
1
1
Note that A(BC) = (AB)C.
75850
QRC = Q (RC ) = 5 7 12 81550 = 1,809 ,900
71650
3 2 1 0 3 2 2 0 3 6
b. 3 ( A − 2 I ) = 3 − 2 = 3 − =
1 1
4 0 1 4 0 2 3 6
3 2 0 0
c. AO = =O
1 4 0 0
3 2 52 − 51 1 0
d. AB = 3
= =I
1 4 − 101 10 0 1
2 x1 + 5 x 2 = 4
Write the system
8 x1 + 3 x 2 = 7
Solution:
2 5 x1 4
If A = X = B =
8 3 x2 7
1 0 0 0 1 0 3
0 0 0
d. e. 0 0 0 f. 0 0 1 2
0 0 0
0 1 0 0 0 0 0
Solution:
a. Not reduced b. Reduced
c. Not reduced d. Reduced
e. Not reduced f. Reduced
x = 4
We have
y = −3
©2007 Pearson Education Asia
Example 5 – Parametric Form of a Solution
Solution:
Reducing the matrix of the system,
2 3 2 6 10 1 0 0 5
4
2
0 1 2 1 2
0 1 0 0 0
3 0 −3 6 9 0 1
1
0 1 2
x 1 = 4 − 52 x 4
We have
x2 = 0
and x4 takes on any real value.
x = 1− 1 x
3 2 4
Solution:
1 0 1 3 1
The matrix is reduced to 0 1 2
1 − 2
0 0 0 0 0
The solution is x1 = 1 − r − 3s
x2 = −2 − 2r − s
x3 = r
x =s
4
1 2 − 2
Let A = and C = 7
. Determine whether C is
3 7 − 3 1
an inverse of A.
7 − 2 1 2 1 0
Solution: CA = = =I
− 3 1 3 7 0 1
1 0
Determine if A = is invertible.
2 2
Solution: We have
1 0 1 0 1 0
A I = = I B
0 1
1
2 20 1 0 1 −1 2
−1
1 0
Matrix A is invertible where A = 1
− 1 2
Solution: 1 0 −2
We have A = 4 −2 1
1 2 − 10
− 9 2 2
For inverse, A −1 9
= 412 4
2
− 5 1 1
x1 − 9 2 2 1 − 7
The solution is given by X = A−1B: 41
x = −
2 2
4 9
2
2
=
− 17
x 3 − 5 1 1 − 1 − 4