Let H and K be subspaces of a vector space $V$. The intersection of $H$ and $K$, , is the set of $v$ in $V$ that belong to both $H$ and $K$. Show that the intersection of $H$ and $K$ is a subspace of $V$. Give an example in $R^2$ to show that the union of two subspaces is not, in general, a subspace.
I know that in order to prove that a set is a subspace of a vector space, we need to prove that it contains the zero vector, closed under multiplication and addition. I know that the zero vector exists in the intersection from the graph above.
And it seems to me that the intersection of $H$ and $K$ is along the z-axis (i think...) so i am assuming that i can take any two vectors along the z-axis (0,0,1), (0,0,2)... and add it together to prove it is closed under addition, and the same logic applies to using any scalar and multiplying with any vector along the z-axis to prove it is closed under multiplication
Is this the right approach? or did i make a mistake somewhere. Any help will be appreciated.