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

Properties: N/A
Sufficiencies: N/A
Questions: N/A

Row-Vector-Matrix Multiplication via Dot Products

Find the individual entries of b=xTA via 10.5 Row-Vector-Matrix Multiplication via Dot Products where

A=[343176012252]andx=[2153]

Solution. Recall our definition of row-vector-matrix multiplication via dot products.

[b]1×n=[xT]1×m[A]m×nbk=entry(1,k)(xTA)=xA(:,k)=i=1maikxi

Using our definition, let's first check if our inner dimensions agree.

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

Now that we know the inner dimensions agree, we can generate our first output of b.

b1=xA(:,1)1. Dot product definition of RVMM=[2153][3102]2. Take inner product=(2)(3)+(1)(1)+(5)(0)+(3)(2)3. Multiply out=6+1+0+64. Take sum of products=15. Final value of entry 1 of output vector

We continue this process until m=3.

b2=xA(:,2)=[2153][4715]=(2)(4)+(1)(7)+(5)(1)+(3)(5)=8+7+5+15=9b3=xA(:,3)=[2153][3622]=(2)(3)+(1)(6)+(5)(2)+(3)(2)=6+6+10+6=18

Finally, we can place each of our entry values into the appropriate column to form the vector

b=[b1b2b3]=[1918]