How the Column Space works
For a matrix A, the column space Col(A) — also called the range of A — is the set of every vector you can build as a linear combination of A's columns. Equivalently, Col(A) is the set of all vectors b for which the system Ax = b has a solution. This calculator works with a 3×2 matrix, so A has two column vectors living in ℝ³, and Col(A) is a subspace of ℝ³.
Formula and method
Let the two columns be c₁ = (a₁₁, a₂₁, a₃₁) and c₂ = (a₁₂, a₂₂, a₃₂). The calculator determines linear independence by computing the cross product c₁ × c₂:
- If both columns are the zero vector, rank = 0 and Col(A) is just the origin {0}.
- If the cross product is the zero vector (the columns are parallel, or one of them is zero), rank = 1 and Col(A) is the line through the origin in the direction of whichever column is nonzero.
- If the cross product is nonzero, the columns are linearly independent, rank = 2, and Col(A) is the plane through the origin with c₁ × c₂ as its normal vector — the plane's equation is (c₁ × c₂) · x = 0.
This mirrors the standard row-reduction method (reduce A to echelon form and keep the original columns that land under a pivot) but is solved directly for the 3×2 case using the cross product, which is defined precisely for two vectors in ℝ³.
Common sources of error
- Mixing up rows and columns: a₁₂ is row 1 of column 2, not row 2 of column 1 — double-check which entry goes where before reading results.
- Assuming near-parallel means parallel: columns that are close to, but not exactly, scalar multiples of each other are still linearly independent and give rank 2.
- Confusing column space with row space: they always share the same dimension (the rank) but are generally different subspaces spanned by different vectors.
Checking your result
Verify a rank-2 result by confirming the normal vector is genuinely perpendicular to both columns: the dot product of the normal with c₁ and with c₂ should both come out to 0 (allowing for tiny floating-point rounding). For rank 1, confirm the two columns really are scalar multiples of one another. For rank 0, both columns should show as exactly (0, 0, 0).
Applications
Column space comes up whenever you need to know which right-hand sides b make Ax = b solvable — in circuit analysis, computer graphics transformations, and least-squares curve fitting, among others. Its dimension (the rank) also tells you how much independent information the columns actually carry, which is the basis for rank-based data compression and for diagnosing redundant variables in a linear model.