The quadratic equations x2+ax+b=0 and x2+bx+a=0, have one common root and a≠b, then
a+b=−1
x2+ax+b=0.................(1)
x2+bx+a=0 .................(2)
then α will satisfy for both the equations
α2+aα+b=α2+bα+a⇒α(a−b)=a−b
⇒α=1
α=1 is the common root from equation (1)
(1)2+a(1)+b=0
⇒1+a+b=0
⇒a+b=−1