Evaluate limits and establish continuity

Check continuity conditions and choose a valid limit method

What to practice

  • Check continuity conditions and choose a valid limit method

Predict before you read. After canceling a common factor, a student finds that a rational function's limit at 2 is 34\frac{3}{4}. Is the function continuous at 2? Decide now; Example 4.4 answers it.

Chapter 3 read limits from graphs and tables. This chapter evaluates them exactly, then uses limits to define continuity, classify discontinuities, describe asymptotes and apply the Intermediate Value Theorem.

Start with substitution

Always substitute first. The result tells you what to do next.

Substituting x=cx=c givesWhat it meansNext step
A numberFor a function continuous at cc, that number is the limitReport it
00\frac{0}{0}Nothing yet: the form is indeterminateRewrite, then substitute again
A nonzero number over 0The outputs grow without bound near ccCheck the sign on each side
No value, from a factor such as sin⁡(1x)\sin\left(\frac{1}{x}\right)The outputs may oscillateLook for bounds and try the squeeze theorem

Common error. Reporting 00\frac{0}{0} as 0, 1 or "does not exist." The form is a signal to rewrite, not an answer.

Rewrite to remove a zero over zero

Example 4.1: factor, cancel and keep the restriction

Find limx→−3 x2+x−6x2+3x\mathrm{lim}_{x\to -3}\,\frac{x^{2}+x-6}{x^{2}+3x}.

Substitution gives 9−3−69−9=00\frac{9-3-6}{9-9}=\frac{0}{0}. Factor:

x2+x−6x2+3x=(x+3)(x−2)x(x+3)=x−2x\frac{x^{2}+x-6}{x^{2}+3x}=\frac{(x+3)(x-2)}{x(x+3)}=\frac{x-2}{x}

for x≠−3x\neq -3 and x≠0x\neq 0. The two expressions agree at every input near −3-3, so they have the same limit: −3−2−3=53\frac{-3-2}{-3}=\frac{5}{3}.

Write the restriction. The original function is still undefined at −3-3; canceling changed the formula, not the function's domain.

Example 4.2: let the form choose the method

Each limit below gives 00\frac{0}{0}, and each form signals a different rewrite.

(a) A square root in a difference: multiply by the conjugate.

lim⁡x→3x+1−2x−3=lim⁡x→3(x+1)−4(x−3)(x+1+2)=lim⁡x→31x+1+2=14\lim_{x\to 3}\frac{\sqrt{x+1}-2}{x-3}=\lim_{x\to 3}\frac{(x+1)-4}{(x-3)(\sqrt{x+1}+2)}=\lim_{x\to 3}\frac{1}{\sqrt{x+1}+2}=\frac{1}{4}

(b) The same signal, with Chapter 3's table. Multiplying x2+9−3x2\frac{\sqrt{x^{2}+9}-3}{x^{2}} by x2+9+3x2+9+3\frac{\sqrt{x^{2}+9}+3}{\sqrt{x^{2}+9}+3} gives 1x2+9+3\frac{1}{\sqrt{x^{2}+9}+3} for x≠0x\neq 0, so the limit as x→0x\to 0 is 16\frac{1}{6}. Example 3.3's estimate is now proved.

(c) A fraction inside a fraction: combine over a common denominator.

1x+4−14x=4−(x+4)4x(x+4)=−14(x+4)\frac{\frac{1}{x+4}-\frac{1}{4}}{x}=\frac{4-(x+4)}{4x(x+4)}=\frac{-1}{4(x+4)}

for x≠0x\neq 0, so the limit as x→0x\to 0 is −116-\frac{1}{16}.

Common error. Multiplying only the numerator by the conjugate. Multiply the numerator and the denominator, or the expression changes value.

Why these choices? Factoring helps only when a polynomial has the factor x−cx-c. A conjugate removes a root from a difference. A common denominator clears nested fractions. When no rewrite appears, a table estimates the limit (Chapter 3), and Chapter 10 adds L'Hospital's rule for many such forms.

