If the equation (1-q+(p^2)/2)x^2+p(1+q)x+q(q-1) +((p^2)/2)=0 has two equal roots, prove that p^2=4q
Quadratic equation has two equal roots if
"D=(p(1+q))^2-4(1-q+\\dfrac{p^2}{2})(q(q-1)+\\dfrac{p^2}{2})=0"
"p^2(1+q)^2-(2-2q+p^2)(2q^2-2q+p^2)=0"
"p^2(1+2q+q^2)-(2-2q)(2q^2-2q)-p^2(2-2q)"
"-p^2(2q^2-2q+p^2)=0"
"-p^4+p^2(1+2q+q^2-2+2q-2q^2+2q)"
"-(2-2q)(2q^2-2q)=0"
"p^4+p^2(q^2-6q+1)-4q(q-1)^2=0"
If "p^2=4q"
True for "q\\in \\R."
Or
The only solution is "p^2=0" for "q=1."
But in this case
and we have an equation
Hence the quadratic equation
has the only solution which satisfies our task
In this case the quadratic equation
has two equal roots.
Comments
Leave a comment