Chapter 05
Continuity
Continuity at a point means the limit exists and equals the function value there. It is the basis for differentiability and for understanding activation and loss functions in deep learning.
Math diagram by chapter
Select a chapter to see its diagram below. View the flow of basic math at a glance.
Left: continuous — the curve passes through with no gap or jump. Right: discontinuous — a hole or jump at that point.
Continuous
lim = f(a)
Discontinuous
f(a) missing or lim ≠ f(a)
Continuity means . On the graph, the curve does not break at that point.
How to read
- Left graph: is continuous at (curve passes through (2, 4) with no break).
- Right graph: if the function value is missing or differs from the limit at , it is discontinuous (hole or jump).
What is continuity?
Continuity at means: as approaches , approaches , and that limit equals . We write . On the graph, the curve does not jump or break at that point.
In plain language: ① is defined, ② exists, and ③ that limit equals . If any of these fails, the function is discontinuous at .
In ε-δ terms: For any small error , you can find a distance so that if is within of , then is within of . Same idea as in the limit chapter, but here the limit must equal .
Differentiable implies continuous. For the derivative (instantaneous rate of change) to exist at a point, the function must have a value there and the limit must match it. So continuity is essential before studying derivatives.
In deep learning, activation functions (ReLU, sigmoid, etc.) and loss functions are usually continuous. When the input changes a little, the output should change smoothly so that gradient descent behaves stably.
In AI, the loss function measures how far the prediction is from the correct answer; it must be continuous so that small improvements lead to small decreases in loss. Activation functions are continuous (or piecewise continuous), so backprop and gradient computation are well-defined.
To check continuity at a point, verify: does exist?, is defined?, and are they equal?
Checklist: ① exists ② exists ③ limit . If any fails, the function is discontinuous at that point.
Example problems and solutions are in the table below.
| Problem | Solution |
|---|---|
| Ex 1. Is continuous at ? | Solution: , ; they match, so continuous. |
| Ex 2. Is continuous at ? | Solution: is not defined → discontinuous. |
| Ex 3. Is continuous at ? | Solution: , ; they match, so continuous. |