Derivatives

In this section, you will:

The average teen in the United States opens a refrigerator door an estimated 25 times per day. Supposedly, this average is up from 10 years ago when the average teenager opened a refrigerator door 20 times per day 1.

It is estimated that a television is on in a home 6.75 hours per day, whereas parents spend an estimated 5.5 minutes per day having a meaningful conversation with their children. These averages, too, are not the same as they were 10 years ago, when the television was on an estimated 6 hours per day in the typical household, and parents spent 12 minutes per day in meaningful conversation with their kids.

What do these scenarios have in common? The functions representing them have changed over time. In this section, we will consider methods of computing such changes over time.

Finding the Average Rate of Change of a Function

The functions describing the examples above involve a change over time. Change divided by time is one example of a rate. The rates of change in the previous examples are each different. In other words, some changed faster than others. If we were to graph the functions, we could compare the rates by determining the slopes of the graphs.

A tangent line to a curve is a line that intersects the curve at only a single point but does not cross it there. (The tangent line may intersect the curve at another point away from the point of interest.) If we zoom in on a curve at that point, the curve appears linear, and the slope of the curve at that point is close to the slope of the tangent line at that point.

[link] represents the function f( x )= x 3 4x.

We can see the slope at various points along the curve.

Graph of f(x) = x^3 - 4x with tangent lines at x = -2 with a slope of 8, at x = -3 with a slope of -1, and at x=2 with a slope of 8.

Let’s imagine a point on the curve of function f

at x=a

as shown in [link]. The coordinates of the point are ( a,f(a) ).

Connect this point with a second point on the curve a little to the right of x=a,

with an x-value increased by some small real number h.

The coordinates of this second point are ( a+h,f(a+h) )

for some positive-value h.

Graph of an increasing function that demonstrates the rate of change of the function by drawing a line between the two points, (a, f(a)) and (a, f(a+h)).

We can calculate the slope of the line connecting the two points (a,f(a))

and (a+h,f(a+h)),

called a secant line, by applying the slope formula,

slope =  change in y change in x

We use the notation m sec

to represent the slope of the secant line connecting two points.

m sec = f(a+h)f(a) (a+h)(a)        = f(a+h)f(a) a +h a

The slope m sec

equals the average rate of change between two points (a,f(a))

and (a+h,f(a+h)).

m sec = f( a+h )f( a ) h
The Average Rate of Change between Two Points on a Curve

The average rate of change (AROC) between two points (a,f(a))

and (a+h,f(a+h))

on the curve of f

is the slope of the line connecting the two points and is given by

AROC= f( a+h )f( a ) h
Finding the Average Rate of Change

Find the average rate of change connecting the points ( 2,−6 )

and ( −1,5 ).

We know the average rate of change connecting two points may be given by

AROC= f( a+h )f( a ) h .

If one point is ( 2,6 ),

or ( 2,f( 2 ) ),

then f( 2 )=−6.

The value h

is the displacement from 2

to 1,

which equals 12=−3.

For the other point, f( a+h )

is the y-coordinate at a+h ,

which is 2+(−3)

or −1,

so f(a+h)=f(−1)=5.

AROC= f(a+h)f(a) h            = 5(6) 3            = 11 3            = 11 3

Find the average rate of change connecting the points ( 5,1.5 )

and (2.5,9).

3

Understanding the Instantaneous Rate of Change

Now that we can find the average rate of change, suppose we make h

in [link] smaller and smaller. Then a+h

will approach a

as h

gets smaller, getting closer and closer to 0. Likewise, the second point ( a+h,f(a+h) )

will approach the first point, ( a,f(a) ).

As a consequence, the connecting line between the two points, called the secant line, will get closer and closer to being a tangent to the function at x=a,

and the slope of the secant line will get closer and closer to the slope of the tangent at x=a.

See [link].

Graph of an increasing function that contains a point, P, at (a, f(a)). At the point, there is a tangent line and two secant lines where one secant line is connected to Q1 and another secant line is connected to Q2.

Because we are looking for the slope of the tangent at x=a,

we can think of the measure of the slope of the curve of a function f

at a given point as the rate of change at a particular instant. We call this slope the instantaneous rate of change, or the derivative of the function at x=a.

Both can be found by finding the limit of the slope of a line connecting the point at x=a

with a second point infinitesimally close along the curve. For a function f

both the instantaneous rate of change of the function and the derivative of the function at x=a

are written as f'(a),

and we can define them as a two-sided limit that has the same value whether approached from the left or the right.

f (a)= lim h0 f( a+h )f( a ) h

The expression by which the limit is found is known as the difference quotient.

Definition of Instantaneous Rate of Change and Derivative

The derivative, or instantaneous rate of change, of a function f

at x=a ,

is given by

f'(a)= lim h0 f( a+h )f( a ) h

The expression f( a+h )f( a ) h

is called the difference quotient.

We use the difference quotient to evaluate the limit of the rate of change of the function as h

approaches 0.

Derivatives: Interpretations and Notation

The derivative of a function can be interpreted in different ways. It can be observed as the behavior of a graph of the function or calculated as a numerical rate of change of the function.

Notations for the Derivative

The equation of the derivative of a function f( x )

is written as y = f (x),

where y=f(x).

The notation f (x)

is read as “ f prime of x.

” Alternate notations for the derivative include the following:

f (x)= y = dy dx = df dx = d dx f(x)=Df(x)

The expression f (x)

is now a function of x

; this function gives the slope of the curve y=f( x )

at any value of x.

The derivative of a function f( x )

at a point x=a

is denoted f (a).

**Given a function f,

