why is $ A=\{(0,x,z)|x,z\in R\}$ is a two dimensional subspace space of $R^{3}$ over $R$ but $B=\{(0,0,z)|z\in R\} $ $\cup$ $\{(0,x,0)|x\in R\}$ is not?
i Think both are two dimensional as A has Basis={(0,1,0),(0,0,1)} and
B is direct sum of two subspace of $ R^{3}$ with same basis .
$B$ is defined as the union of two subsets of $\mathbb R^{3}$, not as a sum of subspaces. $(0,0,1)+(0,1,0)=(0,1,1)$ is not in $B$ so it is not a subspace of $\mathbb R^{3}$.