5.1 · SLPaper 1Paper 2

Limits and the derivative as a rate of change

In a minute

A is the value a 's output heads for as its input gets close to some number. Limits turn the of a chord into the gradient of a curve at a single point. That gradient, written f′(x)f'(x) or dydx\frac{\mathrm{d}y}{\mathrm{d}x}, is the : it tells you how steep a curve is and how fast a quantity is changing, such as users per week or profit per extra item.

You'll be able to

  • Estimate a from a table of values, a graph or your GDC's table.
  • Explain the gradient of a curve at a point as the limit of chord gradients.
  • Read the as the , written f′(x)f'(x) or dydx\frac{\mathrm{d}y}{\mathrm{d}x}.
  • Interpret a derivative such as dVdr\frac{\mathrm{d}V}{\mathrm{d}r} or dsdt\frac{\mathrm{d}s}{\mathrm{d}t} as a in context, with its sign and units.
Before you start2 quick questions on what this builds on
Check yourself
Find the gradient of the line through (−2,7)(-2, 7) and (3,−8)(3, -8).
Check yourself
For f(x)=3x2−2f(x) = 3x^{2} - 2, find f(−2)f(-2).

Revise first: 2.1 Straight-line equations and 2.2 Function concepts, domain and range

The idea of a limit

Take g(x)=x2+3xxg(x) = \dfrac{x^{2} + 3x}{x}. At x=0x = 0 it gives 00\frac{0}{0}, which has no value. So g(0)g(0) doesn't exist. You can still ask where g(x)g(x) is heading as xx gets close to 0.

Try x=0.1x = 0.1 and 0.010.01: you get 3.13.1 and 3.013.01. From below, x=−0.1x = -0.1 and −0.01-0.01 give 2.92.9 and 2.992.99. Both sides close in on 3.

Read the arrow →\to as "tends to". A limit ignores what happens exactly at x=ax = a. The function may be undefined there, or have a different value. Only the values near aa count.

A curve with a gap at x = 3, height 4, and a separate dot at (3, 1) x y 3 4 1 0 y = f(x)
The graph of y=f(x)y = f(x). The open circle at (3,4)(3, 4) is a gap in the curve. The filled dot shows f(3)=1f(3) = 1.

Here f(x)=12(x−1)2+2f(x) = \frac{1}{2}(x - 1)^{2} + 2 for every xx except 3, and f(3)=1f(3) = 1. Trace the curve towards x=3x = 3 from the left and from the right.

Check yourself
Use the graph above. Write down lim⁡x→3f(x)\lim_{x \to 3} f(x).

In this course you estimate limits from a table, a graph or your GDC's table, not by algebra. Check that the values from both sides settle on the same number.

Worked exampleThe table shows values of v(x)=x2−x−12x−4v(x) = \dfrac{x^{2} - x - 12}{x - 4} near x=4x = 4. x3.93.993.9994.0014.014.1v(x)6.96.996.9997.0017.017.1\begin{array}{c|cccccc} x & 3.9 & 3.99 & 3.999 & 4.001 & 4.01 & 4.1 \\ \hline v(x) & 6.9 & 6.99 & 6.999 & 7.001 & 7.01 & 7.1 \end{array} Estimate lim⁡x→4v(x)\displaystyle\lim_{x \to 4} v(x).

Try it first, then reveal one step at a time.

  1. Substituting x=4x = 4 gives 16−4−120=00\frac{16 - 4 - 12}{0} = \frac{0}{0}. So use the values near 4 instead.
Worked exampleYou invest $1000 at a nominal annual interest rate of 8%, compounded nn times a year. The interest earned in the first year is I(n)=1000[(1+0.08n)n−1]I(n) = 1000\left[\left(1 + \frac{0.08}{n}\right)^{n} - 1\right] dollars. (a) Use your GDC's table to estimate lim⁡n→∞I(n)\displaystyle\lim_{n \to \infty} I(n), to the nearest cent. (b) Interpret your answer.

Try it first, then reveal one step at a time.

  1. (a) Here nn grows without bound, so the table needs large values of nn. Enter 1000[(1+0.08X)X−1]1000\left[\left(1 + \frac{0.08}{X}\right)^{X} - 1\right] and start the table at 10001000 in steps of 10001000.
Check yourself
The table shows k(x)=1.2x−1xk(x) = \dfrac{1.2^{x} - 1}{x} near x=0x = 0, to 5 decimal places. x−0.1−0.01−0.0010.0010.010.1k(x)0.180670.182160.182300.182340.182490.18399\begin{array}{c|cccccc} x & -0.1 & -0.01 & -0.001 & 0.001 & 0.01 & 0.1 \\ \hline k(x) & 0.18067 & 0.18216 & 0.18230 & 0.18234 & 0.18249 & 0.18399 \end{array} Estimate lim⁡x→0k(x)\displaystyle\lim_{x \to 0} k(x) to 3 s.f.

From chords to the tangent

