Since the one-sided limits are not equal, the limit does not exist.
Example
Find x→3limx−3∣x−3∣.
For x<3: x−3∣x−3∣=x−33−x=−1.
For x>3: x−3∣x−3∣=x−3x−3=1.
Left limit =−1Right limit =1. The limit does not exist.
Common Limits
Limit
Value
x→0limxsinx
1
x→0limx1−cosx
0
x→∞limx1
0
x→∞lim(1+x1)x
e
x→0limxex−1
1
x→0limxln(1+x)
1
Proof that x→0limxsinx=1.
This is proved using the squeeze theorem and the geometric inequality sinx<x<tanx for
0<x<2πWhich gives cosx<xsinx<1.
As x→0+, cosx→1So by the squeeze theorem, xsinx→1. A similar
Argument applies from the left. ■
Proof of the geometric inequality sinx<x<tanx for 0<x<2π.
Consider a unit circle sector with angle x. The area of triangle OAP (with altitude sinx) is
21sinxThe area of the sector is 21xAnd the area of triangle OAT (with
Altitude tanx) is 21tanx. Since the sector contains the first triangle and is
Contained in the second, we get 21sinx<21x<21tanxHence
sinx<x<tanx. ■
Proof that x→0limxex−1=1.
Let h=ex−1So ex=1+h and x=ln(1+h). As x→0, h→0.
xex−1=ln(1+h)h=hln(1+h)1
Since h→0limhln(1+h)=1 (which follows from
x→0limxex−1=1 and the fact that ln and exp are
Inverses), we obtain the result. ■
Proof that x→0limxln(1+x)=1.
Let u=ln(1+x)So eu=1+x and x=eu−1. As x→0, u→0.
xln(1+x)=eu−1u=ueu−11
Since u→0limueu−1=1The result follows. ■
The Squeeze Theorem
If g(x)≤f(x)≤h(x) for all x near a (except possibly at a), and:
x→alimg(x)=x→alimh(x)=L
Then x→alimf(x)=L.
Intuition: If f is sandwiched between two functions that both approach LThen f must also
Approach L. The squeeze theorem is particularly useful when f oscillates or is otherwise hard to
Evaluate directly.
Example
Show that x→0limx2sin(x1)=0.
Since −1≤sin(x1)≤1We have
−x2≤x2sin(x1)≤x2.
Both x→0lim(−x2)=0 and x→0limx2=0.
By the squeeze theorem, x→0limx2sin(x1)=0.
Example
Show that x→0limxcos(x1)=0.
Since −1≤cos(x1)≤1We have
−∣x∣≤xcos(x1)≤∣x∣.
Both x→0lim(−∣x∣)=0 and x→0lim∣x∣=0.
By the squeeze theorem, the limit is 0.
Example
Show that x→0limx2esin(1/x)=0.
Since −1≤sin(1/x)≤1We have e−1≤esin(1/x)≤e1.
Therefore:
E−1x2≤x2esin(1/x)≤e⋅x2
Both x→0lime−1x2=0 and x→0lime⋅x2=0.
By the squeeze theorem, the limit is 0.
Algebraic Limit Properties
If x→alimf(x)=L and x→alimg(x)=MThen:
x→alim[f(x)+g(x)]=L+M
x→alim[f(x)−g(x)]=L−M
x→alim[c⋅f(x)]=cL
x→alim[f(x)⋅g(x)]=L⋅M
x→alimg(x)f(x)=MLProvided M=0
Theorem (Limit of a power). If x→alimf(x)=L and n is a positive
Integer, then x→alim[f(x)]n=Ln.
Theorem (Limit of a root). If x→alimf(x)=L and n is a positive
Integer, and L≥0 when n is even, then
x→alimnf(x)=nL.
Proof of property 1 (sum rule). We need to show that for every ϵ>0There exists
δ>0 such that ∣x−a∣<δ implies ∣(f+g)(x)−(L+M)∣<ϵ.
Note that ∣(f+g)(x)−(L+M)∣=∣(f(x)−L)+(g(x)−M)∣≤∣f(x)−L∣+∣g(x)−M∣.
Choose δ1 so that ∣x−a∣<δ1 implies ∣f(x)−L∣<ϵ/2. Choose δ2
So that ∣x−a∣<δ2 implies ∣g(x)−M∣<ϵ/2. Let
δ=min(δ1,δ2). Then ∣x−a∣<δ implies both bounds hold, so
∣(f+g)(x)−(L+M)∣<ϵ/2+ϵ/2=ϵ. ■
Evaluating Limits
Direct Substitution
When a function is continuous at aThe limit equals the function value:
x→alimf(x)=f(a)
Limits Involving Infinity
For rational functions Q(x)P(x) where P and Q are polynomials:
If degP<degQ: x→±∞limQ(x)P(x)=0
If degP=degQ:
\displaystyle\lim_{x \to \pm\infty} \frac{P(x)}{Q(x)} = \frac{\mathrm{leading coeff of P}{\mathrm{leading coeff of Q}
If degP>degQ: the limit is ±∞
Why this works. For large xThe leading term dominates. Dividing numerator and denominator by
The highest power of x in the denominator, all lower-order terms vanish.
Example
Find x→∞lim7x2+x−13x2−5x+2.
Since both polynomials are degree 2, the limit equals the ratio of leading coefficients:
x∞lim7x2+x−13x2−5x+2=73
Example
Find x→∞lim4x2+3x5x3−2x+1.
Since degP=3>degQ=2The limit is +∞.
Example
Find x→−∞lim5x3−3x+22x3+x2−5.
Both polynomials are degree 3. The limit equals the ratio of leading coefficients:
x→−∞lim5x3−3x+22x3+x2−5=52
This confirms that the same shortcut works for x→−∞ when the degrees are equal.
Indeterminate Forms and Factoring
When direct substitution yields 00Algebraic manipulation is required.
When the limit involves a fraction within a fraction, combine the numerator into a single fraction
First.
Example
Find x→2limx−2x1−21.
Combine the numerator:
x−2x1−21=x−22x2−x=2x(x−2)−(x−2)=−2x1
Therefore:
x→2limx−2x1−21=−41
Formal Definition of a Limit (Epsilon-Delta)
The precise definition: x→alimf(x)=L means that for every
ϵ>0There exists a δ>0 such that:
0<∣x−a∣<δ⟹∣f(x)−L∣<ϵ
Intuition. Think of it as a game. Your opponent picks ϵ (how close f(x) must be to
L). You must respond with δ (how close x must be to a). If you can always win this
Game, the limit exists.
Proving a Limit with Epsilon-Delta
Example
Prove that x→3lim(2x−1)=5.
We need to show that for every ϵ>0There exists δ>0 such that
0<∣x−3∣<δ⟹∣(2x−1)−5∣<ϵ.
Working backwards: ∣(2x−1)−5∣=∣2x−6∣=2∣x−3∣.
We want 2∣x−3∣<ϵSo choose δ=2ϵ.
Proof. Let ϵ>0. Choose δ=2ϵ. Then:
0<∣x−3∣<δ⟹∣x−3∣<2ϵ⟹2∣x−3∣<ϵ⟹∣(2x−1)−5∣<ϵ
Therefore, x→3lim(2x−1)=5. ■
Example
Prove that x→2limx2=4.
We need ∣x2−4∣<ϵ whenever 0<∣x−2∣<δ.
Note that ∣x2−4∣=∣x−2∣⋅∣x+2∣.
If we restrict δ≤1Then ∣x−2∣<1So 1<x<3 and ∣x+2∣<5.
Thus ∣x2−4∣=∣x−2∣⋅∣x+2∣<5∣x−2∣.
Choose δ=min(1,5ϵ).
Proof. Let ϵ>0. Choose δ=min(1,5ϵ). If
0<∣x−2∣<δThen:
∣x2−4∣=∣x−2∣⋅∣x+2∣<δ⋅5≤5ϵ⋅5=ϵ
Therefore, x→2limx2=4. ■
Example
Prove that x→alimx=a for a>0.
We need ∣x−a∣<ϵ whenever 0<∣x−a∣<δ.
Rationalise:
∣x−a∣=x+a∣x−a∣≤a∣x−a∣.
We want a∣x−a∣<ϵSo ∣x−a∣<ϵa.
Choose δ=min(a,ϵa). The condition δ≤a ensures x>0 so that
x is defined.
Proof. Let ϵ>0. Choose δ=min(a,ϵa). If
0<∣x−a∣<δThen x>0 and:
∣x−a∣=x+a∣x−a∣≤a∣x−a∣<aϵa=ϵ
Therefore, x→alimx=a. ■
Strategy for Epsilon-Delta Proofs
The general approach is:
Start with ∣f(x)−L∣ and try to bound it in terms of ∣x−a∣.
If f involves products, use the “restrict delta” technique: bound each factor separately.
If f involves roots, rationalise and use the fact that x+a≥a.
Choose \delta = \min(\mathrm{bound, \epsilon / \mathrm{constant) to handle both the restriction
and the ϵ requirement.
Continuity (CED Unit 1)
A function f is continuous at a if all three conditions hold:
f(a) is defined
x→alimf(x) exists
x→alimf(x)=f(a)
Theorem. Every polynomial function is continuous everywhere. Every rational function is
Continuous on its domain.
Theorem (Continuity of compositions). If g is continuous at a and f is continuous at
g(a)Then f∘g is continuous at a.
This theorem justifies statements like ”x2+1 is continuous everywhere” — x2+1 is a
Polynomial (continuous everywhere) and x is continuous at all positive values (and
x2+1≥1>0).
Types of Discontinuities
Type
Description
Example
Removable
Limit exists but f(a) is undefined or f(a)=limx→af(x)
f(x)=x−1x2−1 at x=1
Jump (Non-removable)
One-sided limits exist but are not equal
f(x)=⌊x⌋
Infinite (Non-removable)
Function approaches ±∞
f(x)=x1 at x=0
Oscillating
Function oscillates without approaching a single value
f(x)=sin(x1) at x=0
Intermediate Value Theorem (IVT)
If f is continuous on [a,b] and k is any number between f(a) and f(b)Then there exists At
least one c∈(a,b) such that f(c)=k.
Example
Show that f(x)=x3+x−1 has a root in (0,1).
f(0)=−1<0 and f(1)=1>0.
Since f is continuous on [0,1] and 0 is between f(0) and f(1)By the IVT there exists
c∈(0,1) such that f(c)=0.
Application of IVT to bisection. The IVT motivates the bisection method for root-finding: if
f(a) and f(b) have opposite signs, a root exists in (a,b). Halving the interval and checking
Signs converges to the root.
Example
Show that f(x)=ex−3−x has at least one root in (1,2).
f(1)=e−4≈−1.282<0 and f(2)=e2−5≈2.389>0.
Since f is continuous (as a sum of continuous functions) on [1,2]By the IVT there exists
c∈(1,2) such that f(c)=0. ■
Corollary of the IVT. If f is continuous on [a,b] and f(a)⋅f(b)<0Then f has
At least one zero in (a,b).
Extreme Value Theorem
If f is continuous on a closed interval [a,b]Then f attains both an absolute maximum and an
Absolute minimum on [a,b].
:::caution The EVT requires continuity on a closed interval. The function f(x)=x1
On (0,1) has no maximum, despite being continuous.
:::
Boundedness Theorem
If f is continuous on a closed interval [a,b]Then f is bounded on [a,b] — that is, There
exist real numbers m and M such that m≤f(x)≤M for all x∈[a,b].
This follows directly from the EVT: the absolute minimum and maximum serve as the bounds.
Asymptotes and Limits at Infinity
Vertical Asymptotes
If x→a+limf(x)=±∞ or
x→a−limf(x)=±∞Then x=a is a vertical asymptote.
For rational functions Q(x)P(x)Vertical asymptotes occur at zeros of Q(x) that are Not
also zeros of P(x) (after cancellation).
Horizontal Asymptotes
If x→±∞limf(x)=LThen y=L is a horizontal asymptote.
A function can have at most two horizontal asymptotes (one as x→∞One as
x→−∞).
Oblique (Slant) Asymptotes
If degP=degQ+1 in a rational function, perform polynomial long division. The quotient
(excluding remainder) gives the slant asymptote.
Example
Find the asymptotes of f(x)=x+12x2+3x−1.
Vertical asymptote: Set denominator to zero: x+1=0⟹x=−1.
Slant asymptote: Perform long division:
x+12x2+3x−1=2x+1−x+12
The slant asymptote is y=2x+1.
Example
Find the horizontal asymptotes of f(x)=ex+13ex.
As x→∞: Divide numerator and denominator by ex:
1+e−x3→1+03=3
As x→−∞: Divide numerator and denominator by ex:
ex+13ex→0+10=0
Horizontal asymptotes: y=3 (as x→∞) and y=0 (as x→−∞).
L’Hopital’s Rule (CED BC and AB Unit 1.15)
If x→alimg(x)f(x) produces the indeterminate form 00 or
±∞±∞And f and g are differentiable near a with g′(x)=0 near
aThen:
x→alimg(x)f(x)=x→alimg′(x)f′(x)
Provided the limit on the right exists.
When to use L’Hopital’s Rule. It applies ONLY to 00 or ±∞±∞
Forms. Using it on a determinate form (e.g., 53) is an error.
When L’Hopital’s Rule fails. If the limit x→alimg′(x)f′(x) does
Not exist, this does NOT mean the original limit does not exist. L’Hopital’s Rule only gives a
Conclusion when the right-hand limit exists (or is ±∞).
Example
Find x→0limxex−1.
Direct substitution gives 00. Apply L’Hopital’s Rule:
x→0limxex−1=x→0lim1ex=1
Example
Find x→0limx21−cosx.
Direct substitution gives 00:
x→0limx21−cosx=x→0lim2xsinx=x→0lim2cosx=21
Note that we applied L’Hopital’s Rule twice, since the second attempt still gave 00.
Example
Find x→∞limxlnx.
This is ∞∞. Apply L’Hopital’s Rule:
x→∞lim1/(2x)1/x=x→∞limx2x=x→∞limx2=0
Example
Find x→0limx3x−sinx.
Direct substitution gives 00. Apply L’Hopital’s Rule three times:
This has the form 0⋅(−∞)Which is indeterminate. Rewrite as a quotient:
Xlnx=1/xlnx
Now it is ∞−∞. Apply L’Hopital’s Rule:
x→0+lim1/xlnx=x→0+lim−1/x21/x=x→0+lim(−x)=0
Limits of Piecewise Functions
Example
Let f(x)={x2+13x−1x<2x≥2.
Find x→2limf(x) and determine if f is continuous at x=2.
Left-hand limit: x→2−limf(x)=x→2−lim(x2+1)=5.
Right-hand limit: x→2+limf(x)=x→2+lim(3x−1)=5.
Since both one-sided limits equal 5: x→2limf(x)=5.
Check continuity: f(2)=3(2)−1=5=limx→2f(x).
Therefore, f is continuous at x=2.
Example
Let g(x)={x−2x2−4kx=2x=2.
Find k such that g is continuous at x=2.
x→2limx−2x2−4=x→2limx−2(x−2)(x+2)=4.
For continuity: k=g(2)=4.
Example
Let h(x)={x2+bx+12x+3x≤0x>0.
Find b such that h is continuous at x=0.
Left-hand limit: x→0−limh(x)=0+0+1=1.
Right-hand limit: x→0+limh(x)=3.
For continuity: 1=3Which is impossible. No value of b makes h continuous at x=0.
This example demonstrates that continuity at a junction point of a piecewise function is not always
Achievable — on whether the one-sided limits can be made to agree.
Common Pitfalls
Confusing the value of a function at a point with its limit. The limit at a does not depend
on f(a) at all. A function can have a limit at a point where it is undefined.
Assuming
x→alimg(x)f(x)=limx→ag(x)limx→af(x)
when the denominator limit is zero. This is invalid when the denominator limit is zero.
Forgetting to check both one-sided limits for piecewise functions and absolute values.
Misapplying L’Hopital’s Rule when the limit is not in indeterminate form. Always verify
00 or ±∞±∞ before applying.
Claiming a limit exists when only one-sided limits are checked. Both must agree.
Using thousands separators in math mode. Write 1000000 in math expressions, not
1,000,000.
Using angle brackets in math mode. Use < and > commands instead of < and >.
Forgetting the EVT requires a closed interval. Open intervals do not guarantee maxima/minima.
Assuming L’Hopital’s Rule always works. If limg′(x)f′(x) does not
exist, you cannot conclude anything about the original limit. Try algebraic methods instead.
Applying the product rule for limits to indeterminate products. The limit
x→0+limxlnx is not 0⋅(−∞)=0; it requires rewriting as
a quotient and applying L’Hopital’s Rule.
Forgetting the “restrict delta” step in epsilon-delta proofs for nonlinear functions. You
must bound ∣x−a∣ before bounding the other factors.
Practice Questions
Find x→1limx−1x3−1 by factoring.
Prove using the epsilon-delta definition that x→4limx=2.
Determine all points of discontinuity for f(x)=x2−9x2+x−6 and classify each.
Find the horizontal and vertical asymptotes of
f(x)=x2−43x2−2x+1.
Use L’Hopital’s Rule to find x→∞limxlnx.
Let f(x)={x−3x2−9kx=3x=3. Find the
value of k that makes f continuous at x=3.
Use the squeeze theorem to find x→0limxcos(x1).
Given f(x)=x3−3x+1Use the IVT to show there is at least one root in the interval
(1,2).
Find x→0limxtanx.
Find x→1lim3x−1x−1.
Classify each discontinuity of f(x)=x2−1x2−x.
Use the IVT to prove that f(x)=ex−3−x has at least one root in the interval (1,2).
Find x→0limx2ex−1−x.
Prove that x→3limx1=31 using the epsilon-delta
definition.
Find the value of c such that
f(x)={cx2+2x3x−1x<1x≥1 is continuous at
x=1.
Evaluate x→0limx2sin2x.
Find x→∞lim(x2+x−x).
Determine whether x→0limx21sin(x1)
exists.
Practice Problems
Question 1: Epsilon-delta proof
Using the epsilon-delta definition, prove that x→2lim(3x−1)=5.
Answer
We need to show: for every ϵ>0There exists a δ>0 such that if
0<∣x−2∣<δThen ∣(3x−1)−5∣<ϵ.
Since the limit does not equal the function value, f is NOT continuous at x=1. To make it
Continuous, f(1) should be redefined as 2.
Question 4: Intermediate Value Theorem application
Prove that the equation x5−5x+1=0 has at least one root in the interval (0,1).
Answer
Let f(x)=x5−5x+1. This is a polynomial, so it is continuous everywhere.
f(0)=0−0+1=1>0.
f(1)=1−5+1=−3<0.
Since f is continuous on [0,1] and f(0)>0 and f(1)<0By the Intermediate Value
Theorem, there exists at least one c∈(0,1) such that f(c)=0.
Question 5: Squeeze theorem
Evaluate x→0limx2sin(x1).
Answer
Since −1≤sin(x1)≤1 for all x=0:
−x2≤x2sin(x1)≤x2.
x→0lim(−x2)=0 and x→0limx2=0.
By the Squeeze Theorem: x→0limx2sin(x1)=0.
:::tip Tip Ready to test your understanding of Limits and Continuity? The contains the
hardest questions within the AP specification for this topic, each with a full worked solution.
Unit tests probe edge cases and common misconceptions. Integration tests combine Limits and
Continuity with other AP Calculus topics to test synthesis under exam conditions.
See for instructions
on self-marking and building a personal test matrix.
Summary
This topic covers the mathematical techniques and concepts related to limits and continuity,
including key theorems, methods, and problem-solving approaches.
Key concepts include:
quadratic equations and the discriminant
simultaneous equations
polynomial division and the factor theorem
partial fractions
binomial expansion
Regular practice with a variety of question types is essential to build fluency and confidence in
applying these mathematical techniques.
Worked Examples
Worked examples demonstrating the application of key concepts are covered in the detailed sub-pages
linked above.