Educerie · IB Diploma · Mathematics: analysis and approaches
IB Mathematics AA 5.1 · SL and HL
Limits and the derivative
A straight line has one gradient, but a curve is steeper in some places than in others, so what does "the gradient at a point" even mean, and how do we find it?
What you will learn
- Understand a limit as the value a function approaches near a point, whether or not it is defined there
- Understand the gradient of a curve at a point as the limit of chord gradients
- Know the derivative as the gradient function and as an instantaneous rate of change, with units
- Know the notations dy ÷ dx, f'(x), dV ÷ dr and ds ÷ dt
You must be able to
- Interpret a derivative in context, giving the direction, the rate, the units and the instant
- Calculate an average rate of change from a table, a graph or a formula
- Estimate a limit from a table or a graph, and state when it does not exist
- Estimate the gradient at a point from chord gradients or a drawn tangent
- Find the value of a derivative at a point with a calculator
- Describe where f'(x) is positive, zero or negative from the graph of f
In the exam. rarely as a limit question on its own; the idea sits under all of Topic 5. On Paper 2, "find the rate of change of when ", "interpret in context" and "compare the two rates" need you to know what a derivative is, its units and how to get it from a GDC. A limit or chord-gradient table, when set, is worth 1 to 4 marks.
1Rates of change: constant, then average
Rate of change
- A rate of change = the change in one quantity compared with the change in another. Its units name the two: kilometres per hour, dollars per unit.
- When a graph is a straight line the rate is the same everywhere: it is the gradient.
- Example: a plant grows exactly 2 cm every 3 days. Its height-time graph has gradient cm per day everywhere.
Most real quantities are not like that.
Example: the number of subscribers , in thousands, of a new podcast, counted every two weeks.
| weeks, | 0 | 2 | 4 | 6 | 8 |
|---|---|---|---|---|---|
| subscribers, (thousands) | 3.0 | 5.0 | 9.5 | 16.5 | 28.0 |
Each two-week window has a different growth rate:
Growth is speeding up, so there is no single "growth rate". Only an average rate of change over a stated interval exists:
On a graph this is the gradient of the chord joining the two points. Over all eight weeks the average is thousand per week. That describes no particular week.
A table can also close in on the rate at one moment.
Example: a sledge has slid metres down a slope after seconds.
| 0 | 1 | 2 | 3 | 4 | 5 | |
|---|---|---|---|---|---|---|
| 0 | 3 | 10 | 21 | 36 | 55 |
- How fast is the sledge moving at exactly ? Over the average speed is . Over it is m s. The sledge is speeding up, so the speed at lies between them.
- The narrower, balanced window gives m s, a better estimate. Narrower windows give better estimates. Next, shrink the window to nothing. Saying what that means needs limits.
2What a limit is
A limit = the value a function's output closes in on as the input closes in on some number. It does not matter whether the function reaches that value, or is defined there.
· "as tends to , tends to ". It describes what happens near , and nothing about what happens at .
That last clause matters most. Take
Substituting gives , which means nothing, so does not exist. Near 2, though, the answer is clear.
| 1.9 | 1.99 | 1.999 | 2 | 2.001 | 2.01 | 2.1 | |
|---|---|---|---|---|---|---|---|
| 3.9 | 3.99 | 3.999 | undefined | 4.001 | 4.01 | 4.1 |
On both sides the outputs close in on 4, so , though is undefined.
Figure 1 shows why. For the numerator is , the cancels and . The graph is the line with the point removed, a hole. The limit is the height of the hole.
Two facts from this example carry through the topic.
Both sides must agree
- means approaches from below, through values smaller than . means from above.
- The limit exists exactly when and both exist and are equal.
The limit need not equal the value
- The definition never looks at . Derivatives rely on this.
- A chord gradient is at the moment it becomes a tangent, but its limit is fine.
3Estimating a limit
The guide asks you to estimate limits from a table or a graph. Formal methods of calculating limits are not required. Choose inputs ever closer to the target, read the outputs and say what they approach.
From a table
- Example: let . At this is and no factor cancels, so build a table (on Paper 2, the GDC's table function).
| 1 | 0.1 | 0.01 | -0.01 | -0.1 | |
|---|---|---|---|---|---|
| 0.2361 | 0.2485 | 0.24984 | 0.25016 | 0.2516 |
- From both sides the values close in on 0.25, so . Algebra confirms it, since for , but you are never asked for that.
- Figure 2 plots another, . Its table closes in on 1 from both sides, but only with the GDC in radian mode. In degrees the same table heads for about 0.0175 (that is ). The hollow circle marks the height the curve approaches but never reaches.
Three habits make an estimate trustworthy:
- Step by factors of ten (0.1, 0.01, 0.001), not by tiny nudges (0.1, 0.09, 0.08).
- Test both sides of the target.
- Report the value the outputs approach, not the last entry. A table ending in 0.24984 gives 0.25.
From a graph
- Follow the curve towards the -value from each side and note the height it heads for.
- A hollow circle is a point not on the graph. A filled circle is on it.
Example:
Both outer pieces end at a hollow circle at , since . A lone filled dot sits at . Both sides head for 5, so , while . A limit and a value that differ are allowed.
As grows without bound
A limit can also describe what happens as (or ). For :
| 10 | 100 | 1000 | 10 000 | |
|---|---|---|---|---|
| 4.364 | 4.931 | 4.993 | 4.9993 |
- So . This is the horizontal asymptote from 2.8. An asymptote is a limit drawn as a line.
- Know two behaviours on sight: and both shrink to 0 as . So .
When a limit does not exist
There are two ways, and Figure 3 shows both.
- The two sides disagree. Let for and for . From the left the outputs approach 5, from the right 7. So does not exist, even though . Another example is near 0: for every negative , for every positive .
- The values grow without bound. For the outputs at are 10, 100, 1000. From the left they plunge to . No finite number is approached, so there is no limit.
You may describe the behaviour with , but is not a number, so it never counts as a value for the limit. On the graph this is the vertical asymptote . The same holds for at 0, which grows without bound on both sides.
4The gradient of a curve, as a limit
is flat at the origin and steep further out, so "the gradient of the curve at " needs a definition.
The gradient of a curve at a point is the gradient of the tangent at : the straight line that touches the curve at and runs in the curve's own direction there.
A tangent may cut the curve again elsewhere. Only what it does at counts.
Rise over run needs two points and the tangent gives only one, so approximate.
- Pick a second point on the curve.
- Join to with a chord (also called a secant) and find its gradient.
- Slide closer to and repeat.
Example: take and . Let have -coordinate , where is a small step.
| 2 | 1 | 0.5 | 0.1 | 0.01 | 0.001 | -0.01 | -0.1 | |
|---|---|---|---|---|---|---|---|---|
| gradient of | 8 | 7 | 6.5 | 6.1 | 6.01 | 6.001 | 5.99 | 5.9 |
As the chord gradients approach 6. They come from above when is on the right and from below when it is on the left. So the gradient of at is 6. Figure 4 shows the chords swinging round into the tangent.
At the chord gradient is , because and coincide. The limit sidesteps that by asking what happens near , the question of section 3. That is why limits come before the derivative.
The same method on another curve. For at , the point at has , so
| 1 | 0.5 | 0.1 | 0.01 | 0.001 | -0.01 | |
|---|---|---|---|---|---|---|
| gradient of | 5 | 4 | 3.2 | 3.02 | 3.002 | 2.98 |
The gradient at is 3. By hand or on the GDC, the working to show is and what the values approach.
Why a tangent exists at all
- Zoom in far enough on a smooth curve and it looks like a straight line. Figure 5 does it for at . By the third window the curve is indistinguishable from a line of gradient 2, the curve's gradient there.
- A sharp corner is the exception. Zoom in on at the origin and it stays a V. Chords to the right have gradient 1 and chords to the left have gradient . The two sides give different limits, so there is no gradient at the origin.
Estimating from a graph
- With a drawn curve and no equation, lay a ruler to touch the curve at without cutting across it beside . Draw the line.
- Take two points on your line (not on the curve), as far apart as the grid allows. Compute rise over run.
- Example: the tangent passes through and . Its gradient is . A drawn tangent gives an estimate, a little off either way.
- A GDC reports a gradient the same way, as a chord gradient with a tiny . That is why it may show 5.9999999 for a gradient of exactly 6.
5The derivative as the gradient function
Repeat section 4 at a general point instead of . The chord gradient is , which tends to .
| -2 | -1 | 0 | 1 | 2 | 3 | |
|---|---|---|---|---|---|---|
| gradient of at | -4 | -2 | 0 | 2 | 4 | 6 |
Every gradient is twice the -coordinate. The gradient is itself a function of , plotted in Figure 6.
This new function is the derivative, or gradient function. Finding it is differentiation. For the derivative is : put in any and it returns the gradient of the curve there.
For any function, the chord from to has gradient . The derivative is the limit as tends to 0:
At SL this is the idea behind every derivative, not a formula to compute with. HL uses it for first principles (5.12).
As a taste, the curve from section 4 has chord gradient at a general point, so . At that gives 3, matching the table.
Reading the sign of from the graph of . In general, and panel by panel in Figure 6:
- Where is falling, its tangents slope down and is negative.
- At a flat point (the bottom of a bowl, the top of a hill) the tangent is horizontal and .
- Where is rising, is positive. The steeper the curve, the larger the value.
Example: a cubic climbs to a maximum at , falls to a minimum at , then climbs for ever. Then:
| shape of | rising | maximum | falling | minimum | rising |
| sign of |
So the graph of crosses the -axis at and . It lies above the axis outside those values and below it between them.
For a cubic, is a quadratic, so this is a U-shaped parabola with its lowest point halfway between the crossings. A sketch needs the two crossings and that shape. 5.2 turns this table into a method. 5.3 gives the rule that produces without tables.
6Instantaneous rate of change
A gradient is a rate of change, so the derivative is the instantaneous rate of change: the rate at one exact input. A chord gradient (section 1) is the average rate over an interval. The derivative is what the averages tend to as the interval shrinks to nothing.
Example: a ball is thrown upwards and its height after seconds is metres. Figure 7 draws it.
The ball is slowing, so at it is faster than its average over the next second. Shrink the window:
| interval | ||||
|---|---|---|---|---|
| average velocity () | 7.5 | 9.5 | 9.95 | 9.995 |
The averages tend to 10, so at the instant the ball rises at . That is the gradient of the tangent in Figure 7, the derivative of at .
The average (5) and the instantaneous value (10) are far apart. When the rate itself changes fast, a wide interval misleads.
The same idea runs through other subjects: velocity is the rate of change of displacement with time (kinematics, 5.9). Marginal cost is the rate of change of total cost with output (economics).
7Notation, units and interpretation
The guide lists all four. Each means "the derivative of the top quantity with respect to the bottom one".
| Notation | Say it | Means |
|---|---|---|
| "d y by d x" | the derivative of with respect to ; the gradient of against | |
| "f dash of x" or "f prime of x" | the derivative of ; is its value at | |
| "d V by d r" | the rate of change of (say a volume) with respect to (a radius) | |
| "d s by d t" | the rate of change of (displacement) with respect to (time): a velocity |
comes from , a chord's gradient ( means "a change in"). The says the change has shrunk to the limit. It is not a fraction: the 's do not cancel. Treat it as one symbol.
A value at a point is written , or when . Use the question's letters.
Units. The unit of a derivative is always units of the top per unit of the bottom.
- If is in and in , then is in per .
- If is in metres and in seconds, is in .
Example: the area of a circle, , at :
| 0.1 | 0.01 | 0.001 | |
|---|---|---|---|
| 31.73 | 31.45 | 31.42 |
So per at . At that radius the area grows about 31.4 per extra centimetre. (Exactly ; 5.3 gets it in one line.)
Interpretation template. Every "interpret" answer fits this frame.
when means: at the instant , is increasing at (units of ) per (unit of ). If is negative, say decreasing at .
Example: a phone's battery holds per cent charge, hours after being unplugged, and when .
- Units: per cent per hour.
- Interpretation: three hours after unplugging, the charge is decreasing at 8.5 percentage points per hour.
- Comparison: a second phone has at . Both are draining, the first faster, because 8.5 is a bigger rate than 6.2. Do not argue from that it is "slower".
Name the direction ("increasing", "falling", "cooling"), never just "changing". Give the value, unit and instant.
8Estimating a derivative with technology
On Paper 2 you are expected to use the GDC. Every model has a numerical derivative, as in the calculation menu or as a gradient at a chosen on the graph screen. It uses the chord method with a tiny . Three things to remember:
- It gives the gradient at one point, not the gradient function. as an expression needs differentiation by hand (5.3, 5.6). as a number on Paper 2 does not.
- Round sensibly. 6.0000003 is 6. Otherwise give 3 significant figures unless told otherwise.
- Write what you did, "using GDC, ", so the method shows even if the number is wrong.
Example in the style of Paper 2: a new app has been downloaded thousand times, days after its launch.
- (a) Average rate from to : and , so thousand downloads per day.
- (b) Rate at : using GDC, thousand downloads per day.
- (c) Interpretation: four days after launch, the number of downloads is increasing at 1600 per day. The growth is slowing: the rate at is below the average over the first four days.
For a table of chord gradients, type the chord-gradient expression into the GDC's table.
Practice questions
53 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.