A straight line has the same everywhere. A curve's steepness changes as you move along it. So what does "the gradient at a point" mean?

It is the gradient of the there: the line that touches the curve at that point and runs in the curve's direction. But the gradient formula from 2.1 needs two points, and you know only one point on the tangent. The formula is in the booklet.

In the formula booklet
m=y2−y1x2−x1m = \frac{y_{2} - y_{1}}{x_{2} - x_{1}}

So take a second point QQ on the curve, a step hh along from PP. The straight line PQPQ is a chord, also called a secant. Now let hh shrink towards 0. QQ slides towards PP, and the chord turns until it lies along the tangent.

From secant to tangentDrag the slider
123−1123456789PQsecant PQtangent at P

1.00

P = (1, 1.00), Q = (2.00, 4.000)

Secant gradient = 3.000

Tangent gradient f′(1) = 2

As Q slides towards P, h → 0 and the gradient of the chord PQ settles on the gradient of the tangent, f′(1).

Drag hh down to 0.010.01. The chord (secant) gradient reads 2.012.01. As hh shrinks it heads for 2, the gradient of the tangent at P(1,1)P(1, 1).

In context, a chord gradient is an average rate of change between two moments. The tangent's gradient is the rate of change at one instant. In this course you estimate it from chord gradients; you don't work out the limit by algebra.

Worked exampleLet f(x)=x2−3xf(x) = x^{2} - 3x. Find the gradients of the chords from P(4,4)P(4, 4) to the points on the curve with x=4.1x = 4.1, 4.014.01 and 4.0014.001. Use them to estimate f′(4)f'(4).

Try it first, then reveal one step at a time.

  1. x=4.1x = 4.1: f(4.1)=16.81−12.3=4.51f(4.1) = 16.81 - 12.3 = 4.51, so the gradient is 4.51−44.1−4=0.510.1=5.1\dfrac{4.51 - 4}{4.1 - 4} = \dfrac{0.51}{0.1} = 5.1.
Check yourself
On y=x2−3xy = x^{2} - 3x, find the gradient of the chord from P(4,4)P(4, 4) to Q(6,18)Q(6, 18).
Worked exampleA stone is dropped from a cliff. After tt seconds it has fallen s=4.9t2s = 4.9t^{2} metres. (a) Find the stone's average speed between t=3t = 3 and t=3.1t = 3.1. (b) The table shows the average speed between t=3t = 3 and t=3+ht = 3 + h. h−0.01−0.0010.0010.01average speed (m s−1)29.35129.395129.404929.449\begin{array}{c|cccc} h & -0.01 & -0.001 & 0.001 & 0.01 \\ \hline \text{average speed (m s}^{-1}) & 29.351 & 29.3951 & 29.4049 & 29.449 \end{array} Estimate the speed of the stone at t=3t = 3, and interpret it.

Try it first, then reveal one step at a time.

  1. (a) At t=3t = 3 the stone has fallen 4.9×32=44.14.9 \times 3^{2} = 44.1 m. At t=3.1t = 3.1 it has fallen 4.9×3.12=47.0894.9 \times 3.1^{2} = 47.089 m.
Check yourself
A seedling's height is H=0.3t2+0.8t+5H = 0.3t^{2} + 0.8t + 5 cm, tt days after it is planted. Its average growth rates between t=2t = 2 and t=2+kt = 2 + k, for k=1k = 1, 0.10.1 and 0.010.01, are 2.32.3, 2.032.03 and 2.0032.003 cm per day. Estimate its growth rate at t=2t = 2, in cm per day.

The derivative: gradient function and rate of change

Repeat the chord method at other points on y=x2−3xy = x^{2} - 3x. The gradient is −1-1 at x=1x = 1, 11 at x=2x = 2, 33 at x=3x = 3 and 55 at x=4x = 4. Each one equals 2x−32x - 3. So the gradient is itself a of xx.

If y=f(x)y = f(x), write the as f′(x)f'(x), read "f prime of x", or as dydx\dfrac{\mathrm{d}y}{\mathrm{d}x}, read "d y by d x". Both name the . Treat dydx\dfrac{\mathrm{d}y}{\mathrm{d}x} as one symbol, not a fraction.

Learn this
dydx=f′(x)when y=f(x)\frac{\mathrm{d}y}{\mathrm{d}x} = f'(x) \quad \text{when } y = f(x)
Check yourself
Chord estimates give the gradient of y=x2+5xy = x^{2} + 5x as 7 at x=1x = 1, 9 at x=2x = 2 and 11 at x=3x = 3. Which gradient function fits?

A gradient is the change in yy for each unit increase in xx. So dydx\dfrac{\mathrm{d}y}{\mathrm{d}x} is also the of yy with respect to xx, at one point.

Other letters work the same way. dVdr\dfrac{\mathrm{d}V}{\mathrm{d}r} is the rate of change of a volume VV with respect to a radius rr, for example in cm³ per cm. dsdt\dfrac{\mathrm{d}s}{\mathrm{d}t} is the rate of change of a distance ss with respect to time tt, for example in metres per second.

