I sincerely hope this is not a dumb question. I was doing some reading through an analysis book and was looking at Rolle's Theorem. That is, if a function $f:[a,b]:\rightarrow \mathbb{R}$ is continuous on [a,b] and differentiable on (a,b), and that $f(a)=f(b)$. Then $\exists c\in(a,b)$ such that $f'(c)=0$.

Now, it seems to me that the intuition here is that if the "end points" of an function's value are equal (and the function is continuous), then the function's maximum or minimum has occurred somewhere between the endpoints. However, this intuition is obviously much more general than theorem. It doesn't seem to require differentiability(or does it?). 

Hence, my question is this: Is there a analogous theorem that captures the complete intuition without differentiability as a requirement? Why or why not?

As a possibly less important question:if we allow positive and negative infinity can we likewise get rid of the the continuity condition? Why or why not? Or why might this be a unimportant question?

Please let me know if I'm not being entirely clear somewhere, so I can clarify what I mean.

EDIT: I'm sorry I didn't use an example to maybe explain my question. The absolute value function has a minimum, but it is not differentiable there, but I would still like to speak about that point. 

Thanks for your time and help in advance!