read what i said
Yes, to find potential extrema, you equate the first derivative to zero and solve for x to get the critical number(s).
Then, evaluate the second derivative at these critical number(s), and if the result is positive you have a relative minimum, if it is negative you have a relative maximum, and if it is zero then there is no extremum at that point.