Prove that the ideal of $\mathbb{R}[x]$ generated by $f(x)=x^3-x^2+x-1$ and $g(x)=x^4+3x^2+2$ is a prime ideal.
Also, prove that the ideal generated by $r(x)=x^3-x^2-x+1$ and $s(x)=x^4+x^2-2$
Call the ideal generated by these two polynomials $P$. For $P$ to be prime we need that if $a(x)b(x) \in P$ then $a(x) \in P$ or $b(x) \in P$.
So i didn't make too much progress on this yet, hah, as of right now i'm trying to figure out a mistake I must have made in my algebra somewhere finding the roots of $g(x)$... So the roots of $g(x)$ are $(+/-)i,(+/-)\sqrt{2}$ but when i multiply the corresponding factors $(x-i)(x+i)(x+i\sqrt{2})(x-i\sqrt{2}$) I get $(x^2+1)(x^2+2)=x^4+4x^2+2$... so I don't know why the three keeps turning into a four.. Man i think i need a break.
Anyway if anyone can help me resolve the smaller problem which I have dug myself and the actual problem I asked that would be very helpful. Thank you!