Solution:
Given:
To get the local maximum and minimum point, we differentiate the function twice.
To get the maximum and minimum points, we differentiate further,
Thus,
The graph is as shown below;
Therefore,
The local minimum occurs at (-1,-1) and (1,-1)
The local maximum occurs at (0,0)