Math Core

Lesson 1.3 · Limits and Continuity

Limit laws

Estimating limits from tables and graphs builds intuition, but it is slow and never certain. The limit laws let you compute limits exactly by breaking a complicated function into simple pieces whose limits you already know, then reassembling the answer.

Two basic limits

Every limit law computation eventually rests on two facts that are clear from the graphs of y=ky = k and y=xy = x:

lim⁡x→ck=kandlim⁡x→cx=c.\lim_{x \to c} k = k \qquad \text{and} \qquad \lim_{x \to c} x = c.

The first says a constant function stays at height kk no matter where xx goes. The second says that as xx approaches cc, the output of the identity function, which is just xx, also approaches cc.

The limit laws

Limit laws

Suppose lim⁡x→cf(x)=L\displaystyle \lim_{x \to c} f(x) = L and lim⁡x→cg(x)=M\displaystyle \lim_{x \to c} g(x) = M, where LL and MM are real numbers, and let kk be a constant. Then:

LawStatement
Sumlim⁡x→c[f(x)+g(x)]=L+M\displaystyle \lim_{x \to c} [f(x) + g(x)] = L + M
Differencelim⁡x→c[f(x)−g(x)]=L−M\displaystyle \lim_{x \to c} [f(x) - g(x)] = L - M
Constant multiplelim⁡x→c[k f(x)]=kL\displaystyle \lim_{x \to c} [k \, f(x)] = kL
Productlim⁡x→c[f(x) g(x)]=LM\displaystyle \lim_{x \to c} [f(x) \, g(x)] = LM
Quotientlim⁡x→cf(x)g(x)=LM\displaystyle \lim_{x \to c} \frac{f(x)}{g(x)} = \frac{L}{M}, provided M≠0M \ne 0
Powerlim⁡x→c[f(x)]n=Ln\displaystyle \lim_{x \to c} [f(x)]^n = L^n for any positive integer nn
Rootlim⁡x→cf(x)n=Ln\displaystyle \lim_{x \to c} \sqrt[n]{f(x)} = \sqrt[n]{L} (for even nn, require L>0L > 0)

