Vector space
A vector space is an abstract mathematical structure where elements called vectors can be added together and scaled by numbers, following specific rules. It's the foundational language of Linear algebra, used wherever direction, magnitude, and combination matter—from Physics to Machine learning to Computer graphics.
Think of vectors as arrows: you can point them in different directions, make them longer or shorter, and combine them head-to-tail. A vector space formalizes this intuition. It requires that addition and scaling obey natural laws (like associativity and distributivity), and it must contain a zero vector and allow reversal.
Vector spaces appear everywhere. Artificial neural networks use them to represent data. Gradient descent navigates through them to optimize. Encryption exploits their algebraic structure. Even functions themselves can form vector spaces—you can add functions and multiply them by constants.
The dimension of a vector space counts how many independent directions exist. A plane is 2-dimensional; ordinary space is 3-dimensional; data scientists routinely work in thousands of dimensions.
What makes vector spaces powerful is their generality. Once you prove something works in any vector space, it works everywhere they appear.
Related
Linear algebra, Matrix, Basis (linear algebra), Subspace, Eigenvalue, Tensor