Home › Chapter 18 › Gradients and differentiation
4. Gradients and differentiation
A straight line has the same steepness everywhere. A curve’s steepness changes from point to point. This section shows how to measure it, first by drawing and then exactly using algebra.
Gradient of a curve at a point
The gradient of a curve at a point is the gradient of the tangent at that point.
Slide the point along y = x². When the tangent slopes up the gradient is positive, when it slopes down it is negative, and at the bottom it is flat (gradient 0).
How to draw a tangent and find its gradient
- Mark the point on the curve.
- Place a ruler so it touches the curve only at that point, with the curve balanced equally on both sides. Draw the line.
- Choose two points on the tangent that are far apart and easy to read (whole-number coordinates are best).
- Gradient = (change in y) ÷ (change in x). Use the scales on each axis.
Because you draw the tangent by eye, answers are estimates. Your answer may differ slightly from the true value. The gradient is also a rate of change: on a height–time graph, it is the speed.
Differentiation
Drawing tangents is slow. Differentiation gives an exact formula for the gradient at any point, called the derivative, written dy/dx.
In words: multiply by the power, then reduce the power by 1.
- y = x³ → dy/dx = 3x²
- y = 5x⁴ → dy/dx = 20x³
- y = 7x → dy/dx = 7 (a straight line’s gradient)
- y = 9 (a constant) → dy/dx = 0
For an expression with several terms, differentiate each term separately.
dy/dx = 12x² − 10x + 3.
Gradient at x = 2: 12(4) − 10(2) + 3 = 31.
dy/dx = 2x − 6. Set 2x − 6 = 4, so x = 5. Then y = 25 − 30 + 4 = −1. The point is (5, −1).
Equation of a tangent
- Differentiate and substitute the x-value: this is the gradient m.
- Find y on the curve at that x. This is the point the tangent passes through.
- Use y = mx + c with that point to find c.
dy/dx = 2x + 2 = 4 at x = 1, so m = 4. Point: y = 1 + 2 = 3, so (1, 3).
3 = 4(1) + c, so c = −1. The tangent is y = 4x − 1.
Stationary points
A stationary point is where the curve is momentarily flat, so dy/dx = 0. Maximum and minimum points are stationary points.
- Find dy/dx.
- Solve dy/dx = 0 to find the x-values.
- Substitute into y to find the y-values.
- Decide whether each is a maximum or a minimum (see below).
- dy/dx = 3x² − 3.
- 3x² − 3 = 0 → x² = 1 → x = 1 or x = −1.
- x = 1: y = 1 − 3 = −2. x = −1: y = −1 + 3 = 2. Points (1, −2) and (−1, 2).
- The graph is cubic with a positive x³, so it rises, then falls, then rises. So (−1, 2) is a maximum and (1, −2) is a minimum. (Or check the gradient either side: at x = 0, dy/dx = −3, so the curve is falling between the two points.)
Application: greatest height
dh/dt = 20 − 10t = 0 → t = 2 seconds. h = 20(2) − 5(4) = 20 metres.
In problems like this, the same idea (set the derivative to 0) finds the greatest area, volume or profit, or the least cost.