Calculus · Grade 12 and undergraduate

Limit Laws and Evaluating Limits Algebraically

Quick answer

The limit laws say limits pass through sums, products, quotients and powers, so polynomials and rational functions can be evaluated by direct substitution wherever the denominator is not zero. When substitution gives 0/0, the limit is still unknown: factor and cancel, multiply by a conjugate, or simplify, which is legitimate because a limit ignores the point itself. The squeeze theorem handles functions trapped between two others, and proves the key trigonometric limit sin x / x → 1.

What you'll learn

  • Use the limit laws and direct substitution
  • Resolve 0/0 forms by factoring, rationalizing or simplifying
  • Apply the squeeze theorem
  • Use lim sin x / x = 1 to evaluate trigonometric limits

The limit laws

If lim⁡x→af(x)=L\lim_{x \to a} f(x) = L and lim⁡x→ag(x)=M\lim_{x \to a} g(x) = M, then

LawStatement
Sum and differencelim⁡(f±g)=L±M\lim (f \pm g) = L \pm M
Constant multiplelim⁡(c f)=cL\lim (c\,f) = cL
Productlim⁡(fg)=LM\lim (f g) = LM
Quotientlim⁡fg=LM\lim \tfrac{f}{g} = \tfrac{L}{M}, provided M≠0M \ne 0
Powerlim⁡f n=Ln\lim f^{\,n} = L^n
Rootlim⁡fn=Ln\lim \sqrt[n]{f} = \sqrt[n]{L}, when the root is defined

Together with the two simplest limits, lim⁡x→ac=c\lim_{x \to a} c = c and lim⁡x→ax=a\lim_{x \to a} x = a, these build every polynomial. So for any polynomial pp,

lim⁡x→ap(x)=p(a)\lim_{x \to a} p(x) = p(a)

and for a rational function pq\tfrac{p}{q}, the same holds wherever q(a)≠0q(a) \ne 0. Evaluating a limit by plugging in is called direct substitution.

When substitution gives 0/0

Try direct substitution on lim⁡x→3x2−9x2−2x−3\displaystyle\lim_{x \to 3} \frac{x^2 - 9}{x^2 - 2x - 3}: the top and bottom are both 00. The quotient law does not apply, because the limit of the denominator is 00.

00\tfrac{0}{0} is an indeterminate form. It does not mean the limit is 00, or 11, or that it fails to exist. It means this method gave no information, and the expression has to be rewritten before the limit shows.

Why canceling is allowed

Factor:

x2−9x2−2x−3=(x−3)(x+3)(x−3)(x+1)=x+3x+1(x≠3)\frac{x^2 - 9}{x^2 - 2x - 3} = \frac{(x - 3)(x + 3)}{(x - 3)(x + 1)} = \frac{x + 3}{x + 1} \qquad (x \ne 3)

The two sides are not the same function: the left one is undefined at x=3x = 3 and the right one is not. But they agree at every other xx.

A limit as x→3x \to 3 uses only values with x≠3x \ne 3. On those values the functions are identical, so their limits are identical. Canceling is legal precisely because a limit ignores the point it approaches.

lim⁡x→3x+3x+1=64=32\lim_{x \to 3} \frac{x + 3}{x + 1} = \frac{6}{4} = \frac{3}{2}

Conjugates and compound fractions

Radicals often hide the canceling factor. Multiplying by the conjugate brings it out:

x+4−2x⋅x+4+2x+4+2=(x+4)−4x(x+4+2)=1x+4+2\frac{\sqrt{x + 4} - 2}{x} \cdot \frac{\sqrt{x + 4} + 2}{\sqrt{x + 4} + 2} = \frac{(x + 4) - 4}{x\left(\sqrt{x + 4} + 2\right)} = \frac{1}{\sqrt{x + 4} + 2}

Now x→0x \to 0 gives 14\tfrac{1}{4}. Compound fractions work the same way: combine into one fraction, then look for the common factor.

The squeeze theorem

Some functions resist algebra entirely. If ff is trapped between two functions that approach the same limit, it has no choice:

Squeeze theorem

