Tutorials › Real Analysis › Choosing N From Epsilon

Sequences · Tutorial 169 of 1000

Choosing N From Epsilon

Translate a requested tolerance into an explicit threshold by solving the relevant inequality and checking that it controls every term in the tail.

Intermediate 10 min read

What You'll Learn

  • Choose an integer threshold from a bound involving the tolerance.
  • Handle strict inequalities when solving for a threshold.
  • Use reciprocal and squared-reciprocal estimates to control tail errors.
  • Combine separate estimates by taking the largest of their thresholds.
  • Check a proposed threshold at the first index it controls.

From a Tolerance to a Threshold

The previous tutorial focused on reading the quantifiers in the epsilon-N definition. Here the task is to choose \(N\): after a tolerance \(\varepsilon>0\) is given, we must find a nonnegative integer threshold that makes the required estimate hold for every later index. The key is to begin with an estimate for \(|a_n-L|\), then solve that estimate for \(n\).

A threshold is not guessed independently of the tolerance. If the error is bounded by a reciprocal expression, a smaller tolerance generally calls for a larger threshold. Once a candidate \(N\) is found, the proof must still verify the inequality for an arbitrary \(n\geq N\). Checking only the first such index is not sufficient unless the estimate also shows that all later indices are controlled.

Threshold-selection method: For a given \(\varepsilon>0\), find an upper bound for \(|a_n-L|\). Solve the inequality that makes this upper bound strictly less than \(\varepsilon\), choose a nonnegative integer \(N\) satisfying the resulting condition, and verify the estimate for every \(n\geq N\).

The strict inequality matters. If an estimate only gives \(|a_n-L|\leq\varepsilon\), it does not establish the condition \(|a_n-L|<\varepsilon\). A threshold should therefore be chosen so the bound itself is strictly less than the tolerance. In practice, this often means choosing an integer strictly larger than a real-number expression.

A Reciprocal Error Bound

The simplest common case is an error bounded by a constant divided by \(n+1\). The following result turns that estimate directly into a threshold. The integer part \(\lfloor x\rfloor\) denotes the greatest integer less than or equal to \(x\).

Theorem (Choosing a Threshold from a Reciprocal Bound): Suppose \(C>0\) and \[ |a_n-L|\leq\frac{C}{n+1} \] for every \(n\in\mathbb{N}_0\). Given any \(\varepsilon>0\), the choice \[ N=\left\lfloor\frac{C}{\varepsilon}\right\rfloor \] satisfies \(|a_n-L|<\varepsilon\) for every \(n\geq N\).

Proof. Fix \(\varepsilon>0\), and set \(N=\left\lfloor C/\varepsilon\right\rfloor\). Since \(C/\varepsilon>0\), \(N\) is a nonnegative integer. By the defining property of the floor, \[ N\leq\frac{C}{\varepsilon}<N+1. \] Now take any \(n\in\mathbb{N}_0\) with \(n\geq N\). Then \(n+1\geq N+1>C/\varepsilon\). Since all quantities are positive, taking reciprocals reverses the strict inequality, so \[ \frac{C}{n+1}<\varepsilon. \] The assumed error bound now gives \[ |a_n-L|\leq\frac{C}{n+1}<\varepsilon. \] This holds for every \(n\geq N\), as required. \(\square\)

The floor in this choice is deliberate. It may appear that one should round \(C/\varepsilon\) up, but the threshold is an index from which \(n+1\) is used in the denominator. Even when \(C/\varepsilon\) is an integer, \(N=\lfloor C/\varepsilon\rfloor\) gives \(n+1\geq N+1>C/\varepsilon\), which supplies the strict inequality.

Worked Example: A Rational Sequence Approaching 3

Let \(a_n=\dfrac{3n+2}{n+1}\), and test the proposed limit \(L=3\). For every \(n\in\mathbb{N}_0\),

$$ |a_n-3| =\left|\frac{3n+2}{n+1}-3\right| =\left|\frac{3n+2-3n-3}{n+1}\right| =\frac{1}{n+1}. $$

