You may recall the story about Jim and his trackstar girlfriend Becca from the lesson on understanding limits. The two of them were discussing how they might calculate her speed at the instant that Jim snapped a photo of her. The end result of the discussion was Becca pointing out that it is not technically possible to calculate the exact speed of something in a specific instant.
By now, we have explored the related concepts of limits and lines tangent to a curve, so we know it is possible to effectively calculate instantaneous speed. What process would be involved with actually calculating Becca's speed at the instant the photo was taken? What are the technical difficulties with identifying instantaneous speed?
Watch This
Embedded Video:
 KhanAcademy : Rates of Change (part 2)
Guidance
The function that we defined in previous lessons is so important that it has its own name: the derivative.
The Derivative


Based on the discussion that we have had in previous section, the derivative represents the slope of the tangent line at point x . Another way of interpreting it would be that the function y = f ( x ) has a derivative whose value at x is the instantaneous rate of change of y with respect to point x .
One of the two primary concepts of calculus involves calculating the rate of change of one quantity with respect to another. For example, speed is defined as the rate of displacement with respect to time. If a person travels 120 miles in 4 hours, his speed is 120/4 = 30 mi/hr. This speed is called the average speed or the average rate of change of distance with respect to time. Of course the person who travels 120 miles at a rate of 30 mi/hr for 4 hr probably does not do so continuously. Though he probably slowed down or sped up during the 4hour period, it does generally suffice to say that he traveled for 4 hours at an average rate of 30 miles per hour. However, if the driver strikes a tree, it would not be his average speed that determines his survival but his speed at the instant of the collision . Similarly, when a bullet strikes a target, it is not the average speed that is significant but its instantaneous speed at the moment it strikes. So here we have distinct kinds of speeds, average speed and instantaneous speed.
The average speed of an object is defined as the object's displacement ∆ x divided by the time interval ∆ t during which the displacement occurs:
Notice that the points( t _{ 0 } , x _{ 0 } ) and ( t _{ 1 } , x _{ 1 } ) lie on the position versus time curve, as the figure below shows.
This expression is also the expression for the slope of a secant line connecting the two points. Thus we conclude that the average velocity of an object between time t _{ 0 } and t _{ 1 } is represented geometrically by the slope of the secant line connecting the two points ( t _{ o } , x _{ o } ) and ( t _{ 1 } , x _{ 1 } ). If we choose t _{ 1 } close to t _{ o } , then the average velocity will closely approximate the instantaneous velocity at time t _{ o } .
Geometrically, the average rate of change is represented by the slope of a secant line (figure a , below) and the instantaneous rate of change is represented by the slope of the tangent line (figure b , below).
Average Rate of Change
(such as
the average velocity
) The average rate of change of
y
=
f
(
x
) over the time interval [
x
_{
0
}
,
x
_{
1
}
] is the slope
m
_{
sec
}
of the secant line to the points (
x
_{
o
}
,
f
(
x
_{
0
}
)) and (
x
_{
1
}
,
f
(
x
_{
0
}
)) on the graph (figure a):


Instantaneous Rate of Change
The instantaneous rate of change of
y
=
f
(
x
) at the point
x
_{
0
}
is the slope
m
_{
sec
}
of the tangent line to the point
x
_{
0
}
on the graph (figure b):


Example A
Calculate:
 a) The slope of the line tangent to at the point on the curve .
 b) The equation of that line?
Solution
In the previous concept "Tangent Lines" we showed how to calculate the derivative (the slope of the tangent) of a function of the form

a) The slope of the tangent to the curve
at
is:
Recall from Algebra I the "slope  intercept form" of a straight line: , where m is the slope of the line.

b) Given
from above, we have
. All we need is to solve for
b
to have the full equation.

Substitute
(the point we are finding the slope of) in for
in the equation of the curve
to identify a corresponding

Substitute the values for
x
,
y
, and
m
that we now have into our
form of the equation of the tangent line:

Substitute
(the point we are finding the slope of) in for
in the equation of the curve
to identify a corresponding
Use the calculated values for m and b to complete the equation:
Example B
Suppose that
 a) Find the average rate of change of y with respect x over the interval [0, 2].
 b) Find the instantaneous rate of change of y with respect x at the point x = −1.
Solution
 a) Applying the formula above for secant with and and , yields

 This means that the average rate of change of y is 2 units per unit increase in x over the interval [0,2].

b) Recall, for functions of the form
that
 ( is "f prime of x ," meaning "the slope (m) of the line tangent to x ")
m _{ tan }  =  

=  
=  
= 
 This means that the instantaneous rate of change is negative. That is, y is decreasing at the point x = 1. It is decreasing at a rate of 2 units per unit increase in x .
