Critical Points in Single Variable Calculus
In this section, we will assume that we're working with differentiable functions only.
In singlevariable calculus, a critical point is a point where a function's first derivative is zero or undefined.
First derivative as slope
To understand critical points, we need have a sense of what a derivative is.
The derivative of a function describes the way one quantity changes in relationship to another. Let's say we have a function that gives the population size of a community of rabbits based on the number of wolves living in the region. The derivative of this function would tell us how the rabbit population changes as the wolf population changes. If the derivative is negative for some number of wolves, that means that as more wolves enter the area, the rabbit population goes down. If the derivative is positive, it means that as more wolves enter the area, the rabbit population goes up. If the derivative is zero, as it is at a critical point, that wolf population produces a stable rabbit population  an equilibrium.
When we graph functions, we usually think of the first derivative as being the slope of the tangent line. A tangent line is a line that shares only one point in common with the function you're looking at. The tangent line measures the way the y value changes with respect to the x value. The image below is a graph of the parabola , with tangent lines drawn in at the points , , and . If we connect this image to our population example, the x values would be the size of the wolf population, the y values would be the size of the rabbit population, and the derivatives give us the rates of change.
At , the first derivative is , and so is the slope of the tangent line. At , the derivative and the slope are both . At , the line is horizontal, demonstrating that the derivative at this point is . Since the tangent line there has a slope of , the point is a critical point of the function .
A good way to find critical points on a graph, therefore, is to find points where a tangent line would have a slope of , or where a tangent line would be vertical (this corresponds to the derivative being undefined).
First derivative test
Critical points are closely related to the first derivative test, which uses critical points and slopes to find local maximums and minimums of a function without graphing the function.
[show more][hide]
If we have a function , we can use calculus to find its derivative function . The derivative function is related to the tangent lines we talked about in the last section: when you plug an value into , the output is the slope of the line that is tangent to our original function at that x value. In our example above, the derivative function for our parabola returns when and when .
We begin the first derivative test by solving the equation to find all the points where the slope of the tangent line is zero  these are our critical points. We also check for points where is undefined, as these are critical points as well.
Next, we plot the critical points on a number line. We then test each interval between the critical points by finding the derivative of any point in that interval, and mark whether the derivative was positive or negative on the number line. Since the signs correspond to the slope of the tangent lines in this interval, and slope can't change from positive to negative without going through zero, we only need to test one point in each interval.
Let's work with the function . The derivative of this function is , which in factored form is . The derivative is a polynomial, so it exists everywhere, and we only have to worry about critical points occurring where . This happens whenever one of the three factors is zero, so at , , and . We plug these three values for into to find the ycoordinates of our critical points. The picture below shows these three critical points plotted on a number line:
Next, we test a point in each interval. When we plug into , we get a negative derivative as our result. When we plug in , the derivative is positive. For , the derivative is negative, and for , it's positive. These positives and negatives are shown above the number line in the image above, and lines with positive and negative slopes (representing the lines that are tangent to the function in that interval) are shown above the signs.
Now that we know how the function behaves on either side of every critical point, we can figure out if each critical point is a local maximum or a local minimum. If the slopes to the left of a critical point are positive and the slopes to the right are negative, then the critical point is a maximum. If the slopes to the left are negative and the slopes to the right are positive, then the critical point is a minimum.
Our number line tells us that the points and are local minimums, and that the point is a local maximum. The image below shows our function, , graphed along with its tangent lines at the critical points and the test points we used:
Sometimes the slopes on either side of a point have the same sign. In this case, the first derivative test tells us that the point is neither a maximum nor a minimum, and other methods must be used to fully understand what's happening at the point.
Critical Points in Multivariable Calculus
In multivariable calculus, a critical point is a point where a function's gradient is either 0 or undefined.
Finding critical points
To find the critical points of a function in several variables, we first find the function's gradient. Points for which the gradient is zero or undefined are critical points. If the partial derivatives are defined everywhere, we can simply set each partial derivative in the gradient equal to zero, and solve the system of equations. If the partials aren't defined everywhere, we need to identify every point where either one is undefined.
Let's try this with the function below:
First, we find the gradient:

Since both partials are polynomials, they're defined everywhere, so we set them equal to zero and solve:
So our function has a critical point where and . To identify the actual point, we plug these values back into and solve for the coordinate of that point:

The critical point, then, is at . This point is shown in the graph below:
Classifying critical points
As in single variable calculus, multivariable critical points are typically local maximums or minimums of the function.
[show more][hide]
One way to determine whether a point is a maximum or a minimum is to graph the function. In the previous section, the graph showed us that the critical point we found was a minimum, because all the points around it were higher than it. If the graph shows that all of the points around a critical point are lower than it, then that point is a maximum.
Some critical points are neither maximums nor minimums. In the picture below, the point is a critical point for the function , but we can see that this point is not a maximum or a minimum. If we look at the cross section along the line , we get the parabola , for which the point is a maximum. But if we look at the cross section along the line , we get the parabola , for which the point is a minimum. A point like this, which is a maximum along some cross sections but a minimum along others, is called a saddle point.