Multiple choice

For $ a \neq b , $ if the equations $ x ^ { 2 } + a x + b = 0 $ and $ x ^ { 2 } + b x + a = 0 $ have a common root, then the value of ( a + b ) is

  1. -1

  2. 0

  3. 1

  4. 2

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

If x is a common root, x^2 + ax + b = 0 and x^2 + bx + a = 0. Subtracting: (a - b)x + (b - a) = 0 => (a - b)x = a - b. Since a != b, x = 1. Substituting x = 1 into either equation: 1 + a + b = 0 => a + b = -1.

AI explanation

Let the common root be r; substituting it into both equations gives r^2 + ar + b = 0 and r^2 + br + a = 0. Subtracting the second equation from the first yields (a - b)r + (b - a) = 0, which factors to (a - b)(r - 1) = 0. Since a is not equal to b, r must equal 1; substituting r = 1 back into the first equation gives 1 + a + b = 0, meaning a + b equals -1.