Continuity

Discover the epsilon-delta definition and properties of continuous functions

The Epsilon-Delta Definition

A continuous function has no jumps: nudge the input a little and the output moves a little. These demos make that idea precise and show what it buys you.

The Epsilon-Delta Definition of Continuity

Pick a function and a point a, then shrink epsilon. Watch how small delta must get to keep the graph inside the band.

ε-band (target range for f(x))
δ-interval (input range)
Point (a, f(a))

The ε-δ Definition

f is continuous at a if: for every ε > 0, there exists δ > 0 such that

|x - a| < δ ⟹ |f(x) - f(a)| < ε

If the curve stays within the green ε-band whenever x is in the red δ-interval, then δ works for this ε.

Go deeper:The Epsilon-Delta Definition of Continuity

Continuity captures the intuitive idea that a function has "no jumps" -- small changes in input produce small changes in output. The rigorous epsilon-delta definition states: for every epsilon > 0, there exists delta > 0 such that |x - a| < delta implies |f(x) - f(a)| < epsilon.

Explore the formal definition interactively. Adjust epsilon to see how delta must respond to keep the function values within the target band.

Key insight: The order of quantifiers matters. "For every epsilon there exists delta" means the choice of delta can depend on epsilon (and on the point), but epsilon is chosen first by an adversary.

Types of Discontinuities

Select a removable, jump, infinite, or essential discontinuity, and turn on the limit lines to compare the left and right limits.

At x = 1:

Left limit: 2

Right limit: 2

f(1): undefined

Removable Discontinuity

The limit exists but f(a) is undefined or ≠ limit. Can be "fixed" by redefining f(a).

This function: Removable discontinuity at x = 1 (equals x + 1 elsewhere)

Types of Discontinuities

  • Removable: A "hole" that can be filled by redefining f(a)
  • Jump: Function "jumps" between two different values
  • Infinite: Function blows up to ±∞ (vertical asymptote)
  • Essential: Wild behavior (oscillation) with no limit
Go deeper:Types of Discontinuities

Not all discontinuities are created equal. Explore removable, jump, infinite, and essential discontinuities with visual examples. Understanding the classification helps determine which functions remain integrable.

Key insight: Removable and jump discontinuities are "tame" -- the function has well-defined one-sided limits. Essential discontinuities like sin(1/x) near zero are genuinely wild, with no limit at all.

Intermediate Value Theorem

Choose a function and interval, then press Step or Play to run bisection. Each halving keeps the crossing point trapped.

a:
b:

✓ IVT applies: f(a) and f(b) are on opposite sides of the target!

Intermediate Value Theorem (IVT)

If f is continuous on [a, b] and y is any value between f(a) and f(b), then there exists some c ∈ (a, b) such that f(c) = y.

The bisection method exploits this: repeatedly halve the interval, keeping the half where the sign change occurs.

Go deeper:Intermediate Value Theorem

If a continuous function takes values f(a) and f(b) at the endpoints of an interval, it must take every value between them. Watch the bisection method find roots using this principle.

Key insight: The IVT requires both continuity and completeness of the real numbers. It fails for continuous functions on the rationals, showing again that completeness is essential.

Uniform vs Pointwise Continuity

Move the sample point and watch delta change. Compare 1/x near 0, where delta collapses, with the functions on closed intervals, where one delta works everywhere.

Uniform Continuity Satisfied

The same δ = 0.3030 works for all points in the interval.

Pointwise vs Uniform Continuity

Pointwise continuity: For each point x and ε > 0, ∃ δ > 0 (δ may depend on both x and ε)

Uniform continuity: For each ε > 0, ∃ δ > 0 that works for ALL points (δ depends only on ε, not on x)

Key theorem: A continuous function on a closed bounded interval [a, b] is always uniformly continuous.

Go deeper:Uniform vs Pointwise Continuity

Pointwise continuity allows delta to depend on the point x. Uniform continuity requires the same delta to work everywhere. Compare these concepts visually and see why uniform continuity is automatic on closed bounded intervals.

Key insight: The Heine-Cantor theorem guarantees that every continuous function on a closed bounded interval is uniformly continuous. This upgrades pointwise control to global control, essential for proving integrability.

Extreme Value Theorem

Pick a function and drag the interval endpoints. The maximum and minimum are always reached somewhere in [a, b].

a:
b:
Maximum: f(-2.000) = 4.0000
Minimum: f(0.004) = 0.0000

Extreme Value Theorem (EVT)

If f is continuous on a closed bounded interval [a, b], then f attains both a maximum and minimum value on that interval.

That is, there exist points c, d ∈ [a, b] such that:

f(c) ≤ f(x) ≤ f(d) for all x ∈ [a, b]

Key insight: The function must be continuous on a closed and bounded interval. Open intervals or discontinuous functions may fail to attain extrema.

Go deeper:Extreme Value Theorem

A continuous function on a closed bounded interval always attains its maximum and minimum values. Both closedness and boundedness of the interval are essential -- removing either hypothesis allows the conclusion to fail.

Key insight: The EVT follows from the Bolzano-Weierstrass theorem applied to a maximizing sequence. It guarantees that optimization problems on compact domains always have solutions.

Key Takeaways

  • For every epsilon there is a delta: nearby inputs give nearby outputs.
  • A continuous function on an interval hits every value in between.
  • On a closed bounded interval, one delta works everywhere.
  • On a closed bounded interval, a continuous function attains its max and min.

Spot a mistake or have an idea?

Search