Chapter 6 — Vectors, Linear Combinations, and Span
The equation $Ax=b$ can be read column by column: $Ax=x_1a_1+\cdots+x_na_n$. Solving a system asks whether $b$ can be built from the columns of $A$.
Vectors and linear combinations
Vector
A vector in $\mathbb R^n$ is an ordered list of $n$ real numbers. It may represent an arrow, a point, a signal, an image, or a data feature vector.
Linear combination
A linear combination of $v_1,\ldots,v_k$ is
Interactive: compute a linear combination
Span in $\mathbb R^2$
One nonzero vector spans a line through the origin. Two vectors in different directions span all of $\mathbb R^2$.
Interactive: build $c_1v_1+c_2v_2$
Membership in a span
Interactive: is $b$ in the span of the columns?
$Ax=b$ as a column picture
Row picture
Each row is an equation. In $\mathbb R^2$, equations are lines; solving means finding their intersection.
Column picture
The columns are building blocks. Solving means finding coefficients so their weighted sum equals $b$.
Chapter summary
Span
$\operatorname{span}\{v_1,\ldots,v_k\}$ is the set of all linear combinations of the vectors.
Consistency
$Ax=b$ is consistent exactly when $b$ lies in the span of the columns of $A$.
Quick checks
What is the span of one nonzero vector in $\mathbb R^2$?
A line through the origin.
Can two vectors span all of $\mathbb R^3$?
No. At most, two vectors span a line or a plane.
What does $Ax=b$ ask in the column picture?
Whether $b$ is a linear combination of the columns of $A$.