I am having trouble with a problem in an old maths textbook, as follows:
Question: Prove that the roots of the equation:
(p−q−r)x2+px+q+r=0 are real if p, q, and r are real.
Solution: The condition for real roots is (b2≥4ac) is here that
Comment: I understand the solution but I am having trouble with the steps of simplifying p2≥4(p−q−r)(q+r) to p2−4p(q+r)+4)(q+r)2≥0 to the form (p−2(q+r))2≥0
Question: Prove that the roots of the equation:
(p−q−r)x2+px+q+r=0 are real if p, q, and r are real.
Solution: The condition for real roots is (b2≥4ac) is here that
p2≥4(p−q−r)(q+r)
i.e. that p2−4p(q+r)+4)(q+r)2≥0
or (p−2(q+r))2≥0
This is always true for the left hand side is the square of a real quantity and therefore cannot be negative.
Comment: I understand the solution but I am having trouble with the steps of simplifying p2≥4(p−q−r)(q+r) to p2−4p(q+r)+4)(q+r)2≥0 to the form (p−2(q+r))2≥0
Could you please let me know the steps to do this. Many thanks in advance.