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.

Informal Definition

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:

1. f(a) is defined (no hole at x = a)
2. limx→a f(x) exists (both sides agree)
3. limx→a f(x) = f(a) (limit equals the value)
All three conditions must hold for f to be continuous at a

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.

Three Types of Discontinuity vs. Continuity
Continuous Removable Jump Infinite

Types of Discontinuity

Removable
A single hole in the graph — the limit exists, but either f(a) is undefined or f(a) ≠ the limit. Can be "fixed" by redefining f(a).
Jump
The left and right limits exist but are different values. The graph jumps from one value to another. Cannot be removed by redefining a single point.
Infinite (Essential)
The function grows without bound near x = a — a vertical asymptote. For example, f(x) = 1/x has an infinite discontinuity at x = 0.

Key Theorems About Continuous Functions

Several powerful theorems in calculus require continuity as a hypothesis. The two most important are:

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.

Rule of Thumb

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.

Definition

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

Example Is f(x) = (x²−1)/(x−1) continuous at x = 1?
Check 1f(1) = (1−1)/(1−1) = 0/0 — undefined. Condition 1 fails immediately.
Check 2lim(x→1): factor (x−1)(x+1)/(x−1) = x+1 → 2. Limit exists.
Conclusionf is NOT continuous at x = 1 (removable discontinuity: the hole can be filled by defining f(1) = 2).

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.

Frequently Asked Questions
Is every differentiable function continuous?
Yes — differentiability implies continuity. If a function has a derivative at a point, it must be continuous there. But the converse is false: a function can be continuous without being differentiable. The classic example is f(x) = |x|, which is continuous everywhere but not differentiable at x = 0 (there is a corner).
What is uniform continuity?
A function is uniformly continuous if the same δ works for every point in the domain simultaneously, not just at each point individually. On a closed interval, every continuous function is automatically uniformly continuous (Heine-Cantor theorem). Uniform continuity is important in advanced analysis but rarely appears in introductory calculus.
Can a piecewise function be continuous?
Yes — a piecewise function is continuous if all three continuity conditions are satisfied at every boundary point. At each boundary point x = a, you must check that both pieces approach the same value from their respective sides, and that this common limit equals the function's defined value at a.
← Previous
What are Limits? Easy Explanation
Next →
Types of Functions: Linear, Polynomial & Trig
References & Further Reading
  • 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.

AM
Dr. Aisha Malik, PhD Mathematics
Senior Lecturer in Applied Mathematics · 12 years teaching calculus at university level

Dr. Malik holds a PhD in Applied Mathematics from the University of Edinburgh and has taught calculus to over 4,000 students at both undergraduate and postgraduate level. Her research focuses on numerical methods for differential equations. She has reviewed this article for mathematical accuracy and pedagogical clarity.

Technically reviewed by: Prof. James Chen, Stanford Mathematics Department