If the equations x2+ax+b=0 and x2+bx+a=0 have a common root and a≠b, (a,b∈R), then the value of |a+b| is