Near a point a, a differentiable function is close to its tangent line, so L(x)=f(a)+f′(a)(x−a) approximates f(x) for x near a. The differential dy=f′(x) dx uses the same idea to estimate how much the output changes when the input changes by a small amount dx.
A calculator gives √4.1≈2.024846. Without one, start from a number you know. The square root of 4 is exactly 2, and near x=4 the graph of √x rises with slope 1/4. Moving 0.1 to the right should raise the height by about a quarter of 0.1, which is 0.025. The estimate is 2+0.025=2.025, off by only 0.00015.
The same line does worse farther from 4. At x=5 it gives 2.25 against √5≈2.2361, and at x=9 it gives 3.25against 3.
The line through (4,2) with slope 1/4 is the tangent line to y=√x at x=4. Close to its point, a smooth curve and its tangent line are almost the same.
2+41(0.1)=2.025
The tangent line at x=4 against √x
x
Line: 2+(x−4)/4
√x
Error
4.01
2.0025
2.002498
0.0000016
4.1
2.025
2.024846
0.00015
4.5
2.125
2.121320
0.0037
5
2.25
2.236068
0.014
9
3.25
3
0.25
The rule
The linearization
Let f be differentiable at a, so the tangent line at (a,f(a)) exists. Written as a function of x, that line is the linearization of f at a. In its formula f(a) is the height at the base point a,f′(a) is the slope there, and x−a is the distance moved from a. For x near a,f(x)≈L(x).
L(x)=f(a)+f′(a)(x−a),f(x)≈L(x)
L(x)=f(a)+f′(a)(x−a)f(x)≈L(x)
Differentials
The same idea estimates a change instead of a value. Let dx be a small change in the input. The tangent line predicts the change in the output, dy=f′(x) dx. The actual change, written Δy=f(x+dx)−f(x), is close to dy when dx is small. For √x at x=4 with dx=0.1,dy=(1/4)(0.1)=0.025, and Δy=0.024846.
dy=f′(x)dx≈Δy
Why it works
Why the tangent line is the right line
Every line through (a,f(a)) matches f at a. The tangent line also matches its slope, and that makes the error shrink faster than the step. Divide the error by the step. The result, (f(x)−L(x))/(x−a), equals a secant slope minus the tangent slope, (f(x)−f(a))/(x−a)−f′(a). The definition of the derivative sends that difference to 0 as x approaches a.
The table shows it. For √x at 4, a step of 0.1 leaves an error of 0.00015, and a step of 0.01 leaves 0.0000016. The step shrank by a factor of 10 and the error by about 100. The error behaves like the square of the step, which is why a tangent line is so good up close and so poor far away.
Concavity decides the direction of the error. A graph that is concave down, bending downward like √x, lies below its tangent lines, so L overestimates. A graph that is concave up lies above them, so L underestimates.
x−af(x)−L(x)=x−af(x)−f(a)−f′(a)x→a0
x−af(x)−L(x)=x−af(x)−f(a)−f′(a)x→a0
The method
The method in six steps
The table estimates e0.1, whose graph bends the other way from √x, one step to a row.
For a differential, steps 2 to 5 shrink to one line. Write dy=f′(x) dx, then put in the measured x and the small change dx.
e0.1≈1+0.1=1.1
Estimating e0.1 with a tangent line
Step
What to do
For e0.1
1
Pick a near x where f(a) and f′(a) are exact
f(x)=ex and a=0, since e0=1
2
Find f(a)
f(0)=1
3
Find f′(a)
f′(x)=ex, so f′(0)=1
4
Write L(x)=f(a)+f′(a)(x−a)
L(x)=1+x
5
Evaluate L at the x you need
L(0.1)=1.1
6
Say whether it is high or low, and write ≈
ex is concave up, so 1.1 is low (e0.1≈1.10517)
Where it breaks
Where it breaks
The estimate is only good near a. The tangent to √x at 4 gives 3.25 for √9, which is 3. Pick a base point close to the x you need, even if its arithmetic is a little harder.
The function must be differentiable at a. The cube root 3√x has a vertical tangent at 0, so it has no linearization there. The absolute value ∣x∣ has a corner at 0 and no tangent at all.
Angles must be in radians. The derivative of sinx is cosx only when x is in radians. To estimate sin31° from sin30°=1/2, the step is dx=π/180,not 1. The estimate is then 1/2+cos(π/6)⋅π/180≈0.5151, close to sin31°≈0.5150. A step of 1 would give about 1.37, which no sine can reach.
The differential dy is not the actual change Δy. It is the change along the tangent line. When a sphere’s radius grows from 10 cm to 10.1 cm,dV predicts 125.7 cm3 and the volume actually grows by 126.9 cm3.
sin31∘≈21+cos(6π)⋅180π≈0.5151
sin31∘≈21+cos(6π)⋅180π≈0.5151
Check your answer
Check your answer
A tangent-line estimate comes with a direction and a size of error, and both can be tested.
Undo the operation. Square the estimate of a square root, 2.0252=4.100625, a little more than 4.1. The estimate is a little high, as concavity predicted.
Match the concavity. The function √x is concave down, so tangent-line estimates of it must come out high. An estimate on the wrong side of the true value points to a slip.
Halve the step. Halving x−a should cut the error to about a quarter. At x=4.05 the line gives 2.0125 against 2.012461, an error of 0.000039, a quarter of the 0.00015 at 4.1.
To have Chalk check the work, write f(x)=… on the first row of a Math box, then f′(x),f′(a),L(x) and L at your point on rows below. A wrong slope such as f′(4)=1/2 reads ✗ with “That isn’t f′(4). Recheck the substitution.” With f′(x) written above it, the row L(x)=… is checked against f. It reads ✓ for the tangent line at your point and ✗ when the slope or the height is wrong. Without an f′ row it is only a definition, marked •.
For a differential, write the formula, then dV=…, then the measurement and its error on rows of their own, such as r=10 and dr=0.1. The substituted row below them reads ✓.
The tangent line to sinx at 0 is y=x. Does it overestimate or underestimate sin0.1 and sin(−0.1)?
It overestimates sin0.1≈0.0998 and underestimates sin(−0.1)≈−0.0998. The second derivative, −sinx, is negative on (0,π) and positive on (−π,0). The graph bends below the line on one side and above it on the other, because 0 is an inflection point. One concavity rule for both sides gets one of them wrong.
The size of the error, and what comes next
The error has a formula of its own. Near a,f(x)−L(x) is close to (1/2)f′′(a)(x−a)2. For √x,f′′(x)=−1/(4x3/2), so f′′(4)=−1/32. With x−a=0.1 that predicts an error of −0.000156, and the actual error is −0.000154.
Adding that term to L gives a parabola that matches the value, the slope and the bending at a, and a better estimate. Taylor polynomials continue the pattern with higher derivatives. Newton’s method uses the same tangent line the other way round, solving L(x)=0 to move toward a root of f.
f(x)−L(x)≈21f′′(a)(x−a)2
Common mistakes
Choosing a base point far from x. The tangent to √x at 4 estimates √9 as 3.25,not 3. Choose the nearest point where f(a) and f′(a) are exact.
Mixing up dx and dy. The input’s change is dx, and dy=f′(x) dx is the predicted change in the output. For a sphere, dr is the radius error and dV the volume error.
Using degrees with a trigonometric function. The derivative of sinx is cosx only in radians, so a step of 1° is dx=π/180,not 1.
Writing the estimate with an equals sign. Write √4.1≈2.025, not √4.1=2.025, because the true value is 2.024846 to six places.
Putting f′(x) in L where f′(a) belongs. The slope in L(x) is the number f′(4)=1/4, not the expression 1/(2√x), so that L is a straight line.
Key terms
Linearization
The tangent-line function L(x)=f(a)+f′(a)(x−a), which approximates f(x) for x near a.
Differential
For y=f(x), the differential dy=f′(x) dx is the change in y predicted by the tangent line when x changes by dx. For small dx it approximates the true change Δy.
Tangent line
The line that matches a curve’s direction at a point, with slope equal to the derivative there. It can cross the curve elsewhere. In trigonometry, “tangent” also names tanθ=sinθ/cosθ.
Derivative
The instantaneous rate of change of a function: the limit of the average rate of change as the step shrinks to zero, when that limit exists. On a graph it is the slope of the tangent line.