- This page is an addendum to Calculus/Formal Definition of the Limit.
Recall the definition of a limit:
A number L is the limit of a function f(x) as x approaches c if and only if for all numbers ε > 0 there exists a number δ > 0 such that
In other words, given a number ε we must construct a number δ such that assuming
we can prove
moreover, this proof must work for all values of ε > 0.
Note: this definition is not constructive -- it does not tell you how to find the limit L, only how to check whether a particular value is indeed the limit. We use the informal definition of the limit, experience with similar problems, or theorems (L'Hopital's rule, for example), to determine the value, and then can prove the correctness of this value using the formal definition.
Example 1: Suppose we want to find the limit of f(x) = x + 5 as x approaches c = 9. We know that the limit L is 9+5=14, and desire to prove this.
We choose δ = ε (this will be explained later). Then, since we assume
we can show
which is what we wanted to prove.
We chose δ by working backwards from the formula we are trying to prove:
In this case, we desire to prove
so the easiest way to prove it is by choosing δ = ε. This example, however, is too easy to adequately explain how to choose δ in general. Lets try something harder:
Example 2: Prove that the limit of f(x) = x² - 9 as x approaches 2 is L = -5.
We want to prove that
We choose δ by working backwards. First, we need to rewrite the equation we want to prove using δ instead of x:
Note: we used the fact that |x + 2| < δ + 4, which can be proven with the triangle inequality.
Word of caution: the above series of equations is not a logical series of steps, and is not part of any proof, but is an informal technique used to help write the proof. We will select a value of δ so that the last equation is true, and then use the last equation to prove the equations above it in turn (which is what was meant earlier by working backwards).
Note: in the equations above, when δ was substituted for x, the sign < was replaced with =. This can be done (but is not necessary) because we are not told that |x-2| = δ, but rather |x-2| < δ. The justification for this becomes clear when the above equations are used in backwards order in the proof.
We can solve this last equation for δ using the quadratic formula:
Note: δ is almost always in terms of ε. A constant value of δ (e.g., δ = 0.5) will not work unless the limit is of a constant function (for instance, ).
Now, we have a value of δ, and we can do our proof:
Here a few more examples of choosing δ; try to figure them out before reading the explanation.
Example 3: Prove that the limit of f(x) = sin(x)/x as x approaches 0 is L = 1.
Example 4: Prove that f(x) = 1/x has no limit as x approaches 0.
Example 5: Prove that
Solution: To do it, we'll look at two cases: and . The case is easy. First let's let . That means we want the values chosen in the domain to map to in the range. We want a delta such that so let's choose . The chosen defines the interval in our domain. This gets mapped to in our range, which is contained in . Notice that doesn't depend on . So for , we widen the interval in the range that we are allowed to map onto, but our interval in the domain stays fixed and always maps to the same sub-interval in the range. So works for any .
Now suppose . We want a such that whenever . So let's assume and work backwards to find a suitable :
Since , we have . Since both numbers above are positive, we can take the (positive) square root of both extremes of the inequality:
The above equation represents the distance, either negative or positive, that x can vary from 2 and still be within of 4. We want to choose the smaller of the two extremes to construct our interval. It turns out that for , so choose . As a sanity check, let's try with .
which is approximately
At the extreme right of the domain, this gives
which is within 0.002 of 4.