find the derivative by applying the definition of the derivative.**

  1. Calculate f( a+h ).
  2. Calculate f( a ).
  3. Substitute and simplify f( a+h )f( a ) h .
  4. Evaluate the limit if it exists: f (a)= lim h0 f( a+h )f( a ) h .
Finding the Derivative of a Polynomial Function

Find the derivative of the function f(x)= x 2 3x+5

at x=a.

We have:

f (a)= lim h0 f( a+h )f( a ) h                   Definition of a derivative 

Substitute f(a+h)= (a+h) 2 3(a+h)+5

and f(a)= a 2 3a+5.

f (a)= lim h0 (a+h)(a+h)3(a+h)+5( a 2 3a+5) h         = lim h0 a 2 +2ah+ h 2 3a3h+5 a 2 +3a5 h Evaluate to remove parentheses.         = lim h0 a 2 +2ah+ h 2 3a 3h +5 a 2 +3a 5 h Simplify.         = lim h0 2ah+ h 2 3h h         = lim h0 h (2a+h3) h Factor out an h.         =2a+03 Evaluate the limit.         =2a3

Find the derivative of the function f(x)=3 x 2 +7x

at x=a.

f (a)=6a+7

Finding Derivatives of Rational Functions

To find the derivative of a rational function, we will sometimes simplify the expression using algebraic techniques we have already learned.

Finding the Derivative of a Rational Function

Find the derivative of the function f(x)= 3+x 2x

at x=a.

f (a)= lim h0 f( a+h )f( a ) h         = lim h0 3+( a+h ) 2( a+h ) ( 3+a 2a ) h Substitute f(a+h) and f(a)        = lim h0 (2(a+h))(2a)[ 3+( a+h ) 2( a+h ) ( 3+a 2a ) ] (2(a+h))(2a)(h) Multiply numerator and denominator by (2(a+h))(2a)        = lim h0 ( 2( a+h ) ) (2a)( 3+( a+h ) ( 2( a+h ) ) )(2(a+h)) ( 2a ) ( 3+a 2a ) ( 2( a+h ) )(2a)(h) Distribute        = lim h0 63a+2a a 2 +2hah6+3a+3h2a+ a 2 +ah ( 2( a+h ) )( 2a )(h) Multiply        = lim h0 5 h ( 2( a+h ) )( 2a )( h ) Combine like terms        = lim h0 5 ( 2( a+h ) )( 2a ) Cancel like factors        = 5 ( 2( a+0 ) )( 2a ) = 5 ( 2a )( 2a ) = 5 ( 2a ) 2 Evaluate the limit

Find the derivative of the function f(x)= 10x+11 5x+4

at x=a.

f (a)= 15 ( 5a+4 ) 2

Finding Derivatives of Functions with Roots

To find derivatives of functions with roots, we use the methods we have learned to find limits of functions with roots, including multiplying by a conjugate.

Finding the Derivative of a Function with a Root

Find the derivative of the function f(x)=4 x

at x=36.

We have

f (a)= lim h0 f(a+h)f(a) h         = lim h0 4 a+h 4 a h Substitute f(a+h) and f(a)

Multiply the numerator and denominator by the conjugate: 4 a+h +4 a 4 a+h +4 a .

    f (a)= lim h0 ( 4 a+h 4 a h )( 4 a+h +4 a 4 a+h +4 a )            = lim h0 ( 16(a+h)16a h4( a+h +4 a ) ) Multiply.            = lim h0 ( 16a +16h 16a h4( a+h +4 a ) ) Distribute and combine like terms.            = lim h0 ( 16 h h ( 4 a+h +4 a ) ) Simplify.            = lim h0 ( 16 4 a+h +4 a ) Evaluate the limit by letting h=0.            = 16 8 a = 2 a   f (36)= 2 36 Evaluate the derivative at x=36.            = 2 6            = 1 3

Find the derivative of the function f( x )=9 x

at x=9.

3 2

Finding Instantaneous Rates of Change

Many applications of the derivative involve determining the rate of change at a given instant of a function with the independent variable time—which is why the term instantaneous is used. Consider the height of a ball tossed upward with an initial velocity of 64 feet per second, given by s(t)=−16 t 2 +64t+6,

where t

is measured in seconds and s( t )

is measured in feet. We know the path is that of a parabola. The derivative will tell us how the height is changing at any given point in time. The height of the ball is shown in [link] as a function of time. In physics, we call this the “s-t graph.”

Graph of a negative parabola with a vertex at (2, 70) and two points at (1, 55) and (3, 55).

Finding the Instantaneous Rate of Change

Using the function above, s(t)=−16 t 2 +64t+6,

what is the instantaneous velocity of the ball at 1 second and 3 seconds into its flight?

The velocity at t=1

and t=3

is the instantaneous rate of change of distance per time, or velocity. Notice that the initial height is 6 feet. To find the instantaneous velocity, we find the derivative and evaluate it at t=1

and t=3:

f (a)= lim h0 f(a+h)f(a) h         = lim h0 16 (t+h) 2 +64(t+h)+6(16 t 2 +64t+6) h Substitute s(t+h) and s(t).         = lim h0 16 t 2 32ht h 2 +64t+64h+6+16 t 2 64t6 h Distribute.         = lim h0 32ht h 2 +64h h Simplify.         = lim h0 h (32th+64) h Factor the numerator.         = lim h0 32th+64 Cancel out the common factor h. s (t)=32t+64 Evaluate the limit by letting h=0.

For any value of t

, s ( t )

tells us the velocity at that value of t.

Evaluate t=1

and t=3.

s (1)=−32(1)+64=32 s (3)=−32(3)+64=−32

The velocity of the ball after 1 second is 32 feet per second, as it is on the way up.

The velocity of the ball after 3 seconds is −32

feet per second, as it is on the way down.

