A57 of 56
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

A5 · Lesson 7 · The precise definition

Any tolerance you ask for, I can meet

An engineer asks: how accurately must I set the input so the output lands within 1 mV of target? That question, turned around and made exact, is the definition mathematicians use for a limit. "The limit of f at a is L" means: whatever tolerance ε you demand on the output, there's a tolerance δ on the input that guarantees it. It's tolerance analysis, done for every possible tolerance at once.

  • The curve is f(x)=x2 near x=2, where it approaches 4. The horizontal band is 4±ε; the vertical band is 2±δ.
  • Shrink ε. Then find the largest δ that keeps the curve inside the horizontal band across the whole vertical band.
  • Read the formula's suggested δ in the strip. Is it safe?

Predict

For f(x)=3x+1 near x=2 (where f→7), how close must x be to 2 to guarantee |f(x)−7|<0.03?

Name it

The definition

limx→a⁡f(x)=L means:

for every ε>0 there is a δ>0 such that 0<|x−a|<δ implies |f(x)−L|<ε.

Read it as a game. Your opponent names a tolerance ε on the output, as small as they like. You must answer with a tolerance δ on the input that guarantees it. If you can always answer, the limit is L. The 0<|x−a| part says the value at a itself never counts.

Finding δ

Linear functions. For f(x)=mx+b, |f(x)−f(a)|=|m||x−a|, so δ=ε/|m| works.

Nonlinear functions. Bound the extra factor near the point. For f(x)=x2 near a:

|x2−a2|=|x−a||x+a|

If we first insist |x−a|<1, then |x+a|≤2|a|+1, so

δ=min⁡(1,ε2|a|+1)

works for every ε. The "min" keeps both promises: close enough that the bound on |x+a| holds, and close enough to meet the tolerance. Near a=2 that's min⁡(1,ε/5).

Why bother

For most limits, the rules of lessons 3 and 5 give the answer faster. The definition matters because it's what those rules are proved from, and because it's the template for every "how precisely must the input be controlled" question in engineering: a calibrated instrument, an ADC's resolution, a tolerance stack-up. The sensitivity |f′(a)| (coming in lesson 22) sets the ratio of output tolerance to input tolerance near a point.

Worked example

Using the definition, find a δ that guarantees |5x−2−8|<0.01 near x=2.

Show the solution
  1. Simplify the error. |5x−2−8|=|5x−10|=5|x−2|
  2. Solve for the distance from 2. To make this less than 0.01, take |x−2|<0.015=0.002

Answer δ=0.002 works, and so does any smaller δ.

Worked example

A sensor's output is v=0.1T2 volts near T=10. How precisely must T be controlled to keep v within 0.05 V of its value at 10?

Show the solution
  1. Factor the error. |0.1T2−10|=0.1|T−10||T+10|
  2. Bound the second factor. If |T−10|<1, then |T+10|<21, so the error is below 2.1|T−10|.
  3. Solve for 0.05 V. |T−10|<0.052.1=0.0238
  4. Pick δ. δ=min⁡(1,0.0238)=0.0238 degrees works.
  5. Check against the slope. Near T=10 the slope is 2 V/°, so the tight answer is close to 0.05/2=0.025; the bound gives a little less, which is still safe.

Answer holding T within 0.0238 degrees of 10 keeps v within 0.05 V.

Worked example

Find a δ that keeps |x2−4|<0.01 whenever |x−2|<δ.

Show the solution
  1. Factor. |x2−4|=|x−2||x+2|
  2. Bound the second factor. It depends on x, so first restrict to |x−2|<1, where x is between 1 and 3 and |x+2|<5.
  3. Solve for the distance from 2. Then |x2−4|<5|x−2|, which is below 0.01 when |x−2|<0.002
  4. Pick δ. δ=min⁡(1,0.002)=0.002 It isn't the largest possible δ, but any δ that works is enough.

Answer δ=0.002 works.

Check

For f(x)=4x−3, what is the largest δ that guarantees |f(x)−f(1)|<0.01 whenever |x−1|<δ?

Check

For f(x)=x2 near a = 2, using δ=min⁡(1,ε2|a|+1), what δ goes with ε = 0.1?

Check

In "for every ε there is a δ", who picks first, and why does the order matter?

Check

An amplifier with a gain of 50 must keep its output within ±1 mV of target. How precisely, in mV, must its input be held?

Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.

Check

Make |2x3−2|<ε with ε = 0.01, by choosing how close x must be to 1.

(a)

|x3−1|=|x−1||x2+x+1|. If |x−1|<1, what is the largest |x2+x+1| can be?

(b)

What δ does that bound give?

(c)

What is the largest x−1 (above 1) that actually works? Solve 2(x3−1)=ε.

Check

Find a δ that makes |x−a|<ε whenever |x−a|<δ.

Step 1

Rationalize: write x−a as a fraction with x−a on top.

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

Explain, using the ε–δ idea, why a steeper function needs a smaller δ for the same ε.

Practice

Keep practicing

6 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.