Given \(\varepsilon>0\), choose \(N=\lfloor 1/\varepsilon\rfloor\). If \(n\geq N\), then \(n+1\geq N+1>1/\varepsilon\), so

$$ |a_n-3|=\frac{1}{n+1}<\varepsilon. $$

Thus this threshold works for the given tolerance. For instance, if \(\varepsilon=0.08\), then \(1/\varepsilon=12.5\), so \(N=12\). At the first index \(n=12\), the error is \(1/13<0.08\); for every later index, the denominator is larger and the error is smaller. The arbitrary-index argument, not just the numerical check at \(n=12\), verifies the whole tail.

Solving Other Error Estimates

Not every useful estimate has exactly the form \(C/(n+1)\). The same strategy applies: rearrange the error bound until it becomes a condition on \(n\), then choose an integer that satisfies it. When the rearranged condition is strict, it is often safest to choose the floor of its right-hand side plus one. This guarantees an integer strictly above that real number, whether or not the real number is itself an integer.

Worked Example: Choosing a Threshold for a Scaled Reciprocal

Consider \(b_n=\dfrac{7}{3n+1}\) and the proposed limit \(L=0\). Given \(\varepsilon>0\), we want \(7/(3n+1)<\varepsilon\). Since the denominator is positive, this is equivalent to \(3n+1>7/\varepsilon\), or \(n>(7/\varepsilon-1)/3\). A convenient nonnegative integer choice is

$$ N=\left\lfloor\frac{7}{3\varepsilon}\right\rfloor+1. $$

Indeed, \(N>7/(3\varepsilon)\). If \(n\geq N\), then \(3n+1\geq3N+1>7/\varepsilon\), and therefore

$$ |b_n-0|=\frac{7}{3n+1}<\varepsilon. $$

This choice is convenient rather than necessarily smallest. The purpose is not to find the earliest possible threshold, but to give an integer threshold whose validity follows cleanly from the calculation.

For a squared denominator, solving the inequality introduces a square root. Because \(n\) is nonnegative, a condition on \(n^2\) can be translated into a condition on \(n\), and then an integer strictly above the resulting real number can be chosen.

Worked Example: A Squared-Reciprocal Error

Let \(c_n=1+\dfrac{4}{n^2+1}\), with proposed limit \(L=1\). For a given \(\varepsilon>0\), set

$$ N=\left\lfloor\sqrt{\frac{4}{\varepsilon}}\right\rfloor+1. $$

This is a nonnegative integer strictly greater than \(\sqrt{4/\varepsilon}\). For any \(n\geq N\), we have \(n>\sqrt{4/\varepsilon}\), so \(n^2>4/\varepsilon\). Consequently, \(n^2+1>4/\varepsilon\), and

$$ |c_n-1| =\frac{4}{n^2+1} <\varepsilon. $$

For example, with \(\varepsilon=0.1\), the formula gives \(N=\lfloor\sqrt{40}\rfloor+1=7\). At \(n=7\), the error is \(4/50=0.08<0.1\); for every \(n\geq7\), \(n^2+1\geq50\), so the error remains at most \(0.08\). This confirms the proposed threshold, including its first index.

Combining Several Tail Estimates

An error may be a sum of terms, each controlled by a different estimate. In that case, first allocate part of the tolerance to each term. Then choose a threshold for each part and use the largest threshold. The next result justifies this common step.

Theorem (Combining Finitely Many Thresholds): Let \(r\) be a positive integer. Suppose that for each \(j\in\{1,\ldots,r\}\), a condition \(P_j(n)\) holds for every \(n\geq N_j\), where \(N_j\in\mathbb{N}_0\). Then all the conditions \(P_1(n),\ldots,P_r(n)\) hold for every \(n\geq N\), where \(N=\max\{N_1,\ldots,N_r\}\).

