# Sketching Graphs

Now that we've seen what kind of information is represented in the first and second derivatives, we can put everything together to obtain a comprehensive understanding of functions. In this section, we'll demonstrate this by sketching the graphs of a few functions.

Example 1

Let's consider the function . This is a simple polynomial and we should be able to say quite a lot about its graph.

Let's begin with some simple observations. First, the graph will have some symmetry: since only odd powers occur in the polynomial, we see that . We call this type of function odd : it implies that the graph is symmetric when rotated by 180 degrees about the origin. In essence, this will reduce the amount of work we really have to do by half since if we know what the graph looks like for positive , we also understand its behaviour for negative as well.

Secondly, we can find some interesting points on the graph---namely, where it crosses the axis. These are points for which

Notice that the values are zeroes of and hence the graph crosses the axis at these points.

We can find out where the function is increasing and decreasing by studying the function's first and second derivatives. If we compute, we find that

To find where the function increases and decreases, we can factor the first derivative as . The function has critical points for those values of where . These occur at . Now if we consider how the derivative behaves in between these critical points, we see that

 + 0 - 0 - 0 + 0

This shows that the function is increasing when and and decreasing when .

Now the second derivative when either . In between the zeroes of the second derivative, we have

 - 0 + 0 - 0 + 0

This says that the graph is concave up when either and and concave down in the other areas. Notice that the points are all inflection points since the second derivative changes sign at each of them.

We can now put all of this together to sketch the graph. We will denote the special points (i.e. points where either the first or second derivative is zero) by putting a ball on the graph at those points.

Notice that the graph looks like near the origin and far away from the origin. This agrees with our discussion of powers of x.

Example 2
 For our next example, we'll consider the function Once again, this graph will have symmetry since . This type of function is called even and it implies that the graph will look the same if reflected in the axis. Notice that, for this function, there are no points which cross the axis since the numerator is never equal to 0. Now let's compute the first and second derivatives: we see that Now, the first derivative provides us with a critical point when . When , which means that is increasing. When , then which means that is decreasing. For the second derivative, we see that when . The graph is concave up for and and concave down between . To finish off the graph, notice the following. As becomes very large, the denominator looks approximately like and hence the function looks like . This means that, for large values of , the function becomes very small. In terms of the graph, this means that it becomes very close to the axis. We can now sketch the graph using this information.