Show that if a function $f$ is defined and differentiable on an open interval $I$ and $[a,b]\subset I$, then
a) the function $f'(x)$ (even if it is not continuous!) assumes on $[a,b]$ all the values between $f'(a)$ and $f'(b)$;
b) if $f''(x)$ also exists in $(a,b)$, then there is a point $\xi\in (a,b)$ such that $f'(b)-f'(a)=f''(\xi)(b-a).$
My approach: a) I know that this is the well-known Darboux's theorem and I was able to prove it.
b) But I have issues with this part. It looks very similar to mean value theorem but MVT is not applicable here because $f'(x)$ is continuous on the open interval $(a,b)$.
I guess since it comes after Darboux's theorem then probably it could derived via part a) but I cannot see this.
Would be thankful for the solution.