Hi I have a question that I just cannot answer so I would be very great full for some help :)
If $x^2 +ax-1$ is a factor of $x^3+px^2+qx+r$ show that $q=-(ar+1)$
Hi I have a question that I just cannot answer so I would be very great full for some help :)
If $x^2 +ax-1$ is a factor of $x^3+px^2+qx+r$ show that $q=-(ar+1)$
Let $\alpha, \beta $ be the roots of the first polynomial, and $\gamma$ the remaining root of the second polynomial. We need to compute
$q = \alpha\beta+\beta\gamma +\gamma\alpha = \alpha\beta + \gamma(\alpha + \beta)$.
We know that
$\alpha + \beta = -a$
$\alpha\beta = -1$
$\gamma = \frac {-r}{\alpha \beta} = r$
Thus $q = \alpha\beta + \gamma(\alpha + \beta) = -1 - ar=-(ar+1)$
Since both leading coefficients equal $1$ we know that for some number $s$ it is the case that
$$ (x^2+ax-1)(x-s)=x^3+px^2+qx+r $$
Multiplying the polynomials on the right gives
$$ x^3+(a-s)x^2-(1+as)x+s=x^3+px^2+qx+r$$
The coefficients of equal powers must be equal. Therefore
Since $r=s$ we have $q=-(1+ar)$
$signs. For example,$x^2$shows up as $x^2$. – saulspatz Apr 09 '21 at 17:09