I have seen two definitions of the direct sum of vector spaces:
- If $U$ and $V$ are vector spaces, then
$$ U \oplus V = \{(u,v):u\in U,v \in V\}.$$
- If $V_1$ and $V_2$ are subspaces of $V$, and $V_1 \cap V_2 = \{0\} $, then
$$ V_1 \oplus V_2 = \{u+v:u\in V_1,v \in V_2 \}$$
So essentially, if I was to take the direct sum of the vector spaces $V_1$ and $V_2$ consisting of vectors of the form $(a,b,0,0)$ and $(0,0,c,d)$ respectively, would it be as space with vectors of the form
$$ (a,b,0,0,0,0,c,d) $$
by definition 1, or
$$ (a,b,c,d) $$
by definition 2?