Linear Algebra – Vector Spaces, Row Spaces, Column Spaces (Lecture 09)
Definition
A vector space is a collection of objects (called vectors) where two operations are always valid:
- Vector addition
- Scalar multiplication
These operations must follow specific rules (axioms) so the system remains consistent.
A row space is the set of all linear combinations of the row vectors of a matrix.
A column space is the set of all linear combinations of the column vectors of a matrix.
Key Points
1. Vector Spaces
A vector space must satisfy 8 rules:
Vector Addition Rules
-
Commutative: ( )
-
Associative: ( )
-
Identity element: ( )
-
Inverse element: ( )
Scalar Multiplication Rules
-
Distributive: ( )
-
Associativity: ( )
-
Identity scalar: ( )
2. Sets and Spaces
-
A set is a collection of elements.
-
Empty set: ( )
-
A vector space is a set with defined rules for addition and scalar multiplication.
3. Vector Addition Example
In ( ):
Scaling:
4. Linear Combination
A vector ( w ) is a linear combination of vectors ( v_1, v_2, …, v_r ) if:
Where:
- ( ) are scalars (coefficients)
5. Span
The span of a vector is all possible vectors created by scaling it.
Example:
If
Then:
This creates a line through the origin.
Examples of span points:
6. Span of Multiple Vectors
If we have:
Then:
is all linear combinations:
7. Basis
A basis is a set of vectors that:
- Generate the space (span it)
- Are linearly independent
Example in ( \mathbb{R}^2 ):
These generate the whole 2D plane.
8. Row Space
- The row space is formed by all linear combinations of row vectors.
- Row operations help determine:
- Rank
- Linear independence
- Dependence among equations
9. Column Space
- The column space is formed by all linear combinations of column vectors.
- It determines:
- Whether a system has solutions
- Whether a vector lies in the span
10. Solving Systems and Span
To check if a vector is in a span:
- Convert to a system of linear equations
- Solve using Gaussian elimination
If:
- Solution exists → vector is in the span
- No solution → not in span
Example / Code
Column Space Interpretation
Given system:
This becomes:
Solving determines if ( b ) is in the column space of A.
Output (if any)
- If system is consistent → solution exists → vector is in column space
- If inconsistent → no solution → vector is not in column space
Common Mistakes
1. Confusing span and basis
- Span = all possible combinations
- Basis = smallest independent generating set
2. Thinking vectors must start at origin incorrectly
- Span always passes through origin
3. Mixing row and column space
- Row space → rows of matrix
- Column space → columns of matrix
4. Incorrect linear combination setup
Wrong:
Correct:
Convert into equations and solve.
Short Exam Notes (very concise revision points)
- Vector space → closed under addition & scalar multiplication
- 8 axioms define vector space
- Linear combination: ( w = \sum k_i v_i )
- Span = all linear combinations
- Basis = independent spanning set
- Row space → span of rows
- Column space → span of columns
- Solve systems → check span membership
- Gaussian elimination = key tool