🌌 Calculus Kingdom · Calculus

Limit Laws & the Formal Definition

Work with limits as objects: combine known limits with the limit laws, rationalise a radical quotient, use the two special trigonometric limits and the squeeze theorem, and read the epsilon-delta definition on a straight line.

In short

  • The limit of a combination is that same combination of the limits β€” sums, differences, constant multiples, products, powers and roots all pass straight through. The quotient law is the one with a condition: the limit of the denominator must not be 0.
  • When substitution gives 0/0 and there is nothing to factor, there are three standard moves: multiply by the conjugate to clear a radical, combine a complex fraction over one denominator, or split an absolute value into its two one-sided cases.
  • With x in radians, sin(t)/t approaches 1 and (1 - cos(t))/t approaches 0. Make the angle inside the sine match what is underneath and pay for it with a factor in front: sin(kx)/x approaches k, not 1.
  • The squeeze theorem needs no rule for f at all. If f is trapped between two functions that close on the same value, f closes on it too β€” which is how x2*sin(1/x) has a limit even though sin(1/x) has none.
  • The formal definition is a bargain in a fixed order: for every tolerance epsilon there must be a window delta. For a straight line f(x) = mx + c the window is delta = epsilon/|m|, so a steeper line needs a narrower one.

The limit laws, and the one condition attached

At Limit's Edge you have already learned what a limit *is*: the height a function closes in on, whether or not it ever arrives. This craft is about what a limit *obeys*. A limit turns out to be a very well-behaved object β€” it survives every ordinary operation of arithmetic β€” and the list of ways it does that is called the limit laws.

Suppose that as x approaches a, f(x) approaches p and g(x) approaches q. Then, as x approaches a:

  • Sum and difference. f(x) + g(x) approaches p + q, and f(x) - g(x) approaches p - q.
  • Constant multiple. c*f(x) approaches c*p. A constant walks straight through a limit.
  • Product. f(x)g(x) approaches p*q.
  • Quotient. f(x)/g(x) approaches p/q, provided q is not 0.
  • Power. (f(x))n approaches pn. Squaring is the case you meet most.
  • Root. sqrt(f(x)) approaches sqrt(p), as long as p is not negative.

Read those as one sentence: *the limit of a combination is that same combination of the limits.* You take the expression apart along its operations, replace each piece by its own limit, and put it back together. That is the whole method, and it is why substitution works for every polynomial: a polynomial is built from x and constants using nothing but sums, constant multiples and products.

Two of the laws have small print, and the small print is where the marks are.

The quotient law refuses to work when the bottom limit is 0. If f approaches 5 and g approaches 0, then f/g is a number settling on 5 divided by a number shrinking to nothing, and that quotient does not settle anywhere at all β€” it runs away. The law gives no value, and no amount of algebra rescues it, because there is no hidden common factor to cancel: the top is not heading for 0. Notice how different this is from the 0/0 case you met in Limits, where both parts shrink and a cancellation is waiting. Check the bottom limit before you use the quotient law, every time.

The root law needs a non-negative limit inside, for the ordinary reason that sqrt of a negative number is not a real number.

There is one more law, and it is the one that makes composite functions work.

Composition. If g(x) approaches b as x approaches a, and f is continuous at b, then f(g(x)) approaches f(b). Work from the inside out: find where the inside settles, then apply the outside to that value. The word "continuous" is doing all the work β€” it is exactly the condition that lets you swap "the limit of f" for "f of the limit".

When 0/0 survives: conjugates, complex fractions and absolute values

Substitution gives 0/0. In Limits you factored and cancelled. That works for polynomials, but three other shapes turn up constantly and each has its own move.

A square root on top or bottom: multiply by the conjugate. The conjugate of sqrt(A) - B is sqrt(A) + B, and multiplying them gives A - B2 β€” the radical vanishes, because (u - v)(u + v) = u2 - v2. So for

(sqrt(x + 7) - 3) / (x - 2) as x approaches 2

