Similarly, bounded functions on intervals must have supremum or maximum. Similarly, for example, y= 1- 1/x, this function has sup y= 1 on [1, positive infinity], but it can't get the maximum value anyway. Similarly, if a function can get the maximum value in a certain interval, that is, max exists, then the supremum of the function in this interval is equal to the maximum value.
Take it if you are satisfied.