06.09.2021 Views

A First Course in Linear Algebra, 2017a

A First Course in Linear Algebra, 2017a

A First Course in Linear Algebra, 2017a

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.

2.1. Matrix Arithmetic 63<br />

Def<strong>in</strong>ition 2.16 gives us a way to calculate each column of AB, asfollows.<br />

⎡<br />

⎤<br />

<strong>First</strong> column<br />

{ }} {<br />

[ ] ⎡ Second column<br />

⎤ { }} {<br />

1 [ ] ⎡ Third column<br />

⎤ { }} {<br />

2 [ ] ⎡ ⎤<br />

0<br />

1 2 1<br />

⎣ 1 2 1<br />

0 ⎦,<br />

⎣ 1 2 1<br />

3 ⎦,<br />

⎣ 1 ⎦<br />

⎢ 0 2 1<br />

0 2 1<br />

0 2 1 ⎥<br />

⎣<br />

−2<br />

1<br />

1 ⎦<br />

You know how to multiply a matrix times a vector, us<strong>in</strong>g Def<strong>in</strong>ition 2.13 for each of the three columns.<br />

Thus<br />

[ ] ⎡ ⎤<br />

1 2 0 [ ]<br />

1 2 1<br />

⎣ 0 3 1 ⎦ −1 9 3<br />

=<br />

0 2 1<br />

−2 7 3<br />

−2 1 1<br />

S<strong>in</strong>ce vectors are simply n × 1or1× m matrices, we can also multiply a vector by another vector.<br />

Example 2.18: Vector Times Vector Multiplication<br />

⎡ ⎤<br />

1<br />

Multiply if possible ⎣ 2 ⎦ [ 1 2 1 0 ] .<br />

1<br />

♠<br />

Solution. In this case we are multiply<strong>in</strong>g a matrix of size 3 × 1byamatrixofsize1× 4. The <strong>in</strong>side<br />

numbers match so the product is def<strong>in</strong>ed. Note that the product will be a matrix of size 3 × 4. Us<strong>in</strong>g<br />

Def<strong>in</strong>ition 2.16, we can compute this product as follows<br />

⎡<br />

⎡<br />

⎣<br />

1<br />

2<br />

1<br />

⎤<br />

<strong>First</strong> column Second column Third column Fourth column<br />

⎤<br />

{ }} {<br />

⎦ [ 1 2 1 0 ] ⎡ ⎤ { ⎡ ⎤}} { { ⎡ ⎤}} { { ⎡ ⎤}} {<br />

1<br />

=<br />

⎣ 2 ⎦ [ 1 ] 1<br />

, ⎣ 2 ⎦ [ 2 ] 1<br />

, ⎣ 2 ⎦ [ 1 ] 1<br />

, ⎣ 2 ⎦ [ 0 ] ⎢<br />

⎥<br />

⎣ 1 1 1 1 ⎦<br />

You can use Def<strong>in</strong>ition 2.13 to verify that this product is<br />

⎡<br />

1 2 1<br />

⎤<br />

0<br />

⎣ 2 4 2 0 ⎦<br />

1 2 1 0<br />

♠<br />

Example 2.19: A Multiplication Which is Not Def<strong>in</strong>ed<br />

F<strong>in</strong>d BA if possible.<br />

⎡<br />

B = ⎣<br />

1 2 0<br />

0 3 1<br />

−2 1 1<br />

⎤<br />

⎦,A =<br />

[<br />

1 2 1<br />

0 2 1<br />

]

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

Saved successfully!

Ooh no, something went wrong!