multiply top and bottom by (sqrt(x + 7) + 3). The top becomes (x + 7) - 9 = x - 2, which cancels the bottom exactly, and what is left is

1 / (sqrt(x + 7) + 3) -> 1 / (3 + 3) = 1/6

The single most common slip here is stopping at 1/3: after the cancellation the denominator is sqrt(9) + 3, which is 3 + 3, not 3. And if the radical is on the *bottom* instead, the same conjugate clears it and the answer comes out bigger than 1 rather than smaller β€” the whole fraction is the other way up.

A fraction inside a fraction: combine the top over one denominator. For

(1/x - 1/5) / (x - 5) as x approaches 5

put the top over the common denominator 5x: it becomes (5 - x)/(5x). Now 5 - x is the negative of x - 5, so dividing by (x - 5) cancels that factor and leaves a minus sign behind:

-1 / (5x) -> -1/25

Two things to guard. The minus sign is not optional β€” it comes from the order of the subtraction, and dropping it is the classic error. And the answer has 5 twice underneath, not once: 5x becomes 5 times 5 when x arrives.

The same shape appears with h instead of a number:

(1/(x + h) - 1/x) / h as h approaches 0

Combine the top over x(x + h) to get -h/(x(x + h)), cancel the h, and let h go to 0: the answer is -1/(x2), an expression in x rather than a single number. (You may recognise it as the derivative of 1/x, which is exactly what it is.)

An absolute value: split into two one-sided questions. |x - a| is two rules wearing one coat: it equals x - a when x is above a, and -(x - a) when x is below. So a limit containing one has to be done twice.

|x - 4| / (x - 4)

is +1 for every x above 4 and -1 for every x below it. The limit from the right is 1, the limit from the left is -1, and because those disagree the two-sided limit does not exist. Nothing here is anywhere near 0, so 0 is never the answer; and "does not exist" is a statement about the two sides disagreeing, not about the function having no value at the point.

The two special trigonometric limits

Substituting 0 into sin(x)/x gives 0/0, and there is nothing to factor and no radical to rationalise. Two limits have to be established once, geometrically, and then everything else is built from them. With x in radians:

sin(t)/t -> 1 as t approaches 0 (1 - cos(t))/t -> 0 as t approaches 0

The reason for the first, in one line: for a small angle t in a unit circle, the arc of length t, the chord and the vertical sin(t) are squeezed between each other, and the ratio of any two of them closes on 1. That is why radians matter β€” in degrees the arc is not t, and the limit would be pi/180 instead. The reason for the second, also in one line: multiply top and bottom by (1 + cos t) and the top becomes sin(t)2, which shrinks like t2 while the bottom shrinks like t.

Everything else is bookkeeping. The angle inside the sine and the thing underneath must match. They rarely do, so you make them match and pay for it with a factor in front:

sin(5x)/x = (5)(sin(5x)/(5x)) -> (5)(1) = 5

so sin(kx)/x approaches k β€” not 1. Dropping the k is the error this whole family is built to catch. The same trick handles every variation:

  • sin(kx)/(mx) = (k/m)(sin(kx)/(kx)) -> k/m
  • x/sin(kx) is the reciprocal, so it approaches 1/k
  • tan(kx)/x: write tan = sin/cos. The cosine approaches cos(0) = 1, so this behaves exactly like sin(kx)/x and approaches k
  • sin(ax)/sin(bx): divide top and bottom by x. The top approaches a, the bottom approaches b, and the quotient law gives a/b
  • (1 - cos(x))/x2: multiply top and bottom by (1 + cos x). The top becomes sin(x)2, so the expression is (sin(x)/x)2 divided by (1 + cos x), which approaches (1)(1)/2 = 1/2

That last one is worth memorising alongside the other two, because the two cosine limits have different values β€” 0 over x, and 1/2 over x2 β€” and mixing them up is a favourite trap.

The squeeze theorem

