I have an algebra exam and I've taken this exercise from some old tests.
Let $f = x^4 - 2x^3 + x^2 + 4x +a \in \Bbb R[x]$. Find all $a \in \Bbb R$ for which $f$ has a root $z \in \Bbb C - \Bbb R$ such that the real part of $z$ equals $1$.
I know that the sum of all roots should equal 2 in this polynomial, and if there's one complex root it's conjugate should also be a root. Also the sum of a complex and it's conjugate its $2 Re(z)$ so $z + \overline{z} = 2$ and the sum of the other roots should equal $0$. So if $x_1$ and $x_2$ are the other roots of $f$, $x_1 = -x_2$.
The product of all roots equals $a$ as well.
On the other hand I can form a polynomial that will divide $f$ using $z$ and $\overline z$, i.e. $g(x)= x^2 - 2 Re(z)x + |z|^2$.
I've tried evaluating both $f(x)$ and $g(x)$ with some values:
$f(1)=4+a$
$g(1)=1 - 2Re(z)+1+b^2$
$f(0)=a$
$g(0)=1+b^2$
I think that the answer should be somewhere close this path but I'm stuck... suggestions? thanks!
Let $1+it$ be such a root; then also $1-it$ is a root and therefore the polynomial is divisible by $x^2-2x+1+t^2$. The remainder of the division is $$ (4-2t^2)x+a+t^2+t^4 $$