Vector Spaces
A vector space has dimension = size of a basis. Span = all linear combinations. Vectors are linearly independent iff no non-trivial combination gives zero. rank = dimension of column space.
Why This Mathematical Concept Matters
Why: Vector spaces underpin linear algebra: solving Ax=b, eigenvalues, and change of basis. Dimension = degrees of freedom.
How: Stack vectors as rows; row-reduce to RREF. Pivot columns = basis. Rank = # pivots. Null space from free variables.
- ●rank + nullity = n (columns).
- ●Basis = maximal linearly independent set.
- ●Span = smallest subspace containing vectors.
Quick Examples — Click to Load
Vectors (rows)
3
Yes
Metrics (Bar)
Independence (Doughnut)
Calculation Steps
⚠️For educational and informational purposes only. Verify with a qualified professional.
🧮 Fascinating Math Facts
dim(span) = rank
Basis = min spanning set
Key Takeaways
- • Dimension = rank = # of linearly independent vectors in a basis.
- • Span = all linear combinations of the vectors.
- • Basis = maximal linearly independent subset.
- • Linear independence: c₁v₁ + ... + cₙvₙ = 0 ⟹ all cᵢ = 0.
- • Rank = dimension of row space = dimension of column space.
Did You Know?
How It Works
1. Form matrix: Vectors as rows (or columns).
2. Row reduce: Gaussian elimination to row echelon form.
3. Rank: Number of pivot columns = dimension of span.
4. Basis: Original vectors corresponding to pivot columns.
dim(span) = rank = # pivot columns
Independent ⟺ rank = # vectors
Expert Tips
m vectors in Rⁿ
If m > n, vectors must be dependent.
Standard Basis
e₁,...,eₙ in Rⁿ always independent.
Zero Vector
Any set containing 0 is dependent.
Orthogonal
Non-zero orthogonal vectors are independent.
Comparison Table
| Feature | This Calculator | NumPy | Manual |
|---|---|---|---|
| Dimension & Rank | ✅ | ✅ | ⚠️ |
| Basis identification | ✅ | ❌ | ⚠️ |
| Bar & Doughnut charts | ✅ | ❌ | ❌ |
| 8 preset examples | ✅ | ❌ | ❌ |
FAQ
What is the dimension of a vector space?
Number of vectors in any basis. Equals the rank.
What is a basis?
Maximal linearly independent set that spans the space.
What is the span?
Set of all linear combinations c₁v₁ + ... + cₙvₙ.
When are vectors linearly independent?
When c₁v₁ + ... + cₙvₙ = 0 ⟹ all cᵢ = 0.
What is the rank of a matrix?
Dimension of row space = dimension of column space.
Can 4 vectors in R³ be independent?
No. Max 3 independent vectors in R³.
What is the null space?
Vectors v with Av = 0. Dimension = n - rank.
How does row reduction work?
Gaussian elimination: pivot, eliminate, repeat. Pivots = rank.
Stats
Sources
- • Gilbert Strang, Linear Algebra and Its Applications
- • Khan Academy: khanacademy.org
- • MIT 18.06: ocw.mit.edu
- • Wolfram MathWorld: mathworld.wolfram.com
- • 3Blue1Brown: 3blue1brown.com
- • Axler, Linear Algebra Done Right
Disclaimer: For educational purposes. Uses JavaScript floating-point. Verify critical calculations independently.
Related Calculators
Column Space Calculator
Column Space Calculator - Calculate and learn about linear-algebra concepts
MathematicsNull Space Calculator
Null Space Calculator - Calculate and learn about linear-algebra concepts
MathematicsSVD Calculator
S V D Calculator - Calculate and learn about linear-algebra concepts
MathematicsPseudoinverse Calculator
Pseudoinverse Calculator - Calculate and learn about linear-algebra concepts
MathematicsL U Decomposition Calculator
L U Decomposition Calculator - Calculate and learn about linear-algebra concepts
MathematicsQ R Decomposition Calculator
Q R Decomposition Calculator - Calculate and learn about linear-algebra concepts
Mathematics