← Back to College Math

Limits & Continuity

College Math · Calculus IPreview

1. Introduction

The limit is the single idea on which all of calculus is built. Derivatives are limits of difference quotients, definite integrals are limits of Riemann sums, and infinite series are limits of partial sums. Before we can talk meaningfully about instantaneous rates of change or accumulated area, we need a precise way to describe what it means for a function to approach a value.

Informally, the statement lim⁡x→af(x)=L\lim_{x\to a} f(x) = L says: as xx gets closer and closer to aa (but is never equal to aa), the outputs f(x)f(x) get arbitrarily close to the number LL. The crucial subtlety is that the limit describes the behavior near aa, not the value at aa. A function can have a limit at a point where it is undefined, and it can be defined at a point where its limit disagrees with its value.

Continuity then captures the functions that behave "nicely": those with no jumps, holes, or blow-ups, where the limit and the value coincide. Continuity is the hypothesis behind the most important existence theorems in calculus — the Intermediate Value Theorem (IVT) and the Extreme Value Theorem (EVT) — and it is the property that lets us evaluate most limits by simple substitution.

By the end of this article you will be able to compute limits algebraically, recognize and resolve indeterminate forms with L'Hôpital's rule, analyze asymptotic behavior, prove simple limits with the ϵ\epsilon–δ\delta definition, and rigorously test functions for continuity.

The logical flow of this chapter mirrors a standard Calculus I syllabus: we begin with the intuitive and formal definitions of limits, develop the algebraic tools (limit laws, squeeze theorem), classify discontinuities and define continuity, then apply continuity to the IVT and EVT, and finally tackle limits at infinity, asymptotes, and L'Hôpital's rule for indeterminate forms. Each named theorem plays a distinct role: the squeeze theorem handles oscillation and trig limits, the IVT guarantees roots and intermediate values, and the EVT underpins optimization on closed intervals.

2. Core Concepts

2.1 The Intuitive Limit

We write lim⁡x→af(x)=L\lim_{x\to a} f(x) = L when the values of f(x)f(x) can be made as close to LL as desired by taking xx sufficiently close to (but not equal to) aa. The phrase "not equal to aa" matters: the limit ignores what happens at aa entirely. For example, the functions f(x)=x2−1x−1f(x) = \frac{x^2 - 1}{x - 1} and g(x)=x+1g(x) = x + 1 agree everywhere except at x=1x = 1, where ff is undefined, yet both have limit 22 as x→1x \to 1.

2.2 The Formal ϵ\epsilon–δ\delta Definition

The precise definition removes all vagueness from "close." We say lim⁡x→af(x)=L\lim_{x\to a} f(x) = L if:

for every ϵ>0\epsilon > 0 there exists a δ>0\delta > 0 such that whenever 0<∣x−a∣<δ0 < |x - a| < \delta, it follows that ∣f(x)−L∣<ϵ|f(x) - L| < \epsilon.

Read this as a challenge-and-response game. An adversary names an error tolerance ϵ>0\epsilon > 0 (how close to LL we must land). You must respond with a radius δ>0\delta > 0 so that every input within δ\delta of aa (excluding aa itself) produces an output within ϵ\epsilon of LL. If you can always answer the challenge, the limit holds.

Proof sketch (linear limit): Show lim⁡x→3(2x−1)=5\lim_{x\to 3}(2x - 1) = 5. Given ϵ>0\epsilon > 0, we need ∣(2x−1)−5∣<ϵ|(2x-1) - 5| < \epsilon, i.e. ∣2x−6∣=2∣x−3∣<ϵ|2x - 6| = 2|x - 3| < \epsilon, i.e. ∣x−3∣<ϵ2|x - 3| < \tfrac{\epsilon}{2}. Choosing δ=ϵ2\delta = \tfrac{\epsilon}{2} works: if 0<∣x−3∣<δ0 < |x - 3| < \delta then ∣(2x−1)−5∣=2∣x−3∣<2δ=ϵ|(2x-1)-5| = 2|x-3| < 2\delta = \epsilon.