Sometimes you cannot get at f at all. You have no formula, or the formula misbehaves so badly that no law applies. The squeeze theorem (also called the sandwich theorem) gets an answer anyway, from two functions that trap it.

If g(x) <= f(x) <= h(x) for every x near a, and g and h both approach the same value L as x approaches a, then f approaches L too.

The picture is the whole proof. Draw two curves that pinch together at x = a, meeting at height L. Now draw anything at all between them. It has nowhere to go: as x closes on a the corridor narrows to a single point, and whatever is inside is dragged to that height. Note what the theorem does not need β€” any rule for f, any continuity of f, any value for f at a. Two walls and a squeeze are enough.

A textbook use. Suppose 4x - 9 <= f(x) <= x2 - 4x + 7 for every x near 4. Substituting x = 4 into the lower bound gives 7; substituting into the upper bound gives 16 - 16 + 7 = 7. The two walls meet at 7, so the limit of f as x approaches 4 is 7 β€” and we still have no idea what f is.

The use it was invented for. Consider f(x) = x2*sin(1/x) for x other than 0. As x approaches 0, the angle 1/x races off, so sin(1/x) swings between -1 and 1 faster and faster and has no limit whatever. But it never leaves that band, and x2 is never negative, so

-x2 <= x2*sin(1/x) <= x2

Both walls approach 0, so the limit is 0. The swinging is crushed by the shrinking factor. Two warnings, both common: the sine reaching 1 somewhere does not make the limit 1, because it is still multiplied by something heading for 0; and the fact that sin(1/x) alone has no limit says nothing about the product. If the same idea is shifted β€” say 3 - x2 <= f(x) <= 3 + x2 β€” then the walls close on 3, and 3 is the answer. The squeeze theorem gives whatever the walls agree on, which is not always 0.

Epsilon and delta: you name the tolerance, I name the window

Everything above rests on the word "approaches", and so far that word has been an intuition. The formal definition makes it exact, and it is best read as a bargain between two people.

You say: *I want f(x) to be within a distance of L. Here is how close: epsilon.* You may choose epsilon as small as you like β€” a thousandth, a millionth, anything above 0.

I reply: *Then keep x within delta of a, and I promise you it will be.* My delta is allowed to depend on your epsilon, and it usually does; the promise covers every x within delta of a except a itself, because a limit never looks at the point.

The limit of f(x) as x approaches a is L means: for every epsilon greater than 0 there is a delta greater than 0 such that every x with 0 < |x - a| < delta has |f(x) - L| < epsilon.

The order of those two is the entire content of the definition. Epsilon is demanded first and delta answers it. Swap them and you have said something much weaker and quite useless. And "for every epsilon" cannot be relaxed to "for some epsilon", or a function sitting a fixed distance away from L would pass.

Finding delta for a straight line. This is one calculation, and it goes backwards from what you want. Take f(x) = 3x + 1, a = 2, so L = 7, and suppose epsilon = 0.6.

Start with the thing to be guaranteed and unwind it:

|f(x) - 7| < 0.6 |3x + 1 - 7| < 0.6 |3x - 6| < 0.6 3|x - 2| < 0.6 |x - 2| < 0.2

Every line is reversible, so |x - 2| < 0.2 guarantees |f(x) - 7| < 0.6. The largest window is delta = 0.2 = 1/5, and in general, for f(x) = mx + c,

delta = epsilon / |m|

The slope is a magnifier: a steep line turns a small wobble in x into a big wobble in f, so a steep line needs a narrow window. Setting delta = epsilon works only when |m| = 1, and it is the standard mistake. Multiplying instead of dividing is the same mistake wearing its coat inside out. The absolute value matters too β€” a window is a distance, so it is the *size* of the slope that divides.

The question also comes the other way round. Given a window, what tolerance does it buy? Then you run the same chain forwards: |x - a| < delta gives |f(x) - L| = |m||x - a| < |m|*delta. Going from x to f multiplies by |m|; going from f to x divides by it.

