Vector Basis — Definition, Formula & Examples
A vector basis is a set of linearly independent vectors that spans an entire vector space, meaning every vector in that space can be written as a unique linear combination of the basis vectors.
A set is a basis for a vector space if (1) the vectors in are linearly independent and (2) every vector can be expressed as for unique scalars . The number is the dimension of .
Key Formula
Where:
- = Any vector in the vector space
- = The basis vectors
- = Unique scalar coefficients (coordinates relative to the basis)
How It Works
To verify that a set of vectors forms a basis, you check two conditions: linear independence and spanning. For , a set of vectors forms a basis if and only if the matrix formed by placing them as columns has a nonzero determinant. The standard basis for , for instance, is where , , and . Any other valid basis for must also contain exactly three linearly independent vectors.
Worked Example
Problem: Show that the set is a basis for , then express the vector in terms of this basis.
Check linear independence: Form a matrix with these vectors as columns and compute its determinant.
Confirm basis: Since the determinant is nonzero, the two vectors are linearly independent. Two linearly independent vectors in always span , so this is a basis.
Find coordinates of (7, 8): Solve , which gives the system and . From the second equation, . Substituting: , so , giving and .
Answer: The set is a basis for , and .
Why It Matters
Bases are central to linear algebra courses and appear whenever you need coordinate representations, change-of-basis transformations, or dimensional analysis. In computer graphics and machine learning, choosing the right basis (such as eigenvectors for PCA) directly determines how efficiently data is represented and processed.
Common Mistakes
Mistake: Assuming any spanning set is a basis without checking linear independence.
Correction: A spanning set can contain redundant vectors. You must verify that no vector in the set can be written as a linear combination of the others. For , a basis requires exactly linearly independent vectors.
