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 67<br />

Substitut<strong>in</strong>g <strong>in</strong> the appropriate values, this product becomes<br />

⎡ ⎤<br />

⎡<br />

[ ]<br />

b 11<br />

a21 a 22 a 23<br />

⎣ b 21<br />

⎦ = [ 7 6 2 ] 1<br />

⎣ 3<br />

b 31 2<br />

⎤<br />

⎦ = 1 × 7 + 3 × 6 + 2 × 2 = 29<br />

Hence, (AB) 21 = 29.<br />

You should take a moment to f<strong>in</strong>d a few other entries of AB. You can multiply the matrices to check<br />

that your answers are correct. The product AB is given by<br />

⎡ ⎤<br />

13 13<br />

AB = ⎣ 29 32 ⎦<br />

0 0<br />

♠<br />

2.1.5 Properties of Matrix Multiplication<br />

As po<strong>in</strong>ted out above, it is sometimes possible to multiply matrices <strong>in</strong> one order but not <strong>in</strong> the other order.<br />

However, even if both AB and BA are def<strong>in</strong>ed, they may not be equal.<br />

Example 2.24: Matrix Multiplication is Not Commutative<br />

[ 1 2<br />

3 4<br />

Compare the products AB and BA,formatricesA =<br />

]<br />

,B =<br />

[ 0 1<br />

1 0<br />

]<br />

Solution. <strong>First</strong>, notice that A and B are both of size 2×2. Therefore, both products AB and BA are def<strong>in</strong>ed.<br />

The first product, AB is<br />

[ ][ ] [ ]<br />

1 2 0 1 2 1<br />

AB =<br />

=<br />

3 4 1 0 4 3<br />

The second product, BA is [ 0 1<br />

1 0<br />

Therefore, AB ≠ BA.<br />

][ 1 2<br />

3 4<br />

]<br />

=<br />

[ 3 4<br />

1 2<br />

]<br />

♠<br />

This example illustrates that you cannot assume AB = BA even when multiplication is def<strong>in</strong>ed <strong>in</strong> both<br />

orders. If for some matrices A and B it is true that AB = BA, thenwesaythatA and B commute. Thisis<br />

one important property of matrix multiplication.<br />

The follow<strong>in</strong>g are other important properties of matrix multiplication. Notice that these properties hold<br />

only when the size of matrices are such that the products are def<strong>in</strong>ed.

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

Saved successfully!

Ooh no, something went wrong!