Continuity of a Function
The Intuition: Drawing Without Lifting the Pen
Imagine you are drawing the graph of a function on a piece of paper. If you can trace the entire curve without lifting your pen from the paper, the function is continuous. Every time you have to lift the pen — because the graph jumps, breaks, or has a hole — the function is discontinuous at that point.
That is the visual idea. A continuous function has no sudden leaps, no gaps, no punctures. Its output changes smoothly as its input changes.
Consider a simple example: f(x)=x2. As x moves from 1 to 2, the output moves from 1 to 4, passing through every value in between. No jump, no missing point. You can draw it in one stroke.
Now contrast that with a function like:
f(x)={x25if x=1if x=1
At x=1, the graph has a single isolated point at height 5, while the rest of the curve approaches height 1. To draw this, you would trace the parabola, then lift your pen to place a dot at (1,5). That lift is the discontinuity.
The Problem with Intuition Alone
"Drawing without lifting the pen" works for simple functions, but it fails for strange ones. Some functions are continuous yet impossible to draw (like the Weierstrass function, which is continuous but has no smooth tangent anywhere). More practically, the pen-lifting test is not a mathematical definition — it cannot tell you exactly what "no break" means at a single point.
We need a precise, point-by-point definition.
The Precise Definition: The Three-Part Test
A function f(x) is said to be continuous at a point x=a if and only if all three of the following conditions hold:
- f(a) is defined. The function must have a value at x=a. No holes.
- limx→af(x) exists. As x gets arbitrarily close to a from either side, the function's values must approach a single finite number.
- limx→af(x)=f(a). The limit must equal the actual function value. The point must sit exactly where the surrounding curve is heading.
If any one of these fails, the function is discontinuous at x=a.
Condition 3 is the heart of continuity. It says: "What the function should be (the limit) is exactly what it is (the value)." No surprises.
Why the Limit Matters
The limit captures the trend of the function near a, ignoring what happens exactly at a. Continuity demands that this trend matches the actual point. This is why the earlier piecewise function fails: the limit as x→1 is 1, but f(1)=5, so condition 3 is violated.
A Worked Example
Test whether f(x)=x−1x2−1 is continuous at x=1.
Step 1: Is f(1) defined? …