06.09.2021 Views

Linear Algebra, Theory And Applications, 2012a

Linear Algebra, Theory And Applications, 2012a

Linear Algebra, Theory And Applications, 2012a

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

40 MATRICES AND LINEAR TRANSFORMATIONS<br />

Thus the i th entry of Av is ∑ n<br />

j=1 A ijv j . Note that multiplication by an m × n matrix takes<br />

an n × 1 matrix, and produces an m × 1 matrix (vector).<br />

Here is another example.<br />

Example 2.1.4 Compute<br />

⎛<br />

⎛<br />

⎝ 1 2 1 3<br />

⎞<br />

0 2 1 −2 ⎠ ⎜<br />

⎝<br />

2 1 4 1<br />

1<br />

2<br />

0<br />

1<br />

⎞<br />

⎟<br />

⎠ .<br />

First of all, this is of the form (3 × 4) (4 × 1) and so the result should be a (3 × 1) .<br />

Note how the inside numbers cancel. To get the entry in the second row and first and only<br />

column, compute<br />

4∑<br />

a 2k v k = a 21 v 1 + a 22 v 2 + a 23 v 3 + a 24 v 4<br />

k=1<br />

You should do the rest of the problem and verify<br />

⎛<br />

⎛<br />

⎝ 1 2 1 3 ⎞<br />

0 2 1 −2 ⎠ ⎜<br />

⎝<br />

2 1 4 1<br />

= 0× 1+2× 2+1× 0+(−2) × 1=2.<br />

1<br />

2<br />

0<br />

1<br />

⎞<br />

⎛<br />

⎟<br />

⎠ = ⎝ 8 2<br />

5<br />

With this done, the next task is to multiply an m × n matrix times an n × p matrix.<br />

Before doing so, the following may be helpful.<br />

these must match<br />

(m × ̂n) (n × p )=m × p<br />

If the two middle numbers don’t match, you can’t multiply the matrices!<br />

Definition 2.1.5 Let A be an m × n matrix and let B be an n × p matrix. Then B is of<br />

the form<br />

B =(b 1 , ··· , b p )<br />

where b k is an n × 1 matrix. Then an m × p matrix AB is defined as follows:<br />

⎞<br />

⎠ .<br />

AB ≡ (Ab 1 , ··· ,Ab p ) (2.10)<br />

where Ab k is an m × 1 matrix. Hence AB as just defined is an m × p matrix. For example,<br />

Example 2.1.6 Multiply the following.<br />

(<br />

1 2 1<br />

0 2 1<br />

) ⎛ ⎝<br />

1 2 0<br />

0 3 1<br />

−2 1 1<br />

The first thing you need to check before doing anything else is whether it is possible to<br />

do the multiplication. The first matrix is a 2×3 and the second matrix is a 3×3. Therefore,<br />

⎞<br />

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

Saved successfully!

Ooh no, something went wrong!