MATH 140 Calculus 1 • McGill University, Montreal

Revision sheet: linear approximation and differentials (MATH 140)

This sheet is not a summary of section 3.10 of Stewart: you already have the course notes. It answers one question only, what makes students lose marks on linear approximation and differentials in MATH 140 at McGill University, and which precise gesture avoids each loss.

The chapter looks like arithmetic, and that is the danger: the numbers are easy, and the marks go to what surrounds them, the centre, the formula, the side of the error and the exponent of a propagated error. Every value below is exact and done by hand, as on the exam.

Mark this sheet as read or add it to your favourites: a free account, no password, keeps your read sheets and favourites from one visit to the next and tells you which chapter to tackle next. Create your space, an email is enough.

The thread of the chapter

The tangent line is exact AT its point and wrong everywhere else: an estimate by L(x)=f(a)+f′(a)(x−a)L(x) = f(a) + f'(a)(x - a) earns its marks only with the right CENTRE (near the target, ff and f′f' exact there, angles in radians), the factor (x−a)(x - a), and the SIDE of the error read on the sign of f′′f''; a propagated error is dydy, and the relative error is multiplied by the exponent.

This chapter is part of MATH 140, Calculus 1 (McGill)

The essentials

The tangent line as a function, and the two rises it separates

  • • Linearization of ff at aa: L(x)=f(a)+f′(a)(x−a)L(x) = f(a) + f'(a)(x - a). It is the tangent line at (a,f(a))(a, f(a)), and f(x)≈L(x)f(x) \approx L(x) only for xx NEAR aa.
  • • Test of any linearization in two seconds: L(a)=f(a)L(a) = f(a). The line 2+14x2 + \frac{1}{4}x fails it for x\sqrt x at 44, since it gives 33 at x=4x = 4.
  • • The centre aa is a point close to the target where f(a)f(a) and f′(a)f'(a) are EXACT: 44 for 4.1\sqrt{4.1}, 88 for 7.93\sqrt[3]{7.9}, 11 for arctan⁡1.02\arctan 1.02, 00 for e−0.03e^{-0.03}.
  • • Differentials: dxdx is an increment and dy=f′(x) dxdy = f'(x)\,dx is the rise along the TANGENT; Δy=f(x+dx)−f(x)\Delta y = f(x + dx) - f(x) is the rise along the CURVE; Δy≈dy\Delta y \approx dy.
  • • For y=x3y = x^3 at 22: dx=0.1dx = 0.1 gives dy=1.2dy = 1.2 and Δy=1.261\Delta y = 1.261; dx=0.01dx = 0.01 gives dy=0.12dy = 0.12 and Δy=0.120601\Delta y = 0.120601. The gap shrinks a hundred times when dxdx shrinks ten times.
0.511.522.533.50.511.52L(2) = 1.5f(2) = √2dx = 1y = √xtangent at (1, 1)x
With dx=1dx = 1 from (1,1)(1, 1), the tangent rises by dy=12dy = \frac{1}{2} to L(2)=1.5L(2) = 1.5, the curve only by Δy=2−1\Delta y = \sqrt 2 - 1: the gap between the two is the error of the approximation.

A marker looks for three things in an approximation question: the centre named, LL written with (x−a)(x - a), and the side of the error justified by f′′f''. The number itself is usually the smallest part of the mark.

The side of the error, and the propagated error

  • • f′′<0f'' < 0 on the interval between aa and xx: concave down, the curve is below its tangent, LL OVERESTIMATES. f′′>0f'' > 0: concave up, LL UNDERESTIMATES.
  • • The side does not depend on whether xx is left or right of aa, as long as f′′f'' keeps its sign between them. At an inflection point (sin⁡x\sin x at 00) the tangent crosses the curve and the side changes.
  • • Near 00, radians: ex≈1+xe^x \approx 1 + x (under), ln⁡(1+x)≈x\ln(1 + x) \approx x (over), sin⁡x≈x\sin x \approx x (over for x>0x > 0), (1+x)k≈1+kx(1 + x)^k \approx 1 + kx.
  • • Propagated error: a measurement x±dxx \pm dx gives y=f(x)y = f(x) with maximum error ∣dy∣=∣f′(x)∣ dx|dy| = |f'(x)|\,dx, relative error ∣dyy∣\left|\frac{dy}{y}\right|.
  • • For y=Cxky = Cx^k: dyy=kdxx\frac{dy}{y} = k\frac{dx}{x}. The cube TRIPLES the relative error, the square doubles it, the square root halves it.

