The Gradient of a Curve
Understand the gradient of a curve: tangents and chords, why gradient changes along a curve, finding tangent and normal lines, and turning points, with worked examples.
Key takeaways
- Unlike a straight line, a curve has a different gradient at every point
- The gradient at a point is the gradient of the tangent that just touches the curve there
- Find it by differentiating to get dy/dx, then substituting the x-value
- Where dy/dx = 0 the curve is flat — these are turning points (maximum or minimum)
A gradient that keeps changing
A straight line has a single gradient — it is equally steep everywhere. A curve is different: it is gentle in some places and steep in others, so its gradient changes from point to point. The whole challenge is finding the gradient at one chosen spot.
If straight-line gradients are not fresh, revisit straight-line graphs and gradients first, since the gradient of a curve is defined using a straight line.
Tangent and chord
Two straight lines help us think about a curve:
- A chord joins two points on the curve. Its gradient is the average rate of change between them.
- A tangent touches the curve at one point, matching its direction exactly. Its gradient is the gradient of the curve at that point.
Imagine sliding the second end of a chord closer and closer to the first. The chord pivots until it becomes the tangent. That limiting idea is explained in introduction to calculus: rates of change; here we use the shortcut, differentiation, to get the gradient directly.
Finding the gradient at a point
The method has three steps:
- Differentiate the curve to get the gradient function
dy/dx. - Substitute the x-value of your point.
- Read off the gradient.
Worked example 1: Find the gradient of y = x² at x = 3.
- Differentiate:
dy/dx = 2x. - Substitute x = 3:
2 × 3 = 6. - The curve has gradient 6 at x = 3 (quite steep, sloping up).
Worked example 2: Find the gradient of y = x² − 4x + 1 at x = 1.
dy/dx = 2x − 4.- At x = 1:
2(1) − 4 = −2. - Gradient −2 — the curve slopes downwards here.
Notice the same curve gives different gradients at different x-values. The table shows this for y = x²:
| x | dy/dx = 2x | Steepness/direction |
|---|---|---|
| −2 | −4 | steep, downward |
| 0 | 0 | flat (the bottom) |
| 1 | 2 | gentle, upward |
| 3 | 6 | steep, upward |
The equation of a tangent line
A tangent is a straight line, so it has its own equation y = mx + c. To find it you need the gradient at the point and the coordinates of the point.
Worked example 3: Find the equation of the tangent to y = x² at the point where x = 2.
- Point: at x = 2,
y = 2² = 4, so the point is (2, 4). - Gradient:
dy/dx = 2x, so at x = 2 the gradient ism = 4. - Use
y = mx + cwith the point:4 = 4(2) + c, so4 = 8 + c,c = −4. - Tangent:
y = 4x − 4.
The equation of a normal line
The normal is the line perpendicular to the tangent at the same point. Since perpendicular gradients multiply to −1, the normal's gradient is the negative reciprocal of the tangent's gradient.
Worked example 4: Find the equation of the normal to y = x² at x = 2.
- From example 3, the tangent gradient is 4 and the point is (2, 4).
- Normal gradient = negative reciprocal of 4 =
−1/4. y = mx + cwith the point:4 = (−1/4)(2) + c = −0.5 + c, soc = 4.5.- Normal:
y = −¼x + 4.5.
Turning points: where the gradient is zero
At the top of a hill or the bottom of a valley on a curve, the curve is momentarily flat: its gradient is 0. These are called turning points (or stationary points). Find them by solving dy/dx = 0.
Worked example 5: Find the turning point of y = x² − 6x + 5.
dy/dx = 2x − 6.- Set to 0:
2x − 6 = 0, sox = 3. - Find y:
y = 3² − 6(3) + 5 = 9 − 18 + 5 = −4. - Turning point at (3, −4) — the minimum of this upward parabola.
Worked example 6: Find the turning points of y = x³ − 3x.
dy/dx = 3x² − 3.- Set to 0:
3x² − 3 = 0, sox² = 1,x = ±1. - At x = 1:
y = 1 − 3 = −2, point (1, −2). At x = −1:y = −1 + 3 = 2, point (−1, 2). - Two turning points: a maximum at (−1, 2) and a minimum at (1, −2).
Why gradient zero marks a peak or trough: Just before a maximum the curve climbs (positive gradient); just after, it falls (negative gradient). The only way to switch from positive to negative smoothly is to pass through zero — so the very top has gradient 0. The same logic, reversed, gives a minimum.
Where the gradient of a curve matters
The gradient of a curve answers "how fast, right now?" On a curved distance–time graph it is the instantaneous speed. On a profit curve, the turning point with gradient 0 is the maximum profit. Engineers find the steepest point of a stress curve; designers minimise material by locating a curve's lowest point. Tangent and normal lines are used in physics for reflection and in computer graphics for lighting and collisions.
Practice activity
- Find the gradient of
y = x²at x = 5. - Find the gradient of
y = x² + 2xat x = −1. - Find the equation of the tangent to
y = x²at x = 1. - Find the turning point of
y = x² − 8x + 3. - Find both turning points' x-values for
y = x³ − 12x.
Answers:
dy/dx = 2x; at x = 5 → 10.dy/dx = 2x + 2; at x = −1 → −2 + 2 = 0 (a turning point).- Point (1, 1), gradient 2 →
1 = 2(1) + c → c = −1, so y = 2x − 1. 2x − 8 = 0 → x = 4; y = 16 − 32 + 3 = −13, point (4, −13).3x² − 12 = 0 → x² = 4 →x = ±2.
Summary
A curve's gradient changes at every point. The gradient at a point equals the gradient of the tangent touching the curve there. Find it by differentiating to get dy/dx, then substituting the x-value. The tangent uses that gradient and the point in y = mx + c; the normal uses the negative reciprocal gradient. Where dy/dx = 0 the curve is flat — these turning points are the maximums and minimums that make differentiation so useful.
Quick quiz
Test yourself and earn XP
How does the gradient of a curve differ from that of a straight line?
A straight line has one fixed gradient; a curve's gradient changes depending on where you are on it.
The gradient of a curve at a point equals the gradient of…
The tangent is the straight line that just touches the curve at that single point; its gradient is the curve's gradient there.
For y = x², the gradient at x = 3 is…
dy/dx = 2x, so at x = 3 the gradient is 2 × 3 = 6.
At a turning point of a curve, dy/dx is…
At a peak or trough the curve is momentarily flat, so its gradient dy/dx = 0.
The normal to a curve is the line that is…
The normal is perpendicular to the tangent at the point of contact.
FAQ
A chord cuts a curve at two points; its gradient gives an average rate of change. A tangent touches the curve at just one point; its gradient gives the exact gradient there.
Find the gradient by substituting the x-value into dy/dx, find the y-value of the point on the curve, then put both into y − y₁ = m(x − x₁) or y = mx + c.
A point where the gradient is zero, so the curve is momentarily flat. Maximums, minimums and points of inflection are all stationary points.
Keep exploring
More in Math