Worked exampleA bakery's daily profit is PP dollars when it bakes xx loaves. A model gives dPdx=6−0.04x\dfrac{\mathrm{d}P}{\mathrm{d}x} = 6 - 0.04x, for 0≤x≤2500 \le x \le 250. (a) Find dPdx\dfrac{\mathrm{d}P}{\mathrm{d}x} when x=100x = 100, and interpret it. (b) Find dPdx\dfrac{\mathrm{d}P}{\mathrm{d}x} when x=200x = 200, and say what its sign tells the bakery.

Try it first, then reveal one step at a time.

  1. (a) Substitute x=100x = 100: 6−0.04×100=26 - 0.04 \times 100 = 2.
Check yourself
The depth of snow on a roof is DD cm, tt hours after midnight. When t=6t = 6, dDdt=−0.8\frac{\mathrm{d}D}{\mathrm{d}t} = -0.8. Which statement interprets this correctly?
Worked exampleA spherical balloon is being inflated. When its radius is rr cm, its volume is V=43πr3V = \frac{4}{3}\pi r^{3} cm³ and dVdr=4πr2\dfrac{\mathrm{d}V}{\mathrm{d}r} = 4\pi r^{2}. Find dVdr\dfrac{\mathrm{d}V}{\mathrm{d}r} when V=500V = 500, to 3 s.f., and interpret your answer.

Try it first, then reveal one step at a time.

  1. The derivative is in terms of rr, but you are given VV. So find rr first: solve 43πr3=500\frac{4}{3}\pi r^{3} = 500.

From 5.3 you will find derivatives of powers of xx by rule. For other models, such as exponential or logistic ones, your GDC finds the derivative at a point.

Worked exampleThe number of users of a new app tt weeks after launch is modelled by U=50001+49e−0.3tU = \dfrac{5000}{1 + 49\mathrm{e}^{-0.3t}}. (a) Use your GDC to find dUdt\dfrac{\mathrm{d}U}{\mathrm{d}t} when t=10t = 10. Give your answer to 3 s.f. (b) Interpret your answer.

Try it first, then reveal one step at a time.

  1. (a) Write down what you put into the GDC, for the method mark: dUdt\dfrac{\mathrm{d}U}{\mathrm{d}t} at t=10t = 10, for U=50001+49e−0.3tU = \dfrac{5000}{1 + 49\mathrm{e}^{-0.3t}}.

Common mistakes

  • Stopping at 00\frac{0}{0}. It only shows the function has no value at x=ax = a. Estimate the limit from values on both sides of aa.
  • Taking the limit to be f(a)f(a). The limit is what f(x)f(x) approaches near aa; f(a)f(a) can be different, or missing.
  • Giving the last chord gradient, such as 5.0015.001, as the gradient of the curve. Give the value the chord gradients approach.
  • Substituting the given VV into a derivative written in terms of rr. Find rr first, then substitute.
  • Rounding an intermediate value, such as r=4.92r = 4.92, before using it. Keep the GDC's full value and round only the final answer.
  • Interpreting a rate with no units, no context or the wrong sign. Say what is changing, how fast, in which units, and whether it is rising or falling.

Exam tips

  • "Estimate" a limit: look at values on both sides of aa, then state the single number they approach.
  • "Interpret" a derivative: give the rate in context with units, and say whether the quantity is increasing or decreasing.
  • On any paper, write down the function and the point you put into your GDC, such as dUdt\frac{\mathrm{d}U}{\mathrm{d}t} at t=10t = 10. A bare answer earns marks only if it is right. Give 3 s.f. unless told otherwise.

Key takeaways

Learn thislim⁡x→af(x)=L\lim_{x \to a} f(x) = L: f(x)f(x) gets closer and closer to LL as xx gets closer to aa from both sides. The value at aa itself doesn't matter.
Learn thisEstimate a limit from values on both sides of aa: a table, a graph or your GDC's table.
Learn thisThe gradient of a curve at PP is the gradient of the tangent at PP: the limit of the gradients of chords PQPQ as QQ approaches PP.
Learn thisdydx=f′(x)when y=f(x)\frac{\mathrm{d}y}{\mathrm{d}x} = f'(x) \quad \text{when } y = f(x)
Learn thisThe derivative is the gradient function and a rate of change, such as dVdr\frac{\mathrm{d}V}{\mathrm{d}r} or dsdt\frac{\mathrm{d}s}{\mathrm{d}t}. Its units are units of the top variable per unit of the bottom one.
Learn thisWhere dydx>0\frac{\mathrm{d}y}{\mathrm{d}x} > 0, yy is increasing as xx increases. Where dydx<0\frac{\mathrm{d}y}{\mathrm{d}x} < 0, yy is decreasing.

Practise this

5 past-paper questions on Introduction to differentiation in the AI HL bank, each with a mark scheme and a worked explanation.

Practise Introduction to differentiation →