If g(x)≤f(x)≤h(x)g(x) \le f(x) \le h(x) for all xx near aa (except possibly at aa), and lim⁡x→ag(x)=lim⁡x→ah(x)=L\lim_{x \to a} g(x) = \lim_{x \to a} h(x) = L, then lim⁡x→af(x)=L\lim_{x \to a} f(x) = L.

Squeezed between two parabolas The curve y = x squared times sin(1/x), oscillating faster and faster near the origin, trapped between the parabolas y = x squared above and y = −x squared below. xy
  • y = x²
  • y = −x²
  • y = x² sin(1/x)
Squeezed between two parabolas

For x2sin⁡ ⁣(1x)x^2 \sin\!\left(\tfrac{1}{x}\right): since −1≤sin⁡ ⁣(1x)≤1-1 \le \sin\!\left(\tfrac{1}{x}\right) \le 1, multiplying by x2≥0x^2 \ge 0 gives −x2≤x2sin⁡ ⁣(1x)≤x2-x^2 \le x^2 \sin\!\left(\tfrac{1}{x}\right) \le x^2. Both bounds approach 00, so the function does too.

The limit of sin x / x

For 0<x<π20 < x < \tfrac{\pi}{2}, compare three areas in the unit circle: the triangle inside the sector of angle xx, the sector itself, and the larger triangle reaching up to the tangent line. They give

sin⁡x2<x2<tan⁡x2\frac{\sin x}{2} < \frac{x}{2} < \frac{\tan x}{2}

Dividing through by sin⁡x2\tfrac{\sin x}{2} and taking reciprocals, cos⁡x<sin⁡xx<1\cos x < \tfrac{\sin x}{x} < 1. The same holds for −π2<x<0-\tfrac{\pi}{2} < x < 0, because every term is even. As x→0x \to 0, cos⁡x→1\cos x \to 1, so the squeeze theorem gives

lim⁡x→0sin⁡xx=1\lim_{x \to 0} \frac{\sin x}{x} = 1

This is the limit the derivative of sin⁡x\sin x rests on. It requires radians: in degrees the sector’s area is not x2\tfrac{x}{2}, and the limit is π180\tfrac{\pi}{180} instead.

Worked examples

Common mistakes

