I'm currently learning linear algebra using textbook Linear Algebra Done Wrong, and I encountered this problem.
Let $X$ and $Y$ be subspaces of a vector space $V$. Show that $X\cup Y$ is a subspace if and only if $X\subset Y$ or $Y\subset X$
I don't really have any idea. I only figured out that 0 is in the set, so it is not empty. What else should I do? Thanks!!
I'm assuming you're just working on the forward direction seeing as the reverse direction is trivial. Try proving by contrapositive: so suppose that $X\not\subseteq Y$ and $Y\not\subseteq X$, and we want to show $X\cup Y$ is not a subspace. Then you can take some $x\in X\setminus Y$ and some $y\in Y\setminus X$. Then clearly $x,y\in X\cup Y$, but what about $x+y$?