A5 · Lesson 1 · Rates of change and slope
How fast is it changing right now?
A capacitor charging toward 5 V climbs fast at first and slowly later. "How fast" over a stretch of time is easy: change in voltage over change in time. But how fast is it changing at one exact instant, say at s, when an instant has no length? That question is where calculus begins.
Play
- The curve is volts. The straight line passes through two points on it: one at , the other a time later. Its slope is the average rate of change over that stretch.
- Shrink toward zero. The line pivots and settles. Compare its slope with the "tangent slope" in the strip.
- Move . Where is the curve changing fastest?
Predict
Set s and shrink toward zero. What happens to the secant's slope?
It settles, at about 1.84 V/s. The rise and the run both shrink to zero, but their ratio doesn't: it approaches the slope of the line that just touches the curve at , the tangent. That limiting slope is the instantaneous rate of change, and it's what a meter of "volts per second" would read at that instant.
Name it
From average rate to instantaneous rate
The average rate of change of from to is the slope of the secant line through the two points:
The instantaneous rate of change at is what that ratio approaches as shrinks to zero. It's the slope of the tangent line, written :
An example you can do by algebra. For :
As this approaches , so the slope of at is . At the curve climbs 6 units of per unit of .
Units. A rate of change has the units of the output divided by the units of the input. , the rate of change of a voltage, is in volts per second. The current through a wire is the rate at which charge passes, , in coulombs per second, which is amps.
The tangent line at is the straight line with slope through the point :
Close to it's an excellent stand-in for the curve. That idea, replacing a curve by its tangent line near a point, is how engineers analyze transistor amplifiers (A6 and C6).
From measurements. Given readings at closely spaced times, the slope between neighboring readings estimates the rate of change: .
Worked example
Find the average rate of change of from to , and compare it with the slope at .
Show the solution
- Average rate from 1 to 3.
- Slope at . Take a tiny interval around 2:
- Why they match. For a parabola the secant over any interval is parallel to the tangent at its midpoint, a fact lesson 28 explains.
Answer the average rate of change from 1 to 3 is 4, the same as the slope at .
Worked example
A scope reads 2.10 V at 1.000 ms and 2.35 V at 1.010 ms. Estimate the rate of change.
Show the solution
- Average rate over the 10 µs. or 25 V/ms.
- How good an estimate it is. Over just 10 µs this average is a good estimate of the instantaneous rate, as long as the waveform doesn't bend much in that time.
Answer the voltage is rising at about 25 000 V/s, or 25 V/ms.
Worked example
A battery's voltage is logged each minute while it discharges: 3.95 V at 10 min, 3.92 V at 11 min and 3.88 V at 12 min. Estimate how fast it's falling at 11 minutes.
Show the solution
- Backward difference. From 10 to 11 minutes:
- Forward difference. From 11 to 12 minutes:
- Central difference. It uses the points on both sides:
- Pick the best. The central estimate is the best of the three: its errors from the curve's bending cancel between the two sides.
- Check. The voltage is falling faster as time goes on, which is why the forward difference is steeper than the backward one.
Answer at 11 minutes the voltage is falling at about 0.035 V/min.
Check
What is the average rate of change of from to ?
Check
By the same algebra, . What is the slope of at ?
Check
Write the tangent line to at , as a formula in .
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Check
A scope reads 4.15 V at = 2.000 ms and 4.164 V at = 2.010 ms. Estimate the rate of change of the voltage, in volts per second.
Write units the way you normally would: 1.5 V/s, 1500 mV/s and 0.0015 kV/s are the same answer.
Check
Take near = 2.
(a)
What is the average rate of change from 2 to ?
(b)
What is the exact slope at 2?
(c)
By how much does the average rate overshoot the slope?
Check
Derive the slope of at from the difference quotient.
Step 1
Expand and divide by .
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
Let .
Explain why
Why does the slope of the secant line approach a definite value as shrinks, even though both the rise and the run go to zero?
Zoomed in close enough, a smooth curve looks almost straight. As the two points move together, the secant runs along a smaller and smaller piece of the curve, which is closer and closer to a straight piece, so the rise and run shrink together in a nearly fixed proportion. That proportion is the slope of the tangent line, so the ratio settles on it even though both parts vanish.
Practice
Keep practicing
9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.