The rules in table form

Each row reads from left to right: the assumptions, then the result. A red cell is not an answer, it is the finding that the form settles nothing and the instruction to rewrite it. Every case is followed by a worked example.

The small-x linearizations, with their side

Read a line as: near x=0x = 0, the function of the first column is replaced by its tangent line, and the curve lies on the side given in the last column. The red line is a linearization that does not exist.

FunctionTangent at 0Curve vs tangent
exe^x 1+x1 + x above: under

Example: e−0.03≈0.97e^{-0.03} \approx 0.97, too small since (ex)′′=ex>0(e^x)'' = e^x > 0.

ln⁡(1+x)\ln(1 + x) xx below: over

Example: ln⁡1.02≈0.02\ln 1.02 \approx 0.02, too large; the error is less than 0.00020.0002.

sin⁡x\sin x xx below for x > 0

Example: sin⁡0.01≈0.01\sin 0.01 \approx 0.01, too large; sin⁡(−0.01)≈−0.01\sin(-0.01) \approx -0.01, too small.

(1+x)1/2(1 + x)^{1/2} 1+x21 + \frac{x}{2} below: over

Example: 1.06≈1.03\sqrt{1.06} \approx 1.03, and 1.032=1.0609>1.061.03^2 = 1.0609 > 1.06.

(1+x)−3(1 + x)^{-3} 1−3x1 - 3x above: under

Example: 11.013≈0.97\frac{1}{1.01^3} \approx 0.97, and 0.97×1.030301=0.99939197<10.97 \times 1.030301 = 0.99939197 < 1.

x\sqrt x none at 0 vertical tangent no linearization

Example: f′(x)=12xf'(x) = \frac{1}{2\sqrt x} has no value at 00; centred at 11 instead, 4.1≈2.55\sqrt{4.1} \approx 2.55, off by more than 0.50.5.

What to do: Centre at the nearest perfect square: 4.1≈2+0.14=2.025\sqrt{4.1} \approx 2 + \frac{0.1}{4} = 2.025.

Every line holds for xx in radians and xx SMALL: ln⁡(1+x)≈x\ln(1 + x) \approx x at x=1x = 1 gives ln⁡2≈1\ln 2 \approx 1 instead of about 0.690.69.

The mistakes that cost marks

These are the errors I correct most often in session. Each one costs marks on a paper, even when the reasoning behind it is right.

1. Dropping the factor (x - a) from the linearization

the whole question: every value that follows is wrong

What not to write

“L(x)=2+14xL(x) = 2 + \frac{1}{4}x, so 4.1≈3.025\sqrt{4.1} \approx 3.025.”

What to write

“L(x)=2+14(x−4)L(x) = 2 + \frac{1}{4}(x - 4), so 4.1≈2+0.14=2.025\sqrt{4.1} \approx 2 + \frac{0.1}{4} = 2.025.”

Why: Without (x−a)(x - a) the line has the right slope and passes through the wrong point. Test L(a)=f(a)L(a) = f(a) before using LL: here L(4)L(4) must be 22.

2. Announcing the side of the error without the second derivative

1 mark, the justification of the side

What not to write

“The tangent is below the curve, so ln⁡1.02≈0.02\ln 1.02 \approx 0.02 is an underestimate.”

What to write

“(ln⁡(1+x))′′=−1(1+x)2<0(\ln(1 + x))'' = -\frac{1}{(1 + x)^2} < 0: the curve is concave down and lies below its tangent, so 0.020.02 is an OVERestimate.”