Squeeze a limit between bounds

Squeeze theorem. If g(x)≤f(x)≤h(x)g(x)\leq f(x)\leq h(x) for all xx near cc (except possibly at cc) and limx→c g(x)=limx→c h(x)=L\mathrm{lim}_{x\to c}\,g(x)=\mathrm{lim}_{x\to c}\,h(x)=L, then limx→c f(x)=L\mathrm{lim}_{x\to c}\,f(x)=L.

Example 4.3: a bound that squeezes and one that does not

Find limx→0 x2sin⁡(1x)\mathrm{lim}_{x\to 0}\,x^{2}\sin\left(\frac{1}{x}\right).

Substitution fails, and no algebra removes the sine. But −1≤sin⁡(1x)≤1-1\leq\sin\left(\frac{1}{x}\right)\leq 1 for every x≠0x\neq 0, and multiplying by x2>0x^{2}>0 keeps the order:

−x2≤x2sin⁡(1x)≤x2-x^{2}\leq x^{2}\sin\left(\frac{1}{x}\right)\leq x^{2}

Both bounds approach 0 as x→0x\to 0, so the limit is 0 (Figure 4.1A).

Two graphs for x from negative 0.4 to 0.4. Panel A shows a curve that oscillates between two dashed parabolas, y equals x squared and y equals negative x squared; the oscillations shrink toward a filled dot at the origin. Panel B shows a curve that oscillates between the dashed lines y equals 1 and y equals negative 1, faster and faster toward the y-axis; a shaded band near the axis marks where the oscillation is too fast to draw.

Figure 4.1. The bounds in A meet at the origin; the bounds in B never meet.

Now compare sin⁡(1x)\sin\left(\frac{1}{x}\right) alone (Figure 4.1B). Its bounds, −1-1 and 1, approach different values, so the squeeze gives no conclusion. The function reaches 1 and −1-1 at inputs arbitrarily close to 0, so its limit at 0 does not exist.

The same theorem underlies two limits you will use often, valid in radians: limx→0 sin⁡xx=1\mathrm{lim}_{x\to 0}\,\frac{\sin x}{x}=1 and limx→0 1−cos⁡xx=0\mathrm{lim}_{x\to 0}\,\frac{1-\cos x}{x}=0.

Define continuity and classify discontinuities

A function ff is continuous at x=cx=c when three conditions hold:

  1. f(c)f(c) is defined;
  2. limx→c f(x)\mathrm{lim}_{x\to c}\,f(x) exists;
  3. limx→c f(x)=f(c)\mathrm{lim}_{x\to c}\,f(x)=f(c).

When a condition fails, the course framework names three kinds of discontinuity (course framework):

  • Removable: the two-sided limit exists, but f(c)f(c) is undefined or differs from it. The graph has a hole.
  • Jump: both one-sided limits exist but differ.
  • Infinite (asymptotic): the outputs grow without bound on at least one side.

Example 4.4: diagnose a canceled-factor argument

Let r(x)=x2−x−2x2−4r(x)=\frac{x^{2}-x-2}{x^{2}-4} (Figure 4.2).

Student claim. "r(x)=(x−2)(x+1)(x−2)(x+2)=x+1x+2r(x)=\frac{(x-2)(x+1)}{(x-2)(x+2)}=\frac{x+1}{x+2}, and x+1x+2\frac{x+1}{x+2} is defined at 2, so rr is continuous at 2."

Diagnosis. Canceling is valid only for x≠2x\neq 2, so it shows that limx→2 r(x)=34\mathrm{lim}_{x\to 2}\,r(x)=\frac{3}{4}. It does not create a value: r(2)r(2) is 00\frac{0}{0}, undefined. Condition 1 fails, and rr has a removable discontinuity at 2. Defining a new function equal to r(x)r(x) for x≠2x\neq 2 and equal to 34\frac{3}{4} at 2 removes it.

