Local Maximum

Let be a function defined on a subset

Point is local maximum of if there is

Note that global maximum is for all

Local Minimum

Let be a function defined on a subset

Point is local minimum of if there is

Note that global minimumis for all