Limits and Continuity

Study Sheet

Limits and Continuity

Everything you need for AP Calculus BC, Topic 1

Limit Notation & the Intuitive Idea

Concept
What a limit means

The statement limxaf(x)=L\lim_{x\to a} f(x) = L means: as xx gets arbitrarily close to aa (from both sides) but xax\neq a, the outputs f(x)f(x) get arbitrarily close to LL. A limit describes where a function is heading, not necessarily its value at aa. In fact f(a)f(a) may be undefined, or different from LL.

You can estimate a limit from a table (plug in values of xx close to aa from both sides) or from a graph (trace the curve toward x=ax=a from the left and the right).

Example
Estimating from a table

Estimate limx2x24x2\displaystyle\lim_{x\to 2}\frac{x^2-4}{x-2}.

x1.91.991.9992.0012.012.1f(x)3.93.993.9994.0014.014.1\begin{array}{c|ccc|ccc} x & 1.9 & 1.99 & 1.999 & 2.001 & 2.01 & 2.1\\\hline f(x) & 3.9 & 3.99 & 3.999 & 4.001 & 4.01 & 4.1 \end{array}

Both sides approach 44, so the limit is 44 (even though f(2)f(2) is undefined).

Tip

Tip: The value f(a)f(a) is irrelevant to limxaf(x)\lim_{x\to a}f(x). Only the behavior near aa matters.

Limit Laws & Evaluating Algebraically

Concept
Limit laws

If limxaf(x)\lim_{x\to a}f(x) and limxag(x)\lim_{x\to a}g(x) both exist, then limits distribute over sums, differences, products, quotients (denominator 0\neq 0), constant multiples, and powers/roots. Consequently, for any polynomial or rational function that is defined at aa, you may use direct substitution.

Strategy when direct substitution gives 00\tfrac00 (indeterminate):

  • [leftmargin=*]
  • Factor and cancel the common factor.
  • Rationalize (multiply by the conjugate) when a square root appears.
  • Combine a complex fraction into a single fraction, then simplify.
Example
Factoring
limx3x29x3=limx3(x3)(x+3)x3=limx3(x+3)=6.\lim_{x\to 3}\frac{x^2-9}{x-3}=\lim_{x\to 3}\frac{(x-3)(x+3)}{x-3}=\lim_{x\to 3}(x+3)=6.
Example
Rationalizing (conjugate)
limx0x+42x=limx0(x+42)(x+4+2)x(x+4+2)=limx0xx(x+4+2)=14.\lim_{x\to 0}\frac{\sqrt{x+4}-2}{x} =\lim_{x\to 0}\frac{(\sqrt{x+4}-2)(\sqrt{x+4}+2)}{x(\sqrt{x+4}+2)} =\lim_{x\to 0}\frac{x}{x(\sqrt{x+4}+2)}=\frac{1}{4}.
Example
Complex fraction
limx21x12x2=limx22x2xx2=limx2(x2)2x(x2)=limx212x=14.\lim_{x\to 2}\frac{\frac{1}{x}-\frac{1}{2}}{x-2} =\lim_{x\to 2}\frac{\frac{2-x}{2x}}{x-2} =\lim_{x\to 2}\frac{-(x-2)}{2x(x-2)} =\lim_{x\to 2}\frac{-1}{2x}=-\frac14.
Tip

Tip: 00\tfrac00 is indeterminate, not an answer --- it signals you must simplify. But (nonzero)0\tfrac{(\text{nonzero})}{0} signals an infinite limit or a vertical asymptote.

One-Sided Limits & When a Limit Fails to Exist

Concept
One-sided limits

limxaf(x)\displaystyle\lim_{x\to a^{-}}f(x) uses only x<ax<a (approach from the left); limxa+f(x)\displaystyle\lim_{x\to a^{+}}f(x) uses only x>ax>a (approach from the right). The two-sided limit exists if and only if both one-sided limits exist and are equal:

limxaf(x)=L    limxaf(x)=limxa+f(x)=L.\lim_{x\to a}f(x)=L \iff \lim_{x\to a^{-}}f(x)=\lim_{x\to a^{+}}f(x)=L.

A limit fails to exist (DNE) when: the left and right limits disagree (a jump); the function grows without bound (±\pm\infty); or the function oscillates without settling (e.g. sin(1/x)\sin(1/x) near 00).

