Education.com
Try
Brainzy
Try
Plus

# Graphing of Functions Help

(not rated)
By — McGraw-Hill Professional
Updated on Aug 31, 2011

## Introduction to Graphing of Functions

We know that the value of the derivative of a function f at a point x represents the slope of the tangent line to the graph of f at the point ( x , f(x) ). If that slope is positive, then the tangent line rises as x increases from left to right, hence so does the curve (we say that the function is increasing ). If instead the slope of the tangent line is negative, then the tangent line falls as x increases from left to right, hence so does the curve (we say that the function is decreasing ). We summarize:

On an interval where f′ > 0 the graph of f goes uphill.

On an interval where f′ < 0 the graph of f goes uphill.

See Fig. 3.1.

Fig. 3.1

With some additional thought, we can also get useful information from the second derivative. If f″ = ( f′ )′ > 0 at a point, then f′ is increasing. Hence the slope of the tangent line is getting ever greater (the graph is concave up ). The picture must be as in Fig. 3.2( a ) or 3.2( b ). If instead f″ = ( f′ )′ < 0 at a point then f′ is decreasing. Hence the slope of the tangent line is getting ever less (the graph is concave down ). The picture must be as in Fig. 3.3( a ) or 3.3( b ).

Fig. 3.2

Fig. 3.3

Using information about the first and second derivatives, we can render rather accurate graphs of functions. We now illustrate with some examples.

#### Example 1

Sketch the graph of f(x) = x 2 .

#### Solution 1

Of course this is a simple and familiar function, and you know that its graph is a parabola. But it is satisfying to see calculus confirm the shape of the graph. Let us see how this works.

First observe that f′(x) = 2 x . We see that f′ < 0 when x < 0 and f′ > 0 when x > 0. So the graph is decreasing on the negative real axis and the graph is increasing on the positive real axis.

Next observe that f″ ( x ) = 2. Thus f″ > 0 at all points. Thus the graph is concave up everywhere.

Finally note that the graph passes through the origin.

We summarize this information in the graph shown in Fig. 3.4 .

Fig. 3.4

#### Example 2

Sketch the graph of f(x) = x 3 .

#### Solution 2

First observe that f′(x) = 3 x 2. Thus f′ ≥ 0 everywhere. The function is always increasing.

Second observe that f″(x) = 6 x . Thus f″(x) < 0 when x < 0 and f″(x) > 0 when x > 0. So the graph is concave down on the negative real axis and concave up on the positive real axis.

Finally note that the graph passes through the origin.

We summarize our findings in the graph shown in Fig. 3.5 .

Fig. 3.5

You Try It: Use calculus to aid you in sketching the graph of f(x) = x 3 + x .

#### Example 3

Sketch the graph of g(x) = x + sin x .

#### Solution 3

We see that g′(x) = 1 + cos x . Since −1 ≤ cos x ≤ 1, it follows that g′(x) ≥ 0. Hence the graph of g is always increasing.

Now g″(x) = − sin x . This function is positive sometimes and negative sometimes. In fact

− sin x is positive when < x < ( k + 1) , k odd

and

− sin x is negative when < x < ( k + 1) , k even.

So the graph alternates being concave down and concave up. Of course it also passes through the origin. We amalgamate all our information in the graph shown in Fig. 3.6.

Fig. 3.6

#### Example 4

Sketch the graph of h(x) = x /( x + 1).

#### Solution 4

First note that the function is undefined at x = − 1.

We calculate that h′ ( x ) = 1/(( x + 1) 2 ). Thus the graph is everywhere increasing (except at x = −1).

We also calculate that h″ ( x ) = −2/(( x + 1) 3 ). Hence h″ > 0 and the graph is concave up when x < − 1. Likewise h″ < 0 and the graph is concave down when x > − 1.

Finally, as x tends to −1 from the left we notice that h tends to +∞ and as x tends to −1 from the right we see that h tends to −∞.

Putting all this information together, we obtain the graph shown in Fig. 3.7 .

Fig. 3.7

You Try It: Sketch the graph of the function .

#### Example 5

Sketch the graph of k(x) = x 3 + 3 x 2 − 9 x + 6.

#### Solution 5

We notice that k′ ( x ) = 3 x 2 + 6 x − 9 = 3( x − 1)( x + 3). So the sign of k′ changes at x = 1 and x = −3. We conclude that

k′ is positive when x < −3;

k′ is negative when −3 < x < 1;

k′ is positive when x > 3.

Finally, k″ ( x ) = 6 x + 6. Thus the graph is concave down when x < −1 and the graph is concave up when x > −1.

Putting all this information together, and using the facts that k(x) → −∞ when x → −∞ and k(x) → +∞ when x → +∞, we obtain the graph shown in Fig. 3.8 .

Fig. 3.8

Find practice problems and solutions for these concepts at: Applications of the Derivative Practice Test.

150 Characters allowed

### Related Questions

#### Q:

See More Questions
Top Worksheet Slideshows