At x=−2x=-2 both forms are undefined and the numerator does not approach 0, so the outputs are unbounded: an infinite discontinuity.

Two graphs of the same rational function. Panel A, x from negative 6 to 5, shows two branches separated by a dashed vertical line at x equals negative 2, an open circle on the right branch at (2, 3/4), and a dotted horizontal line at y equals 1. Panel B, x from negative 60 to 60, shows both ends of the graph flattening along the dotted line y equals 1.

Figure 4.2. A removable discontinuity and an asymptote in one rational function (A), and its end behavior (B).

Continuity on intervals

A function is continuous on an open interval when it is continuous at every point of the interval. On a closed interval [a,b][a,b], the endpoints need only one-sided agreement: limx→a+ f(x)=f(a)\mathrm{lim}_{x\to a^{+}}\,f(x)=f(a) and limx→b− f(x)=f(b)\mathrm{lim}_{x\to b^{-}}\,f(x)=f(b). For example, x−1\sqrt{x-1} is continuous on [1,∞)[1,\infty), though it has no inputs to the left of 1.

Polynomial, rational, power, exponential, logarithmic and trigonometric functions are continuous at every point of their domains, and so are sums, products, quotients and compositions of them. So ln⁡x\ln x is continuous on (0,∞)(0,\infty), and tan⁡x\tan x is continuous except where cos⁡x=0\cos x=0. For these functions, substitution gives the limit at any input in the domain.

Example 4.5: choose a constant to join two pieces

Let f(x)=kx+1f(x)=kx+1 for x<2x<2 and f(x)=x2−kf(x)=x^{2}-k for x≥2x\geq 2. Find kk so that ff is continuous everywhere.

Each piece is a polynomial, so the only question is x=2x=2. There, limx→2− f(x)=2k+1\mathrm{lim}_{x\to 2^{-}}\,f(x)=2k+1 and limx→2+ f(x)=4−k=f(2)\mathrm{lim}_{x\to 2^{+}}\,f(x)=4-k=f(2). All three conditions hold exactly when 2k+1=4−k2k+1=4-k, so k=1k=1. Check: both one-sided limits and f(2)f(2) equal 3.

Only a removable discontinuity can be fixed by defining or redefining one value. At a jump, one value cannot equal two different one-sided limits.

Infinite limits and limits at infinity

If f(x)f(x) grows without bound as xx approaches cc from either side, the line x=cx=c is a vertical asymptote. If limx→∞ f(x)=L\mathrm{lim}_{x\to\infty}\,f(x)=L or limx→−∞ f(x)=L\mathrm{lim}_{x\to -\infty}\,f(x)=L, the line y=Ly=L is a horizontal asymptote.

To find the direction of an infinite limit, find the sign of the numerator and the sign of the denominator on each side. A squared factor never changes sign: near x=1x=1, −2(x−1)2\frac{-2}{(x-1)^{2}} is negative on both sides, so both one-sided limits are −∞-\infty.

For end behavior, compare the fastest-growing terms. A rational function with equal degrees approaches the ratio of the leading coefficients; with a larger denominator degree, it approaches 0; with a larger numerator degree, it has no horizontal asymptote. Exponential growth outpaces every power, so x3ex→0\frac{x^{3}}{e^{x}}\to 0 as x→∞x\to\infty.

Example 4.6: signs near an asymptote and two different ends

(a) Near x=−2x=-2, r(x)=x+1x+2r(x)=\frac{x+1}{x+2} has numerator near −1-1. For xx slightly less than −2-2, the denominator is a small negative number, so the quotient is a large positive number: limx→−2− r(x)=∞\mathrm{lim}_{x\to -2^{-}}\,r(x)=\infty. From the right the denominator is small and positive, so limx→−2+ r(x)=−∞\mathrm{lim}_{x\to -2^{+}}\,r(x)=-\infty.

(b) The numerator and denominator of rr both have degree 2 with leading coefficient 1, so r(x)→1r(x)\to 1 at both ends (Figure 4.2B). The horizontal asymptote is y=1y=1.

