An introduction to the derivative Fundamentals

Claire Prescott

Versatile · Direct · Practical

13 min

You’ll be able to explain what a derivative measures: how fast something is changing at one instant, like a bicycle’s speed as it passes a tree.

What is covered in this lesson

Questions this lesson answers

What does the cart's average speed tell you?

Covering 5 metres in 1 second means 5 metres per second on average, not necessarily at the start.

How can average speeds tell you your speed at one instant?

At 2 seconds the speed is exactly 4 m/s because that's the limit of averages over shrinking gaps, not an average over zero seconds.

How do you find a curve's direction at a point?

The tangent's slope gives the curve's direction at the point, not its average direction over the next stretch.

Transcript

Average speed

The cart rolls faster and faster. When its front edge reaches the 4 metre mark, we'll follow it for 1 second.

The cart's already partway along the track, so note where its front edge is now to compare it with where it'll be 1 second later. On this trip, you can find the metres from the start of the track by multiplying the number of seconds since the start by itself. Here it's been 2 seconds, and 2 times 2 is 4, so the front edge is 4 metres from the start. Over the next second, the cart passes the marks faster and faster until its front edge reaches the 9 metre mark. Now it's been 3 seconds since the trip began, and 3 times 3 gives those 9 metres.

Those 9 metres count the whole trip, but look where our stretch begins: the first 4 metres are already behind the cart. Since it only went forward, 9 minus 4 gives the 5 metres it actually travelled on this stretch. The cart had already been moving for 2 seconds, so the time for those 5 metres is 3 seconds minus 2 seconds, or 1 second. Wind back just that second and you're at the 4 metre mark, not at the start of the track. Now divide those 5 metres by the 1 second they took, and you get 5 metres per second. That's the cart's average speed, the distance it travelled divided by the time it took. For average speed, make sure the distance and time come from the same stretch. That's an example of an average rate of change: you divide how much the result changed by how much the input changed. Here the average rate of change tells you how many metres the cart gained per second over that stretch.

Now start the cart at the same 4 metre mark and try that second a different way. At a steady 5 metres per second, the cart passes the marks evenly and reaches the same 9 metre mark in 1 second. Look along the track: at a steady speed each second adds the same distance, so metres per second times the number of seconds gives the total metres. Dividing works backwards: 5 metres divided by 1 second gives 5 metres per second, the steady speed that fits both readings. The cart on the original trip started that second slower than 5 metres per second, because without speeding up it would've fallen short of those 5 metres. So dividing the distance by the time gives you the steady speed that matches the whole stretch, not necessarily the speed at its start.

Speed at one instant

Keep the fixed reading at 2 seconds and move the second reading to 3 seconds. That sets the stretch of time over which we'll measure speed.

From 2 to 3 seconds the distance goes from 4 to 9 metres, so the average speed is 5 metres in 1 second, or 5 metres per second. Here's where those distances come from: multiply the time in seconds by itself, so for the fixed reading, 2 times 2 gives 4 metres. A rule like that is a function because each input you can use gives exactly one answer. With this function you put in a time and get back a distance. Now bring the second reading closer, to 2.1 seconds, and 2.1 times 2.1 gives a distance of 4.41 metres.

To find how far you've gone, take the distance difference: 4.41 minus 4 gives 0.41 metres. For the time difference, 2.1 minus 2 gives 0.1 seconds. So divide distance by time: 0.41 divided by 0.1 gives an average speed of 4.1 metres per second. That's for the whole stretch just after 2 seconds, not for the instant itself.

Now move the second reading a tenth of a second earlier than the fixed reading, to 1.9 seconds, and 1.9 times 1.9 gives 3.61 metres. From there to 2 seconds, you travel 4 minus 3.61, or 0.39 metres. That's less distance in the same time, so 0.39 divided by 0.1 gives a lower average speed, 3.9 metres per second instead of 4.1.

To handle earlier and later times alike, subtract in the same order for distance and time: second reading minus fixed reading. Now 3.61 minus 4 gives negative 0.39, and 1.9 minus 2 gives negative 0.1, so dividing the first by the second still gives 3.9 metres per second because both signs changed. Let's write h for the time difference in seconds, the second time minus 2. So h is positive for a later time and negative for an earlier time. Add the gap back and the second time is 2 plus h, so its distance in metres is that whole sum squared.

To square the second time, take 2 plus h and multiply it by another 2 plus h. Multiply that second sum first by 2 and then by h, and you get 4 plus twice h plus twice h plus h squared. See why twice h appears twice: you get 2 times h going one way and h times 2 going the other. That leaves the last piece, h times itself, which is h squared.