The position of the ball is given by s(t)=−16 t 2 +64t+6.

What is its velocity 2 seconds into flight?

0

Using Graphs to Find Instantaneous Rates of Change

We can estimate an instantaneous rate of change at x=a

by observing the slope of the curve of the function f( x )

at x=a.

We do this by drawing a line tangent to the function at x=a

and finding its slope.

Given a graph of a function f( x ), find the instantaneous rate of change of the function at x=a.

  1. Locate x=a

    on the graph of the function

    f( x ).
  2. Draw a tangent line, a line that goes through x=a

    at

    a

    and at no other point in that section of the curve. Extend the line far enough to calculate its slope as

    change in y change in x .
Estimating the Derivative at a Point on the Graph of a Function

From the graph of the function y=f( x )

presented in [link], estimate each of the following:

f(0) f(2) f'(0) f'(2)

Graph of an odd function with multiplicity of two and with two points at (0, 1) and (2, 1).

To find the functional value, f( a ),

find the y-coordinate at x=a.

To find the derivative at x=a,

f ( a ),

draw a tangent line at x=a,

and estimate the slope of that tangent line. See [link].

Graph of the previous function with tangent lines at the two points (0, 1) and (2, 1). The graph demonstrates the slopes of the tangent lines. The slope of the tangent line at x = 0 is 0, and the slope of the tangent line at x = 2 is 4.

  1. f(0)

    is the y-coordinate at

    x=0.

    The point has coordinates

    ( 0,1 ),

    thus

    f(0)=1.
  2. f(2)

    is the y-coordinate at

    x=2.

    The point has coordinates

    ( 2,1 ),

    thus

    f(2)=1.
  3. f (0)

    is found by estimating the slope of the tangent line to the curve at

    x=0.

    The tangent line to the curve at

    x=0

    appears horizontal. Horizontal lines have a slope of 0, thus

    f (0)=0.
  4. f (2)

    is found by estimating the slope of the tangent line to the curve at

    x=2.

    Observe the path of the tangent line to the curve at

    x=2.

    As the

    x

    value moves one unit to the right, the

    y

    value moves up four units to another point on the line. Thus, the slope is 4, so

    f (2)=4.

Using the graph of the function f(x)= x 3 3x

shown in [link], estimate: f(1),

f (1), f(0),

and f (0).

