Chapter 2: Limits and Continuity#
How do you know what a function is doing right near a point, even if the function never quite reaches that point? That question leads to the idea of a limit, the foundation of calculus. Once we understand limits, we can talk precisely about continuity, make sense of infinity, and solve problems where plain arithmetic fails.
The Big Picture#
Everything in calculus—derivatives, integrals, the very idea of smooth change—depends on the concept of a limit. A limit tells us what value a function is heading toward as the input gets close to some number. In this chapter we start with simple intuition, build a toolbox of limit laws and algebraic tricks, learn to handle infinity and tiny oscillations, and finally get a rigorous definition. Along the way we meet the squeeze theorem, special trigonometric limits, and continuity. By the end, you will be able to compute many limits, decide when a function is continuous, and use the Intermediate Value Theorem to find hidden roots. No panic—this is just about getting comfortable with “approaching.”
Intuitive Limits and One-Sided Limits#
Imagine you are walking straight toward a wall. Each step brings you closer; your distance to the wall gets smaller and smaller. You can get as close as you like, even if you never actually touch the wall. The limit of your distance, as you approach the wall, is zero. That is the flavor of a limit.
We write
and say, “the limit of
Sometimes we only approach from one side. A one-sided limit restricts the approach. The left-hand limit,
looks at what happens when
looks at what happens when
Here is a concrete example. Let
If we slide toward 0 from the left,
The two one-sided limits are different. Therefore the full two-sided limit does not exist.
Relationship between two-sided and one-sided limits:
if and only if both and .
In other words, the two-sided limit is the one number that both one-sided limits must agree on. That simple test will become second nature.
📝 Section Recap: A limit describes the value a function approaches as the input gets near a number. One-sided limits check from only the left or the right, and the full limit exists exactly when both one-sided limits are equal.
Limit Laws and Direct Substitution#
Computing limits one by one from scratch would be tedious. Fortunately, limits follow predictable arithmetic rules. If we know that
These are the limit laws, and they make life much easier.
Many important functions have a wonderful property: if
This is essentially what “continuous” means, which we will formalize later. For now, the practical message is: whenever you see one of those friendly functions and the point is in its domain, substitute
Example:
The limit laws justify why this works, but the calculation is painless. The only hitch comes when direct substitution gives a meaningless expression like
📝 Section Recap: Limit laws let us break complicated limits into simpler pieces. Direct substitution works whenever the function is “nice” and the point is in its domain—but we must be ready for indeterminate forms.
Algebraic Techniques for Indeterminate Forms#
Sometimes direct substitution yields
Factoring and canceling
Consider
For
Rationalizing
When square roots (or cube roots) appear, multiplying by a conjugate often clears up the trouble. Take
Now let
The key is to rewrite the expression so the troublesome factor cancels. These techniques—factoring, expanding, rationalizing, using trigonometric identities—form the algebra toolkit for limits.
📝 Section Recap: When direct substitution gives an indeterminate form like
, look for a hidden algebraic simplification. Factoring or rationalizing often turns a messy limit into a straightforward one.
Infinite Limits and Vertical Asymptotes#
Sometimes a function grows without bound as
Here
A rational function can have a vertical asymptote where its denominator is zero but the numerator is not. For instance,
Infinite limit (informal):
means becomes arbitrarily large and positive as gets near —the values go higher than any given number.
The sign matters. For
📝 Section Recap: Infinite limits describe unbounded behavior. A vertical asymptote occurs at
when a one-sided limit equals or , and the sign tells us whether the graph shoots up or down.
Limits at Infinity and Horizontal Asymptotes#
Instead of letting
If such a finite limit exists, then
The simplest example is
For rational functions, we compare the degrees of numerator and denominator. If
Example: Evaluate
Both numerator and denominator have degree 2. Divide each term by
As
📝 Section Recap: Limits at infinity reveal the eventual behavior of a function. A horizontal asymptote occurs when the function approaches a constant value as
heads toward , and for rational functions this depends on the degree comparison.
The Squeeze Theorem and Special Trigonometric Limits#
Two very special limits show up continually in calculus:
We can prove these with the Squeeze Theorem (also called the Sandwich Theorem). The idea is delightfully simple. Suppose you have three functions, and one is always sandwiched between the other two:
for all
For
As
A symmetric argument from the left (
The cosine limit follows by a little algebra:
As
These two limits help solve many harder limit problems, especially when arguments like
📝 Section Recap: The Squeeze Theorem sandwiches a function between two others that share a limit. It gives us the fundamental trigonometric limits
and as , which we use again and again.
The ε-δ Definition of a Limit#
So far we have spoken about “getting close” in an intuitive way. The rigorous definition uses two tiny positive numbers: ε (epsilon) and δ (delta). It may look formal, but it simply makes our intuition solid.
ε-δ definition of a limit: We write
if for every there exists a such that
if, then .
In plain words: tell me how close you want
Think of throwing a dart at a target. Suppose the bullseye is
Let’s prove a simple limit:
Choose
Developing good ε-δ skills takes practice, but the core idea is negotiation: for any challenge
📝 Section Recap: The ε-δ definition formalizes our intuitive idea of a limit. It says that outputs can be forced to lie arbitrarily close to
by restricting inputs to be sufficiently close to . This precision underpins all limit laws and continuity proofs.
Continuity at a Point and on an Interval#
A function is continuous at a point if you can draw it through that point without lifting your pencil. More precisely, three things must be true:
Continuity at a point:
is continuous at if
is defined, exists, - and
.
If any of these fails, there is a discontinuity. For example, a removable discontinuity (a “hole”) occurs when the limit exists but is not equal to the function value—or the value is missing entirely. A jump discontinuity happens when the one-sided limits exist but are different. An infinite discontinuity occurs when a one-sided limit is infinite.
A function can be continuous on an open interval
The graph of a continuous function over a closed interval
Example of a hole:
Example of a jump: the greatest integer function
📝 Section Recap: A function is continuous at a point when the limit and the function value agree. Discontinuities can be removable (holes), jump, or infinite. Over an interval, continuity means no breaks—an unbroken curve.
Building Continuous Functions#
Many common functions are continuous wherever they are defined. Specifically:
- Polynomials are continuous everywhere.
- Rational functions are continuous everywhere their denominators are nonzero.
- Root functions
(with even) are continuous on their domain ( ); odd roots are continuous for all real . - Trigonometric functions (
, , etc.) are continuous everywhere they are defined; and have vertical asymptotes where . - Exponential functions
( ) and logarithmic functions are continuous on their natural domains (all reals for exponentials, for logs).
Moreover, continuity is preserved by the usual algebraic operations. If
, , ( any constant), and are continuous at . is continuous at provided .
Compositions also behave well. If
These facts explain why we can frequently rely on direct substitution: most functions we meet in calculus are continuous on their domains, so
📝 Section Recap: Polynomials, rational, root, trigonometric, exponential, and logarithmic functions are continuous on their domains. Sums, products, quotients (where defined), and compositions of continuous functions are continuous, so limits for such functions often reduce to direct substitution.
The Intermediate Value Theorem#
A continuous function has a powerful property: it cannot skip values. Suppose you are driving along a road (your position is a continuous function of time). If at 2:00 you are at mile 10 and at 2:05 you are at mile 15, then sometime between 2:00 and 2:05 you must have passed through mile 12. The Intermediate Value Theorem (IVT) makes this intuition precise.
Intermediate Value Theorem: If
is continuous on a closed interval and is any number between and (inclusive), then there exists at least one in such that .
One of the most useful consequences of the IVT is locating roots of equations. If
Example: Show that
Define
📝 Section Recap: The Intermediate Value Theorem says a continuous function on an interval takes every value between its endpoint values. This lets us prove that roots exist by checking for a sign change, a powerful tool even when the root itself is hard to find.
Summary#
Limits describe what value a function is heading toward. We learned to compute limits using limit laws, algebra, and special tricks. We handled infinite limits and limits at infinity, and we saw the squeeze theorem and the precise ε-δ definition. Continuity means the limit equals the function value, and the Intermediate Value Theorem helps us find roots. These ideas are the foundation for derivatives and integrals.
| Key idea | What it means (plain English) | Why it matters |
|---|---|---|
| Limit | The value a function approaches as the input gets near a number (but possibly not equal to it). | Limits are the foundation of calculus; they define derivatives and integrals. |
| One-sided limit | The limit considering only inputs strictly less than (left) or strictly greater than (right) the target. | The full limit exists only when both one-sided limits agree, giving a quick test for limit existence. |
| Direct substitution | Plugging the target number directly into a function when the function is continuous at that point. | It makes limit computation trivial for polynomials, trig, exponentials, and many others—no messy algebra needed. |
| Indeterminate form | An expression like |
Forces us to use algebraic manipulation (factoring, rationalizing) to uncover the true behavior. |
| Infinite limit | Output grows without bound (positive or negative) as input nears a finite value. | Signals a vertical asymptote, marking where the graph shoots upward or downward. |
| Limit at infinity | Behavior of a function as the input becomes arbitrarily large in the positive or negative direction. | Reveals horizontal asymptotes and the long-run trend of a function—vital for modeling real-world asymptotes. |
| Squeeze Theorem | If a function is sandwiched between two others that share a limit, it must have the same limit. | Proves hard limits (especially |
| ε-δ definition | A precise, technical statement: for every output tolerance |
Provides the logical foundation for all limit theorems; ensures calculus rests on solid ground. |
| Continuity at a point | A function is continuous at |
Continuous functions behave nicely—graphs are unbroken, and limits equal values. |
| Intermediate Value Theorem | A continuous function over an interval takes every value between its endpoint values. | Allows us to prove the existence of roots (solutions) by checking sign changes, even when exact roots are hard to find. |