Example C
Find the derivative of and the equation of the tangent line at x _{ 0 } = 1.
Solution
Using the definition of the derivative,
Thus, the slope of the tangent line at x _{ 0 } = 1 is
For x _{ 0 } = 1, we can find y _{ 0 } by simply substituting into f ( x ):
Thus the equation of the tangent line is
Concept question wrapup Speed is, by definition, a relation between a distance and the time required to cross that distance (recall from your science class). If the time required is zero , then you end up dividing by zero, which is an undefined function. However, using calculus, you can identify what the end behavior of the function would be if you were to get infinitely close, and thereby effectively calculate the speed at a given instant. In fact, that is exactly what you did in the examples above. 

Vocabulary
Instantaneous speed is the speed an object is travelling at any given single point in time.
Average speed is defined as the distance an object travels divided by the time interval required.
The derivative of a function is the slope of the line tangent to the function at a given point on the graph.
The notation f ' ( x ) is read as "f prime of x", and is one way to denote the derivative of function ( x )
Alternate derivative notations include:
Guided Practice
Questions
1) Find the derivative of
2) A rocket is propelled upwards and reaches a height of h( t ) = 4.9 t ^{ 2 } in t seconds.
 a) How high does it reach in 35 seconds?
 b) What is the average velocity of the rocket during the first 35 seconds?
 c) What is the instantaneous velocity of the rocket at the end of the 35 seconds?
3) A particle moves in the positive direction along a straight line so that after t nanoseconds, its traversed distance is given by nanometers.
 a) What is the average velocity of the particle during the first 2 nanoseconds?
 b) What is the instantaneous velocity of the particle at t = 2 nanoseconds.
Solutions
1) Using the derivative formula:
2) a) The height of the rocket at 35 secs is
 b)

c) To find the instantaneous speed, we need to find the derivative of
 Using the instantaneous rate of change formula from above
3) a) The particle moves in secs
 b) Using the formula for finding the derivative, we get
 The instantaneous velocity at is 118.8 nm/sec
Practice
Find the Average Rate of Change
 and . Find the average rate of change of (C) with respect to (x), when (x) is changed from x = 15, to x = 59.
 and Find the average rate of change of (H), with respect to (x) when (x) is changed from x = 10 to x = 11.
 and Find the average rate of change of (N) with respect to (x) when (x) is changed is changed from x = 20 to x = 64.
 and Find the average rate of change of (H) with respect to (x) when (x) is changed from x + 25 to x = 74.
 and Find the average rate of change of (N) with respect to (x) when (x) is changed from x = 30 to x = 54.
Find the Instantaneous Rate of Change:
 If and Find the instantaneous rate of change of (C) with respect to (x) when x = 25.
 If and Find the instantaneous rate of change of (N) with respect to x when x = 10.
 and Find the instantaneous rate of change of (H) with respect to x when x = 10.
 and Find the instantaneous rate of change of (N) with respect to x when x = 150.
 and Find the instantaneous rate of change of (N) with respect to x when x = 20.
Use the definition of the derivative to find f ( x ) and then find the equation of the tangent line at x = x _{ 0 } .
 f ( x ) = 6 x ^{ 2 } ; x _{ 0 } = 3.
 f ( x ) = 3x ^{ 3 }  2; x _{ 0 } = 1
 f ( x ) = a x ^{ 2 }  b , (where a and b are constants); x _{ 0 } = b
 f ( x ) = x ^{ 1/3 } ; x _{ 0 } = 1.
 Suppose that f has the property that f ( x + y ) = f ( x ) + f ( y ) + 3 xy and . Find f (0) and f '( x ).
 Find dy / dx
Solve Rate of Change Problems
 A packing company in the south makes "Mama's Spaghetti Sauce." The cost of producing x jars is J = f(x) dollars. What does f'(100) = 9999 mean in this context?
 A cherry pie is taken from an oven when its temperature is 202°F and placed on a table in a room where the temperature is 75°F. The temperature of the pie over x minutes is given by T = f(x). What does f'(100) = 102 mean in this context?
 The number of virus, after (x) hours, in a controlled laboratory experiment is V = f(x). What are the units of f'(x)?
 The number of people in the US affected by the common cold in the month of November is defined by N = f(x) where x is the day of the month. What is the meaning of f'(x) in this context?
 The number of households in Florida affected by hurricane season in the month of July is defined by J = f(x) where x is the day of the month. Find the average rate of change of J with respect to x when days is changed from x = 5 to x = 34.
 A cake is taken from an oven when its temperature is 196°F and placed on a cooling rack in a room where the temperature is 75°F. The temperature of the cake over (x) minutes is given by H = f(x). Find the instantaneous rate of change of H with respect to x when x = 15.
 A pan of meatloaf is taken from an oven when its temperature is 205°F and placed on a table in a room where the temperature is 75°F. The temperature of the meatloaf over x minutes is given by H = f(x). . Find the average rate of change of H with respect to x when minutes is changed from x = 5 to x = 54.