# Graphing

Calculus provides information which is useful in graphing curves.

• The first derivative tells where a curve is increasing and where a curve is decreasing.
• The second derivative tells where a curve is concave up and where a curve is concave down.

I'll put this information together with some other techniques into a step-by-step graphing procedure. Here it is:

1. Find the domain of the function.
2. Find the x-intercepts (by setting and solving for x) and the y-intercept (by setting and solving for y).

There may not be any intercepts of a given kind.

If it's too difficult to solve for exact x-intercepts, you may want to use a calculating device to approximate them.

1. Find the derivatives and .
2. Use a sign chart for to find where the graph increases and where it decreases.
3. Use the -sign chart to locate any local maxima or minima.
4. Use a sign chart for to find where the graph is concave up and where it is concave down. Use the -sign chart to locate any inflection points.
5. By computing the appropriate limits, determine whether the graph has any vertical or horizontal asymptotes.

Check for horizontal asymptotes by computing

To locate any vertical asymptotes, look for isolated points or endpoints which are not in the domain. If is such a point, compute

1. Use the information you've obtained to sketch the graph.

You might wonder why it's necessary to go through all this trouble when graphing calculators and computers can draw graphs of functions. A calculator or a computer can't tell what features of a graph are interesting to people. You can't tell a computer to focus on an interesting feature unless you know --- by methods like those above --- that the interesting feature is there to begin with!

In one of the examples, I'll use the graphing procedure on . At the end of the example is a picture of the graph drawn by a computer. Look at the picture now. Can you tell from the picture that there's a local max at ? I know there is, because calculus says so!

Example. Graph .

The domain is .

The x-intercepts are .

There is no y-intercepts.

The derivatives are:

The function increases for and for . The function decreases for and for .

The is a local max at and a local min at .

The function is concave up for and for . The function is concave down for and for .

There are inflection points at and at .

The graph is asymptotic to as and as .

There is a vertical asymptote at :

Example. Graph .

The domain is .

The x-intercept is .

The y-intercepts is .

The derivatives are

The function increases for and for . The function decreases for and for .

There is a local max at and a local min at .

The function is concave up for and concave down for .

There is an inflection point at .

There are no horizontal asymptotes.

There is a vertical asymptote at :

Example. Graph .

The domain is .

The x-intercept is .

The y-intercept is .

The derivatives are

The function increases for and for . The function decreases for .

There is a local max at .

The function is concave up for and for . The function is concave down for .

There is an inflection point at .

The graph is asymptotic to as and as .

There is a vertical asymptotes at :

Example. Graph .

The domain consists of all real numbers.

The x-intercepts are .

The y-intercept is .

The derivatives are

The function increases for and for . It decreases for .

There is a local max at and a local min at . is neither a max nor a min.

The function is concave up for and for . It is concave down for and for . There are inflection points at , , and .

There are no vertical or horizontal asymptotes.

Example. Graph .

The domain is all real numbers.

The x-intercepts are

The y-intercept is .

The derivatives are

is defined for all x. for .

The function increases for and for ; it decreases for .

There is a local max at and a local min at .

is defined for all x. for and for .

The function is concave up for and for ; it is concave down for . and are inflection points.

There are no vertical asymptotes.

is a horizontal asymptote at .

Contact information