The Intuition: Drawing Without Lifting Your Pen
The informal definition of a continuous function is one whose graph you can trace from left to right without ever lifting your pen from the paper. No holes, no jumps, no vertical asymptotes. The function flows smoothly and unbroken.
Examples of continuous functions: f(x) = x², sin(x), eˣ, any polynomial. Examples of discontinuous functions: f(x) = 1/x (undefined at x = 0), the floor function ⌊x⌋ (jumps at every integer), and piecewise functions that do not connect smoothly at their boundary points.
A function f is continuous at a point a if the graph has no hole, no jump, and no asymptote at x = a — if you can draw through that point without interruption.
The Three Conditions for Continuity
The formal definition is both precise and memorable. A function f is continuous at a point x = a if and only if all three of the following conditions hold:
2. limx→a f(x) exists (both sides agree)
3. limx→a f(x) = f(a) (limit equals the value)
Think of these three conditions as three questions you ask at each point: Is the function defined here? Does it approach a single value from both sides? Does the function actually reach that value? If any answer is "no," there is a discontinuity.
Types of Discontinuity
Key Theorems About Continuous Functions
Several powerful theorems in calculus require continuity as a hypothesis. The two most important are:
- Intermediate Value Theorem (IVT): If f is continuous on [a,b] and k is any value between f(a) and f(b), then there exists some c in (a,b) where f(c) = k. In plain terms: a continuous function cannot skip values — it must pass through every intermediate value.
- Extreme Value Theorem (EVT): If f is continuous on a closed interval [a,b], then f attains both a maximum and a minimum value on that interval. This theorem underpins all optimization problems in calculus.
Why Continuity Matters in Calculus
You cannot differentiate a function at a discontinuity. The derivative requires a limit to exist, and at a jump or infinite discontinuity, that limit does not exist. The Fundamental Theorem of Calculus requires the integrand to be continuous on the interval of integration (or at least integrable — piecewise continuous is often sufficient). Understanding continuity is not just theoretical bookkeeping: it tells you where calculus operations are valid.
All polynomials, rational functions (except where the denominator = 0), exponentials, logarithms, and trigonometric functions are continuous on their domains. When you are asked to differentiate or integrate, check that your function is continuous on the relevant interval first.
f is continuous at x = a if: (1) f(a) is defined, (2) lim(x→a) f(x) exists, and (3) lim(x→a) f(x) = f(a). All three conditions must hold. Failure of any one creates a discontinuity.
Why Continuity Matters
Continuity is the minimum regularity condition for most theorems in calculus to apply. The Intermediate Value Theorem, Extreme Value Theorem, and Mean Value Theorem all require continuity. Differentiability implies continuity (but not vice versa), so every differentiable function is continuous — but continuous functions can have corners, cusps, and other non-differentiable points.
In applications, continuity models the physical intuition that quantities do not "teleport" — temperature, pressure, and electric potential all vary continuously through space. Discontinuities in physical models often signal boundaries, phase transitions, or model breakdown at the location.
The Three Types of Discontinuity — With Examples
Removable discontinuity: The limit exists at x = a, but either f(a) is undefined or f(a) ≠ lim f(x). The graph has a "hole." Example: f(x) = (x²−4)/(x−2) is undefined at x = 2, but the limit as x→2 equals 4. The discontinuity is "removable" because redefining f(2) = 4 makes the function continuous. Algebraically: removable discontinuities occur when a factor (x−a) cancels from numerator and denominator.
Jump discontinuity: The left and right limits both exist but are unequal. Example: f(x) = 0 for x < 0, f(x) = 1 for x ≥ 0. The limit as x→0 does not exist (left limit = 0, right limit = 1). The graph "jumps." Common in piecewise functions, step functions, and models with sudden transitions (the Heaviside step function in electrical engineering).
Infinite discontinuity: The function grows without bound near x = a. Example: f(x) = 1/x at x = 0. As x→0⁺, f→+∞; as x→0⁻, f→−∞. The graph has a vertical asymptote. Common in rational functions where the denominator has a zero that does not cancel with the numerator.
Testing Continuity at a Point — Full Procedure
Continuity on an Interval
A function is continuous on an open interval (a, b) if it is continuous at every point in the interval. Continuous on a closed interval [a, b] additionally requires right-continuity at a (lim(x→a⁺) f(x) = f(a)) and left-continuity at b (lim(x→b⁻) f(x) = f(b)). This distinction matters for the Extreme Value Theorem, which guarantees max and min values only on closed intervals for continuous functions.
Classes of Continuous Functions
The following are continuous everywhere on their domains: polynomials, rational functions (where denominator ≠ 0), sine and cosine, exponential functions eˣ and aˣ, logarithm ln x (x > 0), and nth root functions (for appropriate domains). Compositions of continuous functions are continuous: sin(x²) is continuous everywhere because x² and sin are. Sums, products, and quotients (where denominator ≠ 0) of continuous functions are continuous. This means most "reasonable" functions you encounter in calculus are continuous on their natural domains.
The Intermediate Value Theorem — Proof Sketch and Applications
The IVT states: if f is continuous on [a, b] and y₀ is any value between f(a) and f(b), then there exists c in (a, b) with f(c) = y₀. Intuitively: a continuous function cannot skip from one value to another without passing through everything in between. The proof uses the completeness property of the real numbers — the fact that every non-empty bounded set of real numbers has a least upper bound.
Applications: (1) Root-finding: If f(a) < 0 and f(b) > 0, there is a root in (a, b). This is the basis of the bisection method for finding roots numerically. (2) Game theory: If each player in a game continuously adjusts their strategy, Nash equilibria exist (a consequence of Brouwer's fixed point theorem, related to IVT in 1D). (3) Physics: Temperature is continuous, so if it is below freezing at one point and above at another nearby, there is a precise location where it is exactly 0°C.
Continuity vs Differentiability
Differentiability is stronger than continuity. Every differentiable function is continuous, but not conversely. The function f(x) = |x| is continuous everywhere but not differentiable at x = 0 — the left derivative is −1 and the right derivative is +1, so no derivative exists at the corner. Weierstrass constructed a function in 1872 that is continuous everywhere but differentiable nowhere — a "pathological" example showing that continuity alone guarantees very little about the smoothness of a function.
- Rudin, W. (1976). Principles of Mathematical Analysis, Ch. 4. McGraw-Hill.
- Stewart, J. (2015). Calculus, §2.5. Cengage.
- Apostol, T. (1967). Calculus, Vol. 1, §3.1–3.3. Wiley.
For exam preparation, the AP Calculus Review covers the IVT, EVT, and MVT in exam context. Practice applying continuity concepts in the 50 Practice Problems collection.