Throughout this entire module, we've been playing in a specific kind of mathematical "arena." We've been taking vectors, adding them, scaling them, and seeing what we can build.
These arenas have a formal name: Vector Spaces.
This final lesson of our foundational module won't introduce any new complex mechanics. Instead, it will give you the precise definitions and "rules of the game" that formally describe the world we've been intuitively exploring.
What is a Vector Space? (The Official Rules)
A vector space is a collection of objects (which we call "vectors") for which two operations are defined: Vector Addition and Scalar Multiplication. For a collection to be a true vector space, these operations must obey a set of ten simple, intuitive rules.
You don't need to memorize them, but it's good to see them once. They are things you would naturally assume to be true. For example:
v+w=w+v (The order of addition doesn't matter)
c⋅(v+w)=c⋅v+c⋅w (The distributive property holds)
There must be a **zero vector** (0) such that v+0=v.
For every vector v, there is an opposite vector −v such that v+(−v)=0.
The set of all 2D vectors (R2) that we've been working with is a vector space. So is R3, R4, and so on. The real power of this abstract definition is that it allows things other than lists of numbers to be considered "vectors," like the set of all continuous functions.
What is a Subspace? (A Space Within a Space)
A subspace is a vector space that is contained inside another, larger vector space. For example, a plane passing through the origin is a subspace of 3D space.
The **span** of any set of vectors is a subspace.
The Three Requirements for a Subspace: For a collection of vectors S to be a subspace, it must satisfy three conditions:
`S` must contain the **zero vector**. (All subspaces must pass through the origin).
`S` must be **closed under addition**. (If v and w are in S, then v+w must also be in S).
`S` must be **closed under scalar multiplication**. (If v is in S, then c⋅v must also be in S).
A line or a plane *not* passing through the origin is **not** a subspace.
Why We Care: The Column Space and Null Space
This language of subspaces is the essential language for describing the most important ideas related to matrices.
When we solve systems of equations, we will meet two incredibly important subspaces associated with every matrix A:
The Column Space of A (C(A)): This is the **span of the column vectors of A**. It is the subspace containing all possible outputs of the transformation Ax. It answers the question, "Where can our input vectors possibly land?"
The Null Space of A (N(A)): This is the set of all input vectors x that get "squashed" to the zero vector by the transformation (i.e., all x such that Ax=0). This subspace answers the question, "What information is lost by the transformation?"
Understanding that these are not just random collections of vectors, but are in fact self-contained **subspaces** with their own **basis** and **dimension**, is the key to unlocking the Fundamental Theorem of Linear Algebra.
Module 1 Summary: A New Worldview
Congratulations! You've completed the foundational module. You started with the simple idea of a vector and have now built a complete conceptual framework for describing the spaces they live in.
You have learned the vocabulary:
**Vectors** and **Matrices** as both data and transformations.
**Operations** like the Dot Product and Matrix Multiplication.
The creative tools of **Span** and **Linear Combination**.
The efficiency test of **Linear Independence**.
The perfect structure of a **Basis** and the concept of **Dimension**.
The formal arenas of **Vector Spaces** and **Subspaces**.
You now have a powerful new geometric intuition for data. You are no longer just looking at spreadsheets; you are looking at points in high-dimensional space, ready to be transformed, projected, and understood.
Up Next in Module 2: It's time to put this new worldview into practice. We will tackle the most fundamental problem in linear algebra: solving the system of equations Ax=b, and in doing so, we will explore the four fundamental subspaces that define every matrix.