-0.8-0.6-0.4-0.20.20.40.60.811.2-0.8-0.40.40.81.21.622.4y = eˣ - 1: abovey = ln(1 + x): belowy = xx
Same tangent y=xy = x at the origin, two curves: ex−1e^x - 1 (f′′>0f'' > 0) lies above it, so LL underestimates; ln⁡(1+x)\ln(1 + x) (f′′<0f'' < 0) lies below, so LL overestimates.

Why: The side is a consequence of the sign of f′′f'' between aa and xx, not a general rule. Two functions with the same tangent y=xy = x at 00 can lie on opposite sides of it.

3. Using the tangent far from its point of contact

the whole value, and the credibility of the answer

What not to write

“With L(x)=2+14(x−4)L(x) = 2 + \frac{1}{4}(x - 4), 25≈7.25\sqrt{25} \approx 7.25.”

What to write

“2525 is far from 44: centre at the nearest perfect square instead, or here simply 25=5\sqrt{25} = 5.”

246810121416182022242612345678L(25) = 7.25√25 = 5tangent at (4, 2)x
At x=25x = 25 the tangent at (4,2)(4, 2) gives 7.257.25 while the curve is at 55: the line has drifted far above the concave curve.

Why: The error grows much faster than the distance: about 0.00020.0002 at distance 0.10.1, 0.0140.014 at distance 11, 2.252.25 at distance 2121. A linearization is a local statement.

4. Feeding degrees to sin x close to x

the whole question, and an impossible value since sine never exceeds 1

What not to write

“sin⁡x≈x\sin x \approx x, so sin⁡2∘≈2\sin 2^\circ \approx 2.”

What to write

“2∘=π902^\circ = \frac{\pi}{90} rad, so sin⁡2∘≈π90\sin 2^\circ \approx \frac{\pi}{90}, about 0.0350.035.”

Why: (sin⁡x)′=cos⁡x(\sin x)' = \cos x only in radians; every trigonometric linearization is built on it. Convert the angle first.

5. Carrying the relative error unchanged through a power

2 marks, the whole relative error

What not to write

“The radius is known to within 0.5%0.5\%, so the volume of the sphere is known to within 0.5%0.5\%.”

What to write

“dVV=4πr2 dr43πr3=3drr=1.5%\frac{dV}{V} = \frac{4\pi r^2\,dr}{\frac{4}{3}\pi r^3} = 3\frac{dr}{r} = 1.5\%.”

Why: For y=Cxky = Cx^k, dyy=kdxx\frac{dy}{y} = k\frac{dx}{x}: the exponent multiplies the relative error. With r=10r = 10 and dr=0.05dr = 0.05, dV=20πdV = 20\pi against V=4000π3V = \frac{4000\pi}{3}.

6. Confusing dy with Delta y

1 mark, and the definition question of the midterm

What not to write

“For y=x2y = x^2 at x=3x = 3 with dx=0.5dx = 0.5: dy=Δy=3.52−9=3.25dy = \Delta y = 3.5^2 - 9 = 3.25.”

What to write

“dy=2x dx=3dy = 2x\,dx = 3 is the rise along the tangent; Δy=3.25\Delta y = 3.25 is the rise along the curve; Δy≈dy\Delta y \approx dy.”

Why: dydy is computed with the derivative at the starting point and is linear in dxdx; Δy\Delta y is the exact change. They differ by (dx)2=0.25(dx)^2 = 0.25 here.

7. Losing the sign of a negative increment

1 to 2 marks

What not to write

“3.96≈2+14(0.04)=2.01\sqrt{3.96} \approx 2 + \frac{1}{4}(0.04) = 2.01.”

What to write

“x−a=3.96−4=−0.04x - a = 3.96 - 4 = -0.04, so 3.96≈2−0.01=1.99\sqrt{3.96} \approx 2 - 0.01 = 1.99.”

Why: A number below the centre has a root below f(a)f(a) when ff increases: 2.01>22.01 > 2 for 3.96<43.96 < 4 is impossible, and a two second check catches it.

8. Counting a coat of thickness t once in the side of a cube

half the answer

What not to write

“The paint is 0.050.05 cm thick, so ds=0.05ds = 0.05 and dV=3(20)2(0.05)=60dV = 3(20)^2(0.05) = 60 cm3^3.”

