We factor the polynomial:
x4+x2−2=(x2+2)(x2−1)=(x2+2)(x−1)(x+1).
It is now easy to see that the function has two zeros: x1=−1 ( coincides with the value of a) and x2=1.
Since the function is a polynomial, it is everywhere continuous and differentiable. So this function satisfies Rolle's theorem on the interval [−1,1]. Hence, b=1