06.09.2021 Views

Fundamentals of Matrix Algebra, 2011a

Fundamentals of Matrix Algebra, 2011a

Fundamentals of Matrix Algebra, 2011a

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 2<br />

.<br />

<strong>Matrix</strong> Arithmec<br />

⎡ ⎤<br />

1<br />

2. ⃗v⃗y = [ 2 0 1 −1 ] ⎢ 2<br />

⎥<br />

⎣ 5 ⎦ = 2(1) + 0(2) + 1(5) − 1(0) = 7<br />

0<br />

3. ⃗u⃗y is not defined; Definion 13 specifies that in order to mulply a row vector<br />

and column vector, they must have the same number <strong>of</strong> entries.<br />

4. ⃗u⃗v is not defined; we only know how to mulpy row vectors by column vectors.<br />

We haven’t defined how to mulply two row vectors (in general, it can’t<br />

be done).<br />

5. The product ⃗x⃗u is defined, but we don’t know how to do it yet. Right now, we<br />

only know how to mulply a row vector mes a column vector; we don’t know<br />

how to mulply a column vector mes a row vector. (That’s right: ⃗u⃗x ≠ ⃗x⃗u!)<br />

Now that we understand how to mulply a row vector by a column vector, we are<br />

ready to define matrix mulplicaon.<br />

.<br />

Ḋefinion 14<br />

<strong>Matrix</strong> Mulplicaon<br />

.<br />

Let A be an m × r matrix, and let B be an r × n matrix. The<br />

matrix product <strong>of</strong> A and B, denoted A·B, or simply AB, is the<br />

m × n matrix M whose entry in the i th row and j th column is<br />

the product <strong>of</strong> the i th row <strong>of</strong> A and the j th column <strong>of</strong> B.<br />

It may help to illustrate it in this way. Let matrix A have rows ⃗a 1 , ⃗a 2 , · · · , ⃗a m and let<br />

B have columns ⃗b 1 , ⃗b 2 , · · · , ⃗b n . Thus A looks like<br />

⎡<br />

⎤<br />

− ⃗a 1 −<br />

− ⃗a 2 −<br />

⎢<br />

⎣<br />

⎥<br />

. ⎦<br />

− ⃗a m −<br />

where the “−” symbols just serve as reminders that the ⃗a i represent rows, and B looks<br />

like<br />

⎡<br />

| | |<br />

⎤<br />

⎣ ⃗b 1<br />

⃗b 2 · · · ⃗b n<br />

⎦<br />

| | |<br />

where again, the “|” symbols just remind us that the ⃗b i represent column vectors. Then<br />

⎡<br />

⎤<br />

⃗a 1<br />

⃗b 1 ⃗a 1<br />

⃗b 2 · · · ⃗a 1<br />

⃗b n<br />

⃗a 2<br />

⃗b 1 ⃗a 2<br />

⃗b 2 · · · ⃗a 2<br />

⃗b n<br />

AB = ⎢<br />

⎣<br />

.<br />

. . ..<br />

. ⎥<br />

⎦ .<br />

⃗a m<br />

⃗b 1 ⃗a m<br />

⃗b 2 · · · ⃗a m<br />

⃗b n<br />

54

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

Saved successfully!

Ooh no, something went wrong!