Professional Documents
Culture Documents
ENGINEERING
Matrices and Matrix Operations
Section 1. 3
(A)ij = aij
(A+B)ij = (A)ij +(B)ij = aij +bij and (A−B)ij = (A)ij −(B)ij = aij −bij
Example
Consider the matrices
2 1 0 3 −4 3 5 1
1 1
A = −1 0 2 4 , B= 2 2 0 −1 , C=
2 2
4 −2 7 0 3 2 −4 5
Then
−2 4 5 4 6 −2 −5 2
A + B = 1 2 2 3 and A − B = −3 −2 2 5
7 0 3 5 1 −4 11 −5
Example
2 3 4 0 2 7 9 −6 3
A= , B= , C=
1 3 1 −1 3 −5 3 0 12
we have
4 6 8 0 −2 −7 1 3 −2 1
2A = , (−1)B = , C=
2 6 2 1 −3 5 3 1 0 4
(1 · 4) + (2 · 0) + (4 · 2) = 12
(1 · 1) − (2 · 1) + (4 · 7) = 27
(1 · 4) + (2 · 3) + (4 · 5) = 30
(2 · 4) + (6 · 0) + (0 · 2) = 8
(2 · 1) − (6 · 1) + (0 · 7) = −4
(2 · 3) + (6 · 1) + (0 · 2) = 12
Example
Suppose that A, B, and C are matrices with the following sizes:
A B C
3×4 4×7 7×3
c1 A1 + c2 A2 + · · · + cr Ar
Example
We showed that
4 1 4 3
1 2 4 0 −1 3 1 = 12 27 30 13
AB =
2 6 0 8 −4 26 12
2 7 5 2
c1 r1 + c2 r2 + · · · + cr rr
Example
Find the column-row expansion of the product
1 3 2 0 4
AB =
2 −1 −3 5 1
Example
The matrix product
−1 3 2 2 1
1 2 −3 −1 = −9
2 1 −2 3 −3