Up Main page

Linear combination of columns

Consider the system given by Ax=b where A=[123456], x=[x1x2x3], and b=[78].

Recall that Ax in this case denotes the tuple [x1+2x2+3x34x1+5x2+6x3].

Using tuple arithmetic, this tuple can be written as x1[14]+x2[25]+x3[36].

What we have here is called a linear combination of the tuples [14], [25], and [36]. (In general, a linear combination of the tuples t1,,tk has the form a1t1+a2t2++aktk where ai is a scalar for each i=1,,k.)

The question of whether or not Ax=b has a solution can be interpreted as follows: Is b a linear combination of the columns of A?

In general, if A=[A1An] where Ai is the ith column of A and x=[x1xn], then Ax=x1A1+x2A2++xnAn. Solving Ax=b means finding a linear combination of A1,,An that gives b.

Quick Quiz

Exercises

For each of the following, write it as a linear combination of tuples with x,y,z as scalars.

  1. [x+2yzy+z2x]

  2. [2zy+xxy+zy+2x]