Continuity at a Point

Consider a function that computes a package's shipping cost from its weight. Suppose the cost jumps from $5.00 to $5.01 for an infinitesimal increase in weight. This happens at exactly 1 kg. Something feels wrong, even though the function is perfectly well-defined at that point. Continuity at a point is the precise idea that makes this discomfort mathematically rigorous. It says a function's value at a point must agree with the trend of its values nearby. No jump, hole, or mismatch is allowed. This concept matters for an important reason. Almost every theorem in analysis that lets us compute presupposes continuity as a baseline regularity condition. This includes the Intermediate Value Theorem, the Extreme Value Theorem, differentiability, and integrability. Continuity is the bridge between two ideas. One is the purely local, dynamic notion of a limit (what happens as you approach a point). The other is the static, algebraic notion of a function's value (what happens at the point). Confusing these two ideas is one of the most common errors a beginning analysis student makes. The big picture is this: a limit can exist at a point even if the function is undefined there. It can also exist if the function is defined but with a different, "wrong" value. Continuity closes that gap. It demands three things simultaneously — that the function be defined at the point, that its limit exist there, and that the two coincide. This article isolates continuity as a pointwise property. It distinguishes continuity sharply from mere limit existence. It also gives both the limit-based and the direct epsilon-delta formulations, proving they are equivalent. What follows is a full treatment. It includes the formal definition stated two equivalent ways, and a rigorous proof of their equivalence. It offers worked examples that expose the subtlety. These include a removable discontinuity where the limit exists but continuity fails. It also gives a counterexample showing why every clause of the definition is load-bearing. Finally, it maps out where this pointwise notion grows into continuity on whole sets. That is the subject of Continuity on Intervals and Sets and The Algebra of Continuous Functions.

Key takeaways
  • Continuity at aa requires three things at once: f(a)f(a) is defined, lim⁡x→af(x)\lim_{x\to a} f(x) exists, and the two are equal.
  • A limit can exist at a point where ff is undefined, or where ff is defined but takes a different value — neither case is continuity.
  • The epsilon-delta form: for every ε>0\varepsilon>0 there is δ>0\delta>0 so that ∣x−a∣<δ⇒∣f(x)−f(a)∣<ε|x-a|<\delta \Rightarrow |f(x)-f(a)|<\varepsilon — note x=ax=a is now allowed.
  • Continuity is a genuinely local/pointwise property: it can hold at one point of a function's domain and fail at another.
  • Removable discontinuities are exactly the case "limit exists, but doesn't match (or isn't) the function's value" — the mismatch is fixable by redefinition.
  • Key idea: continuity glues the dynamic behavior of ff near aa to the static value f(a)f(a), with no gap permitted.

Where this lives today

Continuity at a point is the atomic unit from which every stronger notion of regularity in analysis is built. In real analysis, it underlies the Sequential Characterization of Continuity (an equivalent formulation via convergent sequences, useful for proving discontinuity by exhibiting a "bad" sequence) and the extension to whole-domain continuity in Continuity on Intervals and Sets, which powers the Intermediate Value Theorem and Extreme Value Theorem. In physics and engineering, continuity at a point models the physically reasonable requirement that quantities like temperature, displacement, or voltage cannot jump instantaneously without infinite energy or force — control theory and signal processing explicitly track discontinuities (jumps, spikes) as flags for unmodeled physical behavior. In numerical analysis, root-finding algorithms like bisection depend on continuity to guarantee that a sign change implies a root nearby. In probability and statistics, cumulative distribution functions are always right-continuous by convention, and continuity at a point of a CDF characterizes whether the underlying random variable has an atom (positive probability mass) there. In computer science and cryptography, notions of "continuity" generalize to Lipschitz and uniform continuity conditions used in numerical stability analysis and in complexity-theoretic treatments of computable analysis, where "continuous at a point" becomes a computability requirement on real-number algorithms.

Ask the tutor: If ff and gg are both continuous at aa, why must f+gf+g and f⋅gf\cdot g also be continuous at aa?

DefinitionContinuity at a Point

Let f:D→Rf: D \to \mathbb{R} be a function with D⊆RD \subseteq \mathbb{R}, and let a∈Da \in D.

(Limit form.) We say ff is continuous at aa if

lim⁡x→af(x)=f(a),\lim_{x \to a} f(x) = f(a),

where the limit is taken over x∈Dx \in D. This statement implicitly asserts three things: f(a)f(a) is defined (true since a∈Da\in D), the limit lim⁡x→af(x)\lim_{x\to a} f(x) exists, and its value equals f(a)f(a).

