Kevin S. answered 07/12/23
Math PhD, 11 yrs experience Pre/Calculus: confidence through precision
Every hill and mountain on Earth is a local max (higher than surrounding points). The only global max is Everest (the highest point). That's all there is to it.
How to find? Don't learn steps, learn facts. Fermat's Theorem: Max/mins occur at critical points or endpoints. That's all you have to know to find them. To know if they are a max vs a min, use the bold theorem in Bradford T's answer. (Note if that doesn't work, then you can't answer the question with just the first derivative.)
(There is often confusion about stuff like whether a flat top, or also endpoints, can be a max. That depends on how the definition is worded in your book. So don't ask anyone but your teacher. Such questions won't matter after this class anyway because all of it is phrased differently.)