[Note: The exercises in this module make reference to the computer algebra system (CAS) Maple. Any other CAS can be used instead (e.g., Mathematica, Mathcad, etc.) as long as the user is familiar with that CAS system. In other words, while preferred here, Maple is not required for the use of this module.]
Larry Gladney is Associate Professor of Physics and Dennis DeTurck is Professor of Mathematics, both at the University of Pennsylvania.
When an object moves, its position changes. If the object moves along a straight line (whether the line is horizontal, vertical or oblique), we can attempt to describe the motion of the object by giving a function x(t) which reports the displacement x of the object in convenient units from some origin at time t. The function might be described by a formula, by a table of values, or by a graph.
.
For example, let's think about the vertical motion of a small object (a cantaloupe, say) that is thrown into the air from a window at t = 0 seconds. The general form of the motion of the object is obvious: it goes up, slows down, reverses direction, falls down faster and faster and finally, Splat! This gives a general description of the velocity of the canteloupe, but can we be more precise? For instance, assume that we can measure the height of the melon at any time t. Think of the height x above the ground as a function of time:
t(secs)  0.0  0.5  1.0  1.5  2.0  2.5 
x(feet)  95.0  93.5  84.0  66.5  41.0  7.5 
Splat! comes sometime between 2.5 and 3 seconds. The numbers don't quite show the behavior noted above because the canteloupe travels upward for less than half a second. But the numbers reveal the acceleration of the canteloupe toward the ground: During the first second, the net displacement of the canteloupe is 84  95 = 11 feet (note that we count upward displacement as positive, and we place the origin at ground level), but in the second second its displacement is 41  84 = 43 feet. Since speed = distance/time, we can say that the average speed over the first second is 11 feet/second and the average speed over the time interval 1 < t < 2 is 43 feet/second. In general, the average velocity of a moving object over the time interval a < t < b is the net change in position x(b)  x(a) divided by the change in the time b  a. Therefore the average velocity of the canteloupe between time t = 0 sec and time t = 1 sec is
(84  95)/(1  0) = 11/1 = 11 feet per second.
Similarly, the average velocity of the canteloupe between time t = 1 sec and time t = 2 sec is 43 feet per second. The sign of the (average) velocity has significance! In this case it indicates that the canteloupe is moving downward.
Do exercise 1 before continuing
The average velocity gives a rough idea of the behavior of the canteloupe, but average velocity over an interval does not solve the problem of determining the velocity of the canteloupe exactly at t = 1 sec, say. To get closer to an answer to that question, we have to look at what happens near t = 1 sec in more detail.
To do this, suppose that the canteloupe incident was videotaped, and we can run the film against a precise stopwatch. We could make some more measurements of the height of the melon at times near t = 1 sec:
t(secs)  0.9  1.0  1.1 
x(feet)  86.54  84.00  81.14 
If we compute the average velocity of the melon over the time interval [0.9, 1], we find it to be

Over the interval [1, 1.1] we get:

(of course these average velocities are measured in feet per second). To be even more precise, we could make measurements over shorter time intervals around 1 sec:
t(secs)  0.99  1.00  1.01 
x(feet)  84.2684  84.0000  83.7284 
You should do exercise 2 before proceeding...
What we just did with velocities is the general idea of computing derivatives  we wanted the instantaneous velocity at t = 1, but we could only compute average velocities. To arrive at the instantaneous velocity at a given time, we took average velocities over shorter and shorter time intervals containing that time.
There is no reason to stick to t = 1  we just happened to have lots of data about the flying canteloupe around that time. In mathematics, one usually begins with a function that is defined over a continuous domain of values, so it can be sampled as much as you want. For instance, all the data given above was in fact calculated from the formula: x = 95 + 5t  16t² (you had already guessed that, right?), so we could compute instantaneous velocities at other times in a similar way.
Exercise 3 leads you through a more accurate representation of the instantaneous velocity using Maple.
Also check out exercise 4.
Journal of Online Mathematics and its Applications