The difference of the roots of the quadratic equation x2+bx+c=0 is|b−2c| . If c≠0, then find c in terms of b.
The roots of the quadratic equation x2+bx+c=0 are:
x=−b+√b2−4c2 and x=−b−√b2−4c2
The difference between these two roots is:
−b + √b2−4c2−−b − √b2−4c2 =−b + √b2−4c2+b + √b2−4c2 =−b + √b2−4c + b + √b2−4c2 =√b2−4c + √b2−4c2 =2√b2−4c2 =√b2−4c
which we are told must be equal to |b−2c| ...so we can make this equation:
√b2−4c = |b−2c| Now let's solve this equation for c
(√b2−4c )2 = ( |b−2c| )2
Squaring a negative number gives the same result as squaring the positive version of that number,
so we can drop the absolute value signs
b2−4c = (b−2c)2 b2−4c = (b−2c)(b−2c) b2−4c = b2−4bc+4c2
Subtract b2 from both sides of the equation
−4c = −4bc+4c2
Add 4c to both sides of the equation
0= −4bc+4c2+4c
Rearrange the terms
0= 4c2−4bc+4c
Divide through by 4
0= c2−bc+c
Factor c out of all three terms on the right sidde
0= c(c−b+1)
Set each factor equal to zero and solve for c
c=0orc−b+1=0c−b=−1c=b−1
Check: https://www.wolframalpha.com/input/. . .
So either c = 0 or c = b - 1
We are given that c ≠ 0,
So it must be that c = b - 1