Answer:
Step-by-step explanation:
Known fact: all roots of quadratic equation [tex]ax^2 + bx + c = 0[/tex] are real if and only if
discriminant [tex]D = b^2 - 4ac \geq 0.[/tex]
We know that all roots of [tex]x^2 + px + q = 0[/tex] are real. We can derive from this condition that
[tex]p^2 - 4q \geq 0[/tex]. (<----------- HERE)
Let's do some simplification of second equation:
[tex]x^2 + px +q + (x + a)(2x + p) = 3x^2 + x(2p + 2a) + ap + q.[/tex]
So we want according to Known fact prove that discriminant of equation
[tex]3x^2 + x(2p + 2a) + ap + q = 0[/tex] is greater or equal zero.
[tex]D = (2p + 2a)^2 - 4\cdot 3 (ap + q) = 4(p^2 + a^2 + 2ap - 3ap - 3q) = 4(a^2 - ap + p^2 - 3q)[/tex].
To prove that [tex]D \geq 0[/tex], we can view D as polynomial of a:
[tex]D(a) = 4a^2 - a(4p) + 4(p^2 - 3q)[/tex].
Known fact #2: if quadratic polynomial have positive greatest coefficient and it's discriminant [tex]\leq 0[/tex] then polynomial always positive.
So remains to prove that
[tex](4p)^2 - 4\cdot 4\cdot 4(p^2 - 3q) \leq 0[/tex]
lets divide both side by [tex]4^2[/tex]:
[tex]p^2 - 4(p^2 - 3q) \leq 0[/tex]
[tex]-3p^2 + 12q \leq 0[/tex]
divide by 3
[tex]-p^2 + 4q \leq 0[/tex]
transfer terms to the other side:
[tex]0 \leq p^2 - 4q[/tex]
But we know that from "(<----------- HERE)"!!!
So Q.E.D.