Jump discontinuity at x=2x=2: limx2f=1\lim_{x\to2^{-}}f=1, limx2+f=3\lim_{x\to2^{+}}f=3, so limx2f\lim_{x\to2}f DNE.

Infinite Limits & Limits at Infinity

Concept
Vertical vs. horizontal asymptotes

An infinite limit, e.g. limxaf(x)=+\lim_{x\to a}f(x)=+\infty, means ff grows without bound near x=ax=a; the line x=ax=a is a vertical asymptote. A limit at infinity, e.g. limxf(x)=L\lim_{x\to\infty}f(x)=L, describes end behavior; the line y=Ly=L is a horizontal asymptote.

Rational end behavior p(x)q(x)\dfrac{p(x)}{q(x)} as x±x\to\pm\infty: compare degrees.

  • [leftmargin=*]
  • deg top << deg bottom \Rightarrow limit 00.
  • deg top == deg bottom \Rightarrow limit == ratio of leading coefficients.
  • deg top >> deg bottom \Rightarrow limit =±=\pm\infty (no horizontal asymptote).
Example
Rational limit at infinity
limx3x25x6x2+1=limx35x6+1x2=36=12.\lim_{x\to\infty}\frac{3x^2-5x}{6x^2+1} =\lim_{x\to\infty}\frac{3-\frac5x}{6+\frac1{x^2}}=\frac{3}{6}=\frac12.
Example
Radical end behavior (mind the sign)

For x+x\to+\infty, x2=x\sqrt{x^2}=x, but for xx\to-\infty, x2=x=x\sqrt{x^2}=-x=|x|.

limx9x2+1x=limxx9+1x2x=3,limx9x2+1x=3.\lim_{x\to\infty}\frac{\sqrt{9x^2+1}}{x}=\lim_{x\to\infty}\frac{|x|\sqrt{9+\frac1{x^2}}}{x}=3, \qquad \lim_{x\to-\infty}\frac{\sqrt{9x^2+1}}{x}=-3.

Horizontal asymptote: limx±3x2x2+1=3\displaystyle\lim_{x\to\pm\infty}\frac{3x^2}{x^2+1}=3.

Continuity at a Point & Types of Discontinuity

Concept
The three conditions for continuity at x=ax=a

ff is continuous at aa if and only if all three hold:

  • [label=(),leftmargin=*]
  • f(a)f(a) is defined;
  • limxaf(x)\displaystyle\lim_{x\to a}f(x) exists;
  • limxaf(x)=f(a)\displaystyle\lim_{x\to a}f(x)=f(a).

Types of discontinuity:

  • [leftmargin=*]
  • Removable (hole): limxaf\lim_{x\to a}f exists but f(a)\neq f(a) (or f(a)f(a) undefined). Can be “patched.”
  • Jump: left and right limits exist but differ.
  • Infinite: the function blows up (vertical asymptote).

Removable discontinuity: limx2f\lim_{x\to2}f exists but f(2)f(2) sits off the curve.

IVT, Squeeze Theorem & the Special Trig Limit

Concept
Intermediate Value Theorem (IVT)

If ff is continuous on [a,b][a,b] and NN is any value between f(a)f(a) and f(b)f(b), then there exists at least one cc in (a,b)(a,b) with f(c)=Nf(c)=N. Common use: show a root exists by finding a sign change (f(a)<0<f(b)f(a)<0<f(b)).

Reminder — The Intermediate Value Theorem:f continuous on [a,b], f(a)<k<f(b)  f(c)=k for some c(a,b)f \text{ continuous on } [a,b],\ f(a)<k<f(b) \ \Longrightarrow\ f(c)=k \text{ for some } c\in(a,b)
Example
IVT root existence

Let f(x)=x3+x1f(x)=x^3+x-1 (continuous). f(0)=1<0f(0)=-1<0 and f(1)=1>0f(1)=1>0, so by IVT there is a c(0,1)c\in(0,1) with f(c)=0f(c)=0.

Concept
Squeeze (Sandwich) Theorem

If g(x)f(x)h(x)g(x)\le f(x)\le h(x) near aa and limxag(x)=limxah(x)=L\lim_{x\to a}g(x)=\lim_{x\to a}h(x)=L, then limxaf(x)=L\lim_{x\to a}f(x)=L. Classic use: limx0x2sin(1/x)=0\lim_{x\to0}x^2\sin(1/x)=0 since x2x2sin(1/x)x2-x^2\le x^2\sin(1/x)\le x^2.

