Mathematics

Find the quadratic equation whose roots are x = -2 or x = 7

Find the quadratic equation whose roots are x = -2 or x = 7
  • A.
    x2 + 2x – 7 = 0
  • B.
    x2 – 2x + 7 = 0
  • C.
    x2 + 5 +14 = 0
  • D.
    x2 – 5x – 14 = 0
  • E.
    x2 + 5x – 14 = 0
Correct Answer: Option D
Explanation

x + 2 and x – 7 are factors
(x+2)(x+7) = 0
x(x-7) + 2(x-7) = 0
x2 – 7x + 2x – 14 = 0
x2 – 5x – 14 = 0