What to write

“The coat adds tt on both opposite faces: ds=2t=0.1ds = 2t = 0.1, so dV=3(400)(0.1)=120dV = 3(400)(0.1) = 120 cm3^3, the area 6s26s^2 times tt.”

Why: Read the increment on a picture before differentiating. The check dV=(total area)×t=6(400)(0.05)=120dV = (\text{total area}) \times t = 6(400)(0.05) = 120 confirms it.

Which method to choose

Which centre and which formula, by the FORM of the question

Look at the number or the quantity in the statement: its form picks the function and the centre

  • If a root of a number close to a perfect power, 4.1\sqrt{4.1}, 7.93\sqrt[3]{7.9} → f(x)=x1/nf(x) = x^{1/n} centred at the perfect power

    Example: 7.93≈2−0.112=239120\sqrt[3]{7.9} \approx 2 - \frac{0.1}{12} = \frac{239}{120}

  • If 1+1 + something small, raised to a power, including 11+h\frac{1}{1 + h} → (1+x)k≈1+kx(1 + x)^k \approx 1 + kx, with kk and its sign

    Example: 11.013≈1−3(0.01)=0.97\frac{1}{1.01^3} \approx 1 - 3(0.01) = 0.97

  • If ln⁡\ln of a number near 11, ee to a small power, sin⁡\sin or tan⁡\tan of a small angle → the small-x rules at 00, angles converted to radians

    Example: ln⁡1.02≈0.02\ln 1.02 \approx 0.02; e−0.03≈0.97e^{-0.03} \approx 0.97; sin⁡2∘≈π90\sin 2^\circ \approx \frac{\pi}{90}

  • If a function at a point near a value where it is known exactly, arctan⁡1.02\arctan 1.02 → centre at that value, NOT at 00

    Example: arctan⁡1.02≈π4+12(0.02)=π4+0.01\arctan 1.02 \approx \frac{\pi}{4} + \frac{1}{2}(0.02) = \frac{\pi}{4} + 0.01

  • If only f(a)f(a), f′(a)f'(a) and the sign of f′′f'' are given → LL from the data, side from the sign of f′′f'' on the interval

    Example: f(1)=2f(1) = 2, f′(1)=3f'(1) = 3, f′′<0f'' < 0: f(1.2)≈2.6f(1.2) \approx 2.6, too large

  • If a measured quantity with an error, and a computed quantity → dy=f′(x) dxdy = f'(x)\,dx, then dyy\frac{dy}{y}; for a power, kdxxk\frac{dx}{x} directly

    Example: r=10±0.05r = 10 \pm 0.05: dV=20πdV = 20\pi, 1.5%1.5\%

  • If an interval that must CONTAIN the value → tangent on one side, chord of the same concave curve on the other

    Example: 5611<26<5110\frac{56}{11} < \sqrt{26} < \frac{51}{10}

MATH 140 stops at the tangent line: no quadratic term, no error bound of Taylor. Those are MATH 141. When no branch applies, the answer is not a linear approximation.

How the answer is expected to be written

A marker ticks steps. Here they are in order, with the concluding sentence expected word for word.

Approximating a number with a linearization

When to use it: Any question that says “use a linear approximation (or differentials) to estimate” a number, with or without “is it an over or underestimate”

  1. 1 Name the function and the centre: f(x)=x3f(x) = \sqrt[3]{x}, a=27a = 27, chosen close to the target with f(a)f(a) exact.
  2. 2 Compute f(a)f(a) and f′(a)f'(a) exactly, naming the rule used for f′f' (power rule, chain rule with the inner function named).
  3. 3 Write L(x)=f(a)+f′(a)(x−a)L(x) = f(a) + f'(a)(x - a) with the numbers, and check L(a)=f(a)L(a) = f(a).
  4. 4 Evaluate LL at the target, keeping the sign of x−ax - a, and give the value as a fraction or a short decimal.
  5. 5 Compute f′′f'', state its sign on the interval between aa and the target, and conclude over or underestimate.

