Differential Calculus 201-SN2-RE • CEGEP, Montreal

Revision sheet: the differential and linear approximation (201-SN2-RE)

This sheet does not prove dy=f′(x) dxdy=f'(x)\,dx again: that formula fits on one line and nobody loses marks on it. It deals with what really costs marks on the third test of 201-SN2-RE (formerly 201-NYA): telling dydy apart from Δy\Delta y, choosing the right base point, and turning a measurement error into a relative error without being off by a factor.

It is written for CEGEP students in the Science program (Sciences de la nature). Once the sheet is read, the corrected exercise set on the same chapter puts every reflex to the test.

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, tells you which chapter to tackle next and lets you ask for the method or exercise you are missing. Create your space, an email is enough.

The thread of the chapter

Linear approximation replaces the curve by its TANGENT LINE: it is excellent near the base point and less and less accurate as you move away from it. The whole chapter is about knowing which side of “near” you are on, and not confusing the actual change with the change the tangent line predicts.

This chapter is part of 201-SN2-RE, Differential Calculus

The essentials

Three quantities you must not confuse

  • • Δx=dx\Delta x=dx: the actual step in the variable. Both notations mean the same thing.
  • • Δy=f(x+Δx)−f(x)\Delta y=f(x+\Delta x)-f(x): the ACTUAL change in the function, measured on the curve.
  • • dy=f′(x) dxdy=f'(x)\,dx: the change PREDICTED by the tangent line. It is an approximation of Δy\Delta y.
  • • Linear approximation: f(x+Δx)≈f(x)+f′(x) Δxf(x+\Delta x)\approx f(x)+f'(x)\,\Delta x, in other words L(x)=f(a)+f′(a)(x−a)L(x)=f(a)+f'(a)(x-a).
123456789101234dx = 5Δy = 1dy = 1.25y = √x
Between x=4x=4 and x=9x=9, the curve rises from 22 to 33, so Δy=1\Delta y=1, while the tangent line rises to 3.253.25, so dy=1.25dy=1.25. The gap of 0.250.25 is the error of the linear approximation.

dydy and Δy\Delta y coincide exactly for a LINEAR function, and only for it: the tangent line is then the curve itself.

The two errors, and the one that matters

  • • ABSOLUTE error on yy: ∣dy∣=∣f′(x)∣∣dx∣\left|dy\right|=\left|f'(x)\right|\left|dx\right|, in the unit of yy.
  • • RELATIVE error on yy: ∣dyy∣\left|\frac{dy}{y}\right|, with no unit, often expressed as a percentage.
  • • Power: if y=xny=x^{n}, then dyy=ndxx\frac{dy}{y}=n\frac{dx}{x}. The relative error is MULTIPLIED by the exponent.
  • • Volume of a sphere: dVV=3drr\frac{dV}{V}=3\frac{dr}{r}; area: dSS=2drr\frac{dS}{S}=2\frac{dr}{r}.

In science, the relative error is the one that means something: an error of 11 mm on 11 m is excellent, on 11 cm it is unacceptable.

The linearizations to know near zero

  • • 1+x≈1+x2\sqrt{1+x}\approx 1+\frac{x}{2}, 11+x≈1−x\frac{1}{1+x}\approx 1-x, (1+x)n≈1+nx(1+x)^{n}\approx 1+nx.
  • • ex≈1+xe^{x}\approx 1+x, ln⁡(1+x)≈x\ln(1+x)\approx x, sin⁡x≈x\sin x\approx x, tan⁡x≈x\tan x\approx x, cos⁡x≈1\cos x\approx 1.
  • • All valid for xx CLOSE TO ZERO, and all obtained from the same formula L(x)=f(0)+f′(0)xL(x)=f(0)+f'(0)x.
-1-0.50.511.522.531234eˣ1 + x1 + x/2√(1 + x)
Near 00, each curve (solid) and its linearization (dashed) coincide: ex≈1+xe^{x}\approx 1+x, 1+x≈1+x2\sqrt{1+x}\approx 1+\frac{x}{2}. They separate as soon as you move away from 00.

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. Confusing the differential with the actual change

1 to 2 marks, depending on whether the question asked for an estimate or a value

What not to write

“dy=1.25dy=1.25, so f(9)=2+1.25=3.25f(9)=2+1.25=3.25.”

What to write

“L(9)=2+1.25=3.25L(9)=2+1.25=3.25 is only an ESTIMATE; the exact value is f(9)=9=3f(9)=\sqrt{9}=3, and the approximation overestimates by 0.250.25.”

