Understand when functions behave "nicely" and classify when they don't.
Let be defined on an interval containing . We say is continuous at if:
Equivalently:
is continuous at iff it's both left and right continuous there.
means is continuous at every point of interval . At endpoints, we require one-sided continuity.
Prove is continuous at .
Proof: We need:
Scratch work:
We want 3|x - 1| < ε, so |x - 1| < ε/3.
Formal proof: Given ε > 0, let δ = ε/3. Then:
Prove is continuous at .
Scratch work:
Near x = 2, say |x - 2| < 1, we have 1 < x < 3, so |x + 2| < 5.
Formal proof: Given ε > 0, let δ = min(1, ε/5). For |x - 2| < δ:
A function is continuous at x₀ if:
Graphically: you can draw the function without lifting your pen.
is continuous at if and only if:
This is often easier to use for proving discontinuity: find a sequence approaching x₀ where f(xₙ) doesn't approach f(x₀).
exists, but ≠ (or undefined)
Example: at
Both and exist, but are unequal
Example: at
At least one one-sided limit doesn't exist (infinite or oscillating)
Example: at , or at
For :
is undefined at , but .
Define to "remove" the discontinuity.
The Heaviside step function :
,
Jump of magnitude .
at :
Neither nor exists (infinite oscillation).
at :
Both limits are infinite, so this is an essential (second kind) discontinuity.
Classify discontinuities of:
At x = 0:
Conclusion: Removable discontinuity at x = 0.
The Dirichlet function:
Claim: D(x) is discontinuous at every point.
Proof: For any x₀ and any neighborhood, there exist both rationals and irrationals arbitrarily close to x₀. So D takes values 0 and 1 arbitrarily close to x₀, meaning no limit exists.
Every point is an essential discontinuity!
First Kind (Removable or Jump): Both one-sided limits exist (and are finite).
Second Kind (Essential): At least one one-sided limit is infinite or doesn't exist.
First kind discontinuities are "mild"—the function has a definite behavior on each side. Second kind discontinuities are "wild."
At a jump discontinuity x₀, the jump is defined as:
The sign indicates direction: positive = jump up, negative = jump down.
If are continuous at , then so are:
If is continuous at and is continuous at , then is continuous at :
For continuous : . Very useful!
Proof of Sum Rule:
Let f, g be continuous at x₀. We show f + g is continuous at x₀.
Given ε > 0. Since f is continuous at x₀, ∃δ₁ > 0: |x - x₀| < δ₁ ⟹ |f(x) - f(x₀)| < ε/2.
Since g is continuous at x₀, ∃δ₂ > 0: |x - x₀| < δ₂ ⟹ |g(x) - g(x₀)| < ε/2.
Let δ = min(δ₁, δ₂). For |x - x₀| < δ:
Thus f + g is continuous at x₀. ∎
Proof of Product Rule:
Let f, g be continuous at x₀. We show fg is continuous at x₀.
Key trick: Add and subtract f(x)g(x₀):
Since f is continuous at x₀, f is locally bounded: ∃M > 0, ∃δ₀ > 0: |x - x₀| < δ₀ ⟹ |f(x)| ≤ M.
Given ε > 0:
Let δ = min(δ₀, δ₁, δ₂). The result follows. ∎
Show is continuous at x = 1.
Solution:
By the product and quotient rules, f is continuous at x = 1.
Indeed:
The quotient f/g is continuous only where g ≠ 0.
Example: is continuous on (-∞, 1) ∪ (1, ∞), but not at x = 1.
Always check the denominator before claiming a quotient is continuous!
If:
Then:
Proof of Composition Theorem:
Given ε > 0. Since f is continuous at L:
Since g(x) → L as x → x₀:
Combining: 0 < |x - x₀| < δ ⟹ |g(x) - L| < η ⟹ |f(g(x)) - f(L)| < ε. ∎
Find .
Solution:
By composition:
The following are continuous on their natural domains:
Claim: () is continuous at every .
Proof sketch:
For , is the inverse of .
Natural log: .
Prove sin x is continuous at every x₀ ∈ ℝ.
Proof: Using the identity:
Since |cos(·)| ≤ 1 and |sin(θ)| ≤ |θ|:
Given ε > 0, let δ = ε. Then |x - x₀| < δ ⟹ |sin x - sin x₀| < ε. ∎
If f is continuous and strictly monotone on interval I, then f⁻¹ is continuous on f(I).
Application: Since eˣ is continuous and strictly increasing on ℝ, ln x is continuous on (0, ∞).
Similarly, since sin x is strictly increasing on [-π/2, π/2], arcsin x is continuous on [-1, 1].
Find all points where is continuous.
Solution: Factor:
Denominator = 0 when x = 2 or x = 3.
At x = 2:
Limit exists but f(2) undefined → Removable discontinuity
At x = 3: DNE (infinite)
→ Essential discontinuity
Continuous on: (-∞, 2) ∪ (2, 3) ∪ (3, ∞)
Find c so that is continuous.
Solution: For continuity at x = 1:
Analyze continuity of:
At x = 0:
→ Continuous at x = 0!
At x ≠ 0: sin x/x is a ratio of continuous functions with non-zero denominator → continuous.
Conclusion: g is continuous on all of ℝ.
The "popcorn function":
Remarkable fact:
Why? Near any x₀, rationals p/q with large q have T(p/q) = 1/q ≈ 0 ≈ T(x₀) if x₀ is irrational.
Show with f(0) = 0 is continuous at 0.
Solution: For x ≠ 0:
Given ε > 0, let δ = √ε. Then |x| < δ ⟹ |f(x)| ≤ x² < ε. ∎
Wrong: "lim f(x) = 3 as x → 2, so f is continuous at 2."
Right: Must also verify f(2) = 3. If f(2) is undefined or ≠ 3, there's a discontinuity.
Wrong: "f/g is continuous because f and g are."
Right: f/g is continuous only where g ≠ 0.
Wrong: "The limit is infinite, so it's a jump discontinuity."
Right: Infinite limits indicate essential (second kind) discontinuity. Jump requires both one-sided limits to be finite.
Wrong: "ln(x²) is continuous on ℝ because x² > 0."
Right: x² = 0 at x = 0, so ln(x²) is only continuous on (-∞, 0) ∪ (0, ∞).
Classify discontinuities of
(Answer: Jump at x = 0)
Classify discontinuities of
(Answer: Removable at x = 0, essential at x = nπ, n ≠ 0)
Classify discontinuities of (floor function)
(Answer: Jump at every integer)
Find a, b so is continuous and differentiable at x = 0.
(Answer: a = 0, b = 1)
Find c so is continuous.
(Answer: c = 1)
Prove |x| is continuous at every x₀ ∈ ℝ.
Proof: Using the reverse triangle inequality:
Given ε > 0, let δ = ε. Then:
Prove √x is continuous at every x₀ > 0.
Proof: For x, x₀ > 0:
Given ε > 0, let δ = ε√x₀. Then |x - x₀| < δ implies:
Show √x is right-continuous at x = 0.
Proof: Need: |√x - 0| < ε when 0 ≤ x < δ.
|√x| < ε ⟺ x < ε²
Let δ = ε². Then 0 ≤ x < δ ⟹ √x < √δ = ε. ∎
Prove eˣ is continuous at every x₀ ∈ ℝ.
Proof:
We use: for |h| < 1, |eʰ - 1| ≤ 2|h|.
Given ε > 0, let δ = min(1, ε/(2e^{x₀})). Then:
Find all points of continuity for .
Solution: Factor:
At x = 2:
→ Removable discontinuity
At x = -2: Limit is ∞ → Essential discontinuity
Continuous on: ℝ \ {-2, 2}
Show tan x is continuous at x = 0.
Solution: tan x = sin x / cos x
By quotient rule, tan x is continuous at 0.
tan(0) = sin(0)/cos(0) = 0/1 = 0 ✓
Show is continuous on ℝ.
Solution:
Therefore e^{sin x} is continuous on ℝ.
Show is continuous on ℝ.
Solution: Break down the composition:
Analyze continuity of:
At x = -1:
All equal → Continuous at x = -1
At x = 2:
Left ≠ Right → Jump discontinuity at x = 2
Define:
Claim: f is continuous only at x = 0.
At x = 0: For any sequence xₙ → 0, |f(xₙ)| ≤ |xₙ| → 0 = f(0). ✓
At x ≠ 0: Take rational sequence rₙ → x₀ and irrational sequence iₙ → x₀.
f(rₙ) = rₙ → x₀, but f(iₙ) = 0 → 0 ≠ x₀. Discontinuous.
∀x₀ ∀ε > 0 ∃δ > 0: |x - x₀| < δ ⟹ |f(x) - f(x₀)| < ε
δ can depend on both ε AND x₀.
∀ε > 0 ∃δ > 0 ∀x₀: |x - x₀| < δ ⟹ |f(x) - f(x₀)| < ε
Same δ works for ALL x₀. Much stronger!
Heine-Cantor Theorem: Every continuous function on a closed bounded interval [a, b] is uniformly continuous.
This powerful result connects pointwise and uniform continuity on compact sets.
Analyze continuity of at x = 0.
(Hint: Use Taylor expansion or L'Hôpital)
Show where D is Dirichlet function is continuous only at x = 0.
Find all c such that is continuous.
(Answer: c = 3)
Prove: If f is continuous and f(x) = 0 for all rational x, then f ≡ 0.
Show has jump discontinuities.
If f is continuous at x₀, then |f| is continuous at x₀. (True)
If |f| is continuous at x₀, then f is continuous at x₀. (False)
If f² is continuous at x₀, then f is continuous at x₀. (False)
If f + g is continuous, both f and g are continuous. (False)
A function with only jump discontinuities is bounded on [a,b]. (True)
If f is continuous at x₀, then f is bounded on some neighborhood of x₀.
Proof:
Let ε = 1. Since f is continuous at x₀, ∃δ > 0:
This means |f(x)| < |f(x₀)| + 1 for all x ∈ (x₀ - δ, x₀ + δ).
So f is bounded by M = |f(x₀)| + 1 on this neighborhood. ∎
If f is continuous at x₀, then |f| is continuous at x₀.
Proof:
By the reverse triangle inequality:
Given ε > 0. Since f is continuous at x₀, ∃δ > 0: |x - x₀| < δ ⟹ |f(x) - f(x₀)| < ε.
Then: |x - x₀| < δ ⟹ ||f(x)| - |f(x₀)|| ≤ |f(x) - f(x₀)| < ε. ∎
If f, g are continuous at x₀, then max(f, g) and min(f, g) are continuous at x₀.
Proof:
Use the identities:
Since f, g are continuous, so is f - g (sum rule).
Since f - g is continuous, so is |f - g| (absolute value rule).
Since f + g and |f - g| are continuous, so is their sum and quotient by 2. ∎
Show f(x) = max(x, x²) is continuous on ℝ.
Solution:
Note: max(x, x²) = x² for x ≤ 0 or x ≥ 1, and = x for 0 < x < 1.
If f is continuous at x₀ and f(x₀) > 0, then ∃δ > 0: f(x) > 0 for all x ∈ (x₀ - δ, x₀ + δ).
Proof:
Let ε = f(x₀)/2 > 0. Since f is continuous at x₀:
This means:
In particular, f(x) > f(x₀)/2 > 0. ∎
If f is continuous at x₀ and f(x₀) < 0, then f(x) < 0 in some neighborhood of x₀.
Analyze continuity of .
Solution:
Compare continuity at x = 0 for:
f(x): lim DNE (oscillates) → Essential discontinuity at 0
g(x): |g(x)| ≤ |x| → 0. But need to define g(0) = 0. Then continuous.
h(x): |h(x)| ≤ x² → 0 even faster. With h(0) = 0, continuous.
Where is continuous?
Solution: x^{1/3} (cube root) is defined for all x ∈ ℝ.
At x₀ ≠ 0: Use |a - b| = |a³ - b³|/|a² + ab + b²| with a = x^{1/3}, b = x₀^{1/3}.
At x₀ = 0: |x^{1/3}| = |x|^{1/3} → 0 as x → 0.
Conclusion: Continuous on all of ℝ.
Find all points of discontinuity:
At x = -1: f is undefined (denominator = 0)
But lim_{x→-1} (x² - 1)/(x - 1) = lim (x + 1) = 0. → Removable discontinuity
At x = 1:
→ Removable discontinuity at x = 1
Show f(x) = sin(1/x) is discontinuous at x = 0.
Proof: Consider two sequences approaching 0:
Different sequences give different limits (0 ≠ 1).
By sequential criterion, lim_{x→0} sin(1/x) DNE. ∎
If f is continuous on [a, b] and f(a) < c < f(b), then ∃x ∈ (a, b): f(x) = c.
Used to prove existence of roots!
If f is continuous on [a, b], then f attains its maximum and minimum on [a, b].
Fundamental for optimization!
If f is differentiable at x₀, then f is continuous at x₀.
Continuity is necessary for differentiability!
Continuous functions on [a, b] are Riemann integrable.
Enables the Fundamental Theorem of Calculus!
Continuity is the "niceness" condition that enables most of calculus:
| Type | Left Limit | Right Limit | Example |
|---|---|---|---|
| Removable | L (finite) | L (same) | (x²-1)/(x-1) at x=1 |
| Jump | L₁ (finite) | L₂ ≠ L₁ | sgn(x) at x=0 |
| Essential (∞) | ±∞ | ±∞ | 1/x at x=0 |
| Essential (osc) | DNE | DNE | sin(1/x) at x=0 |
| Operation | Condition | Result |
|---|---|---|
| f + g | f, g continuous | Continuous |
| f - g | f, g continuous | Continuous |
| f · g | f, g continuous | Continuous |
| f / g | f, g continuous, g ≠ 0 | Continuous |
| g ∘ f | f cont. at x₀, g cont. at f(x₀) | Continuous |
| |f| | f continuous | Continuous |
| max(f,g), min(f,g) | f, g continuous | Continuous |
In CALC-3.4, we'll explore powerful theorems about continuous functions:
The rigorous definition of continuity was developed in the 19th century:
These definitions resolved paradoxes about "continuous" curves and made calculus rigorous.
No jumps, no gaps, no holes. You can draw the graph without lifting your pen. Small changes in x produce small changes in f(x).
Removable discontinuities are 'fixable'—just redefine f(x₀). Jump discontinuities appear in step functions. Essential discontinuities show 'wild' behavior.
Yes, on their natural domains. Polynomials, exponentials, logs, trig functions, and their compositions are continuous where defined.