Proof sketch (reciprocal limit): Show lim⁡x→21x=12\lim_{x\to 2}\frac{1}{x} = \frac{1}{2}. Given ϵ>0\epsilon > 0, restrict attention to ∣x−2∣<1|x - 2| < 1, so 1<x<31 < x < 3 and ∣x∣>1|x| > 1. Then ∣1x−12∣=∣x−2∣2∣x∣<∣x−2∣2.\left|\frac{1}{x} - \frac{1}{2}\right| = \frac{|x - 2|}{2|x|} < \frac{|x - 2|}{2}. Choosing δ=min⁡{1, 2ϵ}\delta = \min\{1,\,2\epsilon\} ensures ∣x−2∣<δ|x - 2| < \delta implies ∣1x−12∣<ϵ\left|\frac{1}{x} - \frac{1}{2}\right| < \epsilon.

2.3 One-Sided Limits

The left-hand limit lim⁡x→a−f(x)=L\lim_{x\to a^-} f(x) = L considers only x<ax < a; the right-hand limit lim⁡x→a+f(x)=L\lim_{x\to a^+} f(x) = L considers only x>ax > a. The two-sided limit exists if and only if both one-sided limits exist and are equal: lim⁡x→af(x)=L  ⟺  lim⁡x→a−f(x)=L=lim⁡x→a+f(x).\lim_{x\to a} f(x) = L \iff \lim_{x\to a^-} f(x) = L = \lim_{x\to a^+} f(x). This is the standard tool for piecewise functions and for detecting jump discontinuities. The signum function sgn⁡(x)\operatorname{sgn}(x) has lim⁡x→0−sgn⁡(x)=−1\lim_{x\to 0^-}\operatorname{sgn}(x) = -1 and lim⁡x→0+sgn⁡(x)=1\lim_{x\to 0^+}\operatorname{sgn}(x) = 1, so the two-sided limit at 00 does not exist.

2.4 Limit Laws and Composition

If lim⁡x→af(x)\lim_{x\to a} f(x) and lim⁡x→ag(x)\lim_{x\to a} g(x) both exist, then limits respect arithmetic:

  • lim⁡(f±g)=lim⁡f±lim⁡g\lim (f \pm g) = \lim f \pm \lim g
  • lim⁡(f⋅g)=lim⁡f⋅lim⁡g\lim (f \cdot g) = \lim f \cdot \lim g
  • lim⁡fg=lim⁡flim⁡g\lim \frac{f}{g} = \frac{\lim f}{\lim g} provided lim⁡g≠0\lim g \neq 0
  • lim⁡(cf)=clim⁡f\lim (cf) = c \lim f for a constant cc
  • lim⁡[f(x)]n=[lim⁡f(x)]n\lim [f(x)]^n = [\lim f(x)]^n

Proof sketch (sum law): If lim⁡f=L\lim f = L and lim⁡g=M\lim g = M, given ϵ>0\epsilon > 0 choose δ\delta so ∣f(x)−L∣<ϵ/2|f(x)-L| < \epsilon/2 and ∣g(x)−M∣<ϵ/2|g(x)-M| < \epsilon/2 whenever 0<∣x−a∣<δ0 < |x-a| < \delta. Then ∣f(x)+g(x)−(L+M)∣≤∣f(x)−L∣+∣g(x)−M∣<ϵ|f(x)+g(x)-(L+M)| \le |f(x)-L| + |g(x)-M| < \epsilon.

If gg is continuous at LL and lim⁡x→af(x)=L\lim_{x\to a} f(x) = L, then lim⁡x→ag(f(x))=g(L)\lim_{x\to a} g(f(x)) = g(L). This composition law justifies evaluating limits of composite functions by substitution when the inner limit lands inside the domain of continuity of the outer function.

2.5 The Squeeze Theorem

