Find the local extremum of