The powerful consequences of continuity on closed intervals.
If , then is bounded on :
Suppose is unbounded. Then , with .
By Bolzano-Weierstrass, has a convergent subsequence .
Since is continuous at : .
But , contradiction. ∎
The closed interval [a, b] is crucial. Consider these counterexamples:
Key: [a, b] is compact, which forces boundedness.
Show f(x) = sin(x)/x on [1, 10] is bounded.
Solution:
Thus |f(x)| ≤ 1 for all x ∈ [1, 10].
The Boundedness Theorem is actually a special case of:
Continuous images of compact sets are compact.
Since [a, b] is compact (closed and bounded in ℝ), and compact sets in ℝ are bounded, f([a, b]) is bounded.
If , then attains its maximum and minimum on :
Let (exists by boundedness).
, with .
By Bolzano-Weierstrass, subsequence .
By continuity: . ∎
Problem: Show has a maximum on .
is a polynomial, hence continuous on .
By EVT, attains its max. Check: , , , .
Max = 3 at and .
On : has but never attains it!
Find the maximum and minimum of f(x) = x³ - 6x² + 9x + 1 on [0, 4].
Solution: By EVT, max and min exist. To find them:
Step 1: f'(x) = 3x² - 12x + 9 = 3(x - 1)(x - 3)
Step 2: Critical points: x = 1, x = 3 (both in [0, 4])
Step 3: Evaluate at critical points and endpoints:
Maximum = 5 at x = 1 and x = 4; Minimum = 1 at x = 0 and x = 3.
Show f(x) = x + sin(x) attains its maximum on [0, 2π].
Solution:
Maximum = f(2π) = 2π at x = 2π.
EVT is fundamental for:
Without EVT, we couldn't be sure that optimization problems have solutions!
If f ∈ C[a, b], then f([a, b]) = [m, M] where m = min f and M = max f.
Proof:
By EVT, ∃x_m, x_M ∈ [a,b] with f(x_m) = m, f(x_M) = M.
For any y ∈ [m, M], y is between f(x_m) and f(x_M).
By IVT, ∃c between x_m and x_M with f(c) = y.
Thus every y ∈ [m, M] is in the range of f. ∎
If and is between and , then:
If and (opposite signs), then:
WLOG . Let .
If , done. If , apply to . If , apply to .
Get nested intervals with .
By completeness, . By continuity, and , so . ∎
Problem: Show has a root in .
Let . Then and .
By Bolzano's theorem, with .
If is continuous, then has a fixed point:
Proof: Apply IVT to . Since and ...
Prove that eˣ = 2 - x has a solution in (0, 1).
Solution: Let f(x) = eˣ - 2 + x.
By Bolzano's theorem, ∃c ∈ (0, 1) with f(c) = 0, i.e., e^c = 2 - c. ∎
Prove every positive real number has a unique positive n-th root.
Proof of Existence: Let a > 0 and consider f(x) = xⁿ - a on [0, max(1, a)].
By IVT, ∃c > 0 with cⁿ = a. (Uniqueness follows from strict monotonicity.)
Show that f(x) = x² - 2 takes all values between f(0) = -2 and f(2) = 2 on [0, 2].
Solution: f is continuous on [0, 2], so by IVT:
For any y ∈ [-2, 2], ∃c ∈ [0, 2] with f(c) = y.
This proves existence of √2: take y = 0, then c² = 2, so c = √2 ≈ 1.414.
IVT provides a root-finding algorithm:
Convergence: After n iterations, error ≤ (b - a)/2ⁿ.
IVT only says a value IS attained, not how many times.
Example: f(x) = sin x on [0, 4π] takes the value 0 at x = 0, π, 2π, 3π, 4π.
is uniformly continuous on if:
Key: the same works for ALL in .
Uniform continuity ⟹ continuity, but not conversely.
Claim: is NOT uniformly continuous on .
Take . For any , let , .
Then , but:
If , then is uniformly continuous on .
Suppose not. Then such that , with but .
Take . Get sequences with but .
By Bolzano-Weierstrass, . Then too.
By continuity: and , so . Contradiction! ∎
If for some (Lipschitz), then is uniformly continuous.
Show f(x) = sin x is uniformly continuous on ℝ.
Solution: By Mean Value Theorem:
So sin x is Lipschitz with L = 1, hence uniformly continuous on ℝ.
Given ε > 0, take δ = ε. Then |x - y| < δ ⟹ |sin x - sin y| < ε.
Show f(x) = x² is NOT uniformly continuous on ℝ.
Proof: Take ε₀ = 1. For any δ > 0, choose n such that n > 1/(2δ).
Let x = n and y = n + δ/2. Then |x - y| = δ/2 < δ, but:
Actually, the correct calculation: |x² - y²| = (2n + δ/2)(δ/2) > nδ > 1.
So no single δ works for all x. Not uniformly continuous. ∎
Show f(x) = x² IS uniformly continuous on [0, 10].
Solution 1: f is continuous on the closed interval [0, 10].
By Heine-Cantor theorem, f is uniformly continuous on [0, 10]. ∎
Solution 2 (direct): For x, y ∈ [0, 10]:
Given ε > 0, take δ = ε/20. Then |x - y| < δ ⟹ |x² - y²| < ε. ∎
f is NOT uniformly continuous on D if:
Equivalently: there exist sequences xₙ, yₙ with |xₙ - yₙ| → 0 but |f(xₙ) - f(yₙ)| ≥ ε₀.
f is uniformly continuous on D if and only if:
For any sequences (xₙ), (yₙ) in D with |xₙ - yₙ| → 0, we have |f(xₙ) - f(yₙ)| → 0.
Show √x is uniformly continuous on [0, ∞).
Proof: For x, y ≥ 0:
(Using √x + √y ≥ √|x - y| when |x - y| is small.)
Given ε > 0, take δ = ε². Then |x - y| < δ ⟹ |√x - √y| ≤ √δ = ε. ∎
Uniformly continuous:
NOT uniformly continuous:
Show the equation x'(t) = f(t, x) with f continuous has local solutions.
Picard-Lindelöf Theorem (idea):
IVT and fixed point arguments guarantee existence of solutions for ODEs with continuous right-hand sides.
This is fundamental to the theory of differential equations!
Prove existence of market equilibrium.
Setup: Demand D(p) and Supply S(p) are continuous functions of price p.
If D(p₁) > S(p₁) and D(p₂) < S(p₂) (excess demand changes sign), then by IVT:
∃p* ∈ (p₁, p₂) with D(p*) = S(p*) (market clearing price).
A circular wire has temperature T(θ) continuous in θ ∈ [0, 2π]. Show there exist diametrically opposite points with the same temperature.
Solution: Define f(θ) = T(θ) - T(θ + π) for θ ∈ [0, π].
If f(0) = 0, done. Otherwise, f(0) and f(π) have opposite signs.
By IVT, ∃θ₀ ∈ (0, π) with f(θ₀) = 0, i.e., T(θ₀) = T(θ₀ + π). ∎
If f: S¹ → ℝ is continuous (S¹ = unit circle), then there exist antipodal points x, -x with f(x) = f(-x).
Show x⁵ + x - 1 = 0 has a root in (0, 1).
(Hint: f(0) = -1, f(1) = 1)
Show cos x = x has a solution in (0, π/2).
(Hint: Consider g(x) = cos x - x)
Prove that x³ - 3x + 1 = 0 has exactly three real roots.
(Hint: Check signs at -2, -1, 0, 1, 2)
Find max and min of f(x) = x³ - 3x on [-2, 2].
(Answer: max = 2 at x = -1 and x = 2, min = -2 at x = 1 and x = -2)
Show f(x) = xeˣ attains a minimum on [-1, 1].
Why doesn't f(x) = 1/(x² + 1) attain its infimum on ℝ?
(Hint: It does! inf = 0 but this is attained only "at infinity")
Show f(x) = x³ is uniformly continuous on [-1, 1] but not on ℝ.
Prove cos x is uniformly continuous on ℝ.
(Hint: Lipschitz with L = 1)
Is f(x) = x sin(1/x) (f(0) = 0) uniformly continuous on [0, 1]?
(Answer: Yes, by Heine-Cantor)
Wrong: "f(x) = x is continuous on (0, 1), so it attains its max."
Right: EVT requires a closed interval. f(x) = x on (0, 1) has sup = 1 but doesn't attain it.
Wrong: "By IVT, the root is c = ..."
Right: IVT only proves existence. It doesn't tell you the value of c.
Wrong: "f is continuous, so it's uniformly continuous."
Right: Continuity ≠ uniform continuity (except on closed bounded intervals).
Wrong: "f is continuous on [0, ∞), so it's bounded."
Right: Boundedness theorem requires a closed bounded interval [a, b]. [0, ∞) is not bounded!
Let f ∈ C[0, 1] with f(0) = f(1). Show f attains its maximum at least twice or its minimum at least twice.
Proof: By EVT, f attains max M at some x_M and min m at some x_m.
Case 1: f(0) = f(1) = M. Then max attained at two points.
Case 2: f(0) = f(1) = m. Then min attained at two points.
Case 3: m < f(0) = f(1) < M. Then x_M, x_m ∈ (0, 1).
So max and min are both attained in the interior. Since f(0) = f(1), at least one extreme value is attained at least twice. ∎
Show f(x) = x³ - x is surjective (onto) from ℝ to ℝ.
Proof: We need to show every y ∈ ℝ is in the range of f.
f is continuous on ℝ. As x → +∞, f(x) → +∞. As x → -∞, f(x) → -∞.
For any y ∈ ℝ, choose a large enough so f(-a) < y and f(a) > y.
By IVT on [-a, a], ∃c with f(c) = y. ∎
Let f: [0, 2] → [0, 2] be continuous. Prove f has a fixed point.
Proof: Define g(x) = f(x) - x on [0, 2].
By IVT, ∃c ∈ [0, 2] with g(c) = 0, i.e., f(c) = c. ∎
Show every polynomial of odd degree has at least one real root.
Proof: Let p(x) = xⁿ + aₙ₋₁xⁿ⁻¹ + ... + a₀ with n odd.
As x → +∞, p(x) → +∞ (dominated by xⁿ > 0).
As x → -∞, p(x) → -∞ (since n is odd, xⁿ → -∞).
For large enough |a|, p(a) > 0 and p(-a) < 0.
By IVT on [-a, a], ∃c with p(c) = 0. ∎
Prove directly that f(x) = x² is uniformly continuous on [0, 5].
Proof: For x, y ∈ [0, 5]:
Given ε > 0, choose δ = ε/10.
Then |x - y| < δ ⟹ |x² - y²| < 10δ = ε. ∎
Prove f(x) = eˣ is NOT uniformly continuous on ℝ.
Proof: Take ε₀ = 1. For any δ > 0:
Let xₙ = n and yₙ = n + δ/2. Then |xₙ - yₙ| = δ/2 < δ.
As n → ∞, this → ∞ > ε₀. So no single δ works. ∎
Let f be uniformly continuous on (a, b). Show f can be extended to a continuous function on [a, b].
Key idea: For any sequence xₙ → a⁺, the uniform continuity implies (f(xₙ)) is Cauchy.
By completeness of ℝ, lim f(xₙ) exists. Call it f(a).
This limit is independent of the sequence choice (also by uniform continuity).
Similarly define f(b). The extended function is continuous on [a, b]. ∎
Let f: [0, 1] → [0, 1] be continuous with |f(x) - f(y)| < |x - y| for x ≠ y. Show f has a unique fixed point.
Existence: By Brouwer fixed point theorem (or IVT argument).
Uniqueness: Suppose f(c₁) = c₁ and f(c₂) = c₂ with c₁ ≠ c₂.
Then |f(c₁) - f(c₂)| = |c₁ - c₂| < |c₁ - c₂|. Contradiction! ∎
If f ∈ C[a, b] and f(a) < k < f(b), then ∃c ∈ (a, b) with f(c) = k.
Complete Proof using Nested Intervals:
Step 1: Define S = {x ∈ [a, b] : f(x) < k}. S is non-empty (a ∈ S) and bounded above (by b).
Step 2: Let c = sup S. We claim f(c) = k.
Step 3 (f(c) ≤ k): ∃ sequence xₙ ∈ S with xₙ → c. By continuity, f(c) = lim f(xₙ) ≤ k.
Step 4 (f(c) ≥ k): If c < b, then ∃ sequence yₙ > c with yₙ → c. Since yₙ ∉ S, f(yₙ) ≥ k. By continuity, f(c) ≥ k.
Step 5: If c = b, then f(c) = f(b) > k, contradicting f(c) ≤ k. So c < b.
Combining: f(c) ≤ k and f(c) ≥ k ⟹ f(c) = k. ∎
If f: [a, b] → ℝ is continuous and strictly monotone, then f⁻¹: f([a, b]) → [a, b] is also continuous.
Proof:
WLOG assume f is strictly increasing.
By EVT, f([a, b]) = [f(a), f(b)] (an interval).
f⁻¹ is strictly increasing (preserves order).
To show continuity: Let y₀ ∈ [f(a), f(b)] and let x₀ = f⁻¹(y₀).
Given ε > 0 (small enough so x₀ ± ε ∈ [a, b]), let:
Then |y - y₀| < δ ⟹ |f⁻¹(y) - f⁻¹(y₀)| < ε. ∎
If f: D → ℝ is continuous and D is an interval, then f(D) is also an interval.
This corollary says: continuous images of connected sets are connected.
In ℝ, connected = interval. This is a foundational result in topology.
| Theorem | Hypothesis | Conclusion |
|---|---|---|
| Boundedness | f ∈ C[a, b] | f is bounded |
| EVT | f ∈ C[a, b] | f attains max and min |
| IVT | f ∈ C[a, b], k between f(a), f(b) | ∃c: f(c) = k |
| Bolzano | f ∈ C[a, b], f(a)f(b) < 0 | ∃c: f(c) = 0 |
| Heine-Cantor | f ∈ C[a, b] | f uniformly continuous |
Lipschitz ⟹ Uniform Continuity ⟹ Continuity
But none of these implications reverse in general!
On [a, b]: Continuity ⟺ Uniform Continuity (by Heine-Cantor)
These theorems form the backbone of real analysis and are prerequisites for differentiation, integration, and beyond.
Prove: If f ∈ C[a, b] and f(x) ≥ 0 for all x ∈ [a, b], then either f ≡ 0 or ∫_a^b f(x)dx > 0.
(Hint: Use EVT if f is not identically 0)
Let f ∈ C[0, 1] with f(0) = f(1). Show ∃c ∈ [0, 1/2] with f(c) = f(c + 1/2).
(Hint: Consider g(x) = f(x) - f(x + 1/2))
Prove that if f is uniformly continuous on (a, b), then lim_{x→a⁺} f(x) exists.
(Hint: Use Cauchy criterion)
Show: f Lipschitz on ℝ with L < 1 has exactly one fixed point.
(Hint: Banach fixed point theorem)
A tank holds water at temperature T₁ and is placed in a room at temperature T₂. If T(t) is the water temperature at time t, prove T(t₀) = (T₁ + T₂)/2 for some t₀ > 0.
(Assume T is continuous and approaches T₂)
Show that any continuous function f: [0, 1] → [0, 1] that maps rationals to irrationals must have a fixed point.
Prove: If f ∈ C[a, b] and ∫_a^b f(x)g(x)dx = 0 for all g ∈ C[a, b], then f ≡ 0.
(Hint: Try g = f)
Every continuous function on (0, 1) is bounded. (False)
If f is uniformly continuous on [1, ∞), then f is bounded. (False: f(x) = x)
If f ∈ C[a, b], then f² attains its max on [a, b]. (True)
IVT holds for discontinuous functions. (False)
Uniform continuity implies Lipschitz. (False: √x)
If f' is bounded on (a, b), then f is uniformly continuous on (a, b). (True)
Show that x⁵ - 5x + 3 = 0 has exactly three real roots.
Solution: Let f(x) = x⁵ - 5x + 3.
Finding sign changes:
Why exactly 3? f'(x) = 5x⁴ - 5 = 5(x⁴ - 1) = 0 at x = ±1.
f has only 2 critical points, so at most 3 roots. Combined with IVT: exactly 3. ∎
A farmer has 100m of fencing. Find the maximum area of a rectangular pen.
Setup: Let x = width. Then length = (100 - 2x)/2 = 50 - x.
Area A(x) = x(50 - x) = 50x - x² for x ∈ [0, 50].
By EVT: A is continuous on [0, 50], so it attains its max.
Finding the max: A'(x) = 50 - 2x = 0 ⟹ x = 25.
A(0) = A(50) = 0, A(25) = 625.
Maximum area = 625 m² with a 25m × 25m square pen.
Let f be uniformly continuous on [0, ∞). Define F(x) = ∫_0^x f(t)dt. Show F is uniformly continuous.
Proof: Given ε > 0. Since f is uniformly continuous:
∃M: |f(t)| ≤ M for all t (not always true! need boundedness).
Actually: If f is uniformly continuous AND bounded by M:
So F is Lipschitz with constant M, hence uniformly continuous. ∎
Let f ∈ C[0, 1] with f(1) = 0. Show lim_{n→∞} ∫_0^1 f(x)xⁿdx = 0.
Proof: By EVT, |f(x)| ≤ M for some M.
Given ε > 0. By continuity at x = 1: ∃δ > 0 with |f(x)| < ε for x ∈ (1-δ, 1].
As n → ∞, first term → 0. So limit ≤ εδ. Since ε arbitrary, limit = 0. ∎
Let f: [0, 1] → [0, 1] with |f(x) - f(y)| ≤ (1/2)|x - y|. Starting from any x₀, show xₙ₊₁ = f(xₙ) converges.
Proof: By fixed point theorem, f has a unique fixed point c.
By induction: |xₙ - c| ≤ (1/2)ⁿ|x₀ - c| → 0.
So xₙ → c (exponentially fast!). ∎
How many solutions does sin x = x/10 have?
Solution: Let f(x) = sin x - x/10.
f(0) = 0, so x = 0 is one solution.
For x ∈ (0, 10]: sin x ≤ 1 and x/10 ∈ (0, 1], so f(x) could be 0.
f(π) = 0 - π/10 < 0, f(π/2) = 1 - π/20 ≈ 0.84 > 0 → root in (π/2, π)
By symmetry and counting sign changes: 7 solutions in [-10, 10].
Let f, g ∈ C[0, 1] with f(0) ≤ g(0) and f(1) ≥ g(1). Show ∃c with f(c) = g(c).
Proof: Define h(x) = f(x) - g(x).
By IVT, ∃c ∈ [0, 1] with h(c) = 0, i.e., f(c) = g(c). ∎
Let f(x) = (eˣ - 1)/x for x ≠ 0. How should we define f(0) to make f continuous?
Solution: We need f(0) = lim_{x→0} (eˣ - 1)/x.
Using L'Hôpital's rule or series expansion:
So define f(0) = 1 for continuity.
Use bisection to find √2 to 2 decimal places.
Setup: f(x) = x² - 2 on [1, 2]. f(1) = -1 < 0, f(2) = 2 > 0.
Iterations:
Result: √2 ≈ 1.41 (actual: 1.4142...)
Show f(x) = √x is Hölder continuous with exponent α = 1/2 on [0, 1].
Definition: f is Hölder(α) if |f(x) - f(y)| ≤ C|x - y|^α.
Proof: For 0 ≤ y ≤ x ≤ 1:
So |√x - √y| ≤ |x - y|^{1/2} with C = 1, α = 1/2. ∎
"If you Value intermediate results, check Three things: continuity, interval, intermediate value."
"Every Valley and Top is reached on a closed interval."
"Heine says Closed intervals give Uniform continuity."
Always verify: Closed, Bounded, Continuous → CBC!
| Statement | Why False | Counterexample |
|---|---|---|
| f ∈ C(a, b) ⟹ bounded | Open interval | f(x) = 1/x on (0, 1) |
| f ∈ C(a, b) ⟹ attains max | Open interval | f(x) = x on (0, 1) |
| Continuous ⟹ Uniformly cont. | Need closed bounded | f(x) = x² on ℝ |
| Uniform cont. ⟹ Lipschitz | Not true in general | f(x) = √x on [0, 1] |
| Uniform cont. ⟹ bounded | Domain matters | f(x) = x on ℝ |
Differentiable with bounded derivative
↓
Lipschitz continuous
↓
Hölder continuous
↓
Uniformly continuous
↓
Continuous
Each level is strictly stronger than the next.
For f ∈ C[a, b]:
You've completed Chapter 3: Function Limits and Continuity! You now understand:
Next: Chapter 4 covers Differentiation, where continuity plays a crucial role!
Remember: Differentiability implies continuity, but not vice versa.
The foundational work in this chapter prepares you for the derivative.
Key insight: Continuous functions on closed bounded intervals are "nice" — bounded, attain extrema, uniformly continuous.
On open intervals, f can 'escape to infinity' near endpoints. Example: f(x) = 1/x on (0,1) is continuous but has no max.
Continuity: for each x₀ and ε, find δ (may depend on x₀). Uniform: for each ε, find δ that works for ALL x simultaneously.
If f(a) and f(b) have opposite signs and f is continuous, there's a root in (a,b). Bisection method repeatedly applies this.