And I'm speaking in general terms first, and then we can go back to our function g, which is derived from this function f right over here. So let's say that these are my coordinate axes, and let's say we care about some interval here. So let's say this is the interval that I care about. A function could look something like this. A function could look something like this. And in this case, its absolute maximum is going to occur at the beginning of the interval. Or a function could look something like this.