P1 4.1 - Gradients and rates of change

P1 4.1 - Gradients and rates of change

A straight line has one gradient, but a curve can be steep in one place and almost flat in another. Learn how a tangent gives a curve's gradient at one point, how derivative notation records that gradient, and how to interpret it as an instantaneous rate of change.

Secants approaching a tangent

How can a curve have a gradient when its steepness keeps changing? Begin with two points, where the familiar straight-line gradient still works, then bring those points closer together.

On y=x2y=x^2, take P=(1,1)P=(1,1) and another point QQ. The segment joining them is a chord; the whole straight line through them is a secant. Its gradient describes the average change in yy per unit change in xx between the points.

Gradient between two points

For distinct points with x1≠x2x_1\ne x_2,

m=y2−y1x2−x1.m=\frac{y_2-y_1}{x_2-x_1}.

Use the same order of subtraction in numerator and denominator.

Not in the formula booklet: learn it.

First keep PP fixed and choose a second point a short distance to its right.

Worked example 1: a chord gradient

Question. Find the gradient of the chord from P=(1,1)P=(1,1) to the point on y=x2y=x^2 where x=1.5x=1.5.

Plan. Find the second point's height, then divide its vertical change from PP by its horizontal change.

yQ=1.52=2.25point on the curvemPQ=2.25−11.5−1change in height over change in x=1.250.5=2.5\begin{aligned} y_Q&=1.5^2=2.25 &&\text{point on the curve}\\ m_{PQ}&=\frac{2.25-1}{1.5-1} &&\text{change in height over change in }x\\ &=\frac{1.25}{0.5}=2.5 \end{aligned}

Answer. The chord gradient is 2.52.5.

Check. Moving 0.50.5 units horizontally along this line changes its height by 2.5×0.5=1.252.5\times0.5=1.25, as required.

Change only how close QQ is to PP: reduce the horizontal separation from 0.50.5 to 0.10.1.

Worked example 2: a closer second point

Question. Find the gradient of the chord from P=(1,1)P=(1,1) to the point on y=x2y=x^2 where x=1.1x=1.1.

Plan. Use the same gradient calculation with the closer point.

yQ=1.12=1.21mPQ=1.21−11.1−1=0.210.1=2.1\begin{aligned} y_Q&=1.1^2=1.21\\ m_{PQ}&=\frac{1.21-1}{1.1-1}\\ &=\frac{0.21}{0.1}=2.1 \end{aligned}

Answer. The chord gradient is 2.12.1.

Check. The line through PP with this gradient gives 1+2.1(0.1)=1.211+2.1(0.1)=1.21 at x=1.1x=1.1, so it also passes through QQ.

The chord becomes a better description of the curve close to PP. The picture shows the line approaching a fixed position.

[DIAGRAM: asset_name: Chords approaching a tangent; asset_slug: chords-to-tangent; caption: As the second point approaches P on the parabola, the chord line approaches the tangent of gradient two.; description: Three equal-scale coordinate panels show y equals x squared near P at one comma one. Second points have x coordinates two, one point five and one point one, giving chord gradients three, two point five and two point one. The tangent y equals two x minus one is dashed in each panel.]
As the second point approaches P on the parabola, the chord line approaches the tangent of gradient two.

To see the exact limiting value, write the two points as (a,a2)(a,a^2) and (a+h,(a+h)2)(a+h,(a+h)^2), where h≠0h\ne0:

(a+h)2−a2h=2ah+h2h=2a+h.\frac{(a+h)^2-a^2}{h} =\frac{2ah+h^2}{h} =2a+h.

As hh approaches zero from either side, this gradient approaches 2a2a. At a=1a=1, the values 2.1,2.01,2.0012.1,2.01,2.001 approach 22 from above; using h=−0.1,−0.01,−0.001h=-0.1,-0.01,-0.001 gives 1.9,1.99,1.9991.9,1.99,1.999, approaching 22 from below.

Derivative at a point

The derivative at a point is the gradient of the tangent there. When the chord gradients approach one finite value as the second point approaches from either side, that value is the tangent gradient.

A tangent describes the curve's direction locally. It need not meet the curve only once, and it can cross the curve elsewhere.

Watch out

Do not put h=0h=0 into the original quotient: that gives 0/00/0, which is undefined. Simplify for h≠0h\ne0, then consider the value approached as hh tends to zero.

Try a chord approaching from the other side.

Derivative notation

A derivative function records the tangent gradient at each allowed value of the input, rather than at just one point.

The calculation above worked for every real aa, so for f(x)=x2f(x)=x^2, the gradient function is 2x2x. At x=3x=3, the curve's height is 99, while its tangent gradient is 66. Those are different pieces of information.

Derivative notation

For y=f(x)y=f(x), write the derivative as

f′(x)ordydx.f'(x)\quad\text{or}\quad\frac{\mathrm{d}y}{\mathrm{d}x}.

Read f′(x)f'(x) as “f prime of x”, and dy/dx\mathrm{d}y/\mathrm{d}x as “the derivative of y with respect to x”. The operation of finding it is differentiation.

