The difference of the roots of the quadratic equation $x^2 + bx + c = 0$ is $|b - 2c|$. If $c \neq 0$, then find $c$ in terms of $b$.
I know Vieta, for sum and product of roots of a quadratic, but am not seeing how to apply any of those tools to find the absolute difference $|b-2c|.$ I'm definitely missing a nice trick to do this. Solutions?
From the quadratic formula, one root is $\dfrac{-b+\sqrt{b^2-4c}}2$, and the other is $\dfrac{-b-\sqrt{b^2-4c}}2$,
so the difference is $\sqrt{b^2-4c}$.
So we have $b^2-4c=(b-2c)^2=b^2-4bc+4c^2$, or $4c^2+4c-4bc=0$.
If $c\ne0$, that means $4c+4-4b=0$. Can you take it from here?