Difference between vectors and span

  1. When we write $\{a_1,a_2,a_3\}$, it's simply a set notation denoting a list consisting in $a_1,a_2$ and $a_3$. In this notation, we have $\{a,a,b\} = \{a,b\}$. Since $a_1,a_2$ and $a_3$ are distinct, $\{a_1,a_2,a_3\}$ has three vectors. This has nothing to do with linear algebra.
  2. $W=\mathrm{span}\{a_1,a_2,a_3\} = \{c_1a_1 + c_2a_2 + c_3a_3 \mid c_1,c_2,c_3 \in \Bbb F\}$, where $\Bbb F$ is the field (usually $\Bbb R$ or $\Bbb C$) on which the vector space is defined. So $W$ is a linear combination of $a_1,a_2$ and $a_3$, so $W$ has infinitely any elements.

Two vectors in $\mathbf{R}^{3}$ are equal if and only if their corresponding components are equal. If $a \neq 0$, then $a$ and $2a$ (for example) are distinct. Since the columns of the matrix $A$ are distinct, the set $\{a_{1}, a_{2}, a_{3}\}$ has three elements. If $A$ had been the zero matrix, or (for example) the matrix $$ A = \left[\begin{array}{ccc} 1 & 1 & 1 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \\ \end{array}\right], $$ its set of columns would have had just one element.


The span of a set of vectors $\{a_1, a_2, a_3\}$ is the set of all linear combinations of those vectors. For example $3a_1+2a_2-a_3$ is in $W$, because it can be written as the linear combination above. So, the span of this set has infinitely many vectors in it, because there are infinitely many scalars to choose from in this case. However, the spanning set may have only finitely many vectors. Also note that $a_1 \not= 2a_1$ because the vectors do not contain the same components. Think of the set of vectors like a recipe that only tells you what ingredients to use, but not how much of each to use: you can make infinitely many dishes by adding a little more, or a little less of each ingredient, but you only have finitely many ingredients.