(c) Find both end behaviors of s(x)=2x−1x2+5s(x)=\frac{2x-1}{\sqrt{x^{2}+5}}. Because x2=∣x∣\sqrt{x^{2}}=|x|, divide by ∣x∣|x|. For x>0x>0, ∣x∣=x|x|=x and

s(x)=2−1x1+5x2→2s(x)=\frac{2-\frac{1}{x}}{\sqrt{1+\frac{5}{x^{2}}}}\to 2

For x<0x<0, ∣x∣=−x|x|=-x, so the numerator becomes −2+1x-2+\frac{1}{x} and s(x)→−2s(x)\to -2. The graph has two horizontal asymptotes, y=2y=2 and y=−2y=-2.

Common error. Writing x2=x\sqrt{x^{2}}=x for negative xx gives 2 at both ends.

Use the Intermediate Value Theorem

Intermediate Value Theorem (IVT). If ff is continuous on [a,b][a,b] and NN is a number between f(a)f(a) and f(b)f(b), then there is at least one cc in (a,b)(a,b) with f(c)=Nf(c)=N.

The hypothesis is continuity on the closed interval. The conclusion guarantees existence only: it gives no location and no count.

Example 4.7: complete an IVT argument

Show that p(x)=x3+x−5p(x)=x^{3}+x-5 has a zero between 1 and 2.

A weak argument. "p(1)p(1) is negative and p(2)p(2) is positive, so pp has a zero." It never states continuity. The function 1x\frac{1}{x} on [−1,1][-1,1] is negative at −1-1 and positive at 1, yet it has no zero, because it is not continuous at 0.

A complete argument. pp is a polynomial, so it is continuous on [1,2][1,2]. Since p(1)=−3<0<5=p(2)p(1)=-3<0<5=p(2), the IVT gives at least one cc in (1,2)(1,2) with p(c)=0p(c)=0. A calculator locates it near c≈1.516c\approx 1.516, but the theorem alone does not.

Two graphs on x from 0 to 4, each with a dashed horizontal line at y equals 3. In Panel A a continuous curve starts at (0, 1), ends at (4, 5) and meets the dashed line at three marked points. In Panel B a function rises along a segment from (0, 1) to an open circle at (2, 2), jumps to a filled dot at (2, 4) and rises to (4, 5); it never meets the dashed line.

Figure 4.3. Equal endpoint values, different guarantees: a continuous function (A) and a function with a jump (B).

In Figure 4.3A the value 3 occurs three times, more than the theorem promises. In Figure 4.3B the endpoint values are the same, but the jump skips every output between 2 and 4.

Common error. Applying the IVT to a value outside the endpoint outputs. With p(1)=−3p(1)=-3 and p(2)=5p(2)=5, the theorem says nothing about p(c)=7p(c)=7.

Write the justification

Written questions award points for the reasons, not only the answers. Match the claim to the evidence it needs.

ClaimWrite
A limit's valueThe rewrite or the one-sided values, and why they agree
ff is continuous at ccf(c)f(c), the two-sided limit, and the statement that they are equal
The type of a discontinuityBoth one-sided limits, and f(c)f(c) if it exists
A vertical asymptote at x=cx=cA one-sided limit that is ∞\infty or −∞-\infty
f(c)=Nf(c)=N for some ccContinuity on [a,b][a,b], f(a)f(a) and f(b)f(b), NN between them, then the IVT

For example: "Because limx→2− f(x)=3\mathrm{lim}_{x\to 2^{-}}\,f(x)=3, limx→2+ f(x)=3\mathrm{lim}_{x\to 2^{+}}\,f(x)=3 and f(2)=3f(2)=3, the limit exists and equals f(2)f(2), so ff is continuous at 2."

Try it

Try it 4.1. Find limx→9 x−9x−3\mathrm{lim}_{x\to 9}\,\frac{x-9}{\sqrt{x}-3}.

