Types: N/A
Examples: N/A
Constructions: N/A
Generalizations: N/A

Properties: 10.3 Properties of Matrix-Column-Vector Multiplication
Sufficiencies: N/A
Questions: N/A

Example

Find the individual entries of vector b=Ax where

A=[343176012252]4×3 and x=[522]3×1

using 10.2 Matrix-Column-Vector Multiplication via Dot Products.

Solution. Using our definition of matrix-column-vector multiplication via dot products, we know

bi=[A(i,:)]Tx=[ai1ai2ain][x1x2xn]=ai1x1+ai2x2++ainxn

Recall that the inner dimensions must always agree.

[b]4×1=[A]4×3x3×1

Therefore, the outer dimensions will be the dimensions of our output vector, which is 4×1. With this information at hand, let's start with Entry 1 where i=1.

b1=[A(1,:)]Tx=[343]3×1[522]3×1=35+42+32=15+8+6=7+6b1=1

Let's continue with Entry 2 where i=2. Again, we are going to get the second row of A, transpose it, and take the 5.1 Inner Product Between Vectors with x.

b2=[A(2,:)]Tx=[176]3×1[522]3×1=15+72+62=5+14+12=912b2=3

Now, let's find Entry 3 where i=3.

b3=[A(3,:)]Tx=[012]3×1[522]3×1=05+12+22=0+2+4=2+4b3=2

Let's finish our entries with Entry 4 where i=4.

b4=[A(4,:)]Tx=[252]3×1[522]3×1=25+52+22=10+10+4=0+4b4=4

Finally, we can look at all 4 entries as the vector b.

b=[343176012252][522]=[1324]

Remark. Notice the "faster" way to do this calculation by hand.

[b1b2b3b4]=[35+42+3515+72+6505+12+2225+52+22]=[1324]

Although this is technically faster to write, this is not a great way to build deep understanding.