A Question Pertaining to the Mean Value Theorem on the End Points of $[a, b]$ So I'm beginning numerical analysis and an interesting thing was brought up in class. I know the rules for MVT are:

*

*$F$ is continuous on $[a,b]$

*$F$ is differentiable on $(a,b)$
So a question was brought up in class I couldn't answer. Why is it that we don't consider differentiability at the end points? The professor sort of assumed we knew the answer but I didn't. My calculus is rusty.
Is there any reason we can't know why the end-points aren't differentiable? A person in class suggested it had to do something with not knowing whats on the other side of the point, but that didn't make any sense to me. Can anyone break this down for me so I can really understand it?
Thank you!
 A: Technically, the limit definition of the derivative involves a two-sided limit; that is, in order for the derivative to exist at $a$ (or at $b$), we must be able to get arbitrarily close to $a$ (or to $b$) from either side. However, in the case of $a$, we can only approach $a$ from the right; similarly, in the case of $b$, we can only approach $b$ from the left. Hence, without any further information, we cannot conclude that the function is differentiable at $a$ or at $b$.
That being said, we may very well have a problem where the function is differentiable over $R$ (and thus continuous over $R$) and so, differentiable at the endpoints $a$ and $b$. But that is not necessary to know for the purpose of applying the MVT.
A: My reasoning on this is continuity at the points a and b is needed, but not differentiability. Geometrically, MVT says that if $f$ has a continuous curve on the interval $[a,b]$, and the curve has a tangent on every point in it with abscissa between a and b, then, there is a point c in $(a,b)$ such that the tangent to the curve at $(c,f(c))$ is parallel to the line segment joining $(a,f(a))$ and $(b,f(b))$. This requires the continuity but not the differentiability. But had $f$ been differentiable at a,b, it wouldn't make any difference anyway. It simply isn't needed for drawing the curve. 
