The gradient at the point
The derivative gives the gradient of a curve at every point. For the derivative is , so at the point where x = 2 the gradient is 2 × 2 = 4. The tangent there is the straight line through that point with the same gradient, 4.
Check it with a short chord. From x = 2 to x = 2.01 the curve rises from 4 to , so the chord gradient is (4.0401 − 4) ÷ 0.01 = 4.01, just above 4.
The curve and its tangent at the point (2, 4). From that point, a step of 1 square across and 4 squares up lands on the tangent again at (3, 8): the gradient is 4, the value of 2x at x = 2.
The equation of the tangent
A straight line is fixed by its gradient and one point on it. The tangent has gradient m = 4, and it passes through the point on the curve, (2, 4). A line with gradient m through is , so the tangent is y − 4 = 4(x − 2). Multiply out: y = 4x − 8 + 4, which is y = 4x − 4.
Check it by substituting the point: at x = 2 the line gives 4 × 2 − 4 = 4, the height of the curve. The same working in the form y = mx + c gives 4 = 4 × 2 + c, so c = −4.
The y-value of the point always comes from the curve, never from the derivative. At x = 2 the curve has height and gradient 2 × 2 = 4, two different quantities that happen to be equal here. At x = 3 they differ: the height is 9, the gradient is 6, and the tangent is y − 9 = 6(x − 3), which is y = 6x − 9.
A tangent can meet the curve again
On the derivative is . At (1, 1) the gradient is , so the tangent is y − 1 = 3(x − 1), which is y = 3x − 2. A chord from x = 1 to x = 1.01 has gradient (1.030301 − 1) ÷ 0.01 = 3.0301, close to 3.
This tangent touches the curve at (1, 1), and it also crosses the curve further left. Subtract the line from the curve: . The squared factor is the touch at x = 1. The factor (x + 2) is a second meeting at x = −2, where the curve and the line both have height −8.
So a tangent is defined by touching the curve at one point with the same gradient. It does not have to avoid the curve everywhere else.
The curve and its tangent y = 3x − 2 at (1, 1). The line touches the curve at (1, 1) and crosses it at (−2, −8).
Perpendicular gradients multiply to −1
The normal to a curve at a point is the straight line through that point at right angles to the tangent. Its gradient comes from the tangent's gradient.
A line of gradient 4 goes 1 across and 4 up. Turn that step through a right angle, counterclockwise: the 1 across becomes 1 up, and the 4 up becomes 4 to the left. The turned line goes −4 across and 1 up, so its gradient is .
The same turn works for any gradient m: 1 across and m up becomes m to the left and 1 up, a gradient of . This is the negative reciprocal of m: turn the gradient upside down and change its sign. The two gradients multiply to , and here .
The steep line y = 4x goes 1 across and 4 up. Turned through a right angle, that step goes 1 up and 4 to the left, along the line , whose gradient is .
The equation of the normal
At (2, 4) on the tangent has gradient 4, so the normal has gradient . It passes through the same point, so it is . Multiply out: , which is .
Check it by substituting the point: . Check the right angle: .
The normal also meets the curve again. Set and multiply by 4: , which factors as (x − 2)(4x + 9) = 0. The root x = 2 is the point itself; the other is , where the height is . On the normal, as well.
At the point (2, 4) on , the steep tangent y = 4x − 4 and the shallow normal cross at a right angle. The normal meets the curve again at .
A level tangent
When the gradient is 0 the tangent is horizontal, and cannot be worked out, because there is no dividing by 0. The normal is then vertical, the line x = a. At the bottom of , the origin, the tangent is the x-axis, y = 0, and the normal is the y-axis, x = 0.
the normal is perpendicular to the tangent, so its gradient is −1/m: a steeper tangent means a flatter normal, and m × (−1/m) = −1
Drag P to a turning point and watch the normal
The curve , whose derivative is . At x = 1.5 the tangent has gradient 1.25 and the normal −0.8, and 1.25 × (−0.8) = −1. Drag the point P: the product stays −1, and at x = 1 or x = −1 the tangent is level and the normal is vertical.
The usual mistakes
Using the tangent's gradient for the normal. A line of gradient 4 through (2, 4) is the tangent again. The normal's gradient is .
Changing only the sign. A gradient of −4 reflects the tangent in a vertical line; it is not at right angles to it. The gradient must also be turned upside down: .
Leaving x in the gradient. The tangent at x = 2 is not y = 2x: first put x = 2 into the derivative to get the number 4, then write the line through the point.
Writing the line through the origin. y = 4x has the right gradient, but it misses (2, 4). The tangent must pass through the point on the curve, which gives y = 4x − 4.
A skateboard ramp
In the application below, the side of a ramp is the curve . A rider leaves its top edge along the tangent, and a support strut meets the ramp at right angles, so it lies along the normal.
Worked example: A Skateboard Ramp: The Line a Rider Leaves It Along, and a Strut at Right Angles to Its Surface
Question The side view of a skateboard ramp is the curve y = x24 for 0 ≤ x ≤ 2, where x and y are in meters and the ground is the line y = 0. A rider leaves the ramp at its top edge, (2, 1), moving along the tangent there. (a) Find the equation of the tangent at (2, 1) and the angle it makes with the ground. (b) A support strut is fixed to the ramp at (2, 1), at right angles to its surface, and runs in a straight line from there to the ground. Find the equation of the line of the strut, where it meets the ground, and its length.
1.Differentiate: dydx = 2x4 = x2. At x = 2 the gradient of the ramp is 22 = 1.
Differentiate: dydx = x2, so the gradient of the ramp at its top edge (2, 1) is 1. 2.The tangent passes through (2, 1) with gradient 1: y − 1 = 1(x − 2), so y = x − 1.
The tangent passes through (2, 1) with gradient 1: y − 1 = 1(x − 2), so y = x − 1. The rider leaves along it. 3.(a) The tangent is y = x − 1. A gradient of 1 is a rise of 1 m for each 1 m across, so the angle with the ground is tan−1 1 = 45°.
(a) The tangent is y = x − 1. A rise of 1 for a run of 1 makes an angle of tan−1 1 = 45° with the ground. 4.The strut lies along the normal. Its gradient is −11 = −1, so y − 1 = −1(x − 2), which gives y = 3 − x.
The strut is at right angles to the tangent, along the normal. Its gradient is −1, so y − 1 = −1(x − 2), which is y = 3 − x. 5.At the ground y = 0, so x = 3. The strut runs from (2, 1) to (3, 0), and its length is √12 + 12 = √2 ≈ 1.41 m, to 2 decimal places.
The normal meets the ground where y = 0, at (3, 0). The strut is √12 + 12 = √2 ≈ 1.41 m long. 6.(b) The strut lies along y = 3 − x and meets the ground at (3, 0), 1 m beyond the foot of the top edge. It is 1.41 m long. Check: the gradients multiply to 1 × (−1) = −1, so the strut is at right angles to the tangent.
(b) The strut lies along y = 3 − x, meets the ground at (3, 0) and is 1.41 m long. The gradients multiply to −1.
Answer: (a) y = x − 1, at 45° to the ground; (b) y = 3 − x, meeting the ground at (3, 0), and the strut is √2 ≈ 1.41 m long
Common mistakes
- Using the gradient of the curve, 1, for the normal as well. That line is the tangent again. The gradient of the normal is the negative reciprocal, −1.
- Finding the gradient from the coordinates of the point, 12, as if the ramp were a straight line from the origin. The ramp is curved, so its gradient at (2, 1) comes from dydx = x2, which is 1.
More introduction to calculus problems, worked step by step →