Practice problems

  1. Find lim⁡x→−2(x3−4x+1)\lim_{x \to -2} (x^3 - 4x + 1).

    Answer

    11

    Full solution

    A polynomial, so substitute: (−8)−4(−2)+1=−8+8+1=1(-8) - 4(-2) + 1 = -8 + 8 + 1 = 1.

  2. Find lim⁡x→4x2−16x−4\lim_{x \to 4} \tfrac{x^2 - 16}{x - 4}.

    Answer

    88

    Full solution

    (x−4)(x+4)x−4=x+4\tfrac{(x - 4)(x + 4)}{x - 4} = x + 4 for x≠4x \ne 4, which approaches 88.

  3. Find lim⁡x→1x2+2x−3x2−1\lim_{x \to 1} \tfrac{x^2 + 2x - 3}{x^2 - 1}.

    Answer

    22

    Full solution

    (x+3)(x−1)(x+1)(x−1)=x+3x+1\tfrac{(x + 3)(x - 1)}{(x + 1)(x - 1)} = \tfrac{x + 3}{x + 1} for x≠1x \ne 1, which approaches 42=2\tfrac{4}{2} = 2.

  4. Find lim⁡x→0x+1−1x\lim_{x \to 0} \tfrac{\sqrt{x + 1} - 1}{x}.

    Answer

    12\tfrac{1}{2}

    Full solution

    Multiply by x+1+1\sqrt{x + 1} + 1 over itself: the numerator becomes (x+1)−1=x(x + 1) - 1 = x, which cancels. What remains is 1x+1+1→12\tfrac{1}{\sqrt{x + 1} + 1} \to \tfrac{1}{2}.

  5. Find lim⁡h→0(3+h)2−9h\lim_{h \to 0} \tfrac{(3 + h)^2 - 9}{h}.

    Answer

    66

    Full solution

    (3+h)2−9=6h+h2=h(6+h)(3 + h)^2 - 9 = 6h + h^2 = h(6 + h). For h≠0h \ne 0 the fraction is 6+h6 + h, which approaches 66.

  6. Find lim⁡x→0sin⁡5xsin⁡2x\lim_{x \to 0} \tfrac{\sin 5x}{\sin 2x}.

    Answer

    52\tfrac{5}{2}

    Full solution

    Write it as 52⋅sin⁡5x5x⋅2xsin⁡2x\tfrac{5}{2} \cdot \tfrac{\sin 5x}{5x} \cdot \tfrac{2x}{\sin 2x}. Each fraction approaches 11, so the limit is 52\tfrac{5}{2}.

  7. Find lim⁡x→0xcos⁡ ⁣(1x)\lim_{x \to 0} x \cos\!\left(\tfrac{1}{x}\right).

    Answer

    00

    Full solution

    ∣xcos⁡ ⁣(1x)∣≤∣x∣\left|x \cos\!\left(\tfrac{1}{x}\right)\right| \le |x|, so −∣x∣≤xcos⁡ ⁣(1x)≤∣x∣-|x| \le x \cos\!\left(\tfrac{1}{x}\right) \le |x|. Both bounds approach 00; by the squeeze theorem the limit is 00.

  8. Find lim⁡x→21x−12x−2\lim_{x \to 2} \tfrac{\tfrac{1}{x} - \tfrac{1}{2}}{x - 2}.

    Answer

    −14-\tfrac{1}{4}

    Full solution

    Combine the top: 1x−12=2−x2x\tfrac{1}{x} - \tfrac{1}{2} = \tfrac{2 - x}{2x}. Dividing by x−2x - 2 gives −(x−2)2x(x−2)=−12x\tfrac{-(x - 2)}{2x(x - 2)} = -\tfrac{1}{2x} for x≠2x \ne 2, which approaches −14-\tfrac{1}{4}.

  9. Find lim⁡x→01−cos⁡xx\lim_{x \to 0} \tfrac{1 - \cos x}{x}. (Multiply by 1+cos⁡x1 + \cos x over itself.)

    Answer

    00

    Full solution

    1−cos⁡xx⋅1+cos⁡x1+cos⁡x=sin⁡2xx(1+cos⁡x)=sin⁡xx⋅sin⁡x1+cos⁡x\tfrac{1 - \cos x}{x} \cdot \tfrac{1 + \cos x}{1 + \cos x} = \tfrac{\sin^2 x}{x(1 + \cos x)} = \tfrac{\sin x}{x} \cdot \tfrac{\sin x}{1 + \cos x}.

    The first factor approaches 11 and the second approaches 02=0\tfrac{0}{2} = 0, so the limit is 00.

  10. A student says lim⁡x→5x2−25x−5\lim_{x \to 5} \tfrac{x^2 - 25}{x - 5} does not exist because substituting gives 00\tfrac{0}{0}. What went wrong?

    Hint

    What does 00\tfrac{0}{0} tell you?

    Answer

    00\tfrac{0}{0} is indeterminate, not a verdict. The limit is 1010.

    Full solution

    Substitution failed, so the expression must be rewritten: (x−5)(x+5)x−5=x+5\tfrac{(x - 5)(x + 5)}{x - 5} = x + 5 for x≠5x \ne 5.

    That approaches 1010, so the limit exists and equals 1010.

Frequently asked questions

What is direct substitution?

Evaluating a limit by plugging in x = a. It is valid for polynomials, and for rational functions wherever the denominator is not zero, because of the limit laws.

What does 0/0 mean for a limit?

Nothing yet. It is an indeterminate form: the limit could be any number, infinite, or nonexistent, and more algebra is needed to find out.

Why is it allowed to cancel a factor of (x − a)?

The canceled and uncanceled functions agree at every x except a, and a limit as x → a never uses the value at a. So they have the same limit.

What is the squeeze theorem?

If g(x) ≤ f(x) ≤ h(x) near a, and g and h both approach L, then f approaches L too.

What is the limit of sin x / x as x approaches 0?

1, with x in radians. It is proved with the squeeze theorem, using cos x ≤ sin x / x ≤ 1 near 0.

What to learn next