Given: x2 + px + q = 0
On comparing this equation with ax2 + bx + c = 0, we get:
a = 1, b = p and c = q
Let α and β be the roots of the quadratic equation x2 + px + q = 0. Then,
α – β = 1 …(1)
We know that α + β = – and αβ = .
Thus,
α + β = – = – p …(2)
αβ = = q …(3)
Now, on using the identity (a + b)2 = (a – b)2 + 4ab, we get:
(α + β)2 = (α – β)2 + 4 αβ
From equations (1), (2) and (3), we get:
(–p)2 = (1)2 + 4(q)
p2 = 1 + 4q