Why: dydy lives on the tangent line, Δy\Delta y on the curve. The two coincide only for a linear function. When the question says “estimate”, give dydy; when it says “compute”, give Δy\Delta y, and the question often asks for both so you can compare.

2. Choosing a base point far away

the whole question, since the estimate becomes absurd

What not to write

“To estimate 101\sqrt{101}, I linearize at a=100a=100... no, at a=0a=0, it is simpler.”

What to write

“I linearize at the nearest KNOWN point: a=100a=100, because 100=10\sqrt{100}=10 is exact and 101101 is very close to it.”

Why: The base point must meet two conditions: f(a)f(a) and f′(a)f'(a) can be computed exactly, and aa is close to the target value. At a=0a=0, the linearization of x\sqrt{x} does not even exist, since the derivative is infinite there. The right reflex is to look for the nearest perfect square, perfect cube or special angle.

3. Using the approximation far from the base point

the whole question, and an answer outside the interval [−1,1]\left[-1, 1\right]

What not to write

“sin⁡x≈x\sin x\approx x, so sin⁡3≈3\sin 3\approx 3.”

What to write

“sin⁡x≈x\sin x\approx x only holds for xx close to 00; sin⁡3≈0.141\sin 3\approx 0.141, and the approximation is off by more than 22.”

-4-3-2-11234-4-3-2-11234x gives 3sin 3 ≈ 0.14y = x
The line y=xy=x and the curve y=sin⁡xy=\sin x are indistinguishable between −0.3-0.3 and 0.30.3, then drift apart for good: at x=3x=3, the line predicts 33 while the sine equals 0.140.14.

Why: A linear approximation has no range of validity printed on it: it is up to the student to set it. The check that saves you: if the answer falls outside the possible values of the function, like a sine greater than 11, it is certainly wrong.

4. Forgetting to multiply the relative error by the exponent

2 marks, and a scientifically wrong conclusion

What not to write

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

What to write

“V=43πr3V=\frac{4}{3}\pi r^{3} gives dVV=3drr\frac{dV}{V}=3\frac{dr}{r}, so the volume is known to within 1.5%1.5\%.”

Why: The relative error is multiplied by the exponent, because the logarithmic derivative of rnr^{n} is nr\frac{n}{r}. That is what makes volume measurements much less precise than length measurements, and it is the most useful result of the chapter in the lab.

5. Confusing absolute and relative error

1 interpretation mark, often the last one of the question

What not to write

“The error on the volume is 62.862.8, so it is huge.”

What to write

“The absolute error is 62.862.8 cm3^{3} for a volume of 41894189 cm3^{3}, a relative error of 1.5%1.5\%, which is excellent.”

Why: An absolute number cannot be judged on its own: it must be compared with the quantity measured. That is exactly why questions almost always ask for both, and why the conclusion must quote the percentage.

6. Not saying in which direction the approximation is wrong

1 mark, the interpretation one

What not to write

“The approximation gives 3.253.25 instead of 33, the error is 0.250.25.”

What to write

“Since the curve is CONCAVE DOWN, the tangent line lies above it: the approximation OVERESTIMATES, here by 0.250.25.”

-11234567-112345tangent abovetangent below
Concave down curve (x\sqrt{x}, blue): the tangent line lies above, the approximation OVERESTIMATES. Concave up curve (x2x^{2}, orange): the tangent line lies below, it UNDERESTIMATES. The sign of f′′f'' decides.

Why: Concavity decides the direction of the error, and saying so costs nothing: f′′<0f''<0 gives a tangent line above, hence an overestimate, f′′>0f''>0 a tangent line below, hence an underestimate. It is the only qualitative information you can give without computing the exact value, and therefore precisely the one the question is after.

7. Writing dxdx with the wrong sign

2 marks, since the estimate starts off on the wrong side

What not to write

“To estimate 98\sqrt{98} from 100100, I take dx=2dx=2.”

What to write

“dx=98−100=−2dx=98-100=-2, so dy=−220=−0.1dy=\frac{-2}{20}=-0.1 and 98≈9.9\sqrt{98}\approx 9.9.”

969798991001011021031049.89.91010.110.2dx = −2dx = +29.910.1
98\sqrt{98} lies to the LEFT of 100100: dx=−2dx=-2 and the tangent line gives 9.99.9 (green). With dx=+2dx=+2, you read 10.110.1, the estimated value of 102\sqrt{102} (red).

Why: dxdx is the SIGNED step between the target value and the base point, in that order. The check is immediate: 98<10098<100 so 98<10\sqrt{98}<10, and an estimate greater than 1010 is wrong before it is even checked.

