Hint: Define $g(x) = f(x) - x$. Now use intermediate value theorem to show $g$ has a zero on $[a,b]$.