Module 34 of 47Lesson 1 of 8 · Differentiation 1 · Rates of change & the gradient of a curve
1
Differentiation: rates of change, gradients, tangents & normals · Essential understanding 1

Rates of change & the gradient of a curve

IB AI SL 5.1with Prof. Kitso
💻 Using the TI-Nspire CX Student Software on a laptop
  • The screens in these notes are drawn exactly as the Student Software shows them. The keypad on the left of the software works like the handheld — click its keys with the mouse.
  • menu: click menu on the on-screen keypad (or Documents Toolbox ▸ 🔧). The menu numbers and letters are the same as in these notes.
  • enter = Enter  ·  tab = Tab (next box)  ·  esc = Esc  ·  del = Backspace.
  • Powers: type ^ (Shift+6), the power, then press → to come back down before typing more. x² = ^2 then →.
  • Fraction: type /  ·  √: type sqrt(  ·  π: type pi  ·  eˣ: type exp(  ·  store: type :=. For EE (×10ⁿ) and i, click them on the keypad.
  • New page: Ctrl+I (or the Insert menu)  ·  change page: Ctrl+← / Ctrl+→  ·  graph entry line: Ctrl+G  ·  var: Ctrl+L.
  • Radian / Degree: click Settings in the status bar at the bottom of the window. The mode (RAD or DEG) shows in the top bar.
  • IB exam mode (Press-to-Test): everything in these notes works on the non-CAS TI-Nspire with the IB exam settings. In exam mode there are no dot-product, cross-product, unit-vector or eigenvalue keys and no Diff Eq graphs — the notes show the allowed way (type the components, use polyRoots on the characteristic equation, do Euler steps on a Calculator page).
  • If you type nDeriv(, the software shows it as centralDiff( — it is the same command.
The big idea: A straight line has one gradient. A curve has a different gradient at every point. The gradient of a curve at a point is its instantaneous rate of change, and we find it by squeezing a chord down until it becomes a tangent.
By the end of this lesson you can:
  • find an average rate of change between two points
  • explain how a chord turns into a tangent as the two points come together
  • say in plain words what a limit is
  • understand the gradient of a curve at a point as the derivative f′(a) and write it as f′(a) or
  • interpret a rate of change with units in a real situation
🧑🏾 Imagine this…
Lesedi drives from Gaborone to Francistown, about 430 km, in 5 hours. Her average speed is km/h. But near Palapye the speedometer reads 110 km/h, and in the queue at a roadblock it reads 0.
So there are two different questions: how fast on average over the whole trip? and how fast right now, at this exact instant? Differentiation is the maths of the second question.
Average rate of change
the change in y divided by the change in x between two points: . It is the gradient of the straight line joining the two points.
Chord
a straight line joining two points on a curve.
Tangent
a straight line that just touches a curve at one point and has the same direction as the curve there.
Instantaneous rate of change
how fast y is changing with x at one exact value of x. It equals the gradient of the tangent.
Limit
the value a number gets closer and closer to. Here: what the chord's gradient settles down to when the two points are squeezed together.
Derivative
the gradient of a curve at a point. We write f′(a) (say “f prime of a”) or (say “dy by dx”).
★ Average rate of change and the chord
  • Between and : average rate (this is the gradient of the chord).
  • Starting at and moving a small step : chord gradient .
  • Make smaller and smaller. If the chord gradients settle on one number, that number is the gradient of the curve at , written .
  • The units of a rate are (units of y) per (unit of x), for example metres per second.
⚠️ Mistakes that lose marks
  • You can never put straight into the chord gradient: that gives . Simplify first, then let get close to 0.
  • Always give the units and the sign. A rate of −10 m/s is not “10 m/s”: the minus sign means the quantity is going down.
  • The gradient of a curve at a point is the gradient of the tangent, not of the chord. They are only close when the points are very close together.
Prof. Kitso says
Zoom in on any smooth curve far enough and it looks like a straight line. The gradient of that tiny straight piece is the gradient of the curve. The lab below lets you zoom in without any maths first.
🧪 Try it yourselfA ball thrown upwards
The height of a ball is metres after t seconds. Drag the tangent along the curve and watch the gradient. It is +10 at t = 1 (going up at 10 m/s), 0 at the top, and −10 at t = 3 (coming down). Check the first and last against Example 3.

Worked examples

Example 1.1Average rate of change from a table
The table shows how far Lesedi has driven t hours after leaving Gaborone.
t (hours)01234
d (km)045110175230
  1. (a) Find her average speed over the whole 4 hours.
  2. (b) Find her average speed between t = 1 and t = 3.
  3. (c) In which hour was her average speed the lowest?
🧠 Think it through
  1. Average speed is the average rate of change of distance: .
  2. Use the two end values of the interval only. What happens in between does not matter.
  3. For (c), work out the average speed in each hour and compare.
✍️ By hand
(a) km/h
(b) km/h
(c) Hour 1: 45. Hour 2: 65. Hour 3: 65. Hour 4: 55. The lowest is in the first hour.
🔢 On your TI-Nspire CX II
  1. On a Calculator page type each division.
    1.1*DocRAD230−04−057.5175−453−165110−452−165230−1754−355
✅ Answer (a) 57.5 km/h. (b) 65 km/h. (c) The first hour (45 km/h).
Example 1.2Squeezing a chord: the gradient of y = x² at x = 3
Find the gradient of the curve at the point where , by looking at chords from to .
🧠 Think it through
  1. The point is (3, 9). The other end of the chord is .
  2. Try some small values of h and look for a pattern.
  3. Then do it with algebra, simplify, and only then let h shrink.
✍️ By hand
Chord gradient
As gets closer to 0, gets closer to 6.
🔢 On your TI-Nspire CX II
  1. Type the chord gradient for h = 1, 0.1, 0.01 and 0.001. The answers close in on 6.
    1.1*DocRAD(3+1)2−3217(3+0.1)2−320.16.1(3+0.01)2−320.016.01(3+0.001)2−320.0016.001
✅ Answer The gradient at x = 3 is 6.
Example 1.3Instantaneous rate of change in context
The height of a ball thrown upwards is metres, t seconds after it is thrown.
  1. (a) Find the gradient of the chord from to , and so find the rate of change of height at .
  2. (b) Do the same at .
  3. (c) Describe what the ball is doing at each time.
🧠 Think it through
  1. Find h(1) = 15 and expand h(1 + h) carefully.
  2. Divide by h, simplify, then let h → 0.
  3. A positive rate means the height is increasing. A negative rate means it is decreasing.
✍️ By hand
(a) , and .
Chord gradient . Rate m/s.
(b) and . Chord gradient . Rate m/s.
(c) At t = 1 the ball is going up at 10 m/s. At t = 3 it is coming down at 10 m/s.
🔢 On your TI-Nspire CX II
  1. Check with the lab, or on a Graphs page draw 20x-5x^2 and add a tangent at x = 1 and at x = 3 (menu💻 click menu on keypad ▸ Geometry ▸ Tangent). The tangent gradients are 10 and −10.
    1.11.2*DocRAD0425-2xy0.55h(t)tangent t=1tangent t=3(1,15)(3,15)
✅ Answer (a) 10 m/s. (b) −10 m/s. (c) Rising at t = 1, falling at t = 3.
Both heights are 15 m, but the rates have opposite signs. Same height, opposite direction.
Example 1.4Estimating a gradient from a tangent
A tangent is drawn to the curve at the point where . It passes through the points and . Find the gradient of the curve at , and write your answer using notation.
🧠 Think it through
  1. The gradient of the curve at x = 3 is the gradient of the tangent there.
  2. Use the two points on the tangent line: .
✍️ By hand
Gradient
So .
🔢 On your TI-Nspire CX II
  1. Graph 0.5x^2 and the line through (2, 1.5) and (4, 7.5), which is 3x-4.5. It touches the curve at (3, 4.5).
    1.11.2*DocRAD-1614-3xy15y=½x²tangent(3,4.5)
✅ Answer f′(3) = 3.
Example 1.5Notation and meaning
Write each statement using derivative notation, or explain it in words.
  1. (a) The gradient of at is 6.
  2. (b) A tank holds V litres of water at time t minutes. When t = 4, .
  3. (c) N(t) is the number of bacteria in a dish after t hours. N′(5) = 240.
🧠 Think it through
  1. f′(a) and both mean “the rate of change at x = a”. The letters change with the situation: V and t, N and t.
  2. In words, always say: what quantity, how fast, up or down, with which units, and at what time.
✍️ By hand
(a) , or when .
(b) At 4 minutes the volume is decreasing at 12 litres per minute (the tank is draining).
(c) After 5 hours the population is increasing at 240 bacteria per hour.
✅ Answer (a) f′(3) = 6. (b) The tank is losing 12 L/min at t = 4. (c) The bacteria are growing at 240 per hour at t = 5.
N′(5) = 240 does not mean there are 240 bacteria. It is a rate: 240 more every hour, at that moment.

Challenge questions

⭐ Challenge 1.6Average rate of changePaper 1 style
Find the average rate of change of between and .
✏️ Try it on paper and on your calculator first. Then check.
Show the full solution
🧠 Think it through
  1. Work out f(1) and f(4).
  2. Divide the change in f by the change in x.
✍️ By hand
,  
🔢 On your TI-Nspire CX II
  1. Type it directly.
    1.1*DocRAD42−2·4−12−2·14−13
✅ Answer 3
⭐ Challenge 1.7From chord to tangentPaper 2 style
A runner's distance is metres after t seconds.
  1. (a) Find and show that .
  2. (b) Hence write down the average speed between t = 2 and t = 2 + h, in its simplest form.
  3. (c) Find the average speed for h = 0.1 and for h = 0.01.
  4. (d) Write down the speed of the runner at t = 2 seconds, and say what the units are.
✏️ Try it on paper and on your calculator first. Then check.
Show the full solution
🧠 Think it through
  1. Expand (2 + h)² and add (2 + h).
  2. Subtract s(2) and divide by h.
  3. Put in the two small values of h, then decide what number the speeds are heading towards.
✍️ By hand
(a) .   ✓
(b)
(c) h = 0.1 gives 5.1 m/s. h = 0.01 gives 5.01 m/s.
(d) The values are heading to 5, so the speed at t = 2 is 5 metres per second.
🔢 On your TI-Nspire CX II
  1. Check (c) on the Calculator page.
    1.1*DocRAD(2.1)2+2.1−60.15.1(2.01)2+2.01−60.015.01
✅ Answer (a) shown. (b) 5 + h. (c) 5.1 and 5.01 m/s. (d) 5 m/s.
“Hence” means you must use your answer to (a) in (b). Do not start again from scratch.
Next: Lesson 2 · The derivative at a point: f′(a) and the GDC