If g(x)≤f(x)≤h(x)g(x) \le f(x) \le h(x) near aa (except possibly at aa) and lim⁡x→ag(x)=lim⁡x→ah(x)=L\lim_{x\to a} g(x) = \lim_{x\to a} h(x) = L, then lim⁡x→af(x)=L\lim_{x\to a} f(x) = L.

Proof sketch: Given ϵ>0\epsilon > 0, choose δ\delta so ∣g(x)−L∣<ϵ|g(x)-L| < \epsilon and ∣h(x)−L∣<ϵ|h(x)-L| < \epsilon for 0<∣x−a∣<δ0 < |x-a| < \delta. Then L−ϵ<g(x)≤f(x)≤h(x)<L+ϵL - \epsilon < g(x) \le f(x) \le h(x) < L + \epsilon, so ∣f(x)−L∣<ϵ|f(x) - L| < \epsilon.

This is the standard route to the foundational trigonometric limit lim⁡x→0sin⁡xx=1,\lim_{x\to 0} \frac{\sin x}{x} = 1, derived geometrically by trapping sin⁡xx\frac{\sin x}{x} between cos⁡x\cos x and 11 for small ∣x∣|x|. A close companion is lim⁡x→01−cos⁡xx=0\lim_{x\to 0} \frac{1 - \cos x}{x} = 0.

2.6 Limits at Infinity and Infinite Limits

Limits at infinity describe end behavior: lim⁡x→∞f(x)=L\lim_{x\to\infty} f(x) = L means f(x)f(x) can be kept within ϵ\epsilon of LL by taking xx sufficiently large. Infinite limits such as lim⁡x→af(x)=∞\lim_{x\to a} f(x) = \infty mean outputs grow without bound as xx approaches aa. A vertical asymptote at x=ax = a occurs when at least one one-sided limit is ±∞\pm\infty; a horizontal asymptote y=Ly = L occurs when lim⁡x→±∞f(x)=L\lim_{x\to\pm\infty} f(x) = L.

For rational functions p(x)q(x)\frac{p(x)}{q(x)}, compare degrees: if deg⁡p<deg⁡q\deg p < \deg q the horizontal asymptote is y=0y = 0; if equal, yy equals the ratio of leading coefficients; if deg⁡p>deg⁡q\deg p > \deg q there is no horizontal asymptote (the limit is ±∞\pm\infty).

2.7 Continuity and Types of Discontinuity

A function ff is continuous at aa when three conditions all hold:

  1. f(a)f(a) is defined,
  2. lim⁡x→af(x)\lim_{x\to a} f(x) exists, and
  3. lim⁡x→af(x)=f(a)\lim_{x\to a} f(x) = f(a).

If any condition fails, ff has a discontinuity at aa:

  • Removable — the limit exists but disagrees with (or is missing) the value; a "hole" you could patch.
  • Jump — the one-sided limits exist but differ.
  • Infinite — at least one one-sided limit is ±∞\pm\infty.

ff is continuous on an interval if it is continuous at every interior point; at endpoints we require only the appropriate one-sided continuity. Sums, products, quotients (with nonzero denominator), and compositions of continuous functions are continuous on their domains.

2.8 The Intermediate Value Theorem (IVT)

Statement: If ff is continuous on [a,b][a,b] and NN is any value strictly between f(a)f(a) and f(b)f(b), then there exists c∈(a,b)c \in (a,b) with f(c)=Nf(c) = N.

Proof sketch (bisection idea): Suppose f(a)<N<f(b)f(a) < N < f(b). Bisect [a,b][a,b] at its midpoint mm. If f(m)=Nf(m) = N we are done; otherwise one half still has ff at endpoints straddling NN. Repeat, producing nested intervals whose lengths →0\to 0. Continuity forces the common intersection point cc to satisfy f(c)=Nf(c) = N.

The IVT guarantees roots: if ff changes sign on [a,b][a,b], it has a zero in between. It does not guarantee uniqueness.

2.9 The Extreme Value Theorem (EVT)