Concept
The special limit
 limx0sinxx=1 and consequentlylimx01cosxx=0.\boxed{\ \lim_{x\to0}\frac{\sin x}{x}=1\ }\qquad\text{and consequently}\qquad \lim_{x\to0}\frac{1-\cos x}{x}=0.
Tip

Tip: sinxx1\dfrac{\sin x}{x}\to1 only as x0x\to0 with the same argument on top and bottom. Match them: sin(5x)x=5sin(5x)5x5\dfrac{\sin(5x)}{x}=5\cdot\dfrac{\sin(5x)}{5x}\to5.

Going Deeper: Advanced Limit Ideas

Concept
The formal ε\varepsilon--δ\delta definition

limxaf(x)=L\displaystyle\lim_{x\to a}f(x)=L means: for every ε>0\varepsilon>0 there exists δ>0\delta>0 such that

0<xa<δ  f(x)L<ε.0<|x-a|<\delta \ \Longrightarrow\ |f(x)-L|<\varepsilon.

In words: no matter how tight a tolerance ε\varepsilon you demand around LL, you can find an input window δ\delta around aa that keeps f(x)f(x) inside that tolerance.

Example
An ε\varepsilon--δ\delta argument

Prove limx3(2x1)=5\lim_{x\to3}(2x-1)=5. Given ε>0\varepsilon>0, we need (2x1)5<ε|(2x-1)-5|<\varepsilon, i.e. 2x3<ε2|x-3|<\varepsilon. Choose δ=ε/2\delta=\varepsilon/2. Then 0<x3<δ0<|x-3|<\delta forces (2x1)5=2x3<2δ=ε|(2x-1)-5|=2|x-3|<2\delta=\varepsilon. 0MATH7xE0

Example
Piecewise continuity: solve for a parameter

Find kk making ff continuous everywhere, where

