2019 · Q89
The equation x² + px + q = 0 has roots equal to p and q where q ≠ 0. What are the values of p and q respectively?
Elementary MathematicsAlgebra
- A1, -2
- B1, 2
- C-1, 2
- D-1, -2
Explanation
This uses Vieta's formulas for x² + px + q = 0: the sum of the roots is −p and the product is q. Here the roots are p and q themselves, so p + q = −p (i.e. q = −2p) and pq = q. Since q ≠ 0, dividing the product relation by q gives p = 1. Substituting back, q = −2(1) = −2. Hence option (a), (1, −2). The distractor (1, 2) keeps the correct p but assigns the wrong sign to q, and (−1, 2)/(−1, −2) fail the sum-of-roots condition.