I have a question for one of my assignments but I don't understand how to solve it.
Let $P_n$ be the set of real polynomials of degree at most $n$, show that
$S=\{p ∈ P_7:x^2+x+4 $ is a factor of $p(x)\}$ is a subspace of $P_7$
I know that to prove it is a subspace I need to show that it contains the zero vector, is closed under vector addition, and is closed under scalar multiplication. I know that it satisfies all those conditions because they are given, but I'm now sure how to prove it because I'm only given the factor.
A concern I have with the solution posted on a previous post with a similar question was to introduce a function $f$ such that $p=q*f$ where $q$ is the given factor. If $f$ has a non-zero coefficient for the $x^0$ factor, then that would mean it wouldn't include the zero vector
Edit: It is not given that the conditions are satisfied, but I am able to check if they are and I'm using the that function so see if it is. I am supposed to prove that satisfies those conditions without the knowing that it is.