Quite a simple concept that’s overcomplicated in the course. Take an interval . Take a point in it.

Local Max: If is the highest point in that interval . (I.E. , where is any other point in )
Local Min: Opposite of local max obviously lol.

Fun!!! FERMAT'S THEOREM!!!!!

If you find the crest or trough of a function and it’s differentiable, the derivative is 0!!! Who would have thought it… Mathematically:

If has a local extremum and is differentiable at , then