Why care about continuity and differentiability?
Ever wondered why a roller‑coaster track feels smooth in some places and jerky in others? That smoothness is exactly what continuity and differentiability tell us about a function's graph.
In simple words, a function is continuous if you can draw its curve without lifting your pencil. It’s differentiable if that curve has a single, well‑defined slope at every point you care about.
Continuity – the no‑gap rule
Continuity means the function doesn’t break, jump, or have a hole at the point you’re looking at. Think of water flowing through a pipe – if the pipe is intact, water moves smoothly. If there’s a crack, the flow stops.
How to test continuity
- Step 1: Make sure the function is actually defined at the point a (you can plug a into the formula).
- Step 2: Find the left‑hand limit – what value the function approaches as x comes from the left.
- Step 3: Find the right‑hand limit – the value as x comes from the right.
- Step 4: If both limits exist and equal the function’s actual value at a, the function is continuous at a.
Differentiability – the smooth slope rule
Differentiability means the function has a single, unambiguous slope (derivative) at the point. Imagine a road that’s perfectly smooth; a car can change direction without jolting. If there’s a corner, the slope jumps and the road isn’t differentiable there.
How to test differentiability
- First, the function must be continuous at the point – you can’t have a slope where there’s a hole.
- Next, compute the limit of the difference quotient \(\lim_{h\to0}\frac{f(a+h)-f(a)}{h}\). If this limit exists (finite), the function is differentiable at a.
Worked example: Piecewise function
Consider
f(x)=\begin{cases} x^2 & \text{if } x
Is it continuous and differentiable at x=1?
Continuity check:
- f(1) = 2·1‑1 = 1.
- Left‑hand limit as x→1⁻: limit of x² = 1.
- Right‑hand limit as x→1⁺: limit of 2x‑1 = 1.
- Both limits equal f(1), so f is continuous at 1.
Differentiability check:
- Derivative from left: d/dx(x²)=2x → at x=1 gives 2.
- Derivative from right: d/dx(2x‑1)=2 → at x=1 also 2.
- Since the left and right derivatives match, f is differentiable at 1.
Quick comparison
| Aspect | Continuity | Differentiability |
|---|---|---|
| What it guarantees | No jumps or holes | Single, well‑defined slope |
| Necessary condition for | — | Continuity (must be continuous first) |
| Typical failure | Jump, removable hole, infinite jump | Sharp corner, cusp, vertical tangent |
| Mathematical test | Limit from both sides equals f(a) | Limit of difference quotient exists |
Flow of checking a point
Common pitfalls
- Assuming continuity automatically means differentiability – corners prove otherwise.
- Skipping the function‑definition step; a point where the formula is undefined can’t be continuous.
- Mixing up left‑hand and right‑hand limits – both must match the actual value.
📝 Likely Exam Questions
- Question: Determine whether \(f(x)=\frac{\sin x}{x}\) is continuous at \(x=0\).
Answer: Define \(f(0)=1\) (limit of sin x/x as x→0). Since left and right limits equal 1 and f(0)=1, the function is continuous. - Question: Find the points where \(g(x)=|x|\) is differentiable.
Answer: g is continuous everywhere but its derivative is \(-1\) for x0. At x=0 the left and right slopes differ, so not differentiable at 0 only. - Question: For \(h(x)=\begin{cases} x^3 & x\le2 \\ 8 & x>2 \end{cases}\), state continuity and differentiability at \(x=2\).
Answer: h(2)=8, left limit =2³=8, right limit =8 → continuous. Left derivative =3·2²=12, right derivative =0 (constant), mismatch → not differentiable. - Question: Explain why a function with a vertical tangent (e.g., \(k(x)=\sqrt[3]{x}\) at \(x=0\)) is continuous but not differentiable there.
Answer: Limits from both sides give the same value, so continuous. The slope tends to infinity, so the derivative does not exist (no finite limit). - Question: State the theorem that links continuity and differentiability on an interval.
Answer: If a function is differentiable on an open interval, then it is continuous on that interval (differentiability ⇒ continuity).