We have the following quadratic equation:
$2x^2-\sqrt{3}x-1=0$ with roots $x_1$ and $x_2$.
I have to find $x_1^2+x_2^2$ and $|x_1-x_2|$.
First we have: $x_1+x_2=\dfrac{\sqrt{3}}{2}$ and $x_1x_2=-\dfrac{1}{2}$
So $x_1^2+x_2^2=(x_1+x_2)^2-2x_1x_2=\dfrac{7}{4}$
Can someone help me with the second one?
I forgot to tell that solving the equation is not an option in my case.
Evaluate
$$(x_1-x_2)^2= x_1^2+x_2^2 - 2x_1x_2=\dfrac{7}{4}-2(-\frac 12) = \frac{11}{4} $$
Thus, $|x_1-x_2|=\frac{\sqrt{11}}{2}$.