if p and q are the roots of the equation x2 - px + q = 0 then :
A) p = 1, q = -2
B) p = 0, q = 1
C) p = -2, q = 0
D) p = -2, q = 1
The given quadratic equation is
Here, a = 1, b = – p and c = q.
p and q are roots of the given quadratic equation.
∴ Sum of the roots = p + q =
⇒ q = p – p = 0
Product of the roots = pq =
∴ pq = q
⇒ p = 1
Thus, the value of p and q is 1 and 0 respectively.