Concluding sentence

“Since f′′(x)=−29x−5/3<0f''(x) = -\frac{2}{9}x^{-5/3} < 0 for x>0x > 0, ff is concave down on [26.7,27][26.7, 27] and its graph lies below its tangent line there, so L(26.7)=26990L(26.7) = \frac{269}{90} is an overestimate of 26.73\sqrt[3]{26.7}.”

The trap: Stopping at the number: without the centre named and without f′′f'', the question loses about half its marks even with the right value.

Marking: Typically 1 mark for the choice of f and a, 2 for f(a) and f'(a), 2 for L, 2 for the value, 3 for the side with its justification.

Estimating a propagated error

When to use it: A measurement given “to within” or “with a maximum error of”, and a quantity computed from it

  1. 1 Write the formula y=f(x)y = f(x) of the computed quantity in terms of the MEASURED one (the radius, not the diameter, if the radius is measured).
  2. 2 Differentiate: dy=f′(x) dxdy = f'(x)\,dx, with xx the measured value and dxdx the maximum error.
  3. 3 Give dydy exactly, with units, as the maximum error of yy.
  4. 4 Divide by yy for the relative error, and multiply by 100100 for the percentage.

Concluding sentence

“With r=10r = 10 cm and dr=0.05dr = 0.05 cm, dV=4πr2 dr=20πdV = 4\pi r^2\,dr = 20\pi cm3^3; the relative error is dVV=3drr=0.015\frac{dV}{V} = 3\frac{dr}{r} = 0.015, that is 1.5%1.5\%.”

The trap: Answering with ΔV\Delta V computed exactly: it is not wrong, but the question asks for the differential, and on a harder formula it cannot be done by hand.

Marking: Typically 2 marks for the formula, 3 for dy, 2 for its value with units, 3 for the relative and percentage errors.

Check before you hand in

Five minutes of checking recover more marks than one more problem started in a hurry.

The typical problem, taken apart

The cube root of 26.7, with its side

Use a linear approximation to estimate 26.73\sqrt[3]{26.7}. Is your estimate too large or too small? Justify.

No calculator. Every step must be justified as on a MATH 140 final.

20222426283032342.72.82.933.13.23.3tangent at (27, 3)y = ∛xx = 26.7
The curve y=x3y = \sqrt[3]{x} bends below its tangent at (27,3)(27, 3) on both sides, so at x=26.7x = 26.7 the tangent gives a value slightly too large.

Step 1

f(x)=x1/3f(x) = x^{1/3} and a=27a = 27, the perfect cube next to 26.726.7.

Why

The centre must be close to the target AND give exact values: 273=3\sqrt[3]{27} = 3 and 2723=9\sqrt[3]{27^2} = 9 are integers.

Step 2

By the power rule, f′(x)=13x−2/3f'(x) = \frac{1}{3}x^{-2/3}, so f(27)=3f(27) = 3 and f′(27)=13⋅9=127f'(27) = \frac{1}{3 \cdot 9} = \frac{1}{27}.

Why

Naming the rule earns the method mark; the exact value 127\frac{1}{27} is why 2727 was chosen.

Step 3

L(x)=3+127(x−27)L(x) = 3 + \frac{1}{27}(x - 27), and L(27)=3L(27) = 3 as it must.

Why

The factor (x−27)(x - 27) is the whole tangent line; the check L(a)=f(a)L(a) = f(a) guards it.

Step 4

x−a=26.7−27=−0.3x - a = 26.7 - 27 = -0.3, so 26.73≈3−0.327=3−190=26990\sqrt[3]{26.7} \approx 3 - \frac{0.3}{27} = 3 - \frac{1}{90} = \frac{269}{90}.

Why

The increment is negative and the function increases: the estimate must be below 33, which it is.

Step 5

f′′(x)=−29x−5/3<0f''(x) = -\frac{2}{9}x^{-5/3} < 0 for x>0x > 0: concave down on [26.7,27][26.7, 27], so the estimate is too large. Check: 2693=19 465 109269^3 = 19\,465\,109 and 26.7×903=19 464 30026.7 \times 90^3 = 19\,464\,300, so (26990)3>26.7\left(\frac{269}{90}\right)^3 > 26.7.

