Mathematics 265 Introduction to Calculus I

Study Guide :: Unit 5

Applications of the Derivative

Objectives

When you have completed this unit, you should be able to

  1. use calculus to sketch the graph of a function in detail.
  2. solve optimization problems.
  3. apply Newton’s method to solve equations of the form $f(x)=0$.

To sketch the graph of a function, we must be methodical and clear about the information we obtain at each of the steps described in the first seven sections of this unit, and listed on pages 232-234 of the textbook. “Optimization” problems are so named because they involve decisions one can make to optimize the resources available under constraints. We end this unit with a discussion of one more application of the derivative—Newton’s method.

Domain, x-y Intercepts, and Symmetries

Prerequisites

To complete this section, you must be able to

  1. write inequalities in interval notation. See the section titled “Intervals” on pages 337-338 of the textbook.
  2. solve inequalities. See the section titled “Inequalities” on pages 338-340 of the textbook. Do Exercises 13-20 on page 343.
  3. use the absolute value to solve inequalities. See the section titled “Absolute Value” on pages 340-343 of the textbook. Do Exercises 1-10 on page 343.
  4. complete a perfect square. See the section titled “Complete the Square” on page 6 of the PDF file “Review of Algebra” available through the website that accompanies your textbook:

    http://www.stewartcalculus.com/media/1_home.php

In this section, we discuss how to obtain basic information about the graph of a function without using the derivative.

Sketching starts with the domain of a function as defined in Definition 2.6. The domain indicates where the function may have a vertical asymptote, and where the graph is located with respect to the $x$-axis. The functions we work with in this course may have a vertical asymptote in the following two possible cases:

  1. points where the function is not defined.
  2. the endpoints of the open intervals of the function’s domain.

Therefore, a function has no vertical asymptotes if its domain is , all real numbers.

Example 5.1. The domain of the function

f ( x ) = x 2 - 9

consists of all $x$ such that x 2 - 9 0 .

If we solve this inequality, we obtain x 2 9 .

Taking the square roots gives us | x | 3 .

Therefore, we have two inequalities—$x \leq -3$ and $x \geq 3$—and in interval notation, the domain is $(-\infty,-3] \cup [3,\infty)$.

Hence, the graph of this function does not exist between the vertical lines x = - 3 and x = 3 . Since intervals of the domain are closed at the endpoints 3 and - 3 , the function does not have vertical asymptotes.

Example 5.2. The domain of the function

h ( x ) = 4 x - 5 4 x 2 - 6 x

consists of all $x$ such that the denominator 4 x 2 - 6 x is not zero.

If 4 x 2 - 6 x = 0 , then 2 x ( 2 x - 3 ) = 0 and x = 0 or x = 3 2 .

The domain is all real numbers except 0 and 3 2 . So, this function may have vertical asymptotes at x = 0 or x = 3 2 .

Example 5.3. The domain of the function

g ( x ) = x 2 + 1 x ( 2 x - 7 ) 2

consists of $x$ such that x ( 2 x - 7 ) 2 0 , hence x 0 and x 7 2

The domain is

D g = - 0 , 7 2 ,

and again, the vertical lines x = 0 and x = 7 2 may be asymptotes of the function.

Example 5.4. The domain of the function

h ( x ) = x - 4 9 x 2 - 2 4 x + 1 0

consists of all $x$ such that 9 x 2 - 2 4 x + 1 0 > 0 .

Let us solve this inequality:

9 x 2 - 24 x + 10 = ( 3 x - 4 ) 2 - 6 completing the square
( 3 x - 4 ) 2 > 6
          taking square roots
| 3 x - 4 | > 6
          this gives two inequalities
3 x - 4 < - 6
  and   3 x - 4 > 6    
4 + 6 < 3 x
  and   4 - 6 > 3 x    
4 + 6 3 < x
  and   4 - 6 3 > x    

The domain is the union of the intervals

- , 4 - 6 3 and 4 + 6 3 , .

In this case, the vertical lines

x = 4 - 6 3 and 4 + 6 3