Try it 4.2. Let q(x)=x2−9x2−x−6q(x)=\frac{x^{2}-9}{x^{2}-x-6}. Classify each discontinuity, give both one-sided limits at any vertical asymptote, and find the horizontal asymptote.

Try it 4.3. Let f(x)=ax+1f(x)=ax+1 for x<1x<1, f(x)=x2+3f(x)=x^{2}+3 for 1≤x≤21\leq x\leq 2, and f(x)=bx−1f(x)=bx-1 for x>2x>2. Find aa and bb so that ff is continuous everywhere.

Try it 4.4. Show that cos⁡x=x\cos x=x has a solution between 0 and π2\frac{\pi}{2}.

Check your work

4.1. x−9=(x−3)(x+3)x-9=(\sqrt{x}-3)(\sqrt{x}+3) for x≥0x\geq 0, so the quotient equals x+3\sqrt{x}+3 for x≠9x\neq 9, and the limit is 6.

4.2. q(x)=(x−3)(x+3)(x−3)(x+2)=x+3x+2q(x)=\frac{(x-3)(x+3)}{(x-3)(x+2)}=\frac{x+3}{x+2} for x≠3x\neq 3. At 3 there is a removable discontinuity; the limit is 65\frac{6}{5}. At −2-2 the numerator approaches 1, so limx→−2− q(x)=−∞\mathrm{lim}_{x\to -2^{-}}\,q(x)=-\infty and limx→−2+ q(x)=∞\mathrm{lim}_{x\to -2^{+}}\,q(x)=\infty: an infinite discontinuity. Equal degrees give the horizontal asymptote y=1y=1.

4.3. At 1: a+1=1+3a+1=1+3, so a=3a=3. At 2: 4+3=2b−14+3=2b-1, so b=4b=4.

4.4. Let g(x)=cos⁡x−xg(x)=\cos x-x, continuous on [0,π2]\left[0,\frac{\pi}{2}\right] as a difference of continuous functions. Since g(0)=1>0g(0)=1>0 and g(π2)=−π2<0g\left(\frac{\pi}{2}\right)=-\frac{\pi}{2}<0, the IVT gives a cc between 0 and π2\frac{\pi}{2} with g(c)=0g(c)=0, that is, cos⁡c=c\cos c=c. (A calculator gives c≈0.739c\approx 0.739.)

Practice

Chapter 4 practice is items APCAL-C04-M01 to APCAL-C04-M15 and the written tasks APCAL-C04-F01 and APCAL-C04-F02. They are printed after this chapter's companion panel as Questions 51–65 and Written tasks 2 and 3. Questions 58, 63, 64 and 65 and Written task 3 require a graphing calculator in radian mode; the others do not. Answers, full reasoning, the error behind each wrong choice, a Repair and retry line and both scoring rubrics are in Answers, explanations and written responses at the back of the book, under Chapter 4: answers and explanations.

Before you move on

From memory, write the substitution table, the three continuity conditions and the hypothesis of the IVT. Then explain, in two sentences, why canceling a factor never makes a function continuous. In two or three days, without notes, rework Example 4.5 with f(x)=x2−2kf(x)=x^{2}-2k for x≥2x\geq 2, and redo Example 4.6(c) for 3x+24x2+1\frac{3x+2}{\sqrt{4x^{2}+1}}.

Use this chapter companion

Review the lesson, attempt the original practice, then check the explanation. Your printed study guide remains complete without the website.

Independence

Skill by Skill Prep is independent. SAT® and AP® are trademarks registered by the College Board, which is not affiliated with, and does not endorse, this website or book. PSAT/NMSQT® is a registered trademark of the College Board and the National Merit Scholarship Corporation, which are not affiliated with, and do not endorse, this site. Bluebook™ is a trademark of the College Board. ACT® is a trademark of ACT Education Corp., which is not affiliated with and does not endorse this website or book. Desmos is a trademark of Desmos Studio PBC. Practice results describe these questions, not official scores or admission predictions.

Last updated .