The equations x^{2}+px+q=0 and x^{2}+qx+p=0(p\neq q) have a common root. What is the value of (p+q) ?

  1. A. -1
  2. B. 0
  3. C. 1
  4. D. 2

Correct Answer: A. -1

Explanation

Subtract the two equations: (p-q)x + (q-p) = 0 \implies (p-q)(x - 1) = 0. Since p \neq q, the common root is x = 1. Substituting x=1 into the first equation gives 1^2+p(1)+q=0 \implies p+q=-1.

Related questions on Algebra

Practice more CDS Elementary Mathematics questions