← 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 limxaf(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 limxaf(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)=x21x1f(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 x1x \to 1.

2.2 The Formal ϵ\epsilonδ\delta Definition

The precise definition removes all vagueness from "close." We say limxaf(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<xa<δ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 limx3(2x1)=5\lim_{x\to 3}(2x - 1) = 5. Given ϵ>0\epsilon > 0, we need (2x1)5<ϵ|(2x-1) - 5| < \epsilon, i.e. 2x6=2x3<ϵ|2x - 6| = 2|x - 3| < \epsilon, i.e. x3<ϵ2|x - 3| < \tfrac{\epsilon}{2}. Choosing δ=ϵ2\delta = \tfrac{\epsilon}{2} works: if 0<x3<δ0 < |x - 3| < \delta then (2x1)5=2x3<2δ=ϵ|(2x-1)-5| = 2|x-3| < 2\delta = \epsilon.

Proof sketch (reciprocal limit): Show limx21x=12\lim_{x\to 2}\frac{1}{x} = \frac{1}{2}. Given ϵ>0\epsilon > 0, restrict attention to x2<1|x - 2| < 1, so 1<x<31 < x < 3 and x>1|x| > 1. Then 1x12=x22x<x22.\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 x2<δ|x - 2| < \delta implies 1x12<ϵ\left|\frac{1}{x} - \frac{1}{2}\right| < \epsilon.

2.3 One-Sided Limits

The left-hand limit limxaf(x)=L\lim_{x\to a^-} f(x) = L considers only x<ax < a; the right-hand limit limxa+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: limxaf(x)=L    limxaf(x)=L=limxa+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 limx0sgn(x)=1\lim_{x\to 0^-}\operatorname{sgn}(x) = -1 and limx0+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 limxaf(x)\lim_{x\to a} f(x) and limxag(x)\lim_{x\to a} g(x) both exist, then limits respect arithmetic:

  • lim(f±g)=limf±limg\lim (f \pm g) = \lim f \pm \lim g
  • lim(fg)=limflimg\lim (f \cdot g) = \lim f \cdot \lim g
  • limfg=limflimg\lim \frac{f}{g} = \frac{\lim f}{\lim g} provided limg0\lim g \neq 0
  • lim(cf)=climf\lim (cf) = c \lim f for a constant cc
  • lim[f(x)]n=[limf(x)]n\lim [f(x)]^n = [\lim f(x)]^n

Proof sketch (sum law): If limf=L\lim f = L and limg=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<xa<δ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 limxaf(x)=L\lim_{x\to a} f(x) = L, then limxag(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 limxag(x)=limxah(x)=L\lim_{x\to a} g(x) = \lim_{x\to a} h(x) = L, then limxaf(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<xa<δ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 limx0sinxx=1,\lim_{x\to 0} \frac{\sin x}{x} = 1, derived geometrically by trapping sinxx\frac{\sin x}{x} between cosx\cos x and 11 for small x|x|. A close companion is limx01cosxx=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: limxf(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 limxaf(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 limx±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 degp<degq\deg p < \deg q the horizontal asymptote is y=0y = 0; if equal, yy equals the ratio of leading coefficients; if degp>degq\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. limxaf(x)\lim_{x\to a} f(x) exists, and
  3. limxaf(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,gf', g' exist near aa with g0g' \neq 0, then limxaf(x)g(x)=limxaf(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 00\cdot\infty, \infty - \infty, 11^\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, limxaf(x)=L\lim_{x\to a} f(x) = L if and only if for every sequence xnax_n \to a with xnax_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: limx0sin1x\lim_{x\to 0}\sin\frac{1}{x} does not exist: xn=12πnsin1xn=0x_n = \frac{1}{2\pi n} \Rightarrow \sin\frac{1}{x_n} = 0, but xn=12πn+π/2sin1xn=1x_n' = \frac{1}{2\pi n + \pi/2} \Rightarrow \sin\frac{1}{x_n'} = 1.

2.12 Growth Rates at Infinity

When xx \to \infty, exponentials beat polynomials, which beat logarithms: lnxxpaxx!(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, limxx100ex=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 fgf \circ g is continuous at aa. For a piecewise function f(x)={p(x),x<aq(x),xaf(x) = \begin{cases} p(x), & x < a \\ q(x), & x \ge a \end{cases}, continuity at aa requires limxap(x)=limxa+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 xax \to a when limxaf(x)g(x)=1\lim_{x\to a}\frac{f(x)}{g(x)} = 1. For instance, sinxx\sin x \sim x as x0x \to 0 and lnxx1\ln x \sim x - 1 as x1x \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