Close to the point, the tangent will do
Zoom in on a smooth curve at a point and it looks more and more like a straight line: its tangent. Near the point of contact the two are so close that the tangent, which is easy to work out, can stand in for the curve, which may not be.
Take at x = 4. The point is (4, 2) and the gradient is , so the tangent is . At x = 4.1 the tangent gives 2.025, and to six places.
The tangent as a formula
The tangent at x = a passes through (a, f(a)) with gradient f'(a), so it is y − f(a) = f'(a)(x − a). Rearranged, it is the linear approximation L(x) = f(a) + f'(a)(x − a), also called the linearization of f at a.
Read it as a walk along the tangent: start at the height f(a), then add the gradient times the step x − a. Near a, .
Estimating
Choose a = 4, close to 4.1 and with a known root. f(4) = 2 and , and the step is 0.1. So L(4.1) = 2 + 0.25 × 0.1 = 2.025.
The true value is , so the error, L minus the true value, is 2.025 − 2.024846 = 0.000154. The estimate is too big, by less than two ten-thousandths.
Going the other way works the same: L(3.9) = 2 − 0.025 = 1.975, and , again too big, by 0.000158.
Further from the point, a bigger error
The estimate gets worse as the step grows. At x = 4.4 the tangent gives 2.1 against , an error of 0.002382. At x = 5 it gives 2.25 against , an error of 0.013932.
A step ten times as long, 1 instead of 0.1, gave an error about ninety times as large. Near the point the error grows roughly with the square of the step, which is why a tangent estimate is very good close in and poor further out.
Too big or too small
The curve bends down: its gradient shrinks as x grows. A curve that bends down lies below its tangent on both sides of the point of contact, so the tangent gives values that are too big. That is why both and came out over.
The curve bends up. At x = 2 its point is (2, 1) and its gradient is , so the tangent is y = x − 1. At x = 2.2 the tangent gives 1.2, and the curve is ; at x = 1.8 the tangent gives 0.8 and the curve is 0.81. A curve that bends up lies above its tangent, so both estimates are too small, here by 0.01 each.
The curve and its tangent at (4, 2). The curve bends down and lies below the tangent on both sides, so every value read off the tangent near x = 4 is a little too big.
The curve and its tangent y = x − 1 at (2, 1). The curve bends up and lies above the tangent on both sides, so every value read off the tangent is a little too small.
The second derivative decides
Which way a curve bends is the sign of its second derivative. If f''(a) < 0 the curve bends down near a, the tangent lies above it, and L overestimates. If f''(a) > 0 the curve bends up, the tangent lies below it, and L underestimates.
For , , which at x = 4 is , negative: an overestimate. For , , positive: an underestimate.
Two more. For f(x) = sin x at a = 0, the tangent is L(x) = x, so ; the true value is 0.099833, and the estimate is over by 0.000167, as f'' = −sin x, negative just right of 0, says. For at a = 1, f'(1) = 10, so ; the true value is 1.218994, and the estimate is under by 0.018994, as , positive, says.
And a cube root: from a = 8, where f(8) = 2 and , gives against the true 2.008299, over by 0.000034. The cube root bends down for x > 0, so the over was expected.
f″ > 0: the curve lies above its tangent on both sides, concave up
Sweep x₀ to where the curve changes side of its tangent
The curve and its tangent at . At the tangent is the level line y = −2, the second derivative 6x is 6, and the curve lies above the tangent near the point, so the tangent underestimates there. Drag to −1: the second derivative is −6, the curve lies below, and the tangent overestimates. At the second derivative is 0 and the curve crosses its tangent.
The usual mistakes
Adding the step without the gradient. From f(2) = 5 and f'(2) = 3, , not 5.1.
Adding a whole unit of rise: f(a) + f'(a). With f(2) = 5 and f'(2) = 3 that gives 8, as if x had moved a whole unit instead of 0.1.
Starting from a instead of f(a). For from a = 9, the tangent starts at the height , not at 9: .
Taking a far from the point wanted. The estimate is good only near a; the error grows fast with the step.
A concrete base
In the application below, a square base must cover 101 square meters, so its side is . With only to hand, the tangent to at 100 gives the side, and the bend of says the estimate is a little too long.
Worked example: A Square Base Marked Out on Site: a Square Root Read off the Tangent, and How Far Out It Falls
Question A square concrete base for a water tank must cover exactly 101 square meters, so its side is √101 meters. The foreman on site has no calculator, only the fact that √100 = 10. (a) Use the tangent to y = √x at x = 100 to estimate the side. (b) Square the estimate as a rough check, and then say how far it falls from the exact side, which is 10.049876 m to six decimal places.
1.Let f(x) = √x. The nearest value whose root is known is x = 100, where f(100) = 10.
The nearest value whose root is known is x = 100, where √100 = 10: the point the tangent is drawn at. 2.Differentiate. Written as a power, f(x) = x0.5, so dydx = 12√x, and at x = 100 that is 12 × 10 = 0.05.
Differentiating √x gives 12√x, which is 120 = 0.05 at x = 100. 3.Near the point of contact the curve and the tangent almost agree, so f(100 + h) ≈ f(100) + 0.05h. Here the step is h = 1.
Near the point of contact the curve and the tangent almost agree, so f(100 + h) ≈ 10 + 0.05h with h = 1. 4.(a) The estimate is 10 + 0.05 × 1 = 10.05 m.
(a) The estimate is 10 + 0.05 = 10.05 m. 5.Square it as a rough check: 10.052 = 101.0025 square meters, which is 0.0025 more than the 101 wanted. The estimate is a little too long.
Squaring it gives 101.0025 square meters, 0.0025 more than wanted, so the estimate is a little too long. 6.(b) The exact side is 10.049876 m, so the estimate is out by 10.05 − 10.049876 = 0.000124 m, about a tenth of a millimeter. It comes out too long because √x bends downwards and the tangent lies above the curve on both sides of the point.
(b) The estimate is 0.000124 m too long. The tangent lies above the curve on both sides, because √x bends downwards.
Answer: (a) about 10.05 m; (b) the estimate is 0.000124 m too long, about 0.12 mm
Common mistakes
- Estimating √101 as 10.1 because 101 is one more than 100. The root does not grow at the same rate as the number: near 100 the gradient is only 0.05, so one unit of x raises the root by about 0.05, not by 1.
- Building the tangent at a point far from 101, such as x = 121. The approximation is only good near the point of contact, and from 121 the same method gives 11 − 2022 ≈ 10.0909, which is out by about 0.04 m instead of a tenth of a millimeter.