Sections 1.1–1.2 looked at a linear system row by row (equations). Sections 1.3–1.4 look at the same system column by column (vectors). The punchline: solving a system, writing b as a linear combination of vectors, and solving Ax=b are the same problem, and all three are solved by row reducing the same augmented matrix.
Vectors in Rn (Lay §1.3)
A vector in Rn is an ordered list of n real numbers, written as a column (an n×1 matrix):
x=x1x2⋮xn∈Rn
Two vectors are equal iff their corresponding entries are equal, so [74]=[47] (order matters). The zero vector0 has every entry 0.
Size convention: an m×n matrix has mrows and ncolumns (row first). Each column of an m×n matrix is a vector in Rm.
Vector operations are done entry by entry:
u+v=u1+v1⋮un+vn,cu=cu1⋮cun
For example, with u=[1−2], v=[2−5]: 4u−3v=[4−8]+[−615]=[−27].
Geometry (in R2 and R3): a vector is an arrow from the origin to the point (x1,x2).
Parallelogram rule: u+v is the fourth vertex of the parallelogram with vertices 0,u,v.
cu stretches u by ∣c∣; it points the opposite way if c<0.
Algebraic properties of Rn (for all u,v,w and scalars c,d): u+v=v+u; (u+v)+w=u+(v+w); u+0=u; u+(−u)=0; c(u+v)=cu+cv; (c+d)u=cu+du; c(du)=(cd)u; 1u=u. In short: vectors behave just like numbers under + and scaling.
Linear Combinations & Weights
Given k vectors v1,…,vk∈Rn and scalars c1,…,ck, the vector
y=c1v1+c2v2+⋯+ckvk
is a linear combination of v1,…,vk with weightsc1,…,ck. Weights can be any real numbers, including 0 and negatives. For example, 3v1+v2, 21v1 and 0=0v1+0v2 are all linear combinations of v1,v2.
Vector Equation ⟺ Augmented Matrix
Question type: “Is b a linear combination of a1,…,an?” This asks whether the vector equation
x1a1+x2a2+⋯+xnan=b
has a solution. Writing it out entry by entry gives an ordinary linear system, whose augmented matrix simply has the vectors as its columns.
Key fact (Lay §1.3): The vector equation x1a1+⋯+xnan=b has the same solution set as the linear system whose augmented matrix is
[a1a2⋯anb].
In particular, b is a linear combination of a1,…,aniff this system is consistent.
Mini-example (Lay §1.3, Example 1)
Is b=74−3 a linear combination of a1=1−2−5, a2=256? Row reduce [a1a2b] with R2←R2+2R1, R3←R3+5R1, then R3←R3−916R2:
Consistent: x2=2, x1=7−4=3. So b=3a1+2a2 (check: 3(1,−2,−5)+2(2,5,6)=(7,4,−3) ✓).
Recognising inconsistency: if the echelon form has a row [0⋯0∣b] with b=0, the augmented column contains a pivot, the system is inconsistent, and b is not a linear combination of the ai. You only need echelon form (not RREF) to decide this.
Span{v1,…,vp}
The set of all linear combinations of v1,…,vp is called the span:
Span{v1,…,vp}={c1v1+⋯+cpvp:c1,…,cp∈R}
So “Is b∈Span{v1,…,vp}?” is exactly the question “Does x1v1+⋯+xpvp=b have a solution?”, i.e. “Is [v1⋯vp∣b] consistent?”
Every span contains 0 (all weights zero) and every vi (weight 1 on vi, 0 elsewhere).
Geometric picture in R3:
Set
Picture
Span{v}, v=0
all multiples cv: a line through the origin
Span{u,v}, v not a multiple of u
a plane through the origin containing u and v
Span{u,v}, v=cu
only the line through u (the second vector adds nothing new)
“Is b in the plane spanned by a1 and a2?” is a span question. If [a1a2∣b] is inconsistent, b sticks out of that plane.
Solved Examples (Textbook Questions)
Exercise 1
(Adapted from Lay §1.3, Exercises 5 and 6)
Write a system of equations that is equivalent to the given vector equation.
(a)x16−15+x2−340=1−7−5
(b)x1[−23]+x2[85]+x3[1−6]=[00]
Show solution ↓Hide solution ↑
Solution
Scale each vector by its weight, add entry by entry, and set equal to the right-hand side.
Determine if b is a linear combination of a1,a2,a3.
(a)a1=1−20,a2=012,a3=5−68,b=2−16
(b)a1=1−22,a2=055,a3=208,b=−511−7
Show solution ↓Hide solution ↑
Solution
“Is b a linear combination of a1,a2,a3?” is the same as “Does x1a1+x2a2+x3a3=b have a solution?”, i.e. “Is M=[a1a2a3∣b] consistent?” Row reduce until the pivots are visible.
No pivot in the augmented column, so the system is consistent: b is a linear combination of a1,a2,a3.
(Bonus: x3 is free, x1=2−5x3, x2=3−4x3. Taking x3=0: b=2a1+3a2. Check: (2,−4,0)+(0,3,6)=(2,−1,6) ✓. There are infinitely many choices of weights.)
The last row says 0=2: the augmented column has a pivot, so the system is inconsistent. b is not a linear combination of a1,a2,a3.
Exercise 4
(Adapted from Lay §1.3, Exercises 13 and 14)
Determine if b is a linear combination of the vectors formed from the columns of the matrix A.
(a)A=10−2−43825−4,b=3−7−3
(b)A=101−23−2−675,b=11−59
Show solution ↓Hide solution ↑
Solution
Call the columns a1,a2,a3 and row reduce [a1a2a3∣b] to echelon form.
(a) One operation does it: R3←R3+2R1:
10−2−43825−43−7−3∼100−4302503−73
Row 3 reads 0=3, so the system is inconsistent: b is not a linear combination of the columns of A.
(b)R3←R3−R1:
101−23−2−67511−59∼100−230−671111−5−2
This is echelon form with pivots in columns 1, 2, 3 and no pivot in the augmented column, so the system is consistent (in fact it has a unique solution). b is a linear combination of the columns of A.
The question only asks whetherb is a combination, so stop at echelon form. You do not need the actual weights (here they are messy fractions).