Linear algebra

What Makes a Set a Vector Space?

Two operations. One common structure.

Foundations4 min watchSample lesson
Uploaded lesson
The idea

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

mathbfu,mathbfvinV;Rightarrow;mathbfu+mathbfvinV,qquadmathbfuinV,;alphainF;Rightarrow;alphamathbfuinVmathbf{u},mathbf{v}in V;Rightarrow;mathbf{u}+mathbf{v}in V,qquad mathbf{u}in V,;alphain F;Rightarrow;alphamathbf{u}in V

Step by step

  1. 01

    A vector space begins with a set of objects and a field of scalars, such as the real numbers.

  2. 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.

  3. 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

Python
from sympy import Matrix
v = Matrix([1, 2])
w = Matrix([3, -1])
print(v + w)
print(2 * v)
Keep exploring

Related lessons