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.

60 Matrices<br />

on the left by a vector on the right, the numbers mak<strong>in</strong>g up the vector are just the scalars to be used <strong>in</strong> the<br />

l<strong>in</strong>ear comb<strong>in</strong>ation of the columns as illustrated above.<br />

Here is the formal def<strong>in</strong>ition of how to multiply an m × n matrix by an n × 1 column vector.<br />

Def<strong>in</strong>ition 2.13: Multiplication of Vector by Matrix<br />

Let A = [ a ij<br />

]<br />

be an m × n matrix and let X be an n × 1 matrix given by<br />

A =[A 1 ···A n ],X =<br />

⎡<br />

⎢<br />

⎣<br />

⎤<br />

x 1...<br />

⎥<br />

⎦<br />

x n<br />

Then the product AX is the m × 1 column vector which equals the follow<strong>in</strong>g l<strong>in</strong>ear comb<strong>in</strong>ation of<br />

the columns of A:<br />

n<br />

x 1 A 1 + x 2 A 2 + ···+ x n A n = ∑ x j A j<br />

j=1<br />

If we write the columns of A <strong>in</strong> terms of their entries, they are of the form<br />

⎡ ⎤<br />

a 1 j<br />

a 2 j<br />

A j = ⎢ ⎥<br />

⎣ . ⎦<br />

a mj<br />

Then, we can write the product AX as<br />

⎡ ⎤ ⎡<br />

a 11<br />

a 21<br />

AX = x 1 ⎢ ⎥<br />

⎣ . ⎦ + x 2 ⎢<br />

⎣<br />

a m1<br />

⎤<br />

a 12<br />

a 22<br />

⎥<br />

.<br />

a m2<br />

⎡<br />

⎦ + ···+ x n ⎢<br />

⎣<br />

⎤<br />

a 1n<br />

a 2n<br />

⎥<br />

. ⎦<br />

a mn<br />

Note that multiplication of an m × n matrix and an n × 1 vector produces an m × 1 vector.<br />

Here is an example.<br />

Example 2.14: A Vector Multiplied by a Matrix<br />

Compute the product AX for<br />

⎡<br />

A = ⎣<br />

1 2 1 3<br />

0 2 1 −2<br />

2 1 4 1<br />

⎤<br />

⎦,X =<br />

⎡<br />

⎢<br />

⎣<br />

1<br />

2<br />

0<br />

1<br />

⎤<br />

⎥<br />

⎦<br />

Solution. We will use Def<strong>in</strong>ition 2.13 to compute the product. Therefore, we compute the product AX as

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

Saved successfully!

Ooh no, something went wrong!