(Epsilon-delta form.) Equivalently, ff is continuous at aa if

∀ε>0, ∃δ>0 such that ∀x∈D,∣x−a∣<δ  ⟹  ∣f(x)−f(a)∣<ε.\forall \varepsilon > 0,\ \exists \delta > 0 \text{ such that } \forall x \in D,\quad |x - a| < \delta \implies |f(x) - f(a)| < \varepsilon.

If ff is not continuous at aa, we say ff is discontinuous at aa, or that aa is a point of discontinuity. Note the crucial contrast with the definition of lim⁡x→af(x)=L\lim_{x\to a} f(x) = L: that definition requires 0<∣x−a∣<δ0 < |x-a| < \delta (excluding x=ax = a) and does not reference f(a)f(a) at all. Continuity's epsilon-delta condition instead permits x=ax = a (where the conclusion ∣f(a)−f(a)∣<ε|f(a)-f(a)|<\varepsilon holds trivially) and explicitly ties the bound to the actual value f(a)f(a).

Intuition

Picture the graph of ff near the point (a,f(a))(a, f(a)). The limit statement lim⁡x→af(x)=L\lim_{x\to a} f(x) = L only cares about a punctured neighborhood of aa: what the curve does as xx sneaks up on aa from either side, never mind what happens (or doesn't happen) exactly at x=ax=a. Continuity adds the missing ingredient — it insists that the destination the curve is heading toward, LL, is also where the curve actually lands, namely f(a)f(a). This is why a graph "with no hole and no jump" is the right cartoon: a hole means the limit exists but f(a)f(a) is either undefined or defined to a different value; a jump means the limit fails to exist at all (the left and right approach different values), so there is nothing for f(a)f(a) to match. Continuity rules out both defects at the single point aa. The epsilon-delta form sharpens this picture into a control statement: no matter how tight a tolerance ε\varepsilon an adversary demands around the target value f(a)f(a), you can find a window of xx-values around aa (radius δ\delta) all of which land inside that tolerance — and this window is allowed to include aa itself, where the claim is automatic.

Figure
Three behaviors at x=ax=a: continuous, removable gap, and jump
continuous at a a removable gap a jump discontinuity a

##

TheoremEquivalence of the Limit and Epsilon-Delta Formulations

Let f:D→Rf: D \to \mathbb{R}, D⊆RD \subseteq \mathbb{R}, and let a∈Da \in D. Then the following are equivalent:

(A) lim⁡x→af(x)=f(a)\lim_{x\to a} f(x) = f(a) (limit form of continuity at aa).

(B) For every ε>0\varepsilon > 0 there exists δ>0\delta > 0 such that for all x∈Dx \in D,

∣x−a∣<δ  ⟹  ∣f(x)−f(a)∣<ε.|x-a| < \delta \implies |f(x) - f(a)| < \varepsilon.
Proof

We use the Epsilon-Delta Definition of a Limit directly, prove the two directions of the equivalence separately, and handle the technical wrinkle at x=ax=a explicitly. This is a direct proof by unpacking definitions on both sides; no other theorem is assumed beyond the definition of a limit itself.

Setup. Recall that by definition, lim⁡x→af(x)=L\lim_{x\to a} f(x) = L means: for every ε>0\varepsilon>0 there is δ>0\delta>0 such that for all x∈Dx \in D,

0<∣x−a∣<δ  ⟹  ∣f(x)−L∣<ε.(∗)0 < |x-a| < \delta \implies |f(x) - L| < \varepsilon. \tag{$\ast$}

The only difference between (∗)(\ast) (with L=f(a)L = f(a)) and statement (B) is that (∗)(\ast) excludes x=ax=a via the strict inequality 0<∣x−a∣0 < |x-a|, while (B) allows x=ax = a.

(A) ⇒\Rightarrow (B). Assume lim⁡x→af(x)=f(a)\lim_{x\to a} f(x) = f(a). Let ε>0\varepsilon > 0 be arbitrary. By the definition of the limit (with L=f(a)L = f(a)), there exists δ>0\delta > 0 such that for all x∈Dx \in D,

0<∣x−a∣<δ  ⟹  ∣f(x)−f(a)∣<ε.0 < |x - a| < \delta \implies |f(x) - f(a)| < \varepsilon.

We claim this same δ\delta works for (B). Take any x∈Dx \in D with ∣x−a∣<δ|x-a| < \delta. There are two cases. Case 1: x≠ax \ne a. Then 0<∣x−a∣<δ0 < |x-a| < \delta, so the limit condition applies directly and gives ∣f(x)−f(a)∣<ε|f(x)-f(a)| < \varepsilon. Case 2: x=ax = a. Then ∣f(x)−f(a)∣=∣f(a)−f(a)∣=0<ε|f(x) - f(a)| = |f(a) - f(a)| = 0 < \varepsilon, since ε>0\varepsilon > 0. This holds regardless of δ\delta. In both cases, ∣x−a∣<δ  ⟹  ∣f(x)−f(a)∣<ε|x-a| < \delta \implies |f(x)-f(a)| < \varepsilon, which is exactly the conclusion required for (B) with this choice of δ\delta. Since ε>0\varepsilon>0 was arbitrary, (B) holds.

(B) ⇒\Rightarrow (A). Assume (B). Let ε>0\varepsilon > 0 be arbitrary. By (B), there exists δ>0\delta > 0 such that for all x∈Dx \in D,

∣x−a∣<δ  ⟹  ∣f(x)−f(a)∣<ε.|x - a| < \delta \implies |f(x) - f(a)| < \varepsilon.

In particular, this implication holds for all x∈Dx \in D satisfying the stronger condition 0<∣x−a∣<δ0 < |x-a| < \delta (a subset of those satisfying ∣x−a∣<δ|x-a|<\delta). Hence

0<∣x−a∣<δ  ⟹  ∣f(x)−f(a)∣<ε,0 < |x-a| < \delta \implies |f(x) - f(a)| < \varepsilon,

which is precisely the epsilon-delta statement that lim⁡x→af(x)=f(a)\lim_{x\to a} f(x) = f(a). Since ε>0\varepsilon > 0 was arbitrary, this establishes lim⁡x→af(x)=f(a)\lim_{x\to a} f(x) = f(a), i.e., (A). Both implications hold, so (A)   ⟺  \iff (B). ■\blacksquare

∎
CorollaryContinuity is genuinely automatic away from limit points

If a∈Da \in D is an isolated point of DD (that is, there exists δ0>0\delta_0 > 0 such that D∩(a−δ0,a+δ0)={a}D \cap (a-\delta_0, a+\delta_0) = \{a\}), then ff is continuous at aa automatically, for every function f:D→Rf: D \to \mathbb{R}.

Proof

Take δ=δ0\delta = \delta_0 from the isolation hypothesis. For any ε>0\varepsilon > 0, if x∈Dx \in D and ∣x−a∣<δ0|x - a| < \delta_0, then by isolation the only such xx is x=ax = a itself, so ∣f(x)−f(a)∣=0<ε|f(x) - f(a)| = 0 < \varepsilon. Thus condition (B) holds for every ε>0\varepsilon>0 with this fixed δ0\delta_0, so ff is continuous at aa by the Equivalence of the Limit and Epsilon-Delta Formulations just proved. ■\blacksquare

∎

This corollary is a useful sanity check: continuity at isolated points carries no real information about ff's "smoothness," which is exactly why deeper theorems (Intermediate Value, differentiability, etc.) are usually stated for continuity on intervals rather than at isolated points — a distinction developed in Continuity on Intervals and Sets.

Worked examples

Example 1 (a removable discontinuity, and how to fix it). Define f:R→Rf: \mathbb{R} \to \mathbb{R} by

f(x)={x3−8x−2x≠25x=2.f(x) = \begin{cases} \dfrac{x^3 - 8}{x-2} & x \ne 2 \\[4pt] 5 & x = 2. \end{cases}

We check continuity at a=2a = 2 using the limit form. First, factor: for x≠2x \ne 2,

x3−8x−2=(x−2)(x2+2x+4)x−2=x2+2x+4,\frac{x^3-8}{x-2} = \frac{(x-2)(x^2+2x+4)}{x-2} = x^2 + 2x + 4,

valid because x≠2x \ne 2 lets us cancel the nonzero factor (x−2)(x-2). By the Algebra of Limits (limits of polynomials, built from the limit of the identity function and constant functions via sums and products),

lim⁡x→2(x2+2x+4)=22+2⋅2+4=4+4+4=12.\lim_{x\to 2} \left(x^2+2x+4\right) = 2^2 + 2\cdot 2 + 4 = 4+4+4=12.

Since f(x)=x2+2x+4f(x) = x^2+2x+4 for all x≠2x\ne2, and the limit as x→2x\to 2 only depends on values with x≠2x \ne 2 (recall the punctured condition 0<∣x−2∣<δ0<|x-2|<\delta in the definition of a limit), we get

lim⁡x→2f(x)=12.\lim_{x\to 2} f(x) = 12.

Now compare to f(2)f(2): by definition, f(2)=5f(2) = 5. Since

lim⁡x→2f(x)=12≠5=f(2),\lim_{x\to 2} f(x) = 12 \ne 5 = f(2),

condition (A) fails, so ff is discontinuous at 22. This is a removable discontinuity: the limit exists (it equals 1212), but the function's assigned value (55) doesn't match it. If we define g(x)=f(x)g(x) = f(x) for x≠2x \ne 2 and g(2):=12g(2) := 12, then lim⁡x→2g(x)=12=g(2)\lim_{x\to 2} g(x) = 12 = g(2), so gg is continuous at 22 by the theorem. This distinguishes removable discontinuities sharply from jump or essential discontinuities, where no single redefinition at aa can restore continuity because the limit itself fails to exist.

Example 2 (continuity verified directly by epsilon-delta, no limit laws). Let f(x)=3x2−xf(x) = 3x^2 - x on R\mathbb{R}, and verify continuity at a=−1a = -1 directly from condition (B), without invoking the algebra of limits. We have f(−1)=3(1)−(−1)=3+1=4f(-1) = 3(1) - (-1) = 3+1 = 4. Fix ε>0\varepsilon > 0. We must find δ>0\delta > 0 such that ∣x+1∣<δ  ⟹  ∣f(x)−4∣<ε|x+1| < \delta \implies |f(x) - 4| < \varepsilon. Compute:

f(x)−4=3x2−x−4=(x+1)(3x−4).f(x) - 4 = 3x^2 - x - 4 = (x+1)(3x-4).

(Check: (x+1)(3x−4)=3x2−4x+3x−4=3x2−x−4(x+1)(3x-4) = 3x^2 -4x+3x-4 = 3x^2 - x - 4. ✓.) So ∣f(x)−4∣=∣x+1∣ ∣3x−4∣|f(x)-4| = |x+1|\,|3x-4|. We need to bound ∣3x−4∣|3x-4| in terms of a fixed neighborhood of −1-1. Restrict attention to ∣x+1∣<1|x+1| < 1, i.e., −2<x<0-2 < x < 0. On this range,

∣3x−4∣≤3∣x∣+4<3⋅2+4=10,|3x - 4| \le 3|x| + 4 < 3\cdot 2 + 4 = 10,

using ∣x∣<2|x| < 2 for x∈(−2,0)x \in (-2,0) (since ∣x+1∣<1⇒∣x∣≤∣x+1∣+1<2|x+1|<1 \Rightarrow |x|\le |x+1|+1 < 2 by the triangle inequality). Thus, whenever ∣x+1∣<1|x+1| < 1,

∣f(x)−4∣=∣x+1∣ ∣3x−4∣<10 ∣x+1∣.|f(x) - 4| = |x+1|\,|3x-4| < 10\,|x+1|.

Given ε>0\varepsilon > 0, choose

δ=min⁡(1,ε10).\delta = \min\left(1, \frac{\varepsilon}{10}\right).

Then for ∣x+1∣<δ|x+1| < \delta: first ∣x+1∣<1|x+1|<1 holds, so the bound ∣3x−4∣<10|3x-4|<10 applies, and also ∣x+1∣<ε/10|x+1| < \varepsilon/10, giving

∣f(x)−4∣<10⋅ε10=ε.|f(x)-4| < 10 \cdot \frac{\varepsilon}{10} = \varepsilon.

This verifies condition (B) at a=−1a=-1 for every ε>0\varepsilon>0, so ff is continuous at a=−1a=-1. (The same computation, done symbolically at a general point aa, is exactly the content of "polynomials are continuous everywhere," a fact used freely once The Algebra of Continuous Functions is established — but here we did it from scratch to show the direct ε\varepsilon-δ\delta mechanics.)

CounterexampleWhy the domain membership a∈Da \in D cannot be dropped

The definition requires a∈Da \in D so that f(a)f(a) is a meaningful quantity to compare against the limit. Suppose we tried to define "continuity at aa" using only condition (B) but without requiring a∈Da \in D — i.e., allowing aa to be merely a limit point of DD not in DD, with f(a)f(a) left undefined (say, vacuously true or using some placeholder value). Take D=R∖{0}D = \mathbb{R}\setminus\{0\} and f(x)=sin⁡xxf(x) = \dfrac{\sin x}{x} on DD, and consider a=0∉Da = 0 \notin D. It is a standard fact (provable via the squeeze theorem, itself resting on Epsilon-Delta Definition of a Limit) that

lim⁡x→0sin⁡xx=1.\lim_{x\to 0} \frac{\sin x}{x} = 1.

If we drop the requirement a∈Da \in D and instead declare ff "continuous at 00" merely because this limit exists, we get a meaningless or ambiguous notion: there is no fact f(0)=1f(0) = 1 to state, because f(0)f(0) is not defined. Any attempt to compare "ff near 00" to "ff at 00" collapses, since the right-hand side of the would-be equation lim⁡x→af(x)=f(a)\lim_{x\to a}f(x) = f(a) has no value. Worse, if we patch this by allowing an arbitrary placeholder, say declaring f(0):=0f(0) := 0 by convention rather than by computing a limit, we could get a function that satisfies condition (B) verbatim (if the placeholder happens to equal the limit) or fails it badly (if it does not) — the truth of continuity would depend on an external, unmotivated choice rather than on the function's actual defined behavior. This is precisely why a∈Da \in D is a non-negotiable hypothesis: continuity at aa is a comparison between two numbers, lim⁡x→af(x)\lim_{x\to a} f(x) and f(a)f(a), and the second number must genuinely exist as part of the data of ff, not be supplied after the fact. Dropping this hypothesis doesn't just weaken the theorem — it makes the definition itself ill-posed.

Scope, edge cases & common traps

SituationWhat happensIs ff continuous at aa?
lim⁡x→af(x)\lim_{x\to a} f(x) exists, f(a)f(a) defined, values equallimit form (A) holdsYes
lim⁡x→af(x)\lim_{x\to a} f(x) exists, f(a)f(a) defined, values differremovable discontinuityNo
lim⁡x→af(x)\lim_{x\to a} f(x) exists, f(a)f(a) undefined (a∉Da \notin D)not in scope of the definitionUndefined question — need a∈Da \in D
lim⁡x→af(x)\lim_{x\to a} f(x) does not exist (e.g. left/right limits differ)jump discontinuityNo, regardless of f(a)f(a)
aa is an isolated point of DDcondition (B) holds vacuouslyYes, automatically
ff oscillates without settling (e.g. sin⁡(1/x)\sin(1/x) near 00, if 0∈D0\in D)limit fails to exist at allNo

The mathematician behind it

Origins · 1 minKarl Weierstrass and how this was discovered
KW
Karl Weierstrass
1815–1897 · Prussia/German Empire, foundations of analysis

Karl Weierstrass is the figure most responsible for the modern ε\varepsilon–δ\delta formulation used throughout this article. Trained originally in law before turning to mathematics, he spent years as a secondary-school teacher in relative obscurity, teaching gymnastics and penmanship alongside mathematics, before a single paper on abelian functions (1854) brought him sudden recognition and a position at the University of Berlin. There he built, through lecture courses rather than published treatises, the rigorous arithmetization of analysis: precise definitions of limit, continuity, and convergence purged of appeals to infinitesimals or geometric intuition. His students, including Sofia Kovalevskaya (one of the first women to earn a doctorate in mathematics, under his direct supervision) and Georg Cantor, carried this rigor forward. Weierstrass is also famous for constructing a function continuous everywhere but differentiable nowhere, a startling counterexample that only became fully meaningful once continuity itself had been pinned down with the precision this article states.

History
- 1817 — Bernard Bolzano gives an early, largely unnoticed ε\varepsilon-style definition of continuity in a proof of the Intermediate Value Theorem.
- 1821 — Augustin-Louis Cauchy publishes Cours d'Analyse, defining continuity via infinitesimal increments, a major step toward rigor but still tied to intuitive infinitesimals.
- 1850s–1860s — Karl Weierstrass, in Berlin lectures, formulates the modern ε\varepsilon–δ\delta definition of both limit and continuity at a point, purging infinitesimal language.
- 1872 — Weierstrass presents his continuous-but-nowhere-differentiable function, showing continuity alone guarantees far less regularity than intuition suggests.
- 1900s — The ε\varepsilon–δ\delta formulation becomes the standard in analysis textbooks worldwide, cementing the pointwise definition used today.
Why does continuity require aa to be in the domain, but the limit definition does not?

The limit lim⁡x→af(x)\lim_{x\to a} f(x) is fundamentally a statement about the trend of ff's values as xx approaches aa, deliberately excluding x=ax=a via the strict inequality 0<∣x−a∣<δ0<|x-a|<\delta. This lets limits be discussed even when f(a)f(a) is undefined, as with sin⁡xx\frac{\sin x}{x} at x=0x=0. Continuity, by contrast, is a comparison: it asks whether the trend (the limit) matches the actual assigned value f(a)f(a). If f(a)f(a) doesn't exist, there is nothing to compare the limit to, so the question "is ff continuous at aa" is meaningless rather than false. Requiring a∈Da \in D makes the definition well-posed rather than vacuous or undefined.

Can a function be continuous at exactly one point and nowhere else?

Yes. A classic example is f(x)=xf(x) = x if xx is rational and f(x)=0f(x)=0 if xx is irrational, defined on all of R\mathbb{R}. One can show, using the density of both rationals and irrationals in every interval, that ff is continuous only at a=0a=0 and discontinuous at every other point. This demonstrates that continuity truly is a pointwise property — it need not hold uniformly across a domain, and asking "is ff continuous" without specifying a point (or a whole set) is often an incomplete question until the stronger notion in Continuity on Intervals and Sets is invoked.

Is it possible for lim⁡x→af(x)\lim_{x\to a} f(x) to exist while ff is discontinuous at aa?

Yes, and this is precisely the removable discontinuity case worked out in Example 1. The limit existing only guarantees that ff's values near aa settle down to some number LL; it says nothing about f(a)f(a) itself, which is an independent piece of data. If f(a)f(a) happens to be undefined (so a∉Da\notin D) or defined but unequal to LL, continuity fails even though the limit is perfectly well-behaved. This is the single most important distinction this article draws.

Does continuity at a point say anything about differentiability there?

No — continuity is strictly weaker. Every differentiable function is continuous at each point where it is differentiable (a fact usually proved right after continuity is developed, using the definition of the derivative as a limit of difference quotients). But the converse fails dramatically: f(x)=∣x∣f(x)=|x| is continuous at 00 but not differentiable there, and Weierstrass's 1872 function is continuous at every point of R\mathbb{R} yet differentiable at none. Continuity only forbids jumps and gaps in value; it says nothing about the existence of a well-defined tangent slope.

How do you prove a function is discontinuous at a point, using epsilon-delta directly?

To disprove continuity via (B) directly, you must exhibit a single "bad" ε0>0\varepsilon_0>0 for which no δ>0\delta>0 works: for every candidate δ\delta, you exhibit some xx with ∣x−a∣<δ|x-a|<\delta yet ∣f(x)−f(a)∣≥ε0|f(x)-f(a)|\ge \varepsilon_0. This is logically the negation of the quantifier string ∀ε ∃δ ∀x(… )\forall\varepsilon\,\exists\delta\,\forall x(\dots), which becomes ∃ε ∀δ ∃x(… and ∣f(x)−f(a)∣≥ε)\exists \varepsilon\,\forall\delta\,\exists x(\dots \text{ and } |f(x)-f(a)|\ge\varepsilon). In practice this is often easier via the (equivalent, later-developed) Sequential Characterization of Continuity: find one sequence xn→ax_n \to a with f(xn)↛f(a)f(x_n) \not\to f(a).

Is continuity at a point the same as one-sided continuity from the left and right both holding?

Yes, provided aa is a two-sided limit point of the domain (i.e., both sides are represented near aa). In that setting, lim⁡x→af(x)\lim_{x\to a} f(x) exists and equals f(a)f(a) if and only if both one-sided limits exist, are equal to each other, and equal f(a)f(a). If aa is an endpoint of the domain (only one side is present, e.g. aa is the left endpoint of [a,b][a,b]), continuity at aa reduces to the single relevant one-sided limit condition, since the epsilon-delta condition is only ever tested against x∈Dx\in D.

Why do we quantify "for every ε\varepsilon" before "there exists δ\delta", and why does that order matter?

The order encodes who moves first: an adversary picks an arbitrarily tight tolerance ε>0\varepsilon>0 around the target value f(a)f(a), and only afterward do you get to respond with a window size δ\delta (which is allowed, and generally needs, to depend on ε\varepsilon). Reversing the order — "there exists δ\delta such that for every ε\varepsilon..." — would demand a single δ\delta that works uniformly for all tolerances simultaneously, an entirely different and generally false statement (it would force ff to be locally constant). Respecting this quantifier order is essential; swapping it is one of the most common logical errors in first exposure to ε\varepsilon–δ\delta arguments.

Before this

Where this leads