Graph of the function f(x) = x^3-3x with a viewing window of [-4. 4] by [-5, 7

2 ,

0, 0, 3

Using Instantaneous Rates of Change to Solve Real-World Problems

Another way to interpret an instantaneous rate of change at x=a

is to observe the function in a real-world context. The unit for the derivative of a function f( x )

is

output units   input unit 

Such a unit shows by how many units the output changes for each one-unit change of input. The instantaneous rate of change at a given instant shows the same thing: the units of change of output per one-unit change of input.

One example of an instantaneous rate of change is a marginal cost. For example, suppose the production cost for a company to produce x

items is given by C( x ),

in thousands of dollars. The derivative function tells us how the cost is changing for any value of x

in the domain of the function. In other words, C ( x )

is interpreted as a marginal cost, the additional cost in thousands of dollars of producing one more item when x

items have been produced. For example, C ( 11 )

is the approximate additional cost in thousands of dollars of producing the 12th item after 11 items have been produced. C ( 11 )=2.50

means that when 11 items have been produced, producing the 12th item would increase the total cost by approximately $2,500.00.

Finding a Marginal Cost

The cost in dollars of producing x

laptop computers in dollars is f( x )= x 2 100x.

At the point where 200 computers have been produced, what is the approximate cost of producing the 201st unit?

If f( x )= x 2 100x

describes the cost of producing x

computers, f ( x )

will describe the marginal cost. We need to find the derivative. For purposes of calculating the derivative, we can use the following functions:

f(a+b)= (x+h) 2 100(x+h)       f(a)= a 2 100a
     f (x)= f(a+h)f(a) h Formula for a derivative              = (x+h) 2 100(x+h)( x 2 100x) h Substitute f(a+h) and f(a).              = x 2 +2xh+ h 2 100x100h x 2 +100x h Multiply polynomials, distribute.              = 2xh+ h 2 100h h Collect like terms.              = h (2x+h100) h Factor and cancel like terms.              =2x+h100 Simplify.              =2x100 Evaluate when h=0.       f (x)=2x100 Formula for marginal cost   f (200)=2(200)100=300 Evaluate for 200 units.

The marginal cost of producing the 201st unit will be approximately $300.

Interpreting a Derivative in Context

A car leaves an intersection. The distance it travels in miles is given by the function f( t ),

where t

represents hours. Explain the following notations:

f(0)=0 f (1)=60 f(1)=70 f(2.5)=150

First we need to evaluate the function f(t)

and the derivative of the function f (t),

and distinguish between the two. When we evaluate the function f(t),

we are finding the distance the car has traveled in t

hours. When we evaluate the derivative f (t),

we are finding the speed of the car after t

hours.

  1. f(0)=0

    means that in zero hours, the car has traveled zero miles.

  2. f (1)=60

    means that one hour into the trip, the car is traveling 60 miles per hour.

  3. f(1)=70

    means that one hour into the trip, the car has traveled 70 miles. At some point during the first hour, then, the car must have been traveling faster than it was at the 1-hour mark.

  4. f(2.5)=150

    means that two hours and thirty minutes into the trip, the car has traveled 150 miles.

A runner runs along a straight east-west road. The function f( t )

gives how many feet eastward of her starting point she is after t

seconds. Interpret each of the following as it relates to the runner.

f( 0 )=0 f( 10 )=150 f ( 10 )=15 f ( 20 )=10 f( 40 )=−100

  1. After zero seconds, she has traveled 0 feet.
  2. After 10 seconds, she has traveled 150 feet east.
  3. After 10 seconds, she is moving eastward at a rate of 15 ft/sec.
  4. After 20 seconds, she is moving westward at a rate of 10 ft/sec.
  5. After 40 seconds, she is 100 feet westward of her starting point.

Finding Points Where a Function’s Derivative Does Not Exist

To understand where a function’s derivative does not exist, we need to recall what normally happens when a function f( x )

has a derivative at x=a

. Suppose we use a graphing utility to zoom in on x=a

. If the function f( x )

is differentiable, that is, if it is a function that can be differentiated, then the closer one zooms in, the more closely the graph approaches a straight line. This characteristic is called linearity.

Look at the graph in [link]. The closer we zoom in on the point, the more linear the curve appears.

Graph of a negative parabola that is zoomed in on a point to show that the curve becomes linear the closer it is zoomed in.

We might presume the same thing would happen with any continuous function, but that is not so. The function f(x)=\| x \|,

for example, is continuous at x=0,

but not differentiable at x=0.

As we zoom in close to 0 in [link], the graph does not approach a straight line. No matter how close we zoom in, the graph maintains its sharp corner.

![Graph of an absolute function.](../resources/CNX_Precalc_Figure_12_04_009.jpg “Graph of the function  f(x)= x , with x-axis from –0.1 to 0.1 and y-axis from –0.1 to 0.1.”){: #CNX_Precalc_Figure_12_04_009}

We zoom in closer by narrowing the range to produce [link] and continue to observe the same shape. This graph does not appear linear at x=0.

![Graph of an absolute function.](../resources/CNX_Precalc_Figure_12_04_010.jpg “Graph of the function  f(x)= x , with x-axis from –0.001 to 0.001 and y-axis from—0.001 to 0.001.”){: #CNX_Precalc_Figure_12_04_010}

What are the characteristics of a graph that is not differentiable at a point? Here are some examples in which function f( x )

is not differentiable at x=a.

In [link], we see the graph of

f(x)={ x 2 , x2 8x, x>2 .

Notice that, as x

approaches 2 from the left, the left-hand limit may be observed to be 4, while as x

approaches 2 from the right, the right-hand limit may be observed to be 6. We see that it has a discontinuity at x=2.

Graph of a piecewise function where from negative infinity to (2, 4) is a positive parabola and from (2, 6) to positive infinity is a linear line.

In [link], we see the graph of f(x)=\| x \|.

We see that the graph has a corner point at x=0.

![Graph of an absolute function.](../resources/CNX_Precalc_Figure_12_04_012.jpg “The graph of  f(x)= x  has a corner point at  x=0 .”){: #CNX_Precalc_Figure_12_04_012}

In [link], we see that the graph of f(x)= x 2 3

has a cusp at x=0.

A cusp has a unique feature. Moving away from the cusp, both the left-hand and right-hand limits approach either infinity or negative infinity. Notice the tangent lines as x

approaches 0 from both the left and the right appear to get increasingly steeper, but one has a negative slope, the other has a positive slope.

Graph of f(x) = x^(2/3) with a viewing window of [-3, 3] by [-2, 3].

In [link], we see that the graph of f(x)= x 1 3

has a vertical tangent at x=0.

Recall that vertical tangents are vertical lines, so where a vertical tangent exists, the slope of the line is undefined. This is why the derivative, which measures the slope, does not exist there.

Graph of f(x) = x^(1/3) with a viewing window of [-3, 3] by [-3, 3].

Differentiability

A function f( x )

is differentiable at x=a

if the derivative exists at x=a,

which means that f (a)

exists.

There are four cases for which a function f( x )

is not differentiable at a point x=a.

  1. When there is a discontinuity at x=a.
  2. When there is a corner point at x=a.
  3. When there is a cusp at x=a.
  4. Any other time when there is a vertical tangent at x=a.
Determining Where a Function Is Continuous and Differentiable from a Graph

Using [link], determine where the function is

  1. continuous
  2. discontinuous
  3. differentiable
  4. not differentiable

At the points where the graph is discontinuous or not differentiable, state why.

Graph of a piecewise function that has a removable discontinuity at (-2, -1) and is discontinuous when x =1.

The graph of f( x )

is continuous on ( −∞,−2 )( −2, 1 )( 1, ).

The graph of f( x )

has a removable discontinuity at x=−2

and a jump discontinuity at x=1.

See [link].

Graph of the previous function that shows the intervals of continuity.

The graph of is differentiable on ( −∞,−2 )( −2,−1 )( −1,1 )( 1,2 )( 2, ).

The graph of f(x)

is not differentiable at x=−2

because it is a point of discontinuity, at x=−1

because of a sharp corner, at x=1

because it is a point of discontinuity, and at x=2

because of a sharp corner. See [link].

Graph of the previous function that not only shows the intervals of continuity but also labels the parts of the graph that has sharp corners and discontinuities. The sharp corners are at (-1, -1) and (2, 3), and the discontinuities are at (-2, -1) and (1, 1).

Determine where the function y=f( x )

shown in [link] is continuous and differentiable from the graph.

Graph of a piecewise function with three pieces.

The graph of f

is continuous on ( ,1 )( 1,3 )( 3, ).

The graph of f

is discontinuous at x=1

and x=3.

The graph of f

is differentiable on ( ,1 )( 1,3 )( 3, ).

The graph of f

is not differentiable at x=1

and x=3.

Finding an Equation of a Line Tangent to the Graph of a Function

The equation of a tangent line to a curve of the function f( x )

at x=a

is derived from the point-slope form of a line, y=m( x x 1 )+ y 1 .

The slope of the line is the slope of the curve at x=a

and is therefore equal to f (a),

the derivative of f( x )

at x=a.

The coordinate pair of the point on the line at x=a

is (a,f(a)).

If we substitute into the point-slope form, we have

The point-slope formula that demonstrates that m = f(a), x1 = a, and y_1 = f(a). The equation of the tangent line is

y=f'(a)( xa )+f(a)
The Equation of a Line Tangent to a Curve of the Function *f*

The equation of a line tangent to the curve of a function f

at a point x=a

is

y=f'(a)( xa )+f(a)

Given a function f, find the equation of a line tangent to the function at x=a.

  1. Find the derivative of f( x )

    at

    x=a

    using

    f (a)= lim h0 f( a+h )f( a ) h .
  2. Evaluate the function at x=a.

    This is

    f( a ).
  3. Substitute ( a,f( a ) )

    and

    f ( a )

    into

    y=f'(a)( xa )+f(a).
  4. Write the equation of the tangent line in the form y=mx+b.
Finding the Equation of a Line Tangent to a Function at a Point

Find the equation of a line tangent to the curve f(x)= x 2 4x

at x=3.

Using:

f'(a)= lim h0 f( a+h )f( a ) h

Substitute f(a+h)= (a+h) 2 4(a+h)

and f(a)= a 2 4a.

  f (a)= lim h0 (a+h)(a+h)4(a+h)( a 2 4a) h          = lim h0 a 2 +2ah+ h 2 4a4h a 2 +4a h Remove parentheses.          = lim h0 a 2 +2ah+ h 2 4a 4h a 2 +4a h Combine like terms.          = lim h0 2ah+ h 2 4h h          = lim h0 h (2a+h4) h Factor out h.          =2a+04 f (a)=2a4 Evaluate the limit.   f (3)=2(3)4=2

Equation of tangent line at x=3:

y=f'(a)(xa)+f(a) y=f'(3)(x3)+f(3) y=2(x3)+(3) y=2x9
Analysis

We can use a graphing utility to graph the function and the tangent line. In so doing, we can observe the point of tangency at x=3

as shown in [link].

Graph of f(x) = x^2-4x with a tangent line at x = 3 which has the equation of y = 2x - 9.

Find the equation of a tangent line to the curve of the function f(x)=5 x 2 x+4

at x=2.

y=19x16

Finding the Instantaneous Speed of a Particle

If a function measures position versus time, the derivative measures displacement versus time, or the speed of the object. A change in speed or direction relative to a change in time is known as velocity. The velocity at a given instant is known as instantaneous velocity.

In trying to find the speed or velocity of an object at a given instant, we seem to encounter a contradiction. We normally define speed as the distance traveled divided by the elapsed time. But in an instant, no distance is traveled, and no time elapses. How will we divide zero by zero? The use of a derivative solves this problem. A derivative allows us to say that even while the object’s velocity is constantly changing, it has a certain velocity at a given instant. That means that if the object traveled at that exact velocity for a unit of time, it would travel the specified distance.

Instantaneous Velocity

Let the function s( t )

represent the position of an object at time t.

The instantaneous velocity or velocity of the object at time t=a

is given by

s (a)= lim h0 s( a+h )s( a ) h
Finding the Instantaneous Velocity

A ball is tossed upward from a height of 200 feet with an initial velocity of 36 ft/sec. If the height of the ball in feet after t

seconds is given by s(t)=−16 t 2 +36t+200,

find the instantaneous velocity of the ball at t=2.

First, we must find the derivative s ( t )

. Then we evaluate the derivative at t=2,

using s( a+h )=16 ( a+h ) 2 +36(a+h)+200

and s( a )=16 a 2 +36a+200.

s (a)= lim h0 s(a+h)s(a) h         = lim h0 16 (a+h) 2 +36(a+h)+200(16 a 2 +36a+200) h         = lim h0 16( a 2 +2ah+ h 2 )+36(a+h)+200(16 a 2 +36a+200) h         = lim h0 16 a 2 32ah16 h 2 +36a+36h+200+16 a 2 36a200 h         = lim h0 16 a 2 32ah16 h 2 +36a +36h +200 +16 a 2 36a 200 h         = lim h0 32ah16 h 2 +36h h         = lim h0 h (32a16h+36) h         = lim h0 (32a16h+36)         =32a160+36   s (a)=32a+36   s (2)=32(2)+36         =28
Analysis

This result means that at time t=2

seconds, the ball is dropping at a rate of 28 ft/sec.

A fireworks rocket is shot upward out of a pit 12 ft below the ground at a velocity of 60 ft/sec. Its height in feet after t

seconds is given by s=16 t 2 +60t12.

What is its instantaneous velocity after 4 seconds?

–68 ft/sec, it is dropping back to Earth at a rate of 68 ft/s.

Access these online resources for additional instruction and practice with derivatives.

Visit this website for additional practice questions from Learningpod.

Key Equations

average rate of change AROC= f( a+h )f( a ) h
   
derivative of a function f (a)= lim h0 f( a+h )f( a ) h

Key Concepts

Section Exercises

Verbal

How is the slope of a linear function similar to the derivative?

The slope of a linear function stays the same. The derivative of a general function varies according to x.

Both the slope of a line and the derivative at a point measure the rate of change of the function.

What is the difference between the average rate of change of a function on the interval [ x,x+h ]

and the derivative of the function at x?

A car traveled 110 miles during the time period from 2:00 P.M. to 4:00 P.M. What was the car’s average velocity? At exactly 2:30 P.M., the speed of the car registered exactly 62 miles per hour. What is another name for the speed of the car at 2:30 P.M.? Why does this speed differ from the average velocity?

Average velocity is 55 miles per hour. The instantaneous velocity at 2:30 p.m. is 62 miles per hour. The instantaneous velocity measures the velocity of the car at an instant of time whereas the average velocity gives the velocity of the car over an interval.

Explain the concept of the slope of a curve at point x.

Suppose water is flowing into a tank at an average rate of 45 gallons per minute. Translate this statement into the language of mathematics.

The average rate of change of the amount of water in the tank is 45 gallons per minute. If f( x )

is the function giving the amount of water in the tank at any time t ,

then the average rate of change of f( x )

between t=a

and t=b

is f(a)+45(ba).

Algebraic

For the following exercises, use the definition of derivative lim h0 f(x+h)f(x) h

to calculate the derivative of each function.

f( x )=3x4
f( x )=2x+1
f (x)=2
f( x )= x 2 2x+1
f( x )=2 x 2 +x3
f (x)=4x+1
f( x )=2 x 2 +5
f( x )= 1 x2
f (x)= 1 (x2) 2
f( x )= 2+x 1x
f( x )= 52x 3+2x
16 ( 3+2x ) 2
f( x )= 1+3x
f(x)=3 x 3 x 2 +2x+5
f (x)=9 x 2 2x+2
f(x)=5
f(x)=5π
f (x)=0

For the following exercises, find the average rate of change between the two points.

( −2,0 )

and ( −4,5 )

( 4,−3 )

and ( −2,−1 )

1 3
( 0,5 )

and ( 6,5 )

( 7,−2 )

and ( 7,10 )

undefined

For the following polynomial functions, find the derivatives.

f(x)= x 3 +1
f(x)=3 x 2 7x=6
f (x)=6x7
f(x)=7 x 2
f(x)=3 x 3 +2 x 2 +x26
f (x)=9 x 2 +4x+1

For the following functions, find the equation of the tangent line to the curve at the given point x

on the curve.

f(x)=2 x 2 3x x=3
f(x)= x 3 +1 x=2
y=12x15
f(x)= x x=9

For the following exercise, find k

such that the given line is tangent to the graph of the function.

f(x)= x 2 kx, y=4x9
k=10

or k=2

Graphical

For the following exercises, consider the graph of the function f

and determine where the function is continuous/discontinuous and differentiable/not differentiable.


Graph of a piecewise function with three segments. The first segment goes from negative infinity to (-3, -2), an open point; the second segment goes from (-3, 1) to (2, 3), which are both open points; the final segment goes from (2, 2), an open point, to positive infinity.


Graph of a piecewise function with three segments. The first segment goes from negative infinity to (-2, -1), an open point; the second segment goes from (-2, -4), an open point, to (0, 0), a closed point; the final segment goes from (0, 1), an open point, to positive infinity.

Discontinuous at x=2

and x=0.

Not differentiable at –2, 0, 2.

![Graph of a piecewise function with two segments and an asymptote at x = 3. The first segment, which has a removable discontinuity at x = -2, goes from negative infinity to the asymptote, and the final segment goes from the asymptote to positive infinity.](/precalculus-book/resources/CNX_Precalc_Figure_12_04_203.jpg)
![Graph of a piecewise function with two segments. The first segment goes from (-4, 0), an open point to (5, -2), and the final segment goes from (5, 3), an open point, to positive infinity.](/precalculus-book/resources/CNX_Precalc_Figure_12_04_204.jpg)

Discontinuous at x=5.

Not differentiable at -4, –2, 0, 1, 3, 4, 5.

For the following exercises, use [link] to estimate either the function at a given value of x

or the derivative at a given value of x ,

as indicated.

Graph of an odd function with multiplicity of 2 with a turning point at (0, -2) and (2, -6).

f( 1 )
f( 0 )
f( 0 )=2
f( 1 )
f( 2 )
f( 2 )=6
f(3)
f ( 1 )
f ( 1 )=9
f ( 0 )
f (1)
f ( 1 )=3
f ( 2 )
f ( 3 )
f ( 3 )=9

Sketch the function based on the information below:

f ( x )=2x

, f( 2 )=4

Technology

Numerically evaluate the derivative. Explore the behavior of the graph of f(x)= x 2

around x=1

by graphing the function on the following domains: [ 0.9,1.1 ]

, [ 0.99,1.01 ]

, [ 0.999,1.001 ] ,

and [0.9999,1.0001]

. We can use the feature on our calculator that automatically sets Ymin and Ymax to the Xmin and Xmax values we preset. (On some of the commonly used graphing calculators, this feature may be called ZOOM FIT or ZOOM AUTO). By examining the corresponding range values for this viewing window, approximate how the curve changes at x=1,

that is, approximate the derivative at x=1.

Answers vary. The slope of the tangent line near x=1

is 2.

Real-World Applications

For the following exercises, explain the notation in words. The volume f(t)

of a tank of gasoline, in gallons, t

minutes after noon.

f(0)=600
f'(30)=−20

At 12:30 p.m., the rate of change of the number of gallons in the tank is –20 gallons per minute. That is, the tank is losing 20 gallons per minute.

f(30)=0
f'(200)=30

At 200 minutes after noon, the volume of gallons in the tank is changing at the rate of 30 gallons per minute.

f(240)=500

For the following exercises, explain the functions in words. The height, s ,

of a projectile after t

seconds is given by s(t)=16 t 2 +80t.

s(2)=96

The height of the projectile after 2 seconds is 96 feet.

s'(2)=16
s(3)=96

The height of the projectile at t=3

seconds is 96 feet.

s'(3)=−16
s(0)=0,s(5)=0.

The height of the projectile is zero at t=0

and again at t=5.

In other words, the projectile starts on the ground and falls to earth again after 5 seconds.

For the following exercises, the volume V

of a sphere with respect to its radius r

is given by V= 4 3 π r 3 .

Find the average rate of change of V

as r

changes from 1 cm to 2 cm.

Find the instantaneous rate of change of V

when r=3 cm.

36π

For the following exercises, the revenue generated by selling x

items is given by R(x)=2 x 2 +10x.

Find the average change of the revenue function as x

changes from x=10

to x=20.

Find R'(10)

and interpret.

$50.00 per unit, which is the instantaneous rate of change of revenue when exactly 10 units are sold.

Find R'(15)

and interpret. Compare R'(15)

to R'(10),

and explain the difference.

For the following exercises, the cost of producing x

cellphones is described by the function C(x)= x 2 4x+1000.

Find the average rate of change in the total cost as x

changes from x=10 to x=15.

$21 per unit

Find the approximate marginal cost, when 15 cellphones have been produced, of producing the 16th cellphone.

Find the approximate marginal cost, when 20 cellphones have been produced, of producing the 21st cellphone.

$36

Extension

For the following exercises, use the definition for the derivative at a point x=a,

lim xa f(x)f(a) xa ,

to find the derivative of the functions.

f(x)= 1 x 2
f(x)=5 x 2 x+4
f'(x)=10a1
f(x)= x 2 +4x+7
f(x)= 4 3 x 2
4 ( 3x ) 2

Chapter Review Exercises

Finding Limits: A Numerical and Graphical Approach

For the following exercises, use [link].

Graph of a piecewise function with two segments. The first segment goes from (-1, 2), a closed point, to (3, -6), a closed point, and the second segment goes from (3, 5), an open point, to (7, 9), a closed point.

lim x −1 + f(x)

2

lim x −1 f(x)
lim x1 f(x)

does not exist

lim x3 f(x)

At what values of x

is the function discontinuous? What condition of continuity is violated?

Discontinuous at x=1( lim xa f(x) does not exist),x=3 (jump discontinuity), and x=7 ( lim xa f(x) does not exist).

Using [link], estimate lim x0 f(x).

x
F(x)
   
−0.1 2.875
−0.01 2.92
−0.001 2.998
0 Undefined
0.001 2.9987
0.01 2.865
0.1 2.78145
0.15 2.678

3

For the following exercises, with the use of a graphing utility, use numerical or graphical evidence to determine the left- and right-hand limits of the function given as x

approaches a. 

If the function has limit as x

approaches a,

state it. If not, discuss why there is no limit.

f(x)={ \| x \|1, if x1 x 3 , if x=1   a=1
f(x)={ 1 x+1 , if x=2 (x+1) 2 , if x2   a=2
lim x2 f(x)=1
f(x)={ x+3 , if x<1 x 3 , if x>1   a=1

Finding Limits: Properties of Limits

For the following exercises, find the limits if lim xc f( x )=−3

and lim xc g( x )=5.

lim xc ( f(x)+g(x) )

2

lim xc f(x) g(x)
lim xc ( f(x)g(x) )
−15
lim x 0 + f(x),f(x)={ 3 x 2 +2x+1 5x+3    x>0 x<0
lim x 0 f(x),f(x)={ 3 x 2 +2x+1 5x+3    x>0 x<0

3

lim x 3 + ( 3x〚x〛 )

For the following exercises, evaluate the limits using algebraic techniques.

lim h0 ( ( h+6 ) 2 36 h )

12

lim x25 ( x 2 625 x 5 )
lim x1 ( x 2 9x x )
10
lim x4 7 12x+1 x4
lim x3 ( 1 3 + 1 x 3+x )
1 9

Continuity

For the following exercises, use numerical evidence to determine whether the limit exists at x=a.

If not, describe the behavior of the graph of the function at x=a.

f(x)= 2 x4 ; a=4
f(x)= 2 ( x4 ) 2 ; a=4

At x=4,

the function has a vertical asymptote.

f(x)= x x 2 x6 ; a=3
f(x)= 6 x 2 +23x+20 4 x 2 25 ; a= 5 2

removable discontinuity at a= 5 2

f(x)= x 3 9x ; a=9

For the following exercises, determine where the given function f(x)

is continuous. Where it is not continuous, state which conditions fail, and classify any discontinuities.

f(x)= x 2 2x15

continuous on (,)

f(x)= x 2 2x15 x5
f(x)= x 2 2x x 2 4x+4

removable discontinuity at x=2.

f(2)

is not defined, but limits exist.

f(x)= x 3 125 2 x 2 12x+10
f(x)= x 2 1 x 2x

discontinuity at x=0

and x=2.

Both f(0)

and f(2)

are not defined.

f(x)= x+2 x 2 3x10
f(x)= x+2 x 3 +8

removable discontinuity at x=2. f(2)

is not defined.

Derivatives

For the following exercises, find the average rate of change f(x+h)f(x) h .

f(x)=3x+2
f(x)=5

0

f(x)= 1 x+1
f(x)=ln(x)
ln(x+h)ln(x) h
f(x)= e 2x

For the following exercises, find the derivative of the function.

f(x)=4x6
=4
f(x)=5 x 2 3x

Find the equation of the tangent line to the graph of f( x )

at the indicated x

value. * * *

f(x)= x 3 +4x

; x=2.

y=8x+16

For the following exercises, with the aid of a graphing utility, explain why the function is not differentiable everywhere on its domain. Specify the points where the function is not differentiable.

f(x)= x \| x \|

Given that the volume of a right circular cone is V= 1 3 π r 2 h

and that a given cone has a fixed height of 9 cm and variable radius length, find the instantaneous rate of change of volume with respect to radius length when the radius is 2 cm. Give an exact answer in terms of π

12π

Practice Test

For the following exercises, use the graph of f

in [link].

Graph of a piecewise function with two segments. The first segment goes from negative infinity to (-1, 0), an open point, and the second segment goes from (-1, 3), an open point, to positive infinity.

f(1)

3

lim x −1 + f(x)
lim x −1 f(x)

0

lim x−1 f(x)
lim x−2 f(x)
−1

At what values of x

is f

discontinuous? What property of continuity is violated?

For the following exercises, with the use of a graphing utility, use numerical or graphical evidence to determine the left- and right-hand limits of the function given as x

approaches a.

If the function has a limit as x

approaches a,

state it. If not, discuss why there is no limit

f(x)={ 1 x 3, if x2 x 3 +1,if x>2   a=2
lim x 2 f(x)= 5 2 a

and lim x 2 + f(x)=9

Thus, the limit of the function as x

approaches 2 does not exist.

f(x)={ x 3 +1, if x<1 3 x 2 1, if x=1 x+3 +4, if x>1   a=1

For the following exercises, evaluate each limit using algebraic techniques.

lim x−5 ( 1 5 + 1 x 10+2x )
1 50
lim h0 ( h 2 +25 5 h 2 )
lim h0 ( 1 h 1 h 2 +h )

1

For the following exercises, determine whether or not the given function f

is continuous. If it is continuous, show why. If it is not continuous, state which conditions fail.

f(x)= x 2 4
f(x)= x 3 4 x 2 9x+36 x 3 3 x 2 +2x6

removable discontinuity at x=3

For the following exercises, use the definition of a derivative to find the derivative of the given function at x=a.

f(x)= 3 5+2x
f(x)= 3 x
f'(x)= 3 2 a 3 2
f(x)=2 x 2 +9x

For the graph in [link], determine where the function is continuous/discontinuous and differentiable/not differentiable.

Graph of a piecewise function with three segments. The first segment goes from negative infinity to (-2, -1), an open point; the second segment goes from (-2, -4), an open point, to (0, 0), a closed point; the final segment goes from (0, 1), an open point, to positive infinity.

discontinuous at –2,0, not differentiable at –2,0, 2.

For the following exercises, with the aid of a graphing utility, explain why the function is not differentiable everywhere on its domain. Specify the points where the function is not differentiable.

f(x)=\| x2 \|\| x+2 \|
f(x)= 2 1+ e 2 x

not differentiable at x=0

(no limit)

For the following exercises, explain the notation in words when the height of a projectile in feet, s,

is a function of time t

in seconds after launch and is given by the function s(t).

s(0)
s(2)

the height of the projectile at t=2

seconds

s'(2)
s(2)s(1) 21

the average velocity from t=1 to t=2

s(t)=0

For the following exercises, use technology to evaluate the limit.

lim x0 sin(x) 3x
1 3
lim x0 tan 2 (x) 2x
lim x0 sin(x)(1cos(x)) 2 x 2

0

Evaluate the limit by hand.

lim x1 f(x), where  f(x)={ 4x7 x1 x 2 4 x=1

At what value(s) of x

is the function below discontinuous?

f(x)={ 4x7x1 x 2 4x=1

For the following exercises, consider the function whose graph appears in [link].

Graph of a positive parabola.

Find the average rate of change of the function from x=1 to x=3.

2

Find all values of x

at which f'(x)=0.

x=1

Find all values of x

at which f'(x)

does not exist.

Find an equation of the tangent line to the graph of f

the indicated point: f(x)=3 x 2 2x6,  x=2

y=14x18

For the following exercises, use the function f(x)=x ( 1x ) 2 5

.

Graph the function f(x)=x ( 1x ) 2 5

by entering f(x)=x ( ( 1x ) 2 ) 1 5

and then by entering f(x)=x ( ( 1x ) 1 5 ) 2

.

Explore the behavior of the graph of f(x)

around x=1

by graphing the function on the following domains, [0.9, 1.1], [0.99, 1.01], [0.999, 1.001], and [0.9999, 1.0001]. Use this information to determine whether the function appears to be differentiable at x=1.

The graph is not differentiable at x=1

(cusp).

For the following exercises, find the derivative of each of the functions using the definition: lim h0 f(x+h)f(x) h

f(x)=2x8
f(x)=4 x 2 7
f ' (x)=8x
f(x)=x 1 2 x 2
f(x)= 1 x+2
f ' (x)= 1 ( 2+x ) 2
f(x)= 3 x1
f(x)= x 3 +1
f ' (x)=3 x 2
f(x)= x 2 + x 3
f(x)= x1
f'(x)= 1 2 x1

Footnotes

Glossary

average rate of change
the slope of the line connecting the two points (a,f(a))

and

(a+h,f(a+h))

on the curve of

f( x );

it is given by

AROC= f( a+h )f( a ) h .
derivative
the slope of a function at a given point; denoted f (a),

at a point

x=a

it is

f (a)= lim h0 f( a+h )f( a ) h ,

providing the limit exists.

differentiable
a function f( x )

for which the derivative exists at

x=a.

In other words, if

f ( a )

exists.

instantaneous rate of change
the slope of a function at a given point; at x=a

it is given by

f (a)= lim h0 f( a+h )f( a ) h .
instantaneous velocity
the change in speed or direction at a given instant; a function s( t )

represents the position of an object at time

t ,

and the instantaneous velocity or velocity of the object at time

t=a

is given by

s (a)= lim h0 s( a+h )s( a ) h .
secant line
a line that intersects two points on a curve
tangent line
a line that intersects a curve at a single point

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

You can also download for free at http://cnx.org/contents/fd53eae1-fa23-47c7-bb1b-972349835c3c@8.1

Attribution: