We can find if a critical point is a local minimum or maximum by looking at the second derivatives.
Step-by-step explanation:
If you take the first derivative, you will find the slope at the given point, which if it is a minimum or a maximum will be 0.
Then we take the second derivative. If that number is a positive number, then we have a local minimum. If it is a negative number, then it is a local maximum.