Skip to content

Continuity of 1/x21/x^2 from the ε\varepsilon–δ\delta definition

Math I: Calculus · Mock exam, Question 2(b) · 14 points · Lecture 5

Problem

Use the ε\varepsilon–δ\delta definition to prove that

f ⁣:R∖{0}→R,f(x)=1x2,f\colon\mathbb{R}\setminus\{0\}\to\mathbb{R},\quad f(x)=\frac{1}{x^2},

is continuous at every point of its domain.

What you need

  • Continuity: ff is continuous at x0x_0 if for every ε>0\varepsilon>0 there is a δ>0\delta>0 such that ∣x−x0∣<δ|x-x_0|<\delta implies ∣f(x)−f(x0)∣<ε.|f(x)-f(x_0)|<\varepsilon\text{.}
  • Triangle inequality, in both directions: ∣a+b∣≤∣a∣+∣b∣|a+b|\leq|a|+|b| and ∣a∣≥∣b∣−∣a−b∣.|a|\geq|b|-|a-b|\text{.}
  • Absolute value rules: ∣ab∣=∣a∣ ∣b∣|ab|=|a|\,|b| and ∣x2∣=∣x∣2.|x^2|=|x|^2\text{.}

Plan

The proof has one idea: write ∣f(x)−f(x0)∣|f(x)-f(x_0)| as ∣x−x0∣|x-x_0| times something, then keep that "something" bounded by staying close to x0.x_0\text{.} Close to x0x_0 means two things here: xx must stay away from 0,0\text{,} where 1/x21/x^2 blows up, and xx must not be too large. A first restriction ∣x−x0∣<∣x0∣/2|x-x_0|<|x_0|/2 gives both. The final δ\delta is the smaller of that restriction and the one that makes the product less than ε.\varepsilon\text{.}

Step-by-step solution

Try each step yourself before you open it.

Step 1 · Fix the point and the tolerance (1 point)

Let x0≠0x_0\neq0 be arbitrary and let ε>0.\varepsilon>0\text{.} Everything that follows may depend on x0x_0 and ε,\varepsilon\text{,} but not on x.x\text{.}

Writing "let x0≠0x_0\neq0 be arbitrary" at the start is what lets you conclude continuity at every point at the end.

Step 2 · Factor the difference (2 points)

For x≠0,x\neq0\text{,}

∣1x2−1x02∣=∣x02−x2∣x2x02=∣x−x0∣ ∣x+x0∣x2x02.\left|\frac{1}{x^2}-\frac{1}{x_0^2}\right| =\frac{|x_0^2-x^2|}{x^2x_0^2} =\frac{|x-x_0|\,|x+x_0|}{x^2x_0^2}.

The factor ∣x−x0∣|x-x_0| is the one we control with δ.\delta\text{.} The other factor, ∣x+x0∣/(x2x02),|x+x_0|/(x^2x_0^2)\text{,} must be bounded by a constant that depends only on x0.x_0\text{.}

Step 3 · Restrict to a neighbourhood that avoids 0 (2 points)

Require first that

∣x−x0∣<∣x0∣2.|x-x_0|<\frac{|x_0|}{2}.

Any fixed fraction of ∣x0∣|x_0| smaller than 11 works; 1/21/2 keeps the numbers simple. This interval does not contain 0,0\text{,} so every such xx lies in the domain.

Step 4 · Bound the denominator from below (2 points)

By the reverse triangle inequality,

∣x∣≥∣x0∣−∣x−x0∣>∣x0∣2,|x|\geq|x_0|-|x-x_0|>\frac{|x_0|}{2},

so x2>x02/4.x^2>x_0^2/4\text{.} A lower bound on the denominator gives an upper bound on the fraction.

Concept: Triangle inequality

Step 5 · Bound the numerator from above (2 points)

Write x+x0=(x−x0)+2x0x+x_0=(x-x_0)+2x_0 and use the triangle inequality:

∣x+x0∣≤∣x−x0∣+2∣x0∣<∣x0∣2+2∣x0∣=52∣x0∣.|x+x_0|\leq|x-x_0|+2|x_0| <\frac{|x_0|}{2}+2|x_0|=\frac{5}{2}|x_0|.
Step 6 · Combine the estimates (2 points)

Put Steps 4 and 5 into Step 2:

∣f(x)−f(x0)∣≤52∣x0∣14x02⋅x02 ∣x−x0∣=10∣x0∣3 ∣x−x0∣.|f(x)-f(x_0)| \leq\frac{\tfrac{5}{2}|x_0|}{\tfrac{1}{4}x_0^2\cdot x_0^2}\,|x-x_0| =\frac{10}{|x_0|^3}\,|x-x_0|.

This holds for every xx with ∣x−x0∣<∣x0∣/2.|x-x_0|<|x_0|/2\text{.} The constant 10/∣x0∣310/|x_0|^3 depends on x0x_0 only, which is allowed.

Write ≤\leq here, not <:<\text{:} the bound on the other factor is strict, but ∣x−x0∣|x-x_0| can be 00 (take x=x0x=x_0), and then both sides are 0.0\text{.} The strict inequality comes in Step 7 from ∣x−x0∣<δ.|x-x_0|<\delta\text{.}

Step 7 · Choose δ and verify (2 points)

Take

δ=min⁡{∣x0∣2, ε∣x0∣310}.\delta=\min\left\{\frac{|x_0|}{2},\,\frac{\varepsilon|x_0|^3}{10}\right\}.

Then δ>0.\delta>0\text{.} If ∣x−x0∣<δ,|x-x_0|<\delta\text{,} the first entry of the minimum makes Step 6 valid, and the second gives

∣f(x)−f(x0)∣≤10∣x0∣3 ∣x−x0∣<10∣x0∣3⋅ε∣x0∣310=ε.|f(x)-f(x_0)|\leq\frac{10}{|x_0|^3}\,|x-x_0| <\frac{10}{|x_0|^3}\cdot\frac{\varepsilon|x_0|^3}{10}=\varepsilon.

Show the verification explicitly; choosing δ\delta alone does not earn this mark.

Step 8 · Conclude (1 point)

Since x0≠0x_0\neq0 and ε>0\varepsilon>0 were arbitrary, ff is continuous at every point of R∖{0}.\mathbb{R}\setminus\{0\}\text{.}

Where marks are lost

  • Choosing δ\delta that depends on x.x\text{.} The value of δ\delta may use x0x_0 and ε\varepsilon only.
  • Forgetting the first restriction. Without a bound like ∣x−x0∣<∣x0∣/2,|x-x_0|<|x_0|/2\text{,} the factor 1/x21/x^2 is unbounded near 00 and Step 6 fails. The minimum in δ\delta must contain both restrictions.
  • Bounding ∣x∣|x| from above instead of below. In the denominator you need a lower bound for ∣x∣.|x|\text{.}
  • Stopping at "choose δ\delta". The last three marks need the check that ∣x−x0∣<δ|x-x_0|<\delta really gives ∣f(x)−f(x0)∣<ε|f(x)-f(x_0)|<\varepsilon and the conclusion for every x0.x_0\text{.}

Try next

Symbols: delta, epsilon, real numbers