Dictionary of Applied Machine Learning: 151 machine-learning terms, each with a definition, a figure, citations and a Python demo · All terms · Demos · Start here

subspace

Updated on 2026-07-13

Readiness 85/100

▶ Run the Python demo Open in Colab Typeset PDF LaTeX source Markdown Cite this entry
Figure produced by the Python demo of the entry subspace
Figure written by the entry's Python demo subspace.py, which recomputes what the entry states: the script block by block · open in Colab

B-kremsA subset of a vector space $\mathcal{V}$ is a subspace of $\mathcal{V}$ if it is also a vector space with respect to the same operations as $\mathcal{V}$. Fig. 1 illustrates this for the vector space $\mathbb{R}^2$ (over the field $\mathbb{R}$).

Figure 1 of the entry subspace
Figure 1: Any $\featurevec \in \mathbb{R}^2$ defines a subspace of $\mathcal{U}_\featurevec \subset \mathbb{R}^2$ by $\mathcal{U}_\featurevec = \{ \lambda \cdot \featurevec \; : \; \lambda \in \mathbb{R}\} \subset \mathbb{R}^2$. For $\featurevec \neq \mathbf{0}$, this corresponds to straight lines through the origin (illustrated by $\mathcal{U}_1$ and $\mathcal{U}_2$). For the zero vector $\featurevec =\mathbf{0}$, this leads to the trivial subspace $\{\mathbf{0}\}$ just containing the zero vector

See also: vector space, dimension, basis.

Cite this entry

@misc{dictml_subspace,
  author = {Jung, Alexander},
  editor = {Olioumtsevits, Konstantina and Schnoor, Ekkehard},
  title = {subspace},
  howpublished = {Dictionary of Applied Machine Learning (course edition)},
  year = {2026},
  doi = {10.5281/zenodo.21569296},
  note = {ISBN 978-952-64-3013-3, CC BY 4.0, retrieved 2026-11-26},
  url = {https://dictionaryofml.org/terms/subspace.html}
}