Under what conditions can you say that there exist extrema values for a function?
The function has to be continuous over a closed interval
The function has to be continuous over an open interval
The function may be discontinuous
The function has to be differentiable in the interval where is defined