Here is the distinction for the square function:

NotationMeaningValue
f(x)f(x)Height of the curve at a general inputx2x^2
f(3)f(3)Height when x=3x=399
f′(x)f'(x)Tangent gradient at a general input2x2x
f′(3)f'(3)Tangent gradient when x=3x=366

A prime changes the function being evaluated. You substitute into ff to find a height and into f′f' to find a gradient. The notation dy/dx∣x=3=6\left.\mathrm{d}y/\mathrm{d}x\right|_{x=3}=6 says the same as f′(3)=6f'(3)=6.

A positive derivative means the curve rises as xx increases locally; a negative derivative means it falls. A zero derivative gives a horizontal tangent. It does not by itself tell you everything about the curve's shape.

Key idea

f(a)f(a) locates the point's height; f′(a)f'(a) describes the curve's direction at that point. Neither value can generally replace the other.

Use the prime to choose which information is relevant.

Instantaneous rates and units

When the axes represent quantities, a tangent gradient measures how fast one quantity is changing with respect to the other at that instant.

If a distance changes from 9 m9\,\mathrm{m} to 16 m16\,\mathrm{m} between 3 s3\,\mathrm{s} and 4 s4\,\mathrm{s}, its average rate is (16−9)/(4−3)=7 m s−1(16-9)/(4-3)=7\,\mathrm{m}\,\mathrm{s}^{-1}. This uses a whole interval. The derivative gives the rate at one instant by taking the limiting gradient.

Instantaneous rate of change

If yy depends on xx, then dy/dx\mathrm{d}y/\mathrm{d}x is the instantaneous rate of change of yy with respect to xx. Its units are the units of yy divided by the units of xx.

The same graph calculation can therefore describe a journey or a filling tank. Keep the variable and its units attached to the rate.

Worked example 3: average and instantaneous rates

Question. A moving object's distance ss metres after tt seconds is s=t2s=t^2, for t≥0t\ge0. Its derivative is ds/dt=2t\mathrm{d}s/\mathrm{d}t=2t. Find its instantaneous rate at t=3t=3 and its average rate from t=3t=3 to t=4t=4.

Plan. Evaluate the derivative for the instantaneous rate, and use a difference quotient for the average rate.

dsdt∣t=3=2(3)=6average rate=42−324−3=7\begin{aligned} \left.\frac{\mathrm{d}s}{\mathrm{d}t}\right|_{t=3}&=2(3)=6\\ \text{average rate}&=\frac{4^2-3^2}{4-3}=7 \end{aligned}

Answer. The instantaneous rate is 6 m s−16\,\mathrm{m}\,\mathrm{s}^{-1}; the average rate is 7 m s−17\,\mathrm{m}\,\mathrm{s}^{-1}.

Check. The object covers 7 m7\,\mathrm{m} in the one-second interval. Its rate increases from 66 to 8 m s−18\,\mathrm{m}\,\mathrm{s}^{-1}, so an average of 77 fits.

Change only the interval's end from 44 to 3.13.1. The instantaneous rate at 33 stays fixed while the average rate moves closer to it.

Worked example 4: a shorter time interval

Question. For the same model s=t2s=t^2, with ds/dt=2t\mathrm{d}s/\mathrm{d}t=2t, find the instantaneous rate at t=3t=3 and the average rate from t=3t=3 to t=3.1t=3.1.

Plan. Keep the tangent rate, then calculate the gradient over the shorter interval.

dsdt∣t=3=6average rate=3.12−323.1−3=0.610.1=6.1\begin{aligned} \left.\frac{\mathrm{d}s}{\mathrm{d}t}\right|_{t=3}&=6\\ \text{average rate}&=\frac{3.1^2-3^2}{3.1-3} =\frac{0.61}{0.1}=6.1 \end{aligned}

Answer. The instantaneous rate is 6 m s−16\,\mathrm{m}\,\mathrm{s}^{-1}; the average rate is 6.1 m s−16.1\,\mathrm{m}\,\mathrm{s}^{-1}.

Check. An average of 6.16.1 over 0.1 s0.1\,\mathrm{s} predicts 0.61 m0.61\,\mathrm{m}, matching the change in ss.

A rate can be negative. For example, if dV/dt=−4 litres min−1\mathrm{d}V/\mathrm{d}t=-4\,\mathrm{litres}\,\mathrm{min}^{-1}, a tank's volume is decreasing at 44 litres per minute. The negative sign describes direction of change, not a negative volume.

Watch out

An average rate needs two input values. A derivative evaluated at one input gives an instantaneous rate. Always divide the dependent quantity's units by the input quantity's units.

Our opening problem now has a precise answer: a curve has a gradient at a point because nearby chord gradients can approach one tangent gradient.

Quick Recap

  • A chord gradient is an average change; its limiting value gives the tangent gradient.
  • f′(x)f'(x) and dy/dx\mathrm{d}y/\mathrm{d}x both denote the derivative when y=f(x)y=f(x).
  • Evaluate the derivative at the required input to obtain an instantaneous rate.
  • A rate's units are output units divided by input units; its sign tells you the direction of change.