What Makes a Set a Vector Space?
Two operations. One common structure.
What you’ll explore
A vector space is not just a set of arrows. It is a set with two operations—addition and scalar multiplication—that work together in a consistent way. This short lesson turns that abstract definition into a visual story.
Closure under the defining operations
Step by step
- 01
A vector space begins with a set of objects and a field of scalars, such as the real numbers.
- 02
The two operations must stay inside the set: adding two vectors remains in the set, and scaling a vector by a scalar also remains in the set.
- 03
Once those closure rules and the corresponding axioms hold, the same abstract language can describe vectors, matrices, functions, and more.
A small code example
Pythonfrom sympy import Matrix
v = Matrix([1, 2])
w = Matrix([3, -1])
print(v + w)
print(2 * v)Related lessons
Lesson 06 · Foundations
Linear Combinations and Span
See how changing the coefficients of a linear combination changes the resulting vector.
Open lessonLesson 07 · Foundations
Linear Independence and Dependence
Use the zero-vector test to recognize independent vectors and redundant constraints.
Open lesson