Which method to choose

Which base point to choose

Two conditions, always the same: f(a)f(a) and f′(a)f'(a) must be computable exactly, and aa must be as close as possible to the target value.

  • If you are estimating a square root → take the nearest PERFECT SQUARE

    Example: 101\sqrt{101} is linearized at a=100a=100, 24\sqrt{24} at a=25a=25

  • If you are estimating a cube root → take the nearest PERFECT CUBE

    Example: 283\sqrt[3]{28} is linearized at a=27a=27

  • If you are estimating a trigonometric value → take the nearest SPECIAL angle, in radians

    Example: sin⁡31°\sin 31° is linearized at a=π6a=\frac{\pi}{6}, with dx=π180dx=\frac{\pi}{180}

  • If you are estimating an exponential or a logarithm → take a=0a=0 for exe^{x} and ln⁡(1+x)\ln(1+x), or a=1a=1 for ln⁡x\ln x

    Example: ln⁡(1.02)≈0.02\ln(1.02)\approx 0.02

  • If it is a propagation of measurement error → the base point is the MEASUREMENT itself, and dxdx is the uncertainty

    Example: r=10r=10 cm measured to ±0.05\pm 0.05 cm gives a=10a=10 and dx=0.05dx=0.05

If no convenient point is close, linear approximation is not the expected tool: the question then calls for an exact calculation or Newton's method.

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.

An error propagation, written up for the marker

When to use it: The question gives a measurement with an uncertainty and asks for the error on a quantity that depends on it.

  1. 1 Write the relation between the quantities: “The volume of the sphere is V=43πr3V=\frac{4}{3}\pi r^{3}.”
  2. 2 Differentiate: “dV=4πr2 drdV=4\pi r^{2}\,dr.”
  3. 3 Substitute the measurement and the uncertainty: “With r=10r=10 cm and dr=0.05dr=0.05 cm, dV=4π(100)(0.05)=20πdV=4\pi(100)(0.05)=20\pi cm3^{3}.”
  4. 4 Give the ABSOLUTE error with its unit, then the RELATIVE error as a percentage.
  5. 5 Conclude with a sentence that interprets the percentage.

Concluding sentence

The volume is about 41894189 cm3^{3} to within 6363 cm3^{3}, a relative error of 1.5%1.5\%, three times that of the radius.

The trap: Stopping at the absolute error. The number 62.862.8 says nothing on its own; it is the ratio to 41894189 that lets you judge the measurement, and that is what the marking scheme expects on the last line.

Marking: Usually 1 mark for the differential, 1 mark for the substitution, 1 mark for the relative error expressed as a percentage.

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

Estimating a cube root without a calculator

Estimate 283\sqrt[3]{28} by linear approximation, then say whether the estimate is too large or too small, and by how much.

2022242628303234362.62.833.23.4(27, 3)y = ∛xtangent at 27
Around x=27x=27, the curve y=x3y=\sqrt[3]{x} and its tangent line practically coincide: that is what makes the estimate reliable at 2828 and much less so at 3636.

Step 1

Let f(x)=x1/3f(x)=x^{1/3} and choose a=27a=27, the perfect cube closest to 2828, with f(27)=3f(27)=3 exactly.

Why

The choice of base point is the only decision in the problem. Taking a=8a=8 would give f(8)=2f(8)=2, just as exact, but the step dx=20dx=20 would ruin the precision.

Step 2

f′(x)=13x−2/3=13x23f'(x)=\frac{1}{3}x^{-2/3}=\frac{1}{3\sqrt[3]{x^{2}}}, so f′(27)=13×9=127f'(27)=\frac{1}{3\times 9}=\frac{1}{27}.

Why

The derivative can be computed exactly because 272/3=927^{2/3}=9 is an integer. That is the second condition for a good base point, and it matters as much as closeness.

Step 3

dx=28−27=1dx=28-27=1, so dy=f′(27) dx=127≈0.0370dy=f'(27)\,dx=\frac{1}{27}\approx 0.0370.

Why

dxdx is the SIGNED step, target value minus base point. Here it is positive, so the estimate will be greater than 33, which makes sense since 28>2728>27.

Step 4

283≈f(27)+dy=3+127=8227≈3.0370\sqrt[3]{28}\approx f(27)+dy=3+\frac{1}{27}=\frac{82}{27}\approx 3.0370.

Why

Add the exact value at the base point and the predicted change. Writing the exact fraction 8227\frac{82}{27} before rounding is what the marking scheme expects: the decimal alone proves nothing.

Step 5

