Multiple choice

If the equations $x^2 + ax + b=0$ and $x^2 + bx + a = 0$ have exactly one common root, then the numerical value of $a + b$ is

  1. $1$
  2. $-1$
  3. $0$
  4. none of these

Reveal answer Fill a bubble to check yourself
B Correct answer
AI explanation

Subtracting the two equations, (x^2+ax+b) - (x^2+bx+a) = 0, simplifies to (a-b)x + (b-a) = 0. Factoring this expression gives (a-b)(x-1) = 0. Since the equations have exactly one common root, a cannot equal b, which forces the common root to be x=1. Substituting x=1 into the first equation yields 1^2+a(1)+b=0, so a+b=-1. The numerical value of a+b is therefore -1.