A topic in the Open Knowledge Graph — a free, open map of 15,495 topics and the order to learn them in.

Uniform Continuity on Compact Sets

Graduate Depth 90 in the knowledge graph ☐ I know this ☆ Set as goal
18topics build on this
366prerequisites beneath it
See this on the map →
Compact SetsUniform Continuity+1 more→→Compact Sets and the Heine-Borel Theorem
uniform-continuity compact compactness

Core Idea

Every continuous function on a compact set is uniformly continuous. This is a theorem with profound implications: on [a,b], all continuous functions are uniformly continuous, justifying the integral's existence. The proof uses compactness via contradiction: a failure of uniform continuity produces pairs of points that get closer while their images stay ε apart; Bolzano-Weierstrass gives a convergent subsequence, and continuity at its limit gives a contradiction.

How It's Best Learned

Run the contradiction proof on two failures and find the step that breaks. For 1/x on (0, 1), take xₙ = 1/n and yₙ = 1/(n+1) for n ≥ 2: the gap shrinks, the outputs differ by 1, and the limit 0 lies outside the domain. For x² on [0, ∞), take xₙ = n and yₙ = n + 1/n: the outputs differ by more than 2, and (xₙ) has no convergent subsequence at all.

Common Misconceptions

Explainer

You've already wrestled with the difference between pointwise and uniform continuity. Recall the distinction: pointwise continuity says that for each point x and each ε > 0, you can find a δ that works *at x*; but δ can depend on x, so it might shrink to zero as x moves. Uniform continuity demands one δ that works simultaneously *everywhere* on the domain. The function f(x) = 1/x on (0, 1) is continuous at every point but not uniformly continuous — as x approaches 0, you need ever-tinier δ to keep the function within ε.

The key theorem connects uniform continuity to compactness: if f is continuous on a compact set K, then f is uniformly continuous on K. On a closed bounded interval [a, b] — compact by Heine-Borel — every continuous function automatically gets the stronger uniform continuity property for free. The intuition is that compactness prevents the "runaway" behavior that destroys uniform continuity. On (0, 1), the trouble is that the endpoint 0 is missing; sequences approaching 0 have no limit *inside* the domain. On [0, 1], that endpoint is included, so every sequence has its limit inside the set, and the function's behavior at the limit controls the behavior nearby.

The formal proof works by contradiction. Suppose f is continuous on compact K but not uniformly continuous. Then there exists ε > 0 such that for every δ > 0, there exist points xₙ, yₙ with |xₙ − yₙ| < 1/n yet |f(xₙ) − f(yₙ)| ≥ ε. This gives a sequence (xₙ) in K. Because K is compact (equivalently, because K is closed and bounded by Heine-Borel), Bolzano-Weierstrass guarantees a convergent subsequence x_{nₖ} → p ∈ K. The corresponding y_{nₖ} also converges to p (since |xₙ − yₙ| → 0). But then continuity of f at p forces f(x_{nₖ}) → f(p) and f(y_{nₖ}) → f(p), making |f(x_{nₖ}) − f(y_{nₖ})| → 0 — contradicting that it stays ≥ ε. Compactness is what gives you the convergent subsequence; without it, the argument collapses.

The theorem's payoff reaches across analysis. The Riemann integral's definition requires that continuous functions on [a, b] can be uniformly approximated by step functions — which is exactly what uniform continuity guarantees. Without this theorem, the integral's existence for continuous functions would require a much more painful argument. Whenever you see a theorem that works on closed bounded intervals but fails on open ones, compactness is usually the invisible reason.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Combining Small Groups Within 5 → Number Bonds Within 5 → Number Bonds to 10 → Tens and Ones Place Value → Reading and Writing Three-Digit Numbers → Comparing Three-Digit Numbers → Comparing and Ordering Three-Digit Quantities → Comparing and Ordering Whole Numbers → Comparing Numbers 1 to 20 → Ordering Numbers to 20 → Number Line 0 to 20 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Opposites and Additive Inverses → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Literal Equations → Slope-Intercept Form → Point-Slope Form → Writing Linear Equations → Parallel and Perpendicular Line Slopes → Graphing Linear Equations → Graphing Quadratic Functions → Vertex Form of Quadratic Functions → The Quadratic Formula → The Discriminant → Complex Numbers Introduction → Operations with Complex Numbers → Solving Quadratic Equations by Completing the Square → Quadratic Formula Review and Applications → Graphing Quadratic Functions: Vertex and Intercepts → Quadratic Inequalities → Polynomial Functions: Degree and Leading Coefficient → Weierstrass Approximation Theorem → Bolzano-Weierstrass Theorem → Heine-Borel Theorem → Uniform Continuity on Compact Sets

Longest path: 91 steps · 366 total prerequisite topics

Prerequisites (3)

Leads To (1)