Direction of the error: f′′(x)=−29x−5/3<0f''(x)=-\frac{2}{9}x^{-5/3}<0 for x>0x>0, so the curve is concave down and the tangent line lies ABOVE it. The estimate is too high.

Why

Concavity answers without computing the exact value, which is exactly what the question asks. It is a free mark for anyone who thinks of differentiating twice.

Step 6

Check: the exact value is 3.036593.03659, the estimate 3.037043.03704, the gap is 0.000450.00045, positive ✓ as concavity predicted. The relative error is 0.015%0.015\%.

Why

Two independent checks: the sign of the gap confirms the concavity, and its smallness confirms that the base point was well chosen.

The conclusion, written out

283≈8227≈3.0370\sqrt[3]{28}\approx\frac{82}{27}\approx 3.0370. Since the function is concave down, the tangent line lies above the curve: the estimate OVERESTIMATES the exact value, here by about 0.000450.00045.

The classic mistake on this problem: Taking a=30a=30 “because it is a round number”. Neither 301/330^{1/3} nor 30−2/330^{-2/3} can be computed by hand: the base point must be a perfect CUBE, not a round number.

Learn by heart

  • • dy=f′(x) dxdy=f'(x)\,dx is the change PREDICTED by the tangent line; Δy\Delta y is the actual change on the curve.
  • • L(x)=f(a)+f′(a)(x−a)L(x)=f(a)+f'(a)(x-a): the tangent line, written as a function.
  • • dxdx is the SIGNED step, target value minus base point. It can be negative.
  • • Relative error: dyy\frac{dy}{y}. For y=xny=x^{n}, it equals ndxxn\frac{dx}{x}, so it is multiplied by the exponent.
  • • f′′<0f''<0: tangent line above, the estimate is too high. f′′>0f''>0: it is too low.
  • • Base point: the CLOSEST perfect square, perfect cube or special angle, never the roundest number.
  • • 1+x≈1+x2\sqrt{1+x}\approx 1+\frac{x}{2}, (1+x)n≈1+nx(1+x)^{n}\approx 1+nx, ex≈1+xe^{x}\approx 1+x, ln⁡(1+x)≈x\ln(1+x)\approx x, sin⁡x≈x\sin x\approx x, for xx near 00.

Frequently asked questions

What is the difference between dy and delta y?

Delta y is the actual change in the function, measured on the curve between two points. Dy is the change that the tangent line predicts over the same step. The two are close when the step is small, and coincide exactly only for a linear function, whose tangent line is the curve itself.

How do you choose the base point of a linear approximation?

It must meet two conditions. The value of the function and of its derivative must be computable there exactly, and it must be as close as possible to the target value. For a square root, take the nearest perfect square, for a cube root the nearest perfect cube, for a sine the nearest special angle.

How do you know whether a linear approximation overestimates or underestimates?

The sign of the second derivative tells you. If it is negative, the curve is concave down and the tangent line lies above it, so the estimate is too large. If it is positive, the curve is concave up and the tangent line lies below it, so the estimate is too small. No calculation of the exact value is needed.

Why is the relative error on a volume three times that on the radius?

Because the volume depends on the cube of the radius. Differentiating, the ratio of the error to the volume is three times the ratio of the error to the radius. It is the general result for a power: the relative error is multiplied by the exponent, which makes volume measurements clearly less precise than length measurements.

How far does the approximation sin x equals x remain valid?

It stays within one percent as long as the angle in radians is below about zero point two five, roughly fourteen degrees. Beyond that it gets worse quickly, and for an angle of three radians it predicts three while the sine is zero point one four. A sine value greater than one always signals that the approximation has been pushed too far.

Practise it

Corrected exercises: Differentials and linear approximation, 201-SN2-RE

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.

  • 16 corrected exercises
  • 160 points
  • 225 minutes
Do the exercises
Something missing from this sheet? A method, a trap, an exercise to practise it, a mistake you spotted: tell me, I read every request.

Sending goes through your free space: that is how I can answer you and tell you when the exercise is added. An email is enough, no password. Create your space. Rather not create an account? Write to me directly.

What is it about?
I read every request myself, nobody else sees it. No need to write your name or your school.
When your request is dealt with, you hear about it by email and in your space.

By sending, you agree that I read your request to answer it. It is kept with your account, erased with it, and never published: privacy policy.

Previous sheet Related rates Next sheet Applications of the derivative

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

See also

Looking for a 201-SN2-RE tutor in Montreal?

Get in touch for a first session. We go back over the moves that cost marks on the differential calculus exam, then we test them on exercises at the level of real CEGEP tests.

Site by Studio Squalli