Given a quadratic equation x2+px+q =0.Find p,q so that the roots of the equation are p,q.
Given: p and q are the roots of the equation
x2 + px + q = 0
⇒sum of roots = – p
⇒ p + q = – p
⇒ 2p = – q
and product of roots = q
⇒ pq = q
⇒ p = 1
So q = – 2
Hence, p = 1, q = – 2