06.09.2021 Views

College Algebra, 2013a

College Algebra, 2013a

College Algebra, 2013a

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

8.3 Matrix Arithmetic 583<br />

While the solution to the previous example is written in excruciating detail, in practice many of<br />

the steps above are omitted. We have spelled out each step in this example to encourage the reader<br />

to justify each step using the definitions and properties we have established thus far for matrix<br />

arithmetic. The reader is encouraged to solve the equation in Example 8.3.1 as they would any<br />

other linear equation, for example: 3a − (2 + 5a) =−4+ 1 3 (9).<br />

We now turn our attention to matrix multiplication - that is, multiplying a matrix by another<br />

matrix. Based on the ‘no surprises’ trend so far in the section, you may expect that in order to<br />

multiply two matrices, they must be of the same size and you find the product by multiplying the<br />

corresponding entries. While this kind of product is used in other areas of mathematics, 6 we define<br />

matrix multiplication to serve us in solving systems of linear equations. To that end, we begin by<br />

defining the product of a row and a column. We motivate the general definition with an example.<br />

Consider the two matrices A and B below.<br />

[<br />

A =<br />

2 0 −1<br />

−10 3 5<br />

]<br />

⎡<br />

B = ⎣<br />

3 1 2 −8<br />

4 8 −5 9<br />

5 0 −2 −12<br />

Let R1 denote the first row of A and C1 denote the first column of B. To find the ‘product’ of R1<br />

with C1, denoted R1·C1, we first find the product of the first entry in R1 and the first entry in C1.<br />

Next, we add to that the product of the second entry in R1 and the second entry in C1. Finally,<br />

we take that sum and we add to that the product of the last entry in R1 andthelastentryinC1.<br />

Using entry notation, R1·C1 =a 11 b 11 +a 12 b 21 +a 13 b 31 = (2)(3)+(0)(4)+(−1)(5) = 6+0+(−5) = 1.<br />

We can visualize this schematically as follows<br />

−−−−−−−−−→ 3<br />

2 0 −1 4<br />

⏐<br />

5 ↓<br />

} {{ }<br />

[<br />

2 0 −1<br />

−10 3 5<br />

] ⎡ ⎣<br />

3 1 2 −8<br />

4 8 −5 9<br />

5 0 −2 −12<br />

−−−−−−−−−→ 3<br />

2 0 −1 4<br />

⏐<br />

5 ↓<br />

} {{ }<br />

a 11 b 11 + a 12 b 21 + a 13 b 31<br />

(2)(3) + (0)(4) + (−1)(5)<br />

⎤<br />

⎦<br />

⎤<br />

⎦<br />

−−−−−−−−−→ 3<br />

2 0 −1 4<br />

⏐<br />

5 ↓<br />

} {{ }<br />

To find R2 · C3 whereR2 denotes the second row of A and C3 denotes the third column of B, we<br />

proceed similarly. We start with finding the product of the first entry of R2 with the first entry in<br />

C3 then add to it the product of the second entry in R2 with the second entry in C3, and so forth.<br />

Using entry notation, we have R2·C3 =a 21 b 13 +a 22 b 23 +a 23 b 33 =(−10)(2)+(3)(−5)+(5)(−2) = −45.<br />

Schematically,<br />

[<br />

2 0 −1<br />

−10 3 5<br />

6 See this article on the Hadamard Product.<br />

] ⎡ ⎣<br />

3 1 2 −8<br />

4 8 −5 9<br />

5 0 −2 −12<br />

⎤<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!