may be vertical asymptotes of the function, and there is no graph between these two vertical lines.

Example 5.5. In the function,

u ( x ) = 1 - sin  x ,

we have 1 - sin  x 0 , but since | sin  x | 1 , it is the case that 1 - sin  x 0 for any $x$, and the domain of the function is . Hence, there are no vertical asymptotes.

Example 5.6. To find the domain of the composition of two functions, we must consider the domain of each function.

In the function f ( x ) = tan ( 2 x + 1 ) , the domain of tan  u is the union of the intervals of the form

$\left( {\dfrac{{(2k + 1)\pi }}{2},\dfrac{{(2k + 3)\pi }}{2}} \right)$,  for any integer $k$.

Hence, the inside function 2 x + 1 must be in these intervals, that is

( 2 k + 1 ) π 2 < 2 x + 1 < ( 2 k + 3 ) π 2

Solving for $x$:

( 2 k + 1 ) π - 2 4 < x < ( 2 k + 3 ) π - 2 4

The domain is all intervals of the form

$\left( {\dfrac{{(2k + 1)\pi - 2}}{4},\dfrac{{(2k + 3)\pi - 2}}{4}} \right)$  for any integer $k$.

The function may have vertical asymptotes at

$x = \dfrac{{(2k + 1)\pi - 2}}{4}$   or   $x = \dfrac{{(2k + 3)\pi - 2}}{4}$   for any integer $k$.

The $x$ and $y$ intercepts are the points of the graph that intersect the $x$-axis and the $y$-axis, respectively.

Definition 5.1. For a function $f(x)$

  1. the points $(a,0)$ on the graph of $f$ are the $x$-intercepts
  2. the point $(0,b)$ on the graph of $f$ is the $y$-intercept.

Remarks 5.1

  1. The $x$-intercepts of a function are also known as the real “roots” of the function.
  2. A function may or may not intersect the axis.
  3. A function may have no, finite or infinitely many $x$ intercepts.
  4. A function has either no or one $y$-intercept.

To find the $x$-intercepts, we must find all $a$ such that $f(a) = 0$.

Example 5.7. For the function

f ( x ) = x 2 - 9 ,

we set x 2 - 9 = 0 and solve for $x$. Thus x 2 = 9 , if x = 3 or x = - 3 , and the $x$ intercepts are $(3,0)$ and $(-3,0)$.

Example 5.8. A quotient

g ( x ) = x 2 + 1 x ( 2 x - 7 ) 2

is zero if the numerator is zero, but in this case, x 2 + 1 0 for any real $x$; hence, the function has no $x$-intercepts.

Example 5.9. For the function

u ( x ) = 1 - sin  x ,

we set 1 - sin  x = 0 and solve for $x$.

This strategy yields sin  x = 1 , and we have

$x = \dfrac{{(4k + 1)\pi }}{2}$   for any integer $k$.

The function has infinitely many $x$-intercepts:

$\left( {\dfrac{{(4k + 1)\pi }}{2},0} \right)$   for any integer $k$.

Example 5.10. For the function

f ( x ) = tan ( 2 x + 1 ) ,

we have tan ( 2 x + 1 ) = 0 if sin ( 2 x + 1 ) = 0 .

Then

2 x + 1 = k π ,

and solving for $x$, we conclude that

( kπ1 2 ,0 ) .

There may be instances where we cannot solve $f(x)=0$ algebraically, and in such cases, we may be able to locate the $x$-intercepts using the Intermediate Value Theorem (see page 67 of the textbook).

Theorem 5.2. The Intermediate Value Theorem

If $f$ is a continuous function on the interval [ a , b ] and f ( a ) < M < f ( b ) , then there is number $c$ in the interval ( a , b ) —that is, a < c < b —such that f ( c ) = M .

Figure 5.1. Intermediate Value Theorem

In Figure 5.1, above, you can see the interpretation of this theorem.

For M = 0 , this theorem says that if f ( a ) < 0 < f ( b ) , then there is a $c$ such that f ( c ) = 0 .

Example 5.11. To find the $x$-intercept of the function