Worked examples

Example 1

As x approaches 3, f(x) approaches 8 and g(x) approaches -2. Use the limit laws to find the limit of (f(x) - g(x)) / (f(x) + g(x)) as x approaches 3.

  1. Deal with the top and the bottom separately. Each is a sum or a difference, so the sum and difference laws apply to each.
  2. Top: the limit of f(x) - g(x) is 8 - (-2) = 10.
  3. Bottom: the limit of f(x) + g(x) is 8 + (-2) = 6.
  4. Before dividing, check the quotient law: the bottom limit is 6, which is not 0, so the law applies.
  5. Limit = 10/6 = 5/3. If the bottom limit had come out as 0, the laws would have given no value at all and the answer would have been that the quotient law does not apply.

Example 2

Find the limit as x approaches 7 of (sqrt(x + 2) - 3) / (x - 7).

  1. Substitute first: sqrt(9) - 3 = 0 on top and 0 underneath. It is a 0/0 form, so the expression can be simplified.
  2. A radical cannot be factored away, so multiply top and bottom by the conjugate (sqrt(x + 2) + 3).
  3. The top becomes (x + 2) - 9 = x - 7, so the expression is (x - 7) / ((x - 7)(sqrt(x + 2) + 3)).
  4. Cancel the (x - 7), which is legal because x only approaches 7 and never equals it: what is left is 1 / (sqrt(x + 2) + 3).
  5. Substitute x = 7: 1 / (3 + 3) = 1/6. Not 1/3 β€” the denominator is sqrt(9) + 3, and sqrt(9) is 3, so the two 3s add.

Example 3

Find the limit as x approaches 0 of tan(6x) / sin(4x), with x in radians.

  1. Substituting 0 gives 0/0, and there is nothing to factor, so this is a job for the special limits.
  2. There is no special limit for the tangent, so rewrite it: tan(6x) = sin(6x) / cos(6x). The expression becomes sin(6x) / (cos(6x)*sin(4x)).
  3. cos(6x) approaches cos(0) = 1, so it can be handled by the product law and then ignored.
  4. Divide the top and the bottom of sin(6x)/sin(4x) by x: the top is (6)(sin(6x)/(6x)) which approaches 6, and the bottom is (4)(sin(4x)/(4x)) which approaches 4.
  5. By the quotient law the limit is 6/4 = 3/2. Answering 1 would mean forgetting that the coefficients survive.

Example 4

f(x) = 5x - 4, and the limit of f(x) as x approaches 2 is 6. A tolerance of epsilon = 0.3 is demanded. Find the largest window delta such that every x with |x - 2| < delta, other than 2 itself, has |f(x) - 6| < 0.3.

  1. Start from the guarantee that is wanted and unwind it until x is alone. That unwinding is the search for delta.
  2. f(x) - 6 = 5x - 4 - 6 = 5x - 10 = (5)(x - 2), so |f(x) - 6| = 5|x - 2|.
  3. The requirement |f(x) - 6| < 0.3 therefore reads 5|x - 2| < 0.3.
  4. Divide by the size of the slope: |x - 2| < 0.3/5 = 0.06.
  5. Every step is reversible, so the largest window is delta = 0.06 = 3/50. Note that delta is smaller than epsilon, because a slope of 5 magnifies any wobble in x five times over.

Practice problems, with solutions

Three problems of increasing difficulty, each with the full working. In the game these are generated fresh every time; these three are fixed so this page always shows the same ones.

Problem 1

Difficulty 1 of 5

As x approaches 2, f(x) approaches 5 and g(x) approaches 8. Use the limit laws to find the limit of 4f(x) as x approaches 2.

Answer: 20

  1. A constant multiplier comes straight out of a limit.
  2. The limit of f is 5 and the limit of g is 8.
  3. Limit of 4f(x) = 20

Problem 2

Difficulty 3 of 5

