The Tangent-Line Approximation

Near the point of contact, use the tangent.

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 y = √x at x = 4. The point is (4, 2) and the gradient is 1/(2√4) = 1/4, so the tangent is y = x/4 + 1. At x = 4.1 the tangent gives 2.025, and √4.1 = 2.024846 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, f(x) ≈ L(x).

Estimating √4.1

Choose a = 4, close to 4.1 and with a known root. f(4) = 2 and f'(4) = 1/4 = 0.25, and the step is 0.1. So L(4.1) = 2 + 0.25 × 0.1 = 2.025.

The true value is √4.1 = 2.024846, 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 √3.9 = 1.974842, 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 √4.4 = 2.097618, an error of 0.002382. At x = 5 it gives 2.25 against √5 = 2.236068, 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 y = √x bends down: its gradient 1/(2√x) 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 √4.1 and √3.9 came out over.

The curve y = x²/4 bends up. At x = 2 its point is (2, 1) and its gradient is x/2 = 1, so the tangent is y = x − 1. At x = 2.2 the tangent gives 1.2, and the curve is 2.2²/4 = 1.21; 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.

xy(4, 2)

The curve y = √x and its tangent y = x/4 + 1 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.

xy(2, 1)

The curve y = x²/4 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 √x, f''(x) = −1/(4x√x), which at x = 4 is −1/32, negative: an overestimate. For x²/4, f'' = 1/2, positive: an underestimate.

Two more. For f(x) = sin x at a = 0, the tangent is L(x) = x, so sin 0.1 ≈ 0.1; 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 f(x) = x¹⁰ at a = 1, f'(1) = 10, so 1.02¹⁰ ≈ 1 + 10 × 0.02 = 1.2; the true value is 1.218994, and the estimate is under by 0.018994, as f'' = 90x⁸, positive, says.

And a cube root: ∛8.1 from a = 8, where f(8) = 2 and f'(8) = 1/12, gives L = 2 + 0.1/12 = 2.008333 against the true 2.008299, over by 0.000034. The cube root bends down for x > 0, so the over was expected.

f′(x₀) = 0f″(x₀) = 6−2−112

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 y = x³ − 3x and its tangent at x₀. At x₀ = 1 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 x₀ to −1: the second derivative is −6, the curve lies below, and the tangent overestimates. At x₀ = 0 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, f(2.1) ≈ 5 + 3 × 0.1 = 5.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 √9.6 from a = 9, the tangent starts at the height √9 = 3, not at 9: 3 + 0.6 × 1/6 = 3.1.

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 √101. With only √100 = 10 to hand, the tangent to √x at 100 gives the side, and the bend of √x 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. 1.Let f(x) = √x. The nearest value whose root is known is x = 100, where f(100) = 10.

    0481216050150200xthe square root of x(100, 10)f(x) =√x and f(100) = 10
    0481216050150200xthe square root of x(100, 10)f(x) =√x and f(100) = 10
    The nearest value whose root is known is x = 100, where √100 = 10: the point the tangent is drawn at.
  2. 2.Differentiate. Written as a power, f(x) = x0.5, so dydx = 12√x, and at x = 100 that is 12 × 10 = 0.05.

    0481216050150200xthe square root of x(100, 10)dy/dx = 1/(2√x)x = 100: 1/20 = 0.05
    0481216050150200xthe square root of x(100, 10)dy/dx = 1/(2√x)x = 100: 1/20 = 0.05
    Differentiating √x gives 12√x, which is 120 = 0.05 at x = 100.
  3. 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.

    0481216050150200xthe square root of xthe tangent at 100(100, 10)f(100 + h) ≈ f(100) + 0.05hhere the step h is 1
    0481216050150200xthe square root of xthe tangent at 100(100, 10)f(100 + h) ≈ f(100) + 0.05hhere the step h is 1
    Near the point of contact the curve and the tangent almost agree, so f(100 + h) ≈ 10 + 0.05h with h = 1.
  4. 4.(a) The estimate is 10 + 0.05 × 1 = 10.05 m.

    0481216050150200xthe square root of xthe tangent at 100(100, 10)side ≈ 10 + 0.05 = 10.05 m
    0481216050150200xthe square root of xthe tangent at 100(100, 10)side ≈ 10 + 0.05 = 10.05 m
    (a) The estimate is 10 + 0.05 = 10.05 m.
  5. 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.

    0481216050150200xthe square root of xthe tangent at 100(100, 10)the sidein metersfrom the tangent10.05exact10.049876difference0.00012410.05 × 10.05 = 101.00250.0025 more than 101
    0481216050150200xthe square root of xthe tangent at 100(100, 10)the sidein metersfrom the tangent10.05exact10.049876difference0.00012410.05 × 10.05 = 101.00250.0025 more than 101
    Squaring it gives 101.0025 square meters, 0.0025 more than wanted, so the estimate is a little too long.
  6. 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.

    0481216050150200xthe square root of xthe tangent at 100(100, 10)the sidein metersfrom the tangent10.05exact10.049876difference0.00012410.05 − 10.049876 = 0.000124 mabout 0.12 mm too long
    0481216050150200xthe square root of xthe tangent at 100(100, 10)the sidein metersfrom the tangent10.05exact10.049876difference0.00012410.05 − 10.049876 = 0.000124 mabout 0.12 mm too long
    (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.

More using differentiation problems, worked step by step →

Practice The Tangent-Line Approximation in the app