Vector Spaces & Linear Independence Lab
Visualize span and linear independence in 2D. Row-reduce matrices to reduced echelon form with every elementary row operation shown. Find null space and column space bases and verify the rank-nullity theorem.
Guided Experiment: Span of 1 vs 2 Vectors in R²
What is the span of a single nonzero vector in R²? What happens when you add a second independent vector? A third vector that is a linear combination of the first two?
Write your hypothesis in the Lab Report panel, then click Next.
Vector Visualization (R²)
Controls
Independence Analysis
Data Table
(0 rows)| # | Input | Rank | Nullity | Independent? | Basis Vectors |
|---|
Reference Guide
Linear Independence
Vectors are linearly independent if no vector in the set can be written as a combination of the others. Equivalently, the only solution to the equation below is all zeros.
For square matrices, the vectors are independent exactly when the determinant is non-zero.
Row Echelon Form
Gaussian elimination uses three row operations (swap, scale, eliminate) to transform a matrix into reduced row echelon form (RREF).
Pivot columns correspond to independent variables. Non-pivot columns are free variables.
Null Space & Column Space
The null space of A is the set of all vectors x where Ax = 0. The column space is the set of all possible outputs Ax.
Null space basis vectors come from free variables in RREF. Column space basis is the original pivot columns.
Rank-Nullity Theorem
For any m by n matrix, the rank (number of pivot columns) plus the nullity (dimension of null space) equals the number of columns.
This theorem always holds and connects the dimensions of the column space and null space.