If a real function is differenciable then the local max (relative maximum) must occurs when

Using the Fundamental theorem,

Thus,

Thus,

Those are thepossiblepoints.

To determine what status they have we will use the first-derivative test.

Consider the three intervals,

----> ----> decreasing.

----> ----> increasing.

----> ----> decreasing.

Thus, the relative maximum occurs at