By theorem, $W$ is a subspace of $V$ iff for all $x, y \in W$, and all $c\in \mathbf{R}$, we have $cx+y\in W$.
But since $\cos(x)$ and $x^2$ are functions, how do you check by using the theorem?
By theorem, $W$ is a subspace of $V$ iff for all $x, y \in W$, and all $c\in \mathbf{R}$, we have $cx+y\in W$.
But since $\cos(x)$ and $x^2$ are functions, how do you check by using the theorem?
The question is simply whether $\cos (x)$ and $x^2$ are elements of $V_1$. So you do not need to bother with subspaces at all. You just need to check whether $cos(x)=cos(-x)$ and $x^2=(-x)^2$ $\forall x \in \mathbb{R}$. As you should know both those functions are even so they do belong in $V_1$.