Proof. Each \(N_j\leq N\). Take any \(n\in\mathbb{N}_0\) with \(n\geq N\). Then \(n\geq N_j\) for every \(j\), so the assumed property of each \(N_j\) gives \(P_j(n)\). Since \(n\) was arbitrary, every condition holds for every \(n\geq N\). \(\square\)

This result uses the same tail logic as the theorem on larger thresholds from the previous tutorial: moving a threshold later preserves an estimate already valid on a tail. Taking the maximum gives one threshold that is late enough for every component. If the component estimates add to the total error, the triangle inequality then combines their bounds.

Worked Example: Controlling a Sum of Two Errors

Define \(d_n=\dfrac{1}{n+1}+\dfrac{2}{(n+1)^2}\), and consider the proposed limit \(L=0\). Fix \(\varepsilon>0\). We will make each positive term less than \(\varepsilon/2\). For the first term, the reciprocal-bound argument gives the threshold

$$ N_1=\left\lfloor\frac{2}{\varepsilon}\right\rfloor. $$

For the second term, choose

$$ N_2=\left\lfloor\sqrt{\frac{4}{\varepsilon}}\right\rfloor+1. $$

If \(n\geq N_1\), then \(1/(n+1)<\varepsilon/2\). If \(n\geq N_2\), then \(n>\sqrt{4/\varepsilon}\), and hence \(2/(n+1)^2<\varepsilon/2\). Set \(N=\max\{N_1,N_2\}\). For every \(n\geq N\), both estimates hold, and therefore

$$ |d_n-0| =\frac{1}{n+1}+\frac{2}{(n+1)^2} <\frac{\varepsilon}{2}+\frac{\varepsilon}{2} =\varepsilon. $$

The separate thresholds need not be equal. Taking their maximum provides one starting index from which both estimates hold, and the two strict bounds give the required strict bound for their sum.

Choosing a Useful Bound

A sequence can have a complicated formula while its distance from the proposed limit has a simple upper bound. It is usually better to work with a convenient bound than to solve an unnecessarily complicated inequality exactly. For example, if an expression is known to be at most \(C/(n+1)\), the reciprocal-bound theorem supplies a threshold immediately, even if the original expression has extra terms in its denominator.

The bound must be valid on the indices where it is used. If an estimate is established only for \(n\geq1\), a proposed threshold of \(N=0\) would require separate attention at \(n=0\). One can instead choose \(N\geq1\), or verify the initial case as part of the argument. Similarly, denominators must be positive before multiplying or taking reciprocals, and square-root rearrangements require attention to the nonnegative range of the index.

A practical proof can be organized in four steps:

1
Fix the tolerance.
Begin with an arbitrary \(\varepsilon>0\), and keep the proposed limit \(L\) fixed.
2
Bound the error.
Find an expression that is at least \(|a_n-L|\) and is easier to control.
3
Solve for an index.
Rearrange the desired strict inequality and choose a nonnegative integer satisfying the resulting condition.
4
Verify an arbitrary tail index.
Take any \(n\geq N\) and write the inequalities that lead to \(|a_n-L|<\varepsilon\).

A useful threshold need not be optimal. A slightly larger integer may make the proof shorter and less vulnerable to an endpoint error. The larger-threshold theorem ensures that once an estimate holds from some \(N\), any larger threshold also works for the same tolerance. What matters is that the chosen integer controls every index in the tail and that the final inequality is strict.

Check Your Understanding

For each question, focus on how the proposed integer threshold leads to an estimate for every later index.

  1. If \(|a_n-L|\leq C/(n+1)\) with \(C>0\), why does \(N=\lfloor C/\varepsilon\rfloor\) give a strict bound for every \(n\geq N\)?
  2. Why is choosing an integer strictly larger than a real-number expression a reliable way to handle a strict condition on \(n\)?
  3. For an error bounded by \(4/(n^2+1)\), what condition on \(n\) makes the error less than a given \(\varepsilon>0\)?
  4. Why does the maximum of finitely many thresholds control all the estimates that hold from their respective thresholds onward?
  5. When the total error is a sum of two nonnegative terms, how can the tolerance be divided to control the sum strictly?