In words: the limit of a sum is the sum of the limits, the limit of a product is the product of the limits, and so on, as long as the individual limits exist (and, for quotients, the denominator's limit is not zero). The same laws hold for one-sided limits.

The laws make sense intuitively. If f(x)f(x) is close to LL and g(x)g(x) is close to MM, then f(x)+g(x)f(x) + g(x) is close to L+ML + M and f(x)g(x)f(x) g(x) is close to LMLM. A formal proof uses the precise definition of a limit, which is beyond the AP course.

Worked example: Using given limits

Suppose lim⁡x→2f(x)=5\displaystyle \lim_{x \to 2} f(x) = 5 and lim⁡x→2g(x)=−3\displaystyle \lim_{x \to 2} g(x) = -3. Evaluate

lim⁡x→23f(x)−g(x)2f(x)+g(x).\lim_{x \to 2} \frac{3f(x) - g(x)^2}{f(x) + g(x)}.

Solution. First check the denominator: lim⁡x→2[f(x)+g(x)]=5+(−3)=2≠0\displaystyle \lim_{x \to 2} [f(x) + g(x)] = 5 + (-3) = 2 \ne 0, so the quotient law applies. The numerator's limit is

3⋅5−(−3)2=15−9=6.3 \cdot 5 - (-3)^2 = 15 - 9 = 6.

Therefore the limit is 62=3\dfrac{6}{2} = 3.

Direct substitution

Applying the laws over and over to a polynomial gives a powerful shortcut. For example,

lim⁡x→3(2x2−5x+1)=2(lim⁡x→3x)2−5lim⁡x→3x+lim⁡x→31=2(9)−15+1=4,\lim_{x \to 3} (2x^2 - 5x + 1) = 2 \left(\lim_{x \to 3} x\right)^2 - 5 \lim_{x \to 3} x + \lim_{x \to 3} 1 = 2(9) - 15 + 1 = 4,

which is exactly what you get by plugging in x=3x = 3.

Direct substitution property

If pp is a polynomial, then lim⁡x→cp(x)=p(c)\displaystyle \lim_{x \to c} p(x) = p(c) for every real cc.

If r(x)=p(x)q(x)r(x) = \dfrac{p(x)}{q(x)} is a rational function and q(c)≠0q(c) \ne 0, then lim⁡x→cr(x)=r(c)\displaystyle \lim_{x \to c} r(x) = r(c).

The same is true for the other functions you know well, at every point in their domains: roots, sin⁡x\sin x, cos⁡x\cos x, tan⁡x\tan x, exe^x, ln⁡x\ln x, and so on. Functions with this property are called continuous, and you will study them carefully later in this unit. For now, the practical rule is: if substituting cc gives a real number, that number is the limit.

Worked example: Direct substitution with a trigonometric function

Evaluate lim⁡x→πxcos⁡x2+sin⁡x\displaystyle \lim_{x \to \pi} \frac{x \cos x}{2 + \sin x}.

Solution. The denominator at x=πx = \pi is 2+sin⁡π=2≠02 + \sin \pi = 2 \ne 0, so substitute:

πcos⁡π2+sin⁡π=π(−1)2+0=−π2.\frac{\pi \cos \pi}{2 + \sin \pi} = \frac{\pi(-1)}{2 + 0} = -\frac{\pi}{2}.

Composite functions

A limit can pass inside an outer function when that outer function is continuous at the inner limit.

Limit of a composition

If lim⁡x→cg(x)=L\displaystyle \lim_{x \to c} g(x) = L and ff is continuous at LL, then

lim⁡x→cf(g(x))=f(lim⁡x→cg(x))=f(L).\lim_{x \to c} f(g(x)) = f\left(\lim_{x \to c} g(x)\right) = f(L).

For example, lim⁡x→1x2+8=lim⁡x→1(x2+8)=9=3\displaystyle \lim_{x \to 1} \sqrt{x^2 + 8} = \sqrt{\lim_{x \to 1} (x^2 + 8)} = \sqrt{9} = 3.

Common mistake

The limit laws only apply when the individual limits exist. You cannot split lim⁡x→0[1x−1x]\displaystyle \lim_{x \to 0} \left[\frac{1}{x} - \frac{1}{x}\right] into lim⁡x→01x−lim⁡x→01x\displaystyle \lim_{x \to 0} \frac{1}{x} - \lim_{x \to 0} \frac{1}{x}, because neither piece has a limit. (The original limit is 00, since the expression equals 00 for all x≠0x \ne 0.) In the other direction, a sum can have a limit even when its pieces do not, so "the pieces have no limit" never proves "the sum has no limit."

Worked example: Limits from graphs, combined

The graphs of ff and gg are shown. Find lim⁡x→1[f(x)+g(x)]\displaystyle \lim_{x \to 1} [f(x) + g(x)].

The graph of f: open circles at (1, 1) and (1, −1).Open in grapher →
The graph of g: open circles at (1, 1) and (1, 3).Open in grapher →

Solution. Neither ff nor gg has a two-sided limit at 11, so you must work with one-sided limits.

From the left: f→1f \to 1 and g→1g \to 1, so f+g→2f + g \to 2.

From the right: f→−1f \to -1 and g→3g \to 3, so f+g→2f + g \to 2.

Both one-sided limits of the sum equal 22, so lim⁡x→1[f(x)+g(x)]=2\displaystyle \lim_{x \to 1} [f(x) + g(x)] = 2, even though neither individual limit exists.

Tip

When the quotient law fails because the denominator's limit is 00, the limit is not automatically undefined. It is a signal to do more work: simplify algebraically (next lesson) or check for a vertical asymptote.

Practice

Practice 1

Suppose lim⁡x→4f(x)=2\displaystyle \lim_{x \to 4} f(x) = 2 and lim⁡x→4g(x)=−3\displaystyle \lim_{x \to 4} g(x) = -3. Find lim⁡x→4[f(x) g(x)]\displaystyle \lim_{x \to 4} [f(x) \, g(x)].

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 2

With the same ff and gg (limits 22 and −3-3 as x→4x \to 4), find lim⁡x→4f(x)+2g(x)f(x)3\displaystyle \lim_{x \to 4} \frac{f(x) + 2g(x)}{f(x)^3}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 3

Evaluate lim⁡x→−2(x3−4x2+5x+49)\displaystyle \lim_{x \to -2} (x^3 - 4x^2 + 5x + 49).

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 4

Evaluate lim⁡x→3x3−2x−5\displaystyle \lim_{x \to 3} \sqrt{x^3 - 2x - 5}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 5

If lim⁡x→1f(x)=6\displaystyle \lim_{x \to 1} f(x) = 6 and lim⁡x→1g(x)=0\displaystyle \lim_{x \to 1} g(x) = 0, which of the following limits can be determined from this information alone?

Practice 6

Evaluate lim⁡x→π/3cos⁡(2x)1+sin⁡2(x)−34\displaystyle \lim_{x \to \pi/3} \frac{\cos(2x)}{1 + \sin^2(x) - \tfrac{3}{4}}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

The graphs of ff and gg from the last example are shown again. What is lim⁡x→1+[f(x) g(x)]\displaystyle \lim_{x \to 1^+} [f(x) \, g(x)]?

The graph of f: open circles at (1, 1) and (1, −1).Open in grapher →
The graph of g: open circles at (1, 1) and (1, 3).Open in grapher →