A function f(x) defined on [a,b] will have a local maximum at x = b if
Here, point “b” is the the boundary point. We know, that if there is a boundary point then we have to consider only one side of that point where the function is defined to check the local maximum. Here function is defined only on the left hand side of “b”. So for “b” to be a local maximum f(b-h) < f(b).