Geometrically, a vector is an arrow from the origin. Numerically, it is a list of coordinates telling you how much of each basis vector to combine. In 2D the standard basis is and , so means three steps along plus two along .
A linear combination scales and adds vectors: . The span is every point you can reach that way. If one vector is a multiple of another, they are linearly dependent and add no new direction.
In AI, an embedding is a vector with hundreds of dimensions. You cannot picture 768 dimensions, but the same operations (add, scale, measure angle) work identically.
A basis is a set of ingredients; a vector is a recipe saying how much of each to use.
Going deeper
Linear independence and dimension: n independent vectors span an n-dimensional space. Embedding models choose a dimension (384, 768, 1536…) that sets how many independent directions of meaning are available.
Norms measure size: L2 (Euclidean length) is the default; L1 (sum of absolute values) appears in Lasso. Normalising a vector to unit L2 length keeps only its direction.
Best resources for this lesson
- Interactive3Blue1Brown: vectors, span and linear combinations · the lesson pages pair each video with notes
- BookMathematics for Machine Learning, ch. 2 · free PDF
Where this comes back
- Week 12Word2Vec places words as vectors where directions carry meaning.