f(x)={x21x1,x1k,x=1.f(x)=\begin{cases} \dfrac{x^2-1}{x-1}, & x\neq 1\\[2mm] k, & x=1.\end{cases}

For x1x\neq1, f(x)=x+1f(x)=x+1, so limx1f(x)=2\lim_{x\to1}f(x)=2. Continuity requires f(1)=2f(1)=2, hence k=2k=2.

Example
Matching the argument: sin(stuff)stuff\frac{\sin(\text{stuff})}{\text{stuff}}
limx0sin(3x)sin(5x)=limx0sin(3x)3x3xsin(5x)5x5x=1315=35.\lim_{x\to0}\frac{\sin(3x)}{\sin(5x)} =\lim_{x\to0}\frac{\frac{\sin(3x)}{3x}\cdot 3x}{\frac{\sin(5x)}{5x}\cdot 5x} =\frac{1\cdot3}{1\cdot5}=\frac35.
Example
The 1cosxx\frac{1-\cos x}{x} family

Multiply by the conjugate 1+cosx1+\cos x:

limx01cosxx=limx01cos2xx(1+cosx)=limx0sinxxsinx1+cosx=102=0.\lim_{x\to0}\frac{1-\cos x}{x}=\lim_{x\to0}\frac{1-\cos^2 x}{x(1+\cos x)}=\lim_{x\to0}\frac{\sin x}{x}\cdot\frac{\sin x}{1+\cos x}=1\cdot\frac{0}{2}=0.

A related result: limx01cosxx2=12.\displaystyle\lim_{x\to0}\frac{1-\cos x}{x^2}=\frac12.

Concept
L'Hôpital preview

If limfg\lim\frac{f}{g} has indeterminate form 00\frac00 or \frac{\infty}{\infty} and f,gf,g are differentiable, then

limxaf(x)g(x)=limxaf(x)g(x).\lim_{x\to a}\frac{f(x)}{g(x)}=\lim_{x\to a}\frac{f'(x)}{g'(x)}.

Example: limx0sinxx=L’Hlimx0cosx1=1\lim_{x\to0}\frac{\sin x}{x}\overset{\text{L'H}}{=}\lim_{x\to0}\frac{\cos x}{1}=1. (You will prove this rigorously later; it is a fast check now.)

Example
Limits with the floor function x\lfloor x\rfloor

x\lfloor x\rfloor is the greatest integer x\le x, so it jumps at every integer.

limx2x=1,limx2+x=2,limx2x DNE.\lim_{x\to2^{-}}\lfloor x\rfloor=1,\qquad \lim_{x\to2^{+}}\lfloor x\rfloor=2,\qquad \lim_{x\to2}\lfloor x\rfloor \text{ DNE.}

But at a non-integer, e.g. limx2.5x=2\lim_{x\to2.5}\lfloor x\rfloor=2 (it is locally constant).

Tip

Big picture: Every limit technique answers one question --- does the function settle to a single finite value as xx approaches aa? Substitution first; if 00\frac00, simplify (factor / conjugate / common denominator / trig identity); if still stuck, L'Hôpital or Squeeze.

Reminder — L'Hôpital's Rule:limxcf(x)g(x)=limxcf(x)g(x)when 00 or \lim_{x\to c}\frac{f(x)}{g(x)} = \lim_{x\to c}\frac{f'(x)}{g'(x)} \quad\text{when } \tfrac{0}{0} \text{ or } \tfrac{\infty}{\infty}

Formulas, Proofs & Tips

Tip
The difference quotient and the derivative
f(x)=limh0f(x+h)f(x)hf'(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}

What it means. The slope of the tangent line — the instantaneous rate of change.

Example. For f(x)=x2f(x)=x^2: f(x)=limh0(x+h)2x2h=2xf'(x)=\lim_{h\to0}\tfrac{(x+h)^2-x^2}{h}=2x.

Why it works. f(x+h)f(x)h\tfrac{f(x+h)-f(x)}{h} is the slope of the secant through two nearby points. Letting h0h\to 0 slides the second point into the first, so the secant becomes the tangent.

Tip. The hh must cancel before you substitute h=0h=0; otherwise you get the meaningless 00\tfrac00.

Tip
L'Hôpital's Rule
limxcf(x)g(x)=limxcf(x)g(x)when 00 or \lim_{x\to c}\frac{f(x)}{g(x)} = \lim_{x\to c}\frac{f'(x)}{g'(x)} \quad\text{when } \tfrac{0}{0} \text{ or } \tfrac{\infty}{\infty}

What it means. If a limit gives the indeterminate form 00\tfrac{0}{0} or \tfrac{\infty}{\infty}, differentiate the top and bottom separately and try again.

Why it works. Near cc both functions are approximated by their tangent lines, f(x)f(c)(xc)f(x)\approx f'(c)(x-c) and g(x)g(c)(xc)g(x)\approx g'(c)(x-c). The common factor (xc)(x-c) cancels in the ratio, leaving f(c)g(c)\tfrac{f'(c)}{g'(c)}.

Tip. Check the form FIRST — applying it to a limit that isn't indeterminate gives a wrong answer. It is not the quotient rule: do not differentiate fg\tfrac{f}{g} as a whole.

Tip
The Squeeze Theorem
g(x)f(x)h(x)  and limg=limh=L  limf=Lg(x)\le f(x)\le h(x) \ \text{ and } \lim g=\lim h=L \ \Longrightarrow\ \lim f = L

What it means. If a function is trapped between two others that meet at LL, it must go to LL too.

Example. Since x2x2sin1xx2-x^2\le x^2\sin\tfrac1x\le x^2 and both bounds 0\to0, the limit at 00 is 00.

Why it works. Beyond some point ff never leaves the gap between gg and hh. As that gap closes to zero width around LL, ff has nowhere else to go.

Tip. The classic use is limx0x2sin1x=0\lim_{x\to 0}x^{2}\sin\tfrac1x = 0, squeezed by x2-x^{2} and x2x^{2}.

Tip
The Intermediate Value Theorem
f continuous on [a,b], f(a)<k<f(b)  f(c)=k for some c(a,b)f \text{ continuous on } [a,b],\ f(a)<k<f(b) \ \Longrightarrow\ f(c)=k \text{ for some } c\in(a,b)

What it means. A continuous graph cannot skip a value on its way from f(a)f(a) to f(b)f(b).

Example. f(x)=x22f(x)=x^2-2 is 2-2 at x=0x=0 and 22 at x=2x=2, so it equals 00 somewhere between (at 2\sqrt2).

Why it works. Continuity means the graph is drawn without lifting the pen; to get from below kk to above kk the pen must cross the line y=ky=k.

Tip. This is how you prove a root exists: if ff changes sign between aa and bb, there is a zero in between.