Can anyone provide an example of a differentiable function f(x) such that a supremum of f exists but a maximum of f does not exist, for $\displaystyle 0\leq x \leq k$ (k is any fixed number)?
Thanks very much.
The real reasoning? Continuous(and thus differentiable) functions preserve compactness. Or, more simply Extreme value theorem - Wikipedia, the free encyclopedia