A51 of 56
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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 t=1 s, when an instant has no length? That question is where calculus begins.

Play

  • The curve is v(t)=5(1−e−t) volts. The straight line passes through two points on it: one at t0, the other a time h later. Its slope is the average rate of change over that stretch.
  • Shrink h toward zero. The line pivots and settles. Compare its slope with the "tangent slope" in the strip.
  • Move t0. Where is the curve changing fastest?

Predict

Set t0=1 s and shrink h toward zero. What happens to the secant's slope?

Name it

From average rate to instantaneous rate

The average rate of change of f from a to a+h is the slope of the secant line through the two points:

f(a+h)−f(a)h

The instantaneous rate of change at a is what that ratio approaches as h shrinks to zero. It's the slope of the tangent line, written f′(a):

f′(a)=limh→0⁡f(a+h)−f(a)h

An example you can do by algebra. For f(x)=x2:

(a+h)2−a2h=2ah+h2h=2a+h

As h→0 this approaches 2a, so the slope of x2 at x=a is 2a. At x=3 the curve climbs 6 units of y per unit of x.

Units. A rate of change has the units of the output divided by the units of the input. dv/dt, the rate of change of a voltage, is in volts per second. The current through a wire is the rate at which charge passes, i=dq/dt, in coulombs per second, which is amps.

The tangent line at a is the straight line with slope f′(a) through the point (a,f(a)):

y=f(a)+f′(a)(x−a)

Close to a 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: Δv/Δt.

Worked example

Find the average rate of change of x2 from x=1 to x=3, and compare it with the slope at x=2.

Show the solution
  1. Average rate from 1 to 3. ΔyΔx=9−13−1=4
  2. Slope at x=2. Take a tiny interval around 2: m≈(2.001)2−(1.999)20.002=0.0080.002=4
  3. 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 x=2.

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
  1. Average rate over the 10 µs. ΔvΔt=2.35−2.100.010×10−3=0.2510−5=25000V/s or 25 V/ms.
  2. 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
  1. Backward difference. From 10 to 11 minutes: m=3.92−3.951=−0.03V/min
  2. Forward difference. From 11 to 12 minutes: m=3.88−3.921=−0.04V/min
  3. Central difference. It uses the points on both sides: m=3.88−3.952=−0.035V/min
  4. Pick the best. The central estimate is the best of the three: its errors from the curve's bending cancel between the two sides.
  5. 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 f(x)=x2 from x=4 to x=4+0.1?

Check

By the same algebra, (a+h)3−a3h=3a2+3ah+h2. What is the slope of f(x)=x3 at x=−2?

Check

Write the tangent line to y=x2 at x=2, as a formula in x.

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 t = 2.000 ms and 4.164 V at t = 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 f(x)=x3 near x = 2.

(a)

What is the average rate of change from 2 to 2+0.1?

(b)

What is the exact slope at 2?

(c)

By how much does the average rate overshoot the slope?

Check

Derive the slope of x3 at x=a from the difference quotient.

Step 1

Expand (a+h)3−a3 and divide by h.

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°.

Explain why

Why does the slope of the secant line approach a definite value as h shrinks, even though both the rise and the run go to zero?

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.