Vector Spaces
Abstract sets closed under addition and scalar multiplication โ the structural framework that unifies vectors, functions, and matrices.
A vector space (or linear space) is a set of objects (called vectors) equipped with two operations โ addition and scalar multiplication โ satisfying certain axioms.
Key axioms: for all and scalars :
- Closure: and
- Commutativity:
- Associativity:
- Zero vector:
- Distributivity:
Example vector spaces: , polynomials of degree , functions on , matrices of size .
- Closed under addition and scalar multiplication: combining vectors never leaves the space
- A unique zero vector exists, satisfying for every
- Every vector has an additive inverse with
- Scalar multiplication distributes over both vector addition and scalar addition
- Forgetting to check closure: a subset that "looks like" a vector space can still fail if it's not closed under addition or scaling (e.g. vectors with all-positive entries fail closure under scalar multiplication by )
- Confusing a vector space with specifically: polynomials, matrices, and functions are all valid "vectors" too โ the axioms, not the shape of the object, define a vector space
The set of polynomials of degree is a vector space. You can add polynomials and scale them. The "zero vector" is the zero polynomial . The "dimension" is 3 โ you need 3 coefficients to specify any element.
Is the set of all matrices with trace = 0 a vector space? Check closure under addition and scalar multiplication.
Solution
Yes. If and , then โ closed under addition. If , then โ closed under scalar multiplication. The zero matrix has trace 0. All axioms hold.
This is a subspace of the vector space of all matrices. It has dimension .