Statement: If ff is continuous on a closed, bounded interval [a,b][a,b], then ff attains an absolute maximum and an absolute minimum on [a,b][a,b].

This underpins all optimization on closed intervals. Without continuity or a closed bounded domain, extrema may fail to exist (e.g. f(x)=xf(x) = x on (0,1)(0,1) has no minimum).

2.10 L'Hôpital's Rule

When a limit has the indeterminate form 00\tfrac{0}{0} or ∞∞\tfrac{\infty}{\infty}, and f′,g′f', g' exist near aa with g′≠0g' \neq 0, then lim⁡x→af(x)g(x)=lim⁡x→af′(x)g′(x),\lim_{x\to a}\frac{f(x)}{g(x)} = \lim_{x\to a}\frac{f'(x)}{g'(x)}, provided the right-hand limit exists or is ±∞\pm\infty. Differentiate numerator and denominator separately — not via the quotient rule. Forms 0⋅∞0\cdot\infty, ∞−∞\infty - \infty, 1∞1^\infty, 000^0, and ∞0\infty^0 must be rewritten (often via logarithms) before L'Hôpital applies.

2.11 Sequential Characterization (Optional Rigor)

For functions defined near aa, lim⁡x→af(x)=L\lim_{x\to a} f(x) = L if and only if for every sequence xn→ax_n \to a with xn≠ax_n \neq a, we have f(xn)→Lf(x_n) \to L. This bridges limits and sequences and is useful for proving that a limit does not exist: find two sequences approaching aa with different limit values.

Example: lim⁡x→0sin⁡1x\lim_{x\to 0}\sin\frac{1}{x} does not exist: xn=12πn⇒sin⁡1xn=0x_n = \frac{1}{2\pi n} \Rightarrow \sin\frac{1}{x_n} = 0, but xn′=12πn+π/2⇒sin⁡1xn′=1x_n' = \frac{1}{2\pi n + \pi/2} \Rightarrow \sin\frac{1}{x_n'} = 1.

2.12 Growth Rates at Infinity

When x→∞x \to \infty, exponentials beat polynomials, which beat logarithms: ln⁡x≪xp≪ax≪x!(p>0,  a>1).\ln x \ll x^p \ll a^x \ll x! \quad (p > 0,\; a > 1). This hierarchy resolves many ∞∞\tfrac{\infty}{\infty} limits without L'Hôpital. For example, lim⁡x→∞x100ex=0\lim_{x\to\infty}\frac{x^{100}}{e^x} = 0 because exponential growth dominates any power.

2.13 Continuity of Compositions and Piecewise Functions

If gg is continuous at aa and ff is continuous at g(a)g(a), then f∘gf \circ g is continuous at aa. For a piecewise function f(x)={p(x),x<aq(x),x≥af(x) = \begin{cases} p(x), & x < a \\ q(x), & x \ge a \end{cases}, continuity at aa requires lim⁡x→a−p(x)=lim⁡x→a+q(x)=f(a)\lim_{x\to a^-} p(x) = \lim_{x\to a^+} q(x) = f(a).

2.14 Limits and Asymptotic Notation

We write f(x)∼g(x)f(x) \sim g(x) as x→ax \to a when lim⁡x→af(x)g(x)=1\lim_{x\to a}\frac{f(x)}{g(x)} = 1. For instance, sin⁡x∼x\sin x \sim x as x→0x \to 0 and ln⁡x∼x−1\ln x \sim x - 1 as x→1x \to 1. Asymptotic equivalence simplifies limit calculations by replacing complicated expressions with simpler ones of the same local behavior.

Continue reading with Premium

Upgrade to read the full article and unlock all Premium features.

Free

  • Unlimited practice — all difficulties
  • 3 hints / day
  • Community solutions
  • 2 timed mocks / month

Premium

  • ✓Full article + all 57+ theory guides
  • ✓Unlimited hints on practice problems
  • ✓Unlimited timed mock exams & PDF worksheets
Log in