Given polynomial $x^3+3x^2-7x+1$, and its roots $x_1$, $x_2$, $x_3$. what is $x_1^2+x_2^2+x_3^2$

91 Views Asked by At

I'm currently working on another problem: let $x_1,x_2,x_3$ be the roots of the polynomial: $x^3+3x^2-7x+1$, calculate $x_1^2+x_2^2+x_3^2$. Here is what i did: $x^3+3x^2-7x+1=0$ imply $x^2=(7x-x^3-1)/3$. And so $x_1^2+x_2^2+x_3^2= (7x_1-x_1^3-1)+7x_2-x_2^3-1+7x_3-x_3^3-1)/3= 7(x_1+x_2+x_3)/3+(x_1^3+x_2^3+x_3^3)-1$. Then I don't know what to do anymore.

2

There are 2 best solutions below

0
On

Hint

$$(x_1)^2+(x_2)^2+(x_3)^2=(x_1+x_2+x_3)^2-2(x_1x_2+x_1x_3+x_2x_3)$$

You just have to find $x_1+x_2+x_3$ and $x_1x_2+x_1x_3+x_2x_3$ from the coeficients.

Check here: https://en.wikipedia.org/wiki/Vieta%27s_formulas

0
On

Hint: Writing your polynomial as $p(x)$, observe that \begin{align} p(x)p(-x) &=(x-x_1)(x-x_2)(x-x_3)\times -(x+x_1)(x+x_2)(x+x_3)\\ &=-(x^2-x_1^2)(x^2-x_2^2)(x^2-x_3^2). \end{align}