Find the limit as h approaches 0 of (sqrt(16 + h) - 4) / h. Give your answer as a fraction in lowest terms.

Answer: 1/8

  1. Multiply by (sqrt(16 + h) + 4) / (sqrt(16 + h) + 4).
  2. The numerator becomes (16 + h) - 16 = h.
  3. So the expression is h / (h(sqrt(16 + h) + 4)) = 1 / (sqrt(16 + h) + 4) for h other than 0.
  4. Let h approach 0: 1 / (4 + 4) = 1/8

Problem 3

Difficulty 4 of 5

Find the limit as h approaches 0 of (2/(x + h) - 2/x) / h. Give your answer as an expression in x.

Answer: -2/(x2)

  1. Common denominator on top: 2/(x + h) - 2/x = (2x - 2(x + h)) / (x(x + h))
  2. The numerator simplifies to -2h.
  3. Dividing by h: -2h / (h(x)(x + h)) = -2 / (x(x + h))
  4. Let h approach 0: the denominator becomes x(x) = x2, so the limit is -2/(x2).

Common mistakes

  • Using the quotient law when the bottom limit is 0. If f approaches 5 and g approaches 0, then f/g is not 0 and it is not 5 β€” the laws give nothing, because a fixed quantity divided by one shrinking to nothing does not settle anywhere. Check the denominator before you divide, and keep this case apart from the 0/0 form, where both parts shrink and something really can be cancelled.
  • Stopping the conjugate one step short. After clearing the radical in (sqrt(x + 2) - 3)/(x - 7) the denominator is sqrt(x + 2) + 3, which at x = 7 is 3 + 3 = 6, not 3. The same slip in reverse is answering 0 or "does not exist" to a 0/0 form: 0/0 is never an answer, it is an instruction to rewrite.
  • Losing the minus sign when clearing a complex fraction. The top of (1/x - 1/a)/(x - a) becomes (a - x)/(ax), and a - x is the negative of x - a, so the cancellation leaves a minus behind. The answer to that family is -1/a2 β€” negative, and with the a squared, because the common denominator ax collects a second factor of a when x arrives.
  • Writing sin(kx)/x -> 1 and dropping the k. The special limit only says 1 when the angle inside the sine is exactly what is underneath. Manufacture the match β€” sin(5x)/x = (5)(sin(5x)/(5x)) β€” and the coefficient you introduced is the answer. Mixing up the two cosine limits is the same error: (1 - cos x)/x approaches 0, while (1 - cos x)/x2 approaches 1/2.
  • Setting delta equal to epsilon. That only works for a slope of size 1; in general the slope magnifies the window, so delta = epsilon/|m| and the window is narrower than the tolerance for a steep line. Multiplying by |m| instead of dividing is the same mistake inside out, and keeping the sign of a negative slope is a third version of it, since a window is a distance and cannot be negative.

What you should be able to do

  • Combine given limits with the sum, product, quotient, root and composition laws, and say when the quotient law does not apply.
  • Resolve a 0/0 form by rationalising a radical, clearing a complex fraction or splitting an absolute value.
  • Use sin(x)/x and (1 - cos x)/x, and the squeeze theorem, to find a limit.
  • Find the delta that answers a given epsilon for a linear function.

Where this fits in the curriculum

Common Core

  • LIM-1.A

    AP Calculus AB, Unit 1 β€” Represent limits analytically using correct notation, and interpret limits expressed in analytic notation.

    The Common Core has no calculus standards; this is the AP Calculus AB learning objective.

  • LIM-1.D

    AP Calculus AB, Unit 1 β€” Determine the limits of functions using limit theorems.

    The Common Core has no calculus standards; this is the AP Calculus AB learning objective.

  • LIM-1.E

    AP Calculus AB, Unit 1 β€” Determine the limits of functions using equivalent expressions for the function or the squeeze theorem.

    The Common Core has no calculus standards; this is the AP Calculus AB learning objective.

Learn these first