Theorem. Let XX be a vector space over KK, and let AXA\subseteq X. Then the of AA is

{i=1mαixi | m0, αiK, xiA},\left\{\sum_{i=1}^m \alpha_i x_i \ \middle|\ m\ge 0,\ \alpha_i\in K,\ x_i\in A\right\},

the set of all finite of elements of AA. The case m=0m=0 denotes the empty sum 00, so the formula also covers A=A=\varnothing.

Proof sketch. Let YY be the set of all such finite linear combinations. One checks that YY is a linear subspace and contains AA, hence span(A)Y\operatorname{span}(A)\subset Y by minimality. Conversely, span(A)\operatorname{span}(A) is a subspace containing AA, so it is closed under forming finite linear combinations of elements of AA, giving Yspan(A)Y\subset \operatorname{span}(A).