The correct option is B f(x) has all real and distinct roots
f′(x)=0 has real roots x1 and x2
Now, x1 and x2 would be points of maxima and minima (not in any order).
If f(x1).f(x2)<0, both f(x1) and f(x2) would have opposite signs. Hence, the maxima or the minima would lie on opposite side of the x-axis. Hence, one root will lie x1 and x2.
One root will lie between (−∞,x1) and other lie will lie in (x2,∞)
Hence, there will have three real roots.