Limit Laws and Indeterminate Forms
Learning Objectives
- State the limit laws with their hypotheses, and say which direction each implication runs.
- Evaluate limits of polynomials and rational functions by direct substitution, and recognize when substitution is not allowed.
- Explain why is called indeterminate, and resolve it by factoring, rationalizing, or combining fractions.
- State and apply the Squeeze Theorem, including what goes wrong when its hypotheses are weakened.
- Explain why an algebraically equivalent rewrite can give a correct answer in floating point when the original expression gives a wrong one.
Context & Motivation
The previous lesson, limits-intuition-and-the-formal-definition, defined a limit and proved two of them with and . That does not scale. A real derivative computation involves dozens of limits, and no one writes an - proof for each. The limit laws are the fix: they say that limits pass through sums, products, and quotients, so that a limit of a complicated expression is assembled from limits of simple parts, the way a compiler evaluates an expression tree from its leaves.
The laws have one gap, and it is the interesting part. The quotient law needs the limit of the denominator to be nonzero. The most important limits in calculus are exactly the ones where numerator and denominator both go to zero. Those are the indeterminate forms, and they need a different method: rewrite the expression until the troublesome factor disappears. That rewriting is also a practical numerical technique. Evaluating -like expressions directly in floating point loses digits, and the algebraically simplified form recovers them, as a table in Example 2 shows.
Core Theory
The limit laws
Theorem (limit laws). Suppose and , where and are real numbers (both limits exist and are finite). Then:
- and ;
- for any constant ;
- ;
- , provided ;
- for a positive integer ;
- for a positive integer , provided, when is even, that , or with near .
The laws come from the definition. For the sum, given , take that puts within of and that puts within of . With , the triangle inequality gives .
Each hypothesis does work, and the implications go one way only:
- The parts must have limits. The functions and have no limit at , yet their sum is the constant , whose limit is . The product has limit at , although the factors have limits and "none". So when a part lacks a limit, the law is silent: the combination may or may not have one.
- The quotient needs . When the law gives no answer. (See Indeterminate forms below.)
- The even root needs , or with near . For at we have and , which is fine. For at we also have , but on the left, so is undefined there and the two-sided limit does not exist. Only the right-hand limit exists.
- Composition needs more than a limit. If , the tempting rule fails in general. Let for all , and for with . Then for every , so its limit is , while . The rule holds in two situations. One is that is continuous at (made precise in
continuity-and-the-intermediate-value-theorem), which is true of every polynomial, rational function away from its poles, exponential, and so on. The other is that for near , so the value of at is never used.
Direct substitution. Applying the laws repeatedly to gives: for a polynomial , ; for a rational function with , . For example .
Indeterminate forms
When substitution into a quotient gives , the laws do not decide the limit. The form is called indeterminate because the same shape can hide different answers. All four of these are of the form at :
textf(x) limit as x->0+ limit as x->0- x/x 1 1 2x/x 2 2 x^2/x 0 0 x/x^2 +infinity -infinity
Knowing that numerator and denominator both go to zero says nothing about the ratio; what matters is how fast each goes. Distinguish this from a nonzero numerator over a zero denominator, which is not indeterminate: at has numerator tending to and denominator to , so the values grow without bound, to from the right and from the left, and the two-sided limit does not exist.
The strategy for is to rewrite the expression, for , into one the laws can handle. Because a limit never uses the value at , the rewrite only needs to be valid for .
- Factor and cancel a common factor that vanishes at .
- Rationalize an expression with a square root by multiplying numerator and denominator by the conjugate.
- Combine fractions over a common denominator.
For as , divide numerator and denominator by the highest power of . For instance, , and since and (for any , once , and for ; limits-at-infinity-and-asymptotic-growth states the definition at infinity), the limit is . The other indeterminate forms (, , , and so on) are rewritten into these two; lhopitals-rule treats them systematically.
The Squeeze Theorem
Theorem (Squeeze). Suppose for all in an open interval containing , except possibly at itself, and . Then .
Both hypotheses are needed. If the inequality holds only on one side of , you get a one-sided conclusion at most. If the bounds have different limits, nothing follows: holds everywhere, but and trap no single value, and as the previous lesson showed, does not exist.
The most useful application is . Comparing areas in the unit circle gives for . Dividing by and inverting gives . Since and the function is even, the same bounds hold for , and the squeeze gives the limit . Numerically, at the three quantities are , , and .
Worked Examples
Example 1: factor and cancel
Find . Substitution gives , and the quotient law does not apply. Factor the numerator: . For , the quotient equals , so the limit is .
Check from both sides: at the quotient is , at it is . Note what was and was not claimed: the original function is still undefined at . The limit is because the function agrees with everywhere else.
Example 2: rationalize, and why it matters in floating point
Find . Multiply by the conjugate :
By the root, sum, and quotient laws the limit is .
Now evaluate both forms in double precision:
textx (sqrt(x+4)-2)/x 1/(sqrt(x+4)+2) 1e-01 0.2484567313 0.2484567313 1e-04 0.2499984375 0.2499984375 1e-08 0.2499999763 0.2499999998 1e-12 0.2500222251 0.2500000000 1e-14 0.2220446049 0.2500000000 1e-15 0.0000000000 0.2500000000
The first column subtracts two nearly equal numbers, and , and the subtraction exposes rounding errors made earlier, in computing and its square root. The subtraction itself is exact, but the error it leaves is divided by a tiny . By it returns . The rationalized form has no subtraction of close values and stays at . The algebra that solves the limit by hand is the same algebra that makes the code accurate.
Example 3: the Squeeze Theorem
Show . The laws cannot be used directly, because has no limit. But for , and multiplying by preserves the inequalities:
Both bounds tend to as , so the limit is . Numerically, at the middle value is with bounds ; at it is with bounds . The multiplication by was needed: multiplying an inequality by a negative number reverses it, which is a common slip when the bounding factor can change sign.
Example 4: a limit through the laws and a known limit
Find , the limit that fooled the floating-point table in the previous lesson. Use :
As , too, and for , so the second situation of the composition rule applies and by the Squeeze Theorem result above. The power and constant-multiple laws give . The rewrite is the same one used in the stable column of the earlier table.
Common Misconceptions & Pitfalls
- "" or "." Neither: the form is indeterminate, and the table above shows four different outcomes from it. Each limit needs its own rewrite.
- "If exists then and exist." The converse is the law; this direction is false ( and ).
- "I substituted, got with , so the limit is ." Only if the sign is the same from both sides. In it is not, and the two-sided limit does not exist.
- "Cancelling changed the function, so the limit is wrong." The limit never looks at . Cancelling a factor valid for is legitimate.
- "Absolute values behave like ordinary algebra." tends to from the right and from the left. Split into the two cases before simplifying.
- "A calculator that shows settles it." The table in Example 2 returned at for a limit of .
- "Squeeze with any bounds." The bounds must hold near and share the same limit. Bounds like for squeeze nothing.
Summary
Limit laws let limits of sums, products, quotients, powers, and roots be computed from limits of parts, as long as the parts have finite limits (the quotient also needs a nonzero denominator limit, an even root a positive one, or zero with a nonnegative argument). They run in one direction only: a combination can have a limit when its parts do not. Substitution works for polynomials and for rational functions away from zero denominators. When it produces the answer is not determined by the form, and the remedy is to rewrite for by factoring, rationalizing, or combining fractions; for divide by the highest power. The Squeeze Theorem handles oscillating factors by trapping them between two functions with the same limit, and gives , which in turn gives . The same rewrites that solve these limits by hand are the ones that keep floating-point evaluation accurate. The next lesson, limits-at-infinity-and-asymptotic-growth, applies these tools as grows without bound.