Definition: If A is an m×n matrix with columns a1,…,an and if x is in Rn, then the product of A and x, denoted by Ax, is
[a1…an]x1⋮xn=x1a1+…+xnan.
Example 1:
[102−5−13]437=4[10]+3[2−5]+7[−13]=[36].
28−5−302[47]=428−5+7−302=−1332−6.
Row vector rule: If A is an m×n matrix with rows b1⋮bm and if x is in Rn, then the product of A and x, denoted by Ax, is equal to
b1⋮bmx=b1⋅x⋮bm⋅x.
Example 2: For v1,v2,v3 in Rm, write the linear combination 3v1−5v2+7v3 as a matrix times a vector.