Basis Check
Decide whether a set of vectors forms a basis by checking square shape and full pivot rank.
Reject a dependent square set
Two vectors in R² could form a basis only if they were independent. Their rank is 1, so this set fails.
basis([[1, 2], [2, 4]])Confirm the standard basis
The identity columns are independent and there are exactly two of them in R². Full rank confirms a basis.
basis([[1, 0], [0, 1]])Check the vector count too
Three vectors in R² have the wrong count even though the matrix has rank 2. A basis requires both square shape and full rank.
basis([[1, 0], [0, 1], [1, 1]])Practice
Practice: problems like this one, made and checked in your browser.
Recap
- A basis requires the correct number of vectors for the space.
- Those vectors must also be independent.
- A square matrix with full rank certifies both conditions.