Basis
A basis is the smallest set of vectors that still describes an entire space: linearly independent (no redundancy) and spanning (nothing left out). This lesson shows how to recognize a basis, why every basis of has exactly vectors, and how to test a given set fast.
Before you start — give these a try
Attempting first primes your brain for the lesson — even if you miss. Nothing is graded or saved; it's just a warm-up.
True or False: the set is a basis of .
Compute the determinant of the matrix whose columns are and . (A nonzero value confirms these two vectors form a basis of .)
What you’ll be able to do
- State the definition of a basis as a set that is both linearly independent and spanning.
- Write down the standard basis of and explain why it qualifies.
- Determine how many vectors any basis of must contain.
- Decide whether a given set of vectors is a basis of or .
- Use the determinant / invertibility criterion to confirm a basis quickly.
In your course
· MATH2015 · Linear Algebra & Probability- Definition 2.6Basis: spanning + linearly independent
- Theorem 2.3Basis as an optimal spanning setIf is -dimensional: (a) any set of more than vectors is linearly dependent; (b) no set of fewer than vectors spans ; (c) vectors form a basis iff they span ; (d) vectors form a basis iff they are linearly independent.
- Proposition 2.2Basis ⟺ unique representation
Intuition: a basis is a coordinate system
Think of a basis as a minimal set of building blocks for a space. In the plane , the two arrows (pointing right) and (pointing up) let you reach any point: the point is just steps right and steps down, i.e. Two properties make this work, and a basis is exactly the set that has both:
- Nothing is wasted (independence). None of the building blocks is redundant — you cannot build one of them out of the others. If you tried to use and , the second adds no new direction, so you could never leave the -axis.
- Nothing is missing (spanning). The building blocks are enough to reach every vector in the space. Using only you can reach the -axis but never .
When both hold, every vector has exactly one recipe in terms of the basis. Those unique numbers above are the coordinates of the vector. A basis is what turns an abstract space into a grid you can do arithmetic on.
The formal definition
Let be a vector space (for us, usually ). A set of vectors in is a basis of if:
- is linearly independent: the only scalars with are . (Here is the zero vector and the are real numbers.)
- spans : every vector can be written as some combination
Put together, these guarantee the key payoff: unique representation. Every equals for one and only one choice of scalars. Spanning gives at least one way; independence forbids a second way. A quick consequence: the zero vector can never belong to a basis, since any set containing is automatically dependent (take ).
Bases of $\mathbb{R}^n$ and the magic number $n$
The most familiar basis of is the standard basis , where is the vector with a in position and everywhere else. For : These are clearly independent and clearly span, so they form a basis.
The deep fact is that the count never changes: every basis of has exactly vectors. This number is the dimension of the space. Two useful shortcuts follow for :
- Fewer than vectors can never span (too few to reach everything).
- More than vectors are always dependent (too many to avoid redundancy).
So only a set of exactly vectors has any chance of being a basis of . And when you have exactly of them, the two conditions collapse into one: for vectors in , linearly independent spanning. Checking either one is enough.
How to check if a set is a basis
Given a candidate set in , run this checklist:
Step 1 — Count. How many vectors? If it is not exactly , stop: it is not a basis (too few to span, or too many to be independent).
Step 2 — Test the vectors. Place the vectors as the columns of an matrix . Then the set is a basis of if and only if is invertible, which you can detect by A nonzero determinant means the columns are independent (and therefore spanning), so they form a basis. A zero determinant means they are dependent, so they do not.
Example of the quick test. Is a basis of ? Form . Then , so it is not a basis — indeed . This determinant test is the workhorse for every basis question in .
A set in a vector space is a basis of if (1) is linearly independent and (2) spans . Equivalently, is a basis iff every vector in can be written as a linear combination of the in exactly one way.
If has a finite basis, then every basis of has the same number of vectors. For , that number is , and is called the dimension of the space.
Let and let be the matrix with these vectors as its columns. Then is a basis of if and only if is invertible, i.e. .
Worked examples
Determine whether is a basis of .
- 1
Step 1 — Count the vectors. We have vectors in , so and the count matches. A set of exactly vectors in can be a basis, so it is worth testing further. (Had we been given or vectors, we could stop immediately.)
- 2
Step 2 — Build the matrix. Place the two vectors as the columns of a matrix: The first column is and the second is .
- 3
Step 3 — Compute the determinant. For a matrix , the determinant is . Here
- 4
Step 4 — Interpret. Since , the matrix is invertible, so by the Invertible Matrix Characterization the columns are linearly independent. Because we have exactly independent vectors in , they automatically span as well.
- 5
Step 5 — Conclude. Both basis conditions hold, so is a basis of .
Is a basis of ?