g ( x ) = x 3 + 4 x 2 + x - 4 ,

we must solve for $x$ in the equation x 3 + 4 x 2 + x - 4 = 0 . Since it is not easy to do so algebraically, we apply the Intermediate Value Theorem. The function is continuous everywhere, because $g$ is a polynomial. So, we must find two numbers, $a$ and $b$, such that g ( a ) < 0 < g ( b ) .

We observe that g ( 0 ) = - 4 < 0 and g ( 1 ) = 2 > 0 . Hence, g ( 0 ) < 0 < g ( 1 ) , and there must be a number $c$ between 0 and 1 such that g ( c ) = 0 ; hence, there is an $x$-intercept in the interval ( 0 , 1 ) .

You can check that g ( - 1 ) < 0 < g ( - 2 ) ; therefore, there is another $x$-intercept on the interval ( - 2 , - 1 ) .

In the last section of this unit, we consider Newton’s method, which can also be used to locate $x$-intercepts.

Remark 5.2

When sketching the graph of a function, it is convenient but not necessary to find the $x$-intercepts. If we find that the solution of $f(x)=0$ is too challenging or beyond our abilities, we do not solve it.

To find the $y$-intercept, we evaluate the function at zero, if zero is in the domain of the function.

Example 5.12. In Examples 5.1 to 5.3, we saw that zero is not in the domain of the functions

f ( x ) = x 2 - 9 , h ( x ) = 4 x - 5 4 x 2 - 6 x or g ( x ) = x 2 + 1 x ( 2 x - 7 ) 2 .

Hence, these functions do not have $y$-intercepts—that is, their graphs do not intersect the $y$-axis.

Example 5.13. In Example 5.4, we have the function

h ( x ) = x - 4 ( 4 - 3 x ) 2 - 6 ,

and h ( 0 ) = - 4 1 0 . Hence, the $y$-intercept of the function is

( 0, 4 10 )

Example 5.14. In Example 5.6, we have the function

f ( x ) = tan ( 2 x + 1 ) ,

and f ( 0 ) = tan ( 1 ) .

Hence, the $y$-intercept of the function is ( 0 , tan ( 1 ) ) ( 0 , 1 . 5 5 7 4 ) .

To sketch the graph of a function, it helps to know when a function has certain symmetries.

Consider the graph in Figure 5.2, below.

Figure 5.2. Basic graph

If the graph in Figure 5.2 were symmetric with respect to the $y$-axis, then the complete graph would be as shown in Figure 5.3:

Figure 5.3. Basic graph symmetrical with respect to the $y$-axis

If the graph in Figure 5.2 were symmetric with respect to the origin (i.e., across the diagonal formed by the identity function), then the complete graph would be as shown in Figure 5.4:

Figure 5.4. Basic graph symmetrical with respect to the origin

If a function is even, then its graph is symmetric with respect to the $y$-axis (see Figure 5.3, above). If the function is odd, then its graph is symmetric with respect to the origin (see Figure 5.4).

The function in Figure 5.5, below, is even.

Figure 5.5. Even function

The function in Figure 5.6 is odd:

Figure 5.6. Odd function

To identify these symmetries, we use the following definition.

Definition 5.3. A function $f(x)$ is even if f ( - x ) = f ( x ) for any $x$ in its domain.

A function $f(x)$ is odd if f ( - x ) = - f ( x ) for any $x$ in its domain.

Example 5.15.

  1. The function f ( x ) = x 4 is even because f ( - x ) = ( - x ) 4 = x 4 = f ( x ) .

    In general, if $n$ is even, then E ( x ) = x n is even.

  2. The function f ( x ) = x 3 is odd because f ( - x ) = ( - x ) 3 = - x 3 = - f ( x ) .

    In general if $m$ is odd, then O ( x ) = x m is odd.

  3. From the graphs of the trigonometric functions, we see that sine, tangent, cotangent and cosecant are odd functions; and cosine and secant are even.

    Remember that sin ( - x ) = - sin  x and cos ( - x ) = cos  x

  4. A constant function is even. [Why?]
  5. The absolute value function is even.

