Limits: Intuition and the Formal Definition
Learning Objectives
- Explain what says in words, including why the value plays no role.
- Estimate a limit from a table or a graph, and recognize when a table is misleading.
- Compute one-sided limits and use them to decide whether a two-sided limit exists.
- Classify the three standard ways a limit fails to exist: a jump, unbounded growth, and oscillation.
- State the - definition and carry out a complete proof with explicit numbers for both a linear and a nonlinear function.
Context & Motivation
The derivative, the integral, and the sum of an infinite series are all defined as limits, so this is the lesson on which the rest of the discipline rests. The reason limits exist at all is a practical one. The average speed of a car over an interval is distance divided by time, but the speed at one instant would be . A limit is the tool that gives that expression a meaning: not by dividing zero by zero, but by asking what the quotient does as the interval shrinks toward zero.
Programmers meet the same obstacle without the vocabulary. You cannot evaluate a function at the point where it is undefined, so you evaluate it at points close by and trust the trend. This lesson shows when that trust is justified and when it is not (a floating-point table below gets the answer wrong). The cure is a precise definition: one that says exactly what "close" means and can be checked without a computer. That definition is also the shape of every numerical guarantee in computing: to get an output within of the true value, how accurately must the input be known? The functions used here come from functions-and-the-elementary-families.
Core Theory
Approaching a value
Consider . It is undefined at , since the formula gives . Still, for we can factor and cancel, so . Evaluating near :
textx 0.9 0.99 0.999 1.001 1.01 1.1 f(x) 1.9 1.99 1.999 2.001 2.01 2.1
The values close in on 2 from both sides. We write and read it as: " can be made as close to 2 as we like by taking close enough to 1, but not equal to 1." The restriction is part of the idea. A limit describes the behavior of near , not at . The function may be undefined at , or defined with a different value, and the limit is the same.
Tables can lie
A table is evidence, not a proof. The limit equals . Computing it in double precision with the formula as written:
textx (1-cos x)/x^2 2 sin^2(x/2)/x^2 1e-01 0.4995834722 0.4995834722 1e-04 0.4999999970 0.4999999996 1e-06 0.5000444503 0.5000000000 1e-07 0.4996003611 0.5000000000 1e-08 0.0000000000 0.5000000000
The left column drifts away from and then collapses to , because is so close to 1 that the subtraction cancels every significant digit. The right column uses the identity , which is the same function written without a subtraction of nearly equal numbers. A student who stopped reading the left column at would conclude that the limit is . The limit is a fact about the function, and the definition below is what lets you reason about the function rather than about its floating-point shadow.
One-sided limits and the ways a limit fails
The left-hand limit only uses , and the **right-hand limit** only uses .
Theorem. if and only if both one-sided limits exist and both equal .
The "both equal" hypothesis can fail. For , the right-hand limit at is and the left-hand limit is . Both exist, they disagree, and so the two-sided limit does not exist. Three patterns cover most failures:
- Jump. The one-sided limits exist but differ (the case above).
- Unbounded growth. For at the values are , , at . We write as a description of how the limit fails to be a real number, not as a number.
- Oscillation. at takes the value at and at . For the first sequence is and the second is . Both shrink toward , but the function value alternates between and along them, so no single works.
The epsilon-delta definition
Definition. Let be defined on an interval around , except possibly at itself. Then means: for every there is a such that
It is a challenge-and-response game. An adversary picks a tolerance around on the output side. You must answer with a that places every within of (other than ) inside that tolerance. If you can always answer, the limit is . Several details are load-bearing:
- The inequality is what excludes .
- may depend on (smaller tolerances usually need smaller ) and on .
- Any smaller also works, so the proof only needs one valid choice.
- The hypothesis that is defined near matters: the definition needs points arbitrarily close to to test.
Uniqueness. If a limit exists, it is unique. Two different values would need to be within of both at once, which is impossible. This is why writing "the" limit is justified.
In engineering terms, is the error you can tolerate in the answer and is the precision you must demand of the input.
Worked Examples
Example 1: a linear function,
Scratch work (backward). We need , which holds when . So choose .
Proof (forward). Let and set . If , then .
With real numbers. For the recipe gives . Sampling 100,000 points of other than , the largest value of is just below , as expected from a strict inequality. For , . The slope is the exchange rate between input precision and output precision.
Example 2: a nonlinear function,
Scratch work. Factor: . The factor is not constant, so we bound it by first requiring . Then gives , so . Hence , and this is at most if . Both requirements together: .
Proof. Given , let . If , then and .
With real numbers. A scan of the interval around (excluding ) gives the worst-case error for each tolerance:
textepsilon delta = min(1, epsilon/5) largest |x^2 - 4| on the interval 1 0.2 0.84 0.1 0.02 0.0804 0.01 0.002 0.008004 100 1 5
The recipe is safe but not tight: the real error stays below with room to spare. The with is needed for this recipe. For , using only would allow , which is within of , yet . The recipe fails exactly when , because the bound needs . The cap is one repair; is another.
Example 3: showing a limit does not exist
Claim: does not exist. Suppose it equals some , and take . For any , the points satisfy and give values and . If both were within of , then , a contradiction. No answers , so no works. A failed challenge for one is enough.
Example 4: the limit ignores the point
For at : for , . So works, and even though does not exist. If we redefined , the limit would still be . When the limit and the value do agree, that is a property with its own name, continuity, treated in continuity-and-the-intermediate-value-theorem.
Common Misconceptions & Pitfalls
- "The limit is the value of the function at the point." Only for well-behaved functions, and that agreement is a separate property. Example 4 shows a limit without a value. The function , defined with , has a value at and no limit there (the one-sided limits are and ).
- "The function never reaches the limit." Nothing requires that. The constant function has limit and equals it everywhere. The condition only says the point itself is excluded.
- "A table that settles down proves the limit." The floating-point table above collapsed to in its last row and was wrong. Tables suggest a conjecture, and the definition (or a limit law from the next lesson,
limit-laws-and-indeterminate-forms) proves it. - " means the limit exists." The limit does not exist as a real number. The symbol records the way it fails.
- "Choose and you are done." That works when the slope is , as in Example 4. For it needs , and for near it needs both the factor and the cap: fails at , since is within of and gives .
- "A formula for only has to work for small ." It must work for every . The choice looks fine at and fails at (Example 2).
- "If both one-sided limits exist, the limit exists." They must also be equal.
Summary
The statement says that can be forced within any tolerance of by keeping within a small enough distance of . It depends only on what does near , never on . A two-sided limit exists exactly when both one-sided limits exist and agree, and it fails by a jump, by unbounded growth, or by oscillation. Tables and floating-point evaluation are useful for guessing and unreliable for deciding. The - proof is a recipe: bound the error by a multiple of (capping when the multiple varies), solve for , then verify the implication. The next lesson, limit-laws-and-indeterminate-forms, turns the definition into algebra so that each limit does not need its own - proof.