Direct sums
Let $V$ and $W$ be $\mathbb{F}$-vector spaces.
The external direct sum of $V$ and $W$ (denoted as $V\oplus W$) is defined as the $\mathbb{F}$-vector space with the underlying set $V\times W$ with operations $$ \begin{align*} (v_1,w_1) + (v_2,w_2) &= (v_1 + v_2, w_1+w_2) \\ \lambda(v,w) &= (\lambda v, \lambda w). \end{align*} $$ We similarly define $V_1\oplus \ldots\oplus V_n$.
Let $V$ and $W$ be $\mathbb{F}$-vector spaces.
If $V$ and $W$ are finite-dimensional, then so is $V \oplus W$, $$ \begin{align*} \dim(V\oplus W) = \dim(V) + \dim(W). \end{align*} $$
Let $V$ be a finite-dimensional vector space, and let $U,W$ $\leq$ $V$.
Then $U+W$ is finite-dimensional, and $$ \begin{align*} \dim(U+W) = \dim(U) + \dim(W) - \dim(U\cap W). \end{align*} $$ Proof
Let $V$ be a vector space, and $U,W$ $\leq$ $V$.
We say $V$ is the (internal) direct sum of $U$ and $W$ (denoted as $U\oplus W = V$) if, equivalently,
-
$U$ $+$ $W = V$ and $U\cap W = \set{\v 0}$;
-
the linear map $\phi: U$ $\oplus$ $W \to V$ given by $\phi(u,w) = u+w$ is an isomorphism;
-
every element of $V$ can be uniquely expressed as $u+w$ where $u\in U$ and $w \in W$.
Let $V$ be a vector space and let $U,W\leq V$.
We say $W$ is a direct complement to $U$ in $V$ if $V = U$ $\oplus$ $W$.
Let $V$ be a vector space and $U_1, U_2, \ldots, U_n \leq V$.
We say $V$ is the direct sum of $U_i$ (denoted as $V = \bigoplus_{i=1}^n U_i$) if, equivalently,
-
$\phi : U_1$ $\oplus$ $U_2 \oplus \ldots \oplus U_n \to V$ given by $(u_1, u_2, \ldots, u_n) \mapsto u_1 + u_2 + \ldots + u_n$ is an isomorphism;
-
every $v\in V$ can be uniquely expressed as $u_1 + u_2 + \ldots + u_n$ for $u_i\in U_i$.
Let $V$ be a finite-dimensional vector space.
Then every subspace of $V$ has a direct complement.