With different times, the average speed in metres per second is the square of the sum of 2 and h, minus 4, all divided by h. Subtract the fixed 4 metres and you're left with twice h plus twice h plus h squared, which is 4 times h plus h squared. Both pieces contain h, so together they're h times the sum of 4 and h. Now divide that distance difference by h: as long as h isn't zero, division undoes the multiplication and leaves just 4 plus h. So we don't have to guess from a few readings, because this rule works for every gap to a different time.

Look at 4 plus h: a later time puts the average above 4, and an earlier time puts it below. At 0.1 seconds later or earlier you get 4.1 or 3.9 metres per second, but move in to 0.01 seconds either way and you get 4.01 or 3.99. On either side, the amount the speed in metres per second misses 4 by is exactly the size of the gap in seconds. So choose how close you want the speed to be: every gap smaller in size than that number keeps it that close, as long as the gap isn't zero. That's what a limit is: the value the answers stay as close to as you like whenever the input is close enough to the chosen input but still different. Here the limit is 4 metres per second because the same rule works on both sides.

But set the second reading to 2 seconds and it's back at 4 metres, so dividing 4 minus 4 by 2 minus 2 would mean dividing 0 by 0. You'd need a single number that gives 0 when multiplied by 0, but every number does that. So there's no average speed over 0 seconds, because you could only cancel the gap when it wasn't zero.

Instead of making the gap zero, take the limit of 4 plus h as h approaches 0 from either side, and you get exactly 4 metres per second. When you keep one input fixed and bring the other towards it, the limit of the function's average rates, if it exists, is its derivative at the fixed input. So the distance function's derivative at 2 seconds tells you how fast you're travelling just then. That gives you the instantaneous speed, how fast you're travelling at that very moment. Because the averages approach the same value from both sides, your instantaneous speed at 2 seconds is exactly 4 metres per second.

Direction at a point

Watch a straight line grow from the fixed point to the later point on the trip curve. Its tilt tells you something about the trip between those times.

That line tells you the average speed because it shows how far you went compared with how long it took. For this trip, multiply the time in seconds by itself to get the distance in metres. Time runs across and distance runs up, so the fixed point tells you that at 2 seconds you've gone 4 metres. Read the later point the same way: at 3 seconds you've gone 9 metres. A straight line through different points like these on the trip curve is a secant line. The secant line spans the time step between those points. Follow the time step across, 3 minus 2 is 1 second, then the distance rise up, 9 minus 4 is 5 metres. Unless a line runs straight up and down, you can find its slope by dividing its change in height, positive for a rise and negative for a fall, by its step to the right. A steeper climb gives you a larger positive slope. So divide 9 minus 4 by 3 minus 2: that's 5 divided by 1, or 5 metres per second on average over that whole stretch.

Now the right secant turns about the fixed point as its moving end slides back to 2.1 seconds, shrinking the time step and the distance rise. Its slope drops from 5 to 4.1 metres per second on its way toward 4 because the trip gains less distance per second over this shorter stretch.

Now look to the left: the earlier point sits below the fixed point, and the left secant starts with a slope of 3.5 metres per second. As the earlier point comes closer, the left secant gets steeper, passing 3.9 metres per second on its way toward the same tilt, up 4 metres for each second across. Draw a straight line through the fixed point in the direction the secants approach from both sides, and you've drawn the tangent. That point and direction fix the tangent in place. When the tangent has a finite slope, that number is the derivative at the point. So at 2 seconds the derivative is 4 metres per second.

At 2 seconds the tangent and the trip curve pass through the fixed point together, at a height of 4 metres. Extend the tangent 1 second to the right and it rises 4 metres because a straight line keeps its slope. At 3 seconds the tangent height is the starting 4 plus 4 times the time step of 3 minus 2, giving 8 metres, but the curve height is 9 metres. So the trip gained 5 metres rather than 4 because the trip curve kept getting steeper after 2 seconds.

Suppose the earlier stretch flattens out at 4 metres but the trip curve still bends on the right, making a sharp corner where they meet. Pick any point before the corner and you get a level line from there to the corner, so its slope is 0 no matter how close you get. But on the right nothing's changed, so the slopes still approach 4 metres per second, the tilt of this rising line. No line can have both slopes, so there's no single tangent direction at this corner and no derivative there.

Now give the earlier stretch its original bend again, with distance equal to time squared, and both sides agree on the direction of the restored tangent. So as the gap shrinks from either side, the secant slopes approach the derivative, 4 metres per second right at the fixed point, rather than the average of 5 metres per second over the next second.