Example 5.16. To determine whether the function h ( x ) = - 2 x 3 + sin ( 2 x 2 ) is even, odd or neither, we evaluate the function at - x .

Hence,

h ( - x ) = - 2 ( - x ) 3 + sin ( 2 ( - x ) 2 ) = 2 x 3 + sin ( 2 x 2 ) .

Since

h ( - x ) h ( x ) and h ( - x ) - h ( x ) ,

the function is neither even nor odd.

Example 5.17. The function g ( x ) = 6 x cos ( 4 x ) is odd because

g ( - x ) = 6 ( - x ) cos ( 4 ( - x ) ) = - 6 x cos ( 4 x ) = - g ( x )

Example 5.18. Observe that for $f(x)$ and g ( x ) even, and h ( x ) and p ( x ) odd,

  1. f ( x ) + g ( x ) is even because f ( - x ) + g ( - x ) = f ( x ) + g ( x ) .

    So the function q ( x ) = x 4 + cos ( x ) is even.

  2. h ( x ) + p ( x ) is odd because h ( - x ) + p ( - x ) = - h ( x ) - p ( x ) = - ( h ( x ) + p ( x ) ) .

    So the function q ( x ) = x + tan  x is odd.

  3. f ( x ) g ( x ) is even because f ( - x ) g ( - x ) = f ( x ) g ( x ) .

    So the function q ( x ) = x 4 cos ( x ) is even.

  4. h ( x ) p ( x ) is even because h ( - x ) p ( - x ) = ( - h ( x ) ) ( - p ( x ) ) = h ( x ) p ( x ) ) .

    So the function q ( x ) = x tan  x is even.

  5. f ( x ) h ( x ) is odd because f ( - x ) h ( - x ) = f ( x ) ( - h ( x ) ) = - ( f ( x ) h ( x ) ) .

    So the function q ( x ) = x 4 tan ( x ) is odd.

  6. f ( g ( x ) ) is even because f ( g ( - x ) ) = f ( g ( x ) ) .

    So the function q ( x ) = cos ( x 4 ) is even.

  7. f ( h ( x ) ) is even because f ( h ( - x ) ) = f ( - h ( x ) ) = f ( h ( x ) ) .

    So the function q ( x ) = cos ( x 3 ) is even.

Example 5.19. Observe how we use Example 5.18 to decide if the functions given are even or odd.

  1. p ( x ) = 4 x 9 is odd because the constant function 4 is even and the function x 9 is odd—Example 5.18, (e).
  2. q ( x ) = x  tan  x + x 2  cos  x is even—Example 5.18, (c), (d), (a).
  3. g ( x ) = sec ( 4 x )  cos  x  tan  x is odd—Example 5.18, (d), (e).
Exercises
  1. Explain why polynomial functions do not have vertical asymptotes.
  2. Determine whether either of the following functions may have a vertical asymptote.
    1. f ( t ) = 1 3 - t
    2. g ( x ) = 3 x 2 + 5 x - 2 x 2 - 4
  3. Find the $x$-intercepts, if any, of each of the following functions.
    1. f ( t ) = 1 3 - t
    2. g ( x ) = 3 x 2 + 5 x - 2 x 2 - 4
    3. R ( x ) = x 2 + 2 x + 6
  4. Find the $y$-intercept, if any, of each of the following functions.
    1. f ( t ) = 1 3 - t
    2. g ( x ) = 3 x 2 + 5 x - 2 x 2 - 4
  5. Determine whether each of the functions below is even, odd or neither. If $f$ is even or odd, use symmetry to sketch its graph.
    1. f ( x ) = x - 2
    2. f ( x ) = x 2 + x
    3. f ( x ) = x 3 - x
    4. f ( x ) = 3 x 3 + 2 x 2 + 1
  6. If $f(x)$ is even and h ( x ) is odd, determine whether each of the following functions is odd or even.
    1. h ( f ( x ) )
    2. f ( x ) h ( x )
  7. Do Exercises 45-48, 49(a) and 51 on page 70 of the textbook.

Answers to Exercises