Limits and Continuity in Calculus I
Limits and Continuity in Calculus I
You may recall that a limit is often used when a function cannot be
evaluated at a point, such as when division by zero is encountered.
The result of a limit can tell us what is happening on the graph of
a function, potentially indicating a removable discontinuity (hole in
the graph), a jump discontinuity, or an infinite discontinuity (vertical
asymptote on the graph), among other possibilities.
To illustrate the idea of finding a limit using infinitesimals, con-
x2 + 2x − 15
sider the function f ( x ) = . This function is not defined
x−3
when x = 3, because x = 3 would cause us to divide by 0. As a re-
sult, there is no point on the graph of y = f ( x ) at x = 3. However,
if we evaluate the function not at x = 3 but at a hyperreal number
infinitely close to x = 3, such as x = 3 + α where α is an arbitrary
2 calculus i review consistent with calculus set free: infinitesimals to the rescue
(3 + α)2 + 2(3 + α) − 15
f (3 + α ) = To evaluate the function at the hyper-
(3 + α ) − 3 real number 3 + α we use the EAR
9 + 6α + α2 + 6 + 2α − 15 8α + α2 procedure that was explained in the
= = previous section.
α α
8α
≈ = 8.
α
The calculation shows that if the input to our function is infinitely
close to 3, then the output from our function is infinitely close to 8.
We then call 8 the limit of the function at x = 3.
For the purposes of calculation we write The limit definitions and calculations
used in this textbook differ significantly
lim f ( x ) = f (b + α), in form from those of other calculus
x →b textbooks, but they are equivalent
to those now-traditional epsilon-
with the understanding that α is an arbitrary infinitesimal (and there- delta definitions. The definitions and
fore may be either positive or negative) and that we must render the calculations used here are introduced in
the article Dawson, C. Bryan, “Calculus
same real result for every such α or the limit does not exist. Limits Unified and Simplified,” College
The earlier example could be rewritten as follows: Mathematics Journal 50 No. 5 (November
2019), 331–342.
x2 + 2x − 15
Example 1 Find lim . In the instructions to a problem,“find”
x →3 x−3 is synonymous with “determine the
value of.”
Solution We evaluate the expression at x = 3 + α and use the EAR
procedure:
Comparing the example to the defi-
x2 + 2x − 15 (3 + α)2 + 2(3 + α) − 15 nition, b = 3, f ( x ) = x2 +2x −15
, and
lim = x −3
x →3 x−3 (3 + α ) − 3 L = 8.
9 + 6α + α2 + 6 + 2α − 15 8α + α2
= =
α α
8α
≈ = 8.
α
The limit exists since 8 is a real number. The value of the limit is 8.
the point (b, L). Whether or not the point (b, L) is actually on the y = f (x)
x2 − 1
Reading Exercise 1 Find lim .
x →1 x−1
| x
b
Limits: holes in a graph (removable discontinu- Figure 1: A picture of limx→b f ( x ) = L.
There may or may not actually be a
ities) point on the graph at (b, L).
the same when drawing the graph. The “hole in the graph” is also
called a removable discontinuity. | x
To summarize, a removable discontinuity appears in a graph at 4
Figure 2: the hole in the graph of
(b, L) when f (b) is undefined and limx→b f ( x ) = L. A rough sketch
f ( x ) = x2 +x−x−
4
20
at x = 4
of the hole can be given even without knowledge of the rest of the
4 calculus i review consistent with calculus set free: infinitesimals to the rescue
f (x)
function by drawing a small circle at the point (b, L) and drawing a
very short snippet of curve on both sides of the hole, as in figure 3.
Once more is known about the function, the general direction of the L—
curve near the hole can be fixed.
| x
x2 − 1
Reading Exercise 2 For lim = 2, make a rough sketch of the b
x →1 x − 1
Figure 3: sketching the hole in the
“hole” in the graph corresponding to the limit. graph of f when f is undefined at x = b
and limx→b f ( x ) = L
The limit is 16 .
f (x)
Since the expression is undefined at x = 2 (division by zero), the
1
graphical interpretation is that there is a removable discontinuity in 6 —
√
x +7−3 1
the graph of f ( x ) = x −2 at the point (2, 6 ). | x
2
Figure 4: the removable
√
discontinuity in
x +7−3
the graph of f ( x ) = x −2 at x = 2
section r.4: web supplement: calculus i review section 4, limits and continuity 5
sin 3x
Example 4 Find lim .
x →0 7x
1
Example 5 Find lim x sin .
x →0 x
0.05
Since the expression is undefined at x = 0 (division by zero), the -0.3 -0.2 -0.1 0.1 0.2 0.3
-0.10
the graph of f ( x ) = x sin 1x at the point (0, 0).
-0.15
-0.20
One-sided limits
The definition of limit requires that we render the same real result for
every infinitesimal α. In our previous examples that has happened.
But sometimes it does not happen.
| x − 3|
Example 7 Find lim .
x →3 x−3
Solution We evaluate the expression at x = 3 + α:
| x − 3| |3 + α − 3| |α|
lim = = .
x →3 x−3 3+α−3 α
At this point we are stuck! In order to evaluate |α| we need to know
whether α is positive or negative, but because α is an arbitrary in-
finitesimal it could be either. If α > 0, we continue with definition of | x |:
Recall the
x if x ≥ 0
|x| =
|α| α −x if x < 0
= = 1.
α α
If α < 0, we continue with
|α| −α
= = −1.
α α
For some values of α the result is 1, while for other values of α the
| x − 3|
result is −1. Because we do not render the same real result for every We may write lim DNE or
x →3 x−3
infinitesimal α, the limit does not exist. | x − 3|
lim d.n.e. as abbreviated ways
x →3 x−3
to express that the limit does not exist.
section r.4: web supplement: calculus i review section 4, limits and continuity 7
A peek at the graph (figure 7) reveals why the limit of example 7 f (x)
does not exist. If x is close to 3 but larger than 3 (to the right of 3),
1—
then the values of the expression are close to 1. If x is close to 3 but
smaller than 3 (to the left of 3), the values of the expression are close
| x
to −1. 3
Instead of a hole in the graph, we have a jump in the graph (a
−1 —
jump discontinuity). It appears that there are limits from each side,
but they are different. We will call them one-sided limits. In order to Figure 7: the jump in the graph of
| x −3|
distinguish these one-sided limits from the regular (two-sided) limit, f ( x ) = x−3 at x = 3
we will denote the limit from the right by lim f ( x ) and we will
x →b+
denote the limit from the left by lim f ( x ).
x →b−
How can these one-sided limits be calculated? If we want to see
what happens infinitely close to x = 3 but only to the right of
x = 3, that means we are adding a positive infinitesimal amount
to 3. Instead of calculating f (3 + α) for an arbitrary infinitesimal,
which checks both sides, we could calculate f (3 + ω ) for an arbitrary
positive infinitesimal ω, which would only check to the right of 3.
Similarly, if we check f (3 − ω ), still with ω positive, we would be
checking values just smaller than 3, that is, to the left of 3. The defini-
tion of one-sided limit is like that of limit but with the modifications
just discussed.
lim f ( x ) = L.
x →b+
When L is a real number (i.e., not ∞ or −∞), then we say that the
limit exists.
(b) If f (b − ω ) is defined and renders the same real result L for every The phrase limx→b+ f ( x ) = L can
positive infinitesimal ω, then we write be read “the limit of f ( x ) as x goes
to b from the right is L,” while
limx→b− f ( x ) = L can be read “the
lim f ( x ) = L. limit of f ( x ) as x goes to b from the left
x →b−
is L.”
When L is a real number (i.e., not ∞ or −∞), then we say that the
limit exists.
Note that the only way for the two-sided limit to exist is for both
one-sided limits to exist and have the same value.
| x − 2|
Reading Exercise 3 Determine lim .
x →2− x−2
To summarize, a jump discontinuity appears in a graph at x = b
when limx→b+ f ( x ) = L and limx→b− f ( x ) = M each exist but have
f (x)
different values. This is true regardless of whether f (b) exists. A
rough sketch of the jump can be given even without knowledge of L—
the rest of the function by drawing small circles at the points (b, L) M—
and (b, M ) and drawing a very short snippet of curve to the right of
(b, L) and to the left of (b, M), as in figure 8. Once more is known | x
about the function, the general direction of the curve near the jump b
Figure 8: sketching the jump in the
can be fixed and the point f (b) can be placed in the diagram if it
graph of f when limx→b+ f ( x ) = L and
exists. limx→b− f ( x ) = M. No point is shown
at x = b, but such a point may be added
if it exists.
section r.4: web supplement: calculus i review section 4, limits and continuity 9
Vertical asymptotes
One way for a limit to not exist is if it renders the real result ∞ or
−∞.
x+3
Example 9 Determine lim .
x →4 ( x − 4 )2
• If the two-sided limit exists and is a real number, then there is Ans. to Reading Exercise 3
−1
a removable discontinuity.
−3
Reading Exercise 4 Determine lim .
x →1 ( x − 1 )2
| x
b
Remember that if we are stuck on a two-sided limit we can check
the one-sided limits.
5
Example 10 Determine lim . Check one-sided limits if necessary. Figure 11: sketching the vertical
x →3 x−3 asymptote in the graph of f when
limx→b f ( x ) = −∞
Solution The limit is two-sided, so we begin by using x = 3 + α:
Even though we are stuck at 5A we
5 5 5 do know that the result is infinite, so
lim = = = 5A, DNE.
x →3 x−3 3+α−3 α we may safely conclude that there is a
vertical asymptote on the graph of the
Because A could be either positive or negative we are stuck. Since the function at x = 3.
two-sided limit could not be rendered, we check the one-sided limits
instead. First we check the limit from the right using x = 3 + ω: We may check the limit from the left
first if we wish. The order does not
5 5 5 . matter.
lim = = = 5Ω = ∞.
x →3+ x−3 3+ω−3 ω
We are not stuck because we know that Ω is positive. Now try the
limit from the left using x = 3 − ω:
Even though the two-sided limit is
5
5 5 5 . infinite we must write limx→3 x− 3 DNE
lim = = = −5Ω = −∞. because we cannot render either ∞ or
x →3 − x − 3 3 − ω − 3 − ω −∞. We can render ∞ and −∞ for the
right- and left-hand limits, respectively,
The one-sided limits exist and are different. This also means that the so we do so and write the results
two-sided limit does not exist. accordingly.
In example 10 the limits are infinite, but from the right the limit is
f (x)
positive infinite and from the left the limit is negative infinite. This
means that the graph exits the top of the picture just to the right of
x = 3 and the graph exits the bottom of the picture just to the left of | x
x = 3. See figure 12. 3
If limx→b+ f ( x ) = ∞ and limx→b− f ( x ) = −∞, a rough sketch
5
of the vertical asymptote can be given even without knowledge of Figure 12: the graph of f ( x ) = x− 3,
the rest of the function by drawing a dotted line at x = b, drawing a with vertical asymptote at x = 3
marked by a dotted line
very short snippet of curve at the top of the picture just to the right
of x = b, and drawing a very short snippet of curve at the bottom
of the picture just to the left of x = b, as in figure 13. Once more is
known about the function, these snippets can be connected to the rest
section r.4: web supplement: calculus i review section 4, limits and continuity 11
f (x)
of the curve. A very similar sketch can be made if the ∞ and the −∞
are swapped; see figure 14.
In example 7 division by zero resulted in a jump discontinuity. | x
In example 10 division by zero resulted in an infinite discontinuity. b
Even when the one-sided limits are different, there is more than one
possible graphical outcome. Figure 13: sketching the vertical asymp-
tote when limx→b+ f ( x ) = ∞ and
limx→b− f ( x ) = −∞
DIVISION BY ZERO, ONE-SIDED LIMITS
• If the one-sided limits exist and are different real numbers, f (x)
then there is a jump discontinuity.
• If the one-sided limits are identical then the two-sided limit can Figure 14: sketching the vertical asymp-
tote when limx→b+ f ( x ) = −∞ and
be rendered; check the box “division by zero, two-sided limit” limx→b− f ( x ) = ∞
for graphical interpretations.
Continuity
There is nothing in the definition of limit that requires us to only find
limits at places where we are dividing by zero. The procedure is the Ans. to Reading Exercise 4
same, whether it is at a place where we are dividing by zero or not. −∞
Continuity of functions
The definitions above define continuity of a function at one number
in its domain. The next definition applies the term to a function as a
whole.
x2 − 1 52 − 1 24
lim = = .
x →5 x+4 5+4 9
Because the expression is defined at x = 5 (the answer is a real Because we evaluated the limit by
number, 24 substituting 5 for x, this method of
9 ), evaluating using continuity was successful and the limit calculating limits is sometimes called
is 24
9 . the “direct substitution property.”
14 calculus i review consistent with calculus set free: infinitesimals to the rescue
x+1
Reading Exercise 5 Use continuity to evaluate lim .
x →2 x2 + 3
x2 − 4
Example 13 Find lim .
x →2 x−2
Solution We start by trying to evaluate using continuity:
x2 − 4 22 − 4 0
lim = = ,
x →2 x−2 2−2 0
which is undefined. Then x = 2 is not in the domain of the expres- Any time we evaluate the function at
sion and we cannot evaluate the limit using continuity; we must use the given value of x and the result is
undefined (such as division by zero)
other methods. we are not finished. We must use other
Returning to our previous methods, we use x = 2 + α: methods to determine the limit.
x2 − 4 (2 + α )2 − 4 4 + 4α + α2 − 4
lim = =
x →2 x−2 2+α−2 α
4α This is the type of situation for which
≈ = 4. infinitesimal methods are designed.
α The function is undefined, but using
hyperreals helps us because we can
The value of the limit is 4. divide by an infinitesimal instead of
dividing by zero.
From now on, our first thought when evaluating the limit of a
continuous function should be to try to evaluate using continuity.
When that fails, we use other methods.
Because trigonometric functions are continuous and so are com-
binations and compositions of continuous functions, we can use
continuity to evaluate limits in a wide variety of situations. Again,
our first step is to try evaluating using continuity.
( x − 7) cos( x2 + 3 sin x )
Example 14 Find lim .
x →0 x+1
Solution Polynomial and trigonometric functions are continuous,
so this function is a combination and composition of continuous
functions. We therefore start by trying to evaluate using continuity:
evaluate f ( x ) = 4 + 1
x for a positive infinite hyperreal Ω, the result is
1
f (Ω) = 4 + = 4 + ω ≈ 4.
Ω Ans. to Reading Exercise 5
3
7
If the input into f is infinite, then the output of the function is in-
f (x)
finitely close to 4; in other words, as x gets “large,” y gets “close” to
4. On the graph of f that plays out as a horizontal asymptote on the
right-hand side of the graph (figure 16).
Similarly, evaluating f at a negative infinite hyperreal reveals the
horizontal asymptote on the left side, also y = 4:
1
f (−Ω) = 4 + = 4 − ω ≈ 4.
−Ω x
Sometimes the calculation can reveal the direction from which the Figure 16: the graph of y = 4 + 1x , with
horizontal asymptote y = 4
horizontal asymptote is approached; notice that before approximat-
ing f (Ω) is a little larger than 4 while f (−Ω) is a little less than 4.
lim f ( x ) = L.
x →∞
When L is a real number (i.e., not ∞ or −∞), then we say that the
limit exists and that f has a horizontal asymptote of y = L (on the
right).
(b) If f (−Ω) is defined and renders the same real result L for every
positive infinite hyperreal Ω, then we write
lim f ( x ) = f (Ω)
x →∞
lim f ( x ) = f (−Ω)
x →−∞
The graph of the function whose limit is taken in example 15 has a Since 2ω 2 > 0, on the right side the
horizontal asymptote of y = 0 (on the right). function approaches the horizontal
asymptote y = 0 from above.
x2 + 4
Example 16 Evaluate lim .
x →−∞ 3x2 + 5x − 9
Solution We evaluate the expression at x = −Ω:
5x3 − 2x + 7 5Ω3 − 2Ω + 7
lim = 2
2
x →∞ x + 7x − 1 Ω + 7Ω − 1
5Ω3
≈ 2 = 5Ω
Ω
. Recall that if the result of an approx-
= ∞. imation is positive infinite then we
render the real result ∞.
The limit is ∞.
Because the limit in example 17 is ∞, the limit does not exist and There do exist functions, such as
f ( x ) = e x , that possess a horizontal
there is no horizontal asymptote on the right side of the graph of the asymptote on one side only; that
function. is, a function can have a horizontal
asymptote on the left side even if it
does not have one on the right side.
section r.4: web supplement: calculus i review section 4, limits and continuity 17
4x2 + 7x − 9
Reading Exercise 7 Find lim .
x →∞ 2x2 − 1
lim (5x2 − 4x3 ) = 5Ω2 − 4Ω3 Recall that if the result of an approx-
x →∞ imation is negative infinite then we
≈ −4Ω3 render the real result −∞.
.
= −∞.
Polynomials do not have horizontal asymptotes.
The limit is −∞.
For the degree n polynomial
The calculation shows that there is no horizontal asymptote (on a n x n + a n −1 x n −1 + · · · + a 1 x + a 0 ,
the right) on the graph of the polynomial y = 5x2 − 4x3 . In fact, it is
finding limits at infinity gives
not difficult to see that the same is true for any polynomial.
lim ( an x n + an−1 x n−1 + · · · )
Although there are no horizontal asymptotes for polynomials, lim- x →∞
its at infinity still describe end behavior. For instance, limx→∞ (5x2 − = a n Ω n + a n −1 Ω n −1 + · · ·
4x3 ) = −∞ means that on the far right side of the graph the polyno- ≈ an Ωn ,
mial’s values plunge downward toward −∞. which will render either ∞ or −∞
depending on the value of an . Similarly,
lim ( an x n + an−1 x n−1 + · · · ) ≈ an (−Ω)n ,
Examples of finding asymptotes x →−∞
f (x)
The reason that a continuous function (continuous where defined)
may not cross a vertical asymptote is that it is not defined at that
value of x. The infinite discontinuity prevents us from connecting the — −2/3
Ω+1
x+1
lim ln = ln
x →∞ x2 − 7 Ω2 − 7
Ω
1
≈ ln = ln = ln ω
Ω 2 Ω
.
= −∞.
Therefore as long as the result is not 0 (which would violate the ap-
proximation principle) and what is inside approximates to a real
number, then we can safely approximate inside any continuous func-
tion.
Theorem 8 APPROXIMATING INSIDE A CONTINUOUS FUNC- This theorem does not say anything
about what happens when the quantity
TION If f is a continuous function, b is a real number in the domain inside the continuous function is
of f , k ≈ b, and f (b) ̸= 0, then f (k) ≈ f (b). infinitesimal or infinite.
x2 − 4
Example 22 Find lim sin .
x →2 x−2
Solution Evaluating using continuity fails since we would be divid-
ing by zero. Using x = 2 + α,
2
x −4 (2 + α )2 − 4
lim sin = sin
x →2 x−2 2+α−2
4 + 4α + α2 − 4 4α + α2
= sin = sin
α α
4α
≈ sin = sin 4.
α
Since the sine function is continuous, the approximation on the inside
resulted in a real number (4), and the result wasn’t 0 (sin 4 ̸= 0), the
use of approximation is justified as written.
Exercises R.4
x2 − 8x + 6
16. lim =0 20. lim g( x ) = π
x →−∞ 4x3 − 7x2 + x x →∞
23–68. Calculate the limit. “Calculate the limit” implies the use of
the EAR procedure as demonstrated in
x2 + 3x − 4 sin x the examples of this section.
23. lim 46. lim
x →1 2x − 2 x →π/2 x
4x − 8
24. lim 47. lim (4x2 − 5x + 12)
x →2 x 2 − 5x + 6 x →0
−4
25. lim 48. lim (4x2 − 5x + 12)
x →3− 3−x x →1
x+1
26. lim 49. lim e x/( x+1)
x →4− x−4 x →−1+
5x3 + 2x2 + 4
27. lim 50. lim e x+ln( x−4)
x →∞ x2 − 6x + 7 x →5
3x5 − 9x2
+1
28. lim 51. lim e x/( x+1)
x →∞ 8x5 − 7x3 + x2 x →0
x+2 x+1 x
29. lim √ 52. lim ln +e
x →−2 x+6−2 x →∞ x+2
22 calculus i review consistent with calculus set free: infinitesimals to the rescue
√ 1
x−2−1 − 12
x
30. lim 53. lim
x →3 x−3 x →2 x − 2
1
x+1 −1
31. lim 54. lim x 2
x →2+ 2−x x →0+ x − 2
3x − 9 4x2 − 3x + 12
32. lim 55. lim
x →3 x 2 − 2x − 3 x →−∞ 7x2 − 11x
√
x+2 2x − 114
33. lim 56. lim
x →9 3x − 20 x →−∞ x2 + 9x
x2 + 5 6x cos x
34. lim 57. lim
x →1 x+4 x →−∞ 7x2 + 1
sin 4x 2x sin x
35. lim 58. lim
x →0 9x x →∞ 3x + 11
sin 3x
36. lim 59. lim x sin(2x2 + 1)
x →0 6x − sin 2x x →0
3x + 21
37. lim 60. lim x2 cos x
x →−7 x2 + 12x + 35 x →0
2−x 1 − x sin x
38. lim 61. lim
x →3−x2 − 9 x →0 3+x
√
x+4−3 1 − x sin 3
39. lim 62. lim
x →5 − x−5 x →1+ x−1
( x − 4)2
40. lim √ 63. lim ln(4x − 8)
x →4+ 2x + 1 − 3 x →2+
sin 4x + cos 2x √
41. lim 64. lim ln x
x →0 6x − 1 x →∞
sin 4x2
42. lim ln 65. lim ln(4x − 8)
x →0+ 5x x →∞
4|2x − 6| ln( x − 5)
43. lim 66. lim
x →3− 3−x x →5+ x
√
4| x − 2| x−4
44. lim 67. lim √
x →2−6 − 3x x →4+ 2x + 1 − 3
√
8x + 9 − 5
x+π
45. lim sin 68. lim √
x →0 x2 − 2 x →2 + x−2
69–74. Determine the limit. If the two-sided limit cannot be ren-
dered, check the one-sided limits.
| x + 2| −2
69. lim 72. lim
x →1 ( x − 1)2 x →3 ( x − 3)3
−2 x2 − 9
70. lim 73. lim
x →3 ( x − 3 )2 x →3 | x − 3 |
4 | x 2 − 1|
71. lim 74. lim
x →0 x x →1 x
75–78. Find all horizontal asymptotes on the graph of the given
section r.4: web supplement: calculus i review section 4, limits and continuity 23
Section R.4 9
f (x)
1 | x
f (x) 1
11
| x f (x)
3
−2 —
3 | x
f (x) −1
7—
13
f (x)
x
| x
5
5
f (x)
15 y = 14
4— 17 y = 14
19 no horizontal asymptote
2— 21 no horizontal asymptote; the limit is not as
x → ∞ or as x → −∞
5
| x 23 2
1 25 −∞
7 27 ∞
f (x)
29 4
—1 31 −∞
5
33 7
4
| x 35 9
−3
−1 37 2
1
39
— −1 6
26 calculus i review consistent with calculus set free: infinitesimals to the rescue
41 −1 63 −∞
43 8 65 ∞
45 −1 67 ∞
47 12 69 ∞
49 0 71 limx→0 4
x DNE, limx→0+ 4
x = ∞, limx→0− 4
x =
51 1 −∞
x 2 −9 x 2 −9
53 − 14 73 limx→3 | x −3|
DNE, limx→3+ | x −3|
= 6,
4 x 2 −9
55 7 limx→3− = −6
| x −3|
57 0 75 y = 4 (on both sides)
59 0 77 y = 3 (on the right) and y = −3 (on the left)
1
61 3