Limits
Limits
Cagri Haciyusufoglu
October 13, 2025
A Preview of Calculus: Area Problem
The origins of calculus go back at least 2500 years to the ancient Greeks, who
found areas using the method of exhaustion. Eudoxus (fifth century BC) used
exhaustion to prove the area formula of a circle.
Let An be the area of the n-gon inscribed into the unit circle (r = 1). As the
number of sides n increases, we can obtain better and better approximations of
the area of the circle.
To exhaust the circle, we want to take n arbitrarily large. Therefore, we want
to define the area A of the unit circle as follows:
A = lim An
n→∞
The method of exhaustion is the main idea behind the Riemann Integral.
1
A Preview of Calculus: Tangent Problem
Question: How can we define the slope of the tangent line to a curve y = f (x)
at a point P (a, f (a))?
• Take another point Q(x, f (x) on the curve.
• Let mP Q be the slope of the secant line passing through P and Q.
• We imagine that the secant lines approach the the tangent line as Q
approaches P , or equivalently, as x approaches a. Therefore, we define
the slope m of the tangent line as follows:
m = lim mP Q
Q→P
f (x) − f (a)
= lim
x→a x−a
This process is called differentiation. It turns out that the Area and Tangent
Problems are inverse problems. This will be the content of the Fundamental
2
Theorem of Calculus.
Intuitive Definition of a Limit
Definition: The notation lim f (x) = L means that we can make the values
x→a
f (x) arbitrarily close to the number L by taking x to be sufficiently close to
the number a, except possibly at a. In this case, we say that
(
−1, if x<0
Example: Consider the piecewise-defined function: f (x) = .
1, if x>0
The limit lim f (x) does not exist because
x→0
3
One-sided Limits
Theorem: The limit lim f (x) exists if and only if both right-hand and
x→a
left-hand limits exist, and they are equal.
Example: Decide whether the limit lim f (x) exists, and justify your answer.
x→1
(
x, if x > 1
f (x) =
1, if x < 1
Solution: We study the one-sided limits and use the theorem above:
lim f (x) = lim x = 1
x→1+ x→1
=⇒ lim f (x) = 1
lim f (x) = lim 1 = 1 x→1
x→1− x→1
Thereofore, the limit lim f (x) exists (even if f (1) is not defined).
x→1
4
Continuity
Example: The limit lim f (x) exists, but f (x) is not continuous at 0:
x→0
(
0, x ̸= 0 lim f (x) = 0
x→0
f (x) = =⇒
1, x=0 f (0) = 1
5
Elementary Functions
• lim ln x = 0 • lim ex = eπ
x→1 x→π
√
• lim sin x = − 3/2 • lim arcsin x = π/2
x→ 5π x→1−
3
√ √
• lim 3
x = −3 • lim
√ (x
3
− x2 + 1) = 2 2 − 1
x→−27 x→ 2
Note that restriction of the absolute value function |x| to the intervals (−∞, 0)
and (0, ∞) are polynomials (−x and x, respectively), which are continuous
everywhere. Therefore, |x| is also continuous at every point in one of these
intervals. For continuity at 0, we study the one-sided limits:
lim |x| = lim x=0
x→0+ x→0
=⇒ lim |x| = 0 = |0|
lim |x| = lim −x = 0 x→0
x→0− x→0
7
Limits Involving the Absolute Value Function
Example: Decide whether the limit exists, and justify your answer:
2x − 1
lim
x→0.5 |2x3 − x2 |
Solution: Note that when we try substituting 0 for x, we get 0/0. This is not a
number; we call such expressions arising from limits as form of the limit.
We study one-sided limits, factoring x2 out of the denominator:
2x − 1 2x − 1 1
lim = lim 2 = lim = 4
x→0.5+ x2 |2x − 1| x→0.5 x (2x − 1) x→0.5+ x2
2x − 1 2x − 1 1
lim = lim 2 = lim − 2 = −4
x→0.5− x2 |2x − 1| x→0.5 x (1 − 2x) x→0.5− x
The given limit does not exist because one-sided limits are not equal.
8
If f (x) approaches distinct numbers along different paths as x
approaches a, then the limit lim f (x) does not exist.
x→a
Example: Decide whether the limit lim sin(π/x) exists. Justify your answer.
x→0
Solution: The limit does not exist because there are sequences of numbers
that approach 0 along which sin π/x approaches distinct numbers:
1
sin(π/x) = 0 =⇒ π/x = nπ =⇒ x = n = 1, 2, 3, · · ·
n
2
sin(π/x) = 1 =⇒ π/x = 2nπ + π/2 =⇒ x = n = 1, 2, 3, · · ·
4n + 1
As we let n take increasing, values 1/n and 2/(4n + 1) both approach 0, along
which sin(π/x) approaches the distinct values 0 and 1. Therefore,
lim sin(π/x) does not exist
x→0
Example: Decide whether the limit exists, and justify your answer.
3x4 − 6x3 − 2x2 + 11x − 14
lim
x→2 x2 + x − 6
Solution: If we try to substitute x = 2, we obtain the indeterminate form 0/0.
By the remark below, (x − 2) must appear as a factor in both the numerator
and the denominator. We can use polynomial division to find these factors:
(x − 2)(3x3 − 2x + 7) 3x3 − 2x + 7 25
lim = lim = =5
x→2 (x − 2)(x + 3) x→2 x+3 5
a3 − b3 = (a − b)(a2 + ab + b2 )
a3 + b3 = (a + b)(a2 − ab + b2 )
10
Infinite Limits and Vertical Asymptotes
• The notation lim f (x) = ∞ means that we can make the values f (x)
x→a
arbitrarily large by taking x to be sufficiently close to the number a.
• The notation lim f (x) = −∞ means that we can make the values f (x)
x→a
arbitrarily large negative by taking x to be sufficiently close to the number a.
1 1
Example: lim = ∞ and lim = −∞.
x→1+ x−1 x→1− x − 1
11
The curve y = tan x has infinitely many vertical asymptotes
Definition: The notation lim f (x) = L means that for every positive number
x→a
ε > 0 there is a corresponding positive number δ = δ(ε) > 0 such that
Observe that |4x − 20| = 4|x − 5|. Therefore, we can choose δ = ε/4:
⋆
|x − 5| < δ = ε/4 =⇒ |4x − 20| < ε
Note that the choice of δ is not unique. Any choice of δ that is less than ε/4
makes the implication ⋆ true.
13
Precise definition of limits for quadratic polynomials
Solution: We have
√ √
| x − 2| < 0.4 ⇐⇒ 1.6 < x < 2.4 ⇐⇒ 2.56 < x < 5.76
The center of the interval |x − 4| < δ is 4, which is closer to 2.56 than 5.76:
4 − 2.56 = 1.44
=⇒ choose δ = 1.44
5.76 − 4 = 1.76
Moreover, for any choice of δ bigger than 1.44, the statement ⋆ is not true.
Therefore, 1.44 is the largest possible value of δ, which makes ⋆ true.
15
The limit of a sum is the sum of the limits
Theorem: Assume that the limits lim f (x) and lim g(x) exist. Then,
x→a x→a
Proof: Assuming the limits lim f (x) and lim g(x) exist, we let
x→a x→a
(1) there is δf > 0 such that |f (x) − L| < ε/2 whenever |x − a| < δf , and
(2) there is δg > 0 such that |g(x) − M | < ε/2 whenever |x − a| < δg .
Let δ = min {δf , δg }. It follows from (1), (2), and the triangle inequality
≤ f (x) − L + g(x) − M
16
Further Limit Laws
Theorem: Assume that the limits lim f (x) and lim g(x) exist.
x→a x→a
17
Limit Laws
f (x) − 8
Example: If the limit lim exists, find lim f (x).
x→0 x2 x→0
f (x) − 8
f (x) = x2 +8
x2
= 0 × L + 8
=⇒ lim f (x) = 8
x→0
f (x) − 8
where L is the limit lim , which exists by assumption.
x→0 x2
18
The Squeeze Theorem
Example: Decide whether the limit exists, and justify your answer.
lim x2 sin(1/x)
x→0
Solution: Note that the product law of limits is not applicable because
lim sin(1/x) does not exist. Instead, we can apply the Squeeze Theorem:
x→0
x2 ≥0
−1 ≤ sin(1/x) ≤ 1 =⇒ −x2 ≤ x2 sin(1/x) ≤ x2
ST
lim x2 = lim (−x2 ) = 0 =⇒ lim x2 sin(1/x) = 0
x→0 x→0 x→0
19
The Squeeze Theorem
Proof: Assume that lim |f (x)| = 0, and note that −|f (x)| ≤ f (x) ≤ |f (x)|.
x→a
ST
lim −|f (x)| = lim |f (x)| = 0 =⇒ lim f (x) = 0
x→a x→a x→a
Example: Decide whether the limit exists, and justify your answer.
1
lim ln x sin
x→1 1−x
1
Example: Show that lim = ∞.
x→0 x2
Solution: Let M be any real number. We need to find δ = δ(M ) > 0 such that
1
>M whenever |x| < δ. ⋆
x2
√ 1 1
It follows from x2 = |x| that 2 > M ⇐⇒ |x| < √ .
x M
√
Choosing δ = 1/ M makes the statement ⋆ true:
1 1 1
|x| < δ = √ =⇒ x2 < =⇒ >M
M M x2
21
Limit Law for Compositions
Theorem: If lim g(x) exists, and f (x) is continuous at lim g(x), then
x→a x→a
lim f (g(x)) = f lim g(x)
x→a x→a
Example: Decide whether the limit exists, and justify your answer.
√
1− x
lim arcsin
x→1 1−x
Solution: The limit of the inner function exists (its form is 0/0):
√ √ √
1− x 1− x 1+ x 1−x
lim = lim √ = lim √
x→1 1 − x x→1 1 − x 1+ x x→1 (1 − x)(1 + x)
1 1
= lim √ =
x→1 1 + x 2
Note that 1/2 belongs the domain of arcsin x, which is the closed interval
[−1, 1]. Note that as an elementary function arcsin x is continuous at 1/2, the
limit of the inner function. Therefore, it follows from the theorem above that
√ √
1− x 1− x
lim arcsin = arcsin lim
x→1 1−x x→1 1 − x
= arcsin(1/2) = π/6 22
Combinations of continuous functions are continuous
f +g f −g fg f /g f ◦g
are continuous at a, too.
Note: For the quotient f /g, we need that g(a) ̸= 0, and for the composition
f ◦ g we need further that f (x) is continuous at g(a).
Proof: The proof for each one of the combinations above follows from
the definition of continuity, and the corresponding limit law.
As an example, let’s prove the statement for the product f g. Assume that f (x)
and g(x) are continuous at a. We need to show that f g is continuous at a:
lim (f g)(x) = (f g)(a)
x→a
23
Intervals of Continuity
Theorem: Let f (x) be a continuous function on a closed interval [a, b], and N
be a number between f (a) and f (b). Then, there is a number c ∈ [a, b] such
that f (c) = N . (That is, continuous functions attain any intermediate value).
Corollary: If f (x) is continuous and changes sign on an interval [a, b], then
there exists a root of the equation f (x) = 0 in [a, b].
The Intermediate Value Theorem is a non-constructive existence theorem.
Example: Show that there exists a root of the equation 4x3 + 3x = 6x2 + 2.
Bisection Method: Now that we have a root in [0, 2], we check the sign of f (x)
at the midpoint (1) of [0, 2] to get a smaller interval containing a root:
f (1) = −1 < 0 f (c) = 0 Exercise:
IV T
=⇒
f (2) = 12 > 0 for some c in [1, 2] Iterate one more time. 25
One-Sided Continuity
6+π
=⇒ 1 − c = π/6 =⇒ c =
6 26
Limits at infinity / Horizontal Asymptotes
Definition: Below are the intuitive and precise definitions of limits at infinity.
Intuitive: The notation lim f (x) = L means that we can make the values of f (x)
x→∞
arbitrarily close to the number L by taking x to be sufficiently large.
Precise: The notation lim f (x) = L means that for every positive number ε > 0,
x→∞
there is a corresponding number M = M (ε) such that
|f (x) − L| < ε whenever x > M.
• In this case, we call the line y = L the horizontal asymptote of y = f (x).
Example: Remember that the lines x = ±π/2 are vertical asymptotes of tan x.
The lines y = ±π/2 are the horizontal asymptotes of its inverse arctan x.
27
Limits at Infinity: Polynomials
Remark: More generally, we can determine the limits at infinity for rational
an xn
functions by looking at the quotient of the greatest degree terms: .
bm xm
29
Horizontal Asymptotes
√
Example: Find the horizontal asymptotes of f (x) = 9x2 + x − 5 + 3x.
Solution: First, let’s investigate the limit as x → ∞:
p
lim 9x2 + x − 5 = ∞
∞+∞
x→∞
p
=⇒ lim ( 9x2 + x − 5 + 3x) = ∞
x→∞
lim 3x = ∞
x→∞
Example: Decide whether the limit exists, and justify your answer:
lim e−x sin x
x→∞
e−x >0
−1 ≤ sin x ≤ 1 =⇒ −e−x ≤ e−x sin x ≤ e−x
Since lim −ex = lim ex = 0, the limit exists by the Squeeze Theorem:
x→−∞ x→−∞
Therefore, limx→a f (x) does not exist, which implies that f (x) is not
continuous at a. Since a is arbitrary, f (x) is nowhere continuous.
32