Why

The side is a separate question, answered by f′′f'' and confirmed by cubing in exact arithmetic. The two must agree.

The conclusion, written out

“With f(x)=x3f(x) = \sqrt[3]{x} and a=27a = 27, L(x)=3+127(x−27)L(x) = 3 + \frac{1}{27}(x - 27), so 26.73≈26990\sqrt[3]{26.7} \approx \frac{269}{90}. Since f′′<0f'' < 0 for x>0x > 0, the graph lies below its tangent and the estimate is too large.”

The classic mistake on this problem: Writing L(x)=3+127xL(x) = 3 + \frac{1}{27}x, or 3+0.3273 + \frac{0.3}{27} with the sign of the increment lost; both give a value above 33 for a number below 2727.

Learn by heart

  • • L(x)=f(a)+f′(a)(x−a)L(x) = f(a) + f'(a)(x - a), exact at aa, valid only NEAR aa; check L(a)=f(a)L(a) = f(a).
  • • Centre: close to the target, with f(a)f(a) and f′(a)f'(a) exact; never where f′f' does not exist.
  • • f′′<0f'' < 0 between aa and xx: overestimate. f′′>0f'' > 0: underestimate. Inflection: the side changes.
  • • Near 00, in RADIANS: ex≈1+xe^x \approx 1 + x, ln⁡(1+x)≈x\ln(1 + x) \approx x, sin⁡x≈x\sin x \approx x, (1+x)k≈1+kx(1 + x)^k \approx 1 + kx.
  • • dy=f′(x) dxdy = f'(x)\,dx along the tangent, Δy\Delta y along the curve, Δy≈dy\Delta y \approx dy.
  • • Propagated error dydy, relative dyy\frac{dy}{y}; for CxkCx^k the relative error is multiplied by ∣k∣|k|.
  • • Concave down: below the tangents, above the chords. Tangent and chord trap a value between them.

Frequently asked questions

How do I know if a linear approximation is an overestimate or an underestimate?

Look at the second derivative on the interval between the centre and the point you estimate. If it is negative there, the curve is concave down and lies below its tangent line, so the approximation is too large. If it is positive, the curve lies above the tangent and the approximation is too small. At an inflection point the answer changes from one side to the other.

How do I choose the point a for a linear approximation in MATH 140?

Pick a point close to the number you want, where the function and its derivative take exact, simple values: the nearest perfect square for a square root, the nearest perfect cube for a cube root, zero for a small exponent or logarithm of a number near one, one for the arctangent of a number near one. Never choose a point where the derivative does not exist.

What is the difference between dy and delta y?

Delta y is the exact change of the function when x moves by dx, measured along the curve. The differential dy is f prime of x times dx, the change measured along the tangent line. For a small dx the two are close, and the gap between them shrinks faster than dx itself, which is exactly why the tangent line is a good local approximation.

How do you find the relative error of a volume from the error on a radius?

Differentiate the volume formula to get dV equal to the derivative times the error on the radius, then divide by the volume. For a sphere this gives three times the relative error of the radius, because the radius is cubed. In general the relative error of a power of x is the exponent times the relative error of x: a square doubles it, a square root halves it.

Practise it

Corrected exercises: Linear approximation and differentials, MATH 140 at McGill

A method is proved on a paper, not on a sheet. The set for the same chapter takes each of these traps into a problem, with the solution written out step by step.

  • 10 corrected exercises
  • 100 points
  • 150 minutes
Do the exercises
Previous sheet Related rates Next sheet Maximum and minimum values

© Ahmed Squalli Houssaini. Revision sheet published at www.letuteurscientifique.ca/en/fiches/math140-linear-approximation. Free for personal and classroom use; republishing it elsewhere requires written permission (legal notice).

See also

Looking for a MATH 140 tutor in Montreal?

Get in touch for a first session. Linear approximation is short, but it comes back on every final as a full question: centre, formula, side and error, each worth its mark.

Site by Studio Squalli