Linear Approximation, L'Hôpital's Rule and the Mean Value Theorem
Estimate values with tangent lines, evaluate 0/0 and ∞/∞ limits with L'Hôpital's rule, and apply the mean value theorem to rates of change.
Welcome back!
Step 1 of 12Learn
Tangent lines as calculators
What is √4.1? Without a calculator, it's hard. But √4 = 2, and near x = 4, the graph of √x looks almost exactly like its tangent line. So use the line.
The linear approximation (or tangent line approximation) of f near x = a is
f(x) ≈ L(x) = f(a) + f'(a)(x − a)
For f(x) = √x at a = 4: f(4) = 2 and f'(x) = 1/(2√x), so f'(4) = 1/4.
√4.1 ≈ 2 + (1/4)(0.1) = 2.025
The true value is 2.02485…, so the error is about 0.00015. The closer x is to a, the better the approximation.
Differentials express the same idea: a small change dx in the input causes a change in the output of about dy = f'(x) dx. This is useful for estimating how measurement errors spread. If you measure a cube's side as 10 cm with a possible error of 0.1 cm, the volume V = s³ has dV = 3s² ds = 3(100)(0.1) = 30 cm³ of possible error, on a volume of 1,000 cm³.
Engineers and physicists use linear approximation all the time. The small-angle approximation sin θ ≈ θ, used for pendulums, is just the tangent line of sin θ at θ = 0.
Approximations have a direction: for a concave-down function like √x, the tangent line lies above the curve, so the estimate is slightly too high.
Step 2 of 12Practice · Chart
√x and its tangent line at x = 4
Of the points shown, where is the tangent-line estimate furthest from the true value?
Tap the point that answers the question, then press Check.
| x | √x | Tangent: 2 + (x − 4)/4 |
|---|---|---|
| 0 | 0 | 1 |
| 1 | 1 | 1.25 |
| 2 | 1.41 | 1.5 |
| 3 | 1.73 | 1.75 |
| 4 | 2 | 2 |
| 5 | 2.24 | 2.25 |
| 6 | 2.45 | 2.5 |
| 8 | 2.83 | 3 |
Step 3 of 12Practice · Work it out
Use linear approximation of √x at a = 9 to estimate √9.2. Give four decimal places.
Step 4 of 12Try the calculator
Linear approximation of √x
Pick a base point a where √a is easy, then a nearby x. Compare the tangent-line estimate with the true square root, and see how the error grows as x moves away from a.
- Tangent-line estimate L(x) = √a + (x − a)/(2√a)
- 2.025
- True value √x
- 2.024846
- Error (estimate − true)
- 0.000154
Step 5 of 12Learn
L'Hôpital's rule
Some limits resist factoring. What is lim (x → 0) (eˣ − 1)/x? Substitution gives 0/0, and there's nothing to factor.
L'Hôpital's rule. If lim f(x)/g(x) gives the indeterminate form 0/0 or ∞/∞, then
lim f(x)/g(x) = lim f'(x)/g'(x)
provided the limit on the right exists. You differentiate the numerator and the denominator separately. This is not the quotient rule.
Examples.
- lim (x → 0) (eˣ − 1)/x: derivatives give eˣ/1, which approaches 1.
- lim (x → 0) sin x / x: derivatives give cos x / 1, which approaches 1. (The famous limit, in one line.)
- lim (x → ∞) ln x / x: form ∞/∞; derivatives give (1/x)/1 = 1/x, which approaches 0. Logarithms grow more slowly than x.
- lim (x → ∞) x²/eˣ: form ∞/∞; once gives 2x/eˣ, still ∞/∞; again gives 2/eˣ, which approaches 0. You may apply the rule repeatedly while the form stays indeterminate.
Why does it work? Near the point, both f and g are close to their tangent lines, and both lines pass through 0. Their ratio is about f'(a)(x − a) / g'(a)(x − a) = f'(a)/g'(a).
Check the form first. If substitution gives a number, that's the limit; applying L'Hôpital anyway can give a wrong answer.
Step 6 of 12Practice · Work it out
Use L'Hôpital's rule to evaluate lim (x → 0) (e3x − 1)/x.
Step 7 of 12Practice · Spot the mistake
A student evaluates lim (x → 1) (x² + 1)/(x + 1) this way. Tap the step with the first error.
Step 8 of 12Learn
The mean value theorem
You pass a toll booth at 1:00 p.m. and another one 60 miles down the highway at 1:45 p.m. A week later you get a speeding ticket in the mail, though no officer ever clocked you. Is that fair?
Your average speed was 60 miles / 0.75 hours = 80 mph. The mean value theorem guarantees that at some instant, your speedometer read exactly 80 mph.
Mean value theorem (MVT). If f is continuous on [a, b] and differentiable on (a, b), then there is at least one c in (a, b) with
f'(c) = (f(b) − f(a)) / (b − a)
In words: somewhere, the instantaneous rate equals the average rate. Geometrically, some tangent line is parallel to the secant line joining the endpoints.
Example. f(x) = x² on [1, 3]. The average rate is (9 − 1)/(3 − 1) = 4. Solve f'(c) = 2c = 4: c = 2, which is inside (1, 3).
Rolle's theorem is the special case where f(a) = f(b): then some c has f'(c) = 0. A ball thrown up and caught at the same height must have zero vertical velocity at some moment, at the top.
The MVT tells you that such a c exists, not how to find it in general. Its real power is theoretical: it's the tool used to prove that f' > 0 means f is increasing, and that two functions with the same derivative differ by a constant.
Step 9 of 12Practice · Work it out
For f(x) = x³ on [0, 3], find the value c guaranteed by the mean value theorem. Give two decimal places.
Step 10 of 12Note
Step 11 of 12Flashcards
Key tools from this module
Tap a card to flip it.
Step 12 of 12Practice · Choose one
A car's trip computer shows it traveled 150 km in exactly 1.5 hours, moving smoothly the whole time. What does the mean value theorem guarantee?
Lesson complete!