Canonical: https://knowlpedia.com/convex-analysis/linear-subspace/

# Linear subspace

A subset containing zero and closed under addition and scalar multiplication.

Let \(X\) be a vector space over a field \(K\), and let \(Y\subseteq X\). The set \(Y\) is a **linear subspace** of \(X\) if

1. \(0\in Y\),
2. \(a+b\in Y\) for all \(a,b\in Y\), and
3. \(\lambda a\in Y\) for all \(\lambda\in K\) and \(a\in Y\).

With the inherited operations, \(Y\) is itself a [vector space](https://knowlpedia.com/linear-algebra/vector-space/).

## Examples

- \(\{0\}\) and \(X\) are subspaces of \(X\).
- In the vector space of all scalar sequences, \(\ell^1=\{x=(x_n):\sum_{n=1}^\infty|x_n|<\infty\}\) is a subspace.
- The continuous functions \(C([a,b])\) form a subspace of all functions \([a,b]\to K\).
