Unit 2.4 – Connecting Differentiability and Continuity
AP® Calculus AB & BC | When Derivatives Do and Do Not Exist
Core Concept: Not every function has a derivative everywhere! Topic 2.4 explores the deep connection between differentiability (having a derivative) and continuity (no breaks). The KEY theorem: Differentiability implies continuity—if a function has a derivative at a point, it MUST be continuous there. BUT the reverse isn't true: continuous functions can fail to have derivatives at corners, cusps, vertical tangents, or discontinuities. Mastering when derivatives exist and when they don't is essential for the AP® exam!
🎯 The Fundamental Theorem
DIFFERENTIABILITY IMPLIES CONTINUITY
If \(f\) is differentiable at \(x = a\), then \(f\) is continuous at \(x = a\)
Symbolic Form:
Contrapositive (Also True):
Plain English: If you can take the derivative at a point, the function must be continuous there. Any break in the function means no derivative at that point!
⚠️ THE CONVERSE IS FALSE!
It is NOT true that: If \(f\) is continuous at \(x = a\), then \(f\) is differentiable at \(x = a\)
Continuity does NOT guarantee differentiability! A function can be continuous but still fail to have a derivative (corners, cusps, vertical tangents).
📝 Visual Summary:
- All differentiable functions are continuous
- Some continuous functions are NOT differentiable
- No discontinuous function is differentiable
Think of it like this: Differentiability is stricter than continuity. You need smoothness (no sharp turns) plus continuity to have a derivative.
📐 Proof: Differentiability Implies Continuity
Formal Proof (AP® Level)
Given: \(f'(a)\) exists
To Prove: \(f\) is continuous at \(x = a\), i.e., \(\lim_{x \to a} f(x) = f(a)\)
Proof:
- We need to show: \(\lim_{x \to a} [f(x) - f(a)] = 0\)
- Multiply and divide by \((x - a)\):
\[ \lim_{x \to a} [f(x) - f(a)] = \lim_{x \to a} \left[\frac{f(x) - f(a)}{x - a} \cdot (x - a)\right] \]
- Use limit properties to separate:
\[ = \left(\lim_{x \to a} \frac{f(x) - f(a)}{x - a}\right) \cdot \left(\lim_{x \to a} (x - a)\right) \]
- Recognize the derivative:
\[ = f'(a) \cdot 0 = 0 \quad \checkmark \]
Therefore: \(\lim_{x \to a} f(x) = f(a)\), so \(f\) is continuous at \(x = a\) ∎
💡 Key Insight: The proof uses the fact that if \(f'(a)\) exists, then \(\lim_{x \to a} \frac{f(x) - f(a)}{x - a}\) exists. Multiplying by \((x - a) \to 0\) gives us zero, which proves continuity. This trick is worth remembering for the AP® exam!
❌ Four Cases Where Derivatives Do NOT Exist
WHEN f'(a) DOES NOT EXIST
A function \(f\) is not differentiable at \(x = a\) in these four situations:
Case 1: DISCONTINUITY (Any Type)
If \(f\) has any discontinuity at \(x = a\) (jump, removable, infinite), then \(f'(a)\) does NOT exist.
Why: By the theorem, differentiability requires continuity. No continuity → no derivative!
Examples:
- Jump discontinuity: \(f(x) = \begin{cases} x & x < 1 \\ x + 1 & x \geq 1 \end{cases}\) at \(x = 1\)
- Removable discontinuity: \(f(x) = \frac{x^2 - 1}{x - 1}\) at \(x = 1\) (if not defined there)
- Infinite discontinuity: \(f(x) = \frac{1}{x}\) at \(x = 0\)
Case 2: CORNER (Sharp Point)
If the function has a corner or sharp point at \(x = a\), the left and right derivatives exist but are different, so \(f'(a)\) does NOT exist.
Test: Check if \(f'(a^-) \neq f'(a^+)\) (one-sided derivatives don't match)
Classic Example: \(f(x) = |x|\) at \(x = 0\)
- Left derivative: \(f'(0^-) = -1\)
- Right derivative: \(f'(0^+) = +1\)
- Since \(-1 \neq +1\), \(f'(0)\) does NOT exist
Other Examples:
- \(f(x) = |x - 2|\) at \(x = 2\)
- \(f(x) = |x^2 - 4|\) at \(x = \pm 2\)
- Any piecewise function with different slopes meeting at a point
Case 3: CUSP (Pointed Peak or Valley)
A cusp is a point where the function comes to a sharp peak or valley, and the slopes from both sides approach ±∞ or go in opposite infinite directions.
Characteristic: The graph "doubles back" on itself at the point
Classic Example: \(f(x) = x^{2/3}\) or \(f(x) = \sqrt[3]{x^2}\) at \(x = 0\)
- As \(x \to 0^-\), slope \(\to -\infty\)
- As \(x \to 0^+\), slope \(\to +\infty\)
- The derivative does not exist (infinite from both sides)
Difference from Corner: At a corner, slopes are finite but different. At a cusp, slopes are infinite or unbounded.
Case 4: VERTICAL TANGENT
If the tangent line at \(x = a\) is vertical (undefined slope), then \(f'(a)\) does NOT exist (slope is infinite).
Test: \(\lim_{x \to a} |f'(x)| = \infty\) (derivative blows up)
Classic Example: \(f(x) = \sqrt[3]{x}\) or \(f(x) = x^{1/3}\) at \(x = 0\)
- \(f'(x) = \frac{1}{3}x^{-2/3} = \frac{1}{3\sqrt[3]{x^2}}\)
- As \(x \to 0\), \(f'(x) \to \infty\)
- The function is continuous but not differentiable at \(x = 0\)
Other Examples:
- \(f(x) = \sqrt{x}\) at \(x = 0\) (from the right)
- \(f(x) = x^{1/5}\) at \(x = 0\)
📝 Summary Table:
| Case | What Happens | Classic Example |
|---|---|---|
| Discontinuity | Function has break | Step function, \(\frac{1}{x}\) at 0 |
| Corner | Slopes differ (finite) | \(|x|\) at 0 |
| Cusp | Slopes infinite, opposite | \(x^{2/3}\) at 0 |
| Vertical Tangent | Slope infinite (same direction) | \(x^{1/3}\) at 0 |
⬅️➡️ One-Sided Derivatives
Left-Hand Derivative (from the left):
Right-Hand Derivative (from the right):
Key Fact:
The derivative exists at a point if and only if the left and right derivatives exist and are equal.
💡 How to Use One-Sided Derivatives:
- For piecewise functions: Check if the derivatives from each piece match at boundary points
- For corners: Calculate both one-sided derivatives; if they differ, no derivative exists
- For continuity: Even if function is continuous, one-sided derivatives must match for differentiability
📖 Comprehensive Worked Examples
Example 1: Testing for Differentiability (Absolute Value)
Problem: Determine if \(f(x) = |x - 3|\) is differentiable at \(x = 3\)
Solution:
- Check continuity:
- \(f(3) = 0\)
- \(\lim_{x \to 3} |x - 3| = 0\)
- Continuous at \(x = 3\) ✓
- Rewrite as piecewise:
\[ f(x) = \begin{cases} -(x - 3) = 3 - x & x < 3 \\ x - 3 & x \geq 3 \end{cases} \]
- Find left-hand derivative:
- For \(x < 3\): \(f(x) = 3 - x\), so \(f'(x) = -1\)
- \(f'(3^-) = -1\)
- Find right-hand derivative:
- For \(x > 3\): \(f(x) = x - 3\), so \(f'(x) = 1\)
- \(f'(3^+) = 1\)
- Compare: \(f'(3^-) = -1 \neq 1 = f'(3^+)\)
Conclusion: NOT differentiable at \(x = 3\) because the one-sided derivatives don't match. This is a corner.
Example 2: Piecewise Function Differentiability
Problem: For what value of \(k\) is \(f(x) = \begin{cases} x^2 & x \leq 2 \\ kx & x > 2 \end{cases}\) differentiable at \(x = 2\)?
Solution:
- Check continuity first:
- \(\lim_{x \to 2^-} x^2 = 4\)
- \(\lim_{x \to 2^+} kx = 2k\)
- For continuity: \(4 = 2k \Rightarrow k = 2\)
- Check differentiability with \(k = 2\):
- \(f'(2^-) = 2x\big|_{x=2} = 4\)
- \(f'(2^+) = 2\)
- \(4 \neq 2\), so NOT differentiable!
- Actually, we need BOTH conditions:
- Continuity: \(2k = 4 \Rightarrow k = 2\)
- Differentiability: \(4 = k\)
- These conflict!
Answer: No value of k makes \(f\) differentiable at \(x = 2\) because continuity requires \(k = 2\) but differentiability requires \(k = 4\). This is impossible!
Example 3: Better Piecewise Function
Problem: Find \(a\) and \(b\) so that \(f(x) = \begin{cases} x^2 & x \leq 1 \\ ax + b & x > 1 \end{cases}\) is differentiable at \(x = 1\)
Solution:
- Continuity condition:
- \(\lim_{x \to 1^-} x^2 = 1\)
- \(\lim_{x \to 1^+} (ax + b) = a + b\)
- Equation 1: \(a + b = 1\)
- Differentiability condition:
- \(f'(1^-) = 2x\big|_{x=1} = 2\)
- \(f'(1^+) = a\)
- Equation 2: \(a = 2\)
- Solve the system:
- From Equation 2: \(a = 2\)
- Substitute into Equation 1: \(2 + b = 1 \Rightarrow b = -1\)
Answer: \(a = 2\) and \(b = -1\)
Result: \(f(x) = \begin{cases} x^2 & x \leq 1 \\ 2x - 1 & x > 1 \end{cases}\) is differentiable everywhere
Example 4: Identifying Non-Differentiable Points
Problem: Identify all points where \(f(x) = \sqrt[3]{(x - 2)^2}\) is not differentiable
Solution:
- Check continuity: \(f(x)\) is continuous everywhere (cube root is defined for all real numbers)
- Find the derivative:
\[ f'(x) = \frac{2}{3}(x - 2)^{-1/3} = \frac{2}{3\sqrt[3]{x - 2}} \]
- Check where \(f'(x)\) doesn't exist:
- When \(x - 2 = 0\), i.e., \(x = 2\)
- At \(x = 2\): \(f'(2)\) is undefined (division by zero)
- As \(x \to 2\), \(|f'(x)| \to \infty\)
Answer: Not differentiable at \(x = 2\)
Reason: This is a cusp (the function has a sharp point where slopes from both sides go to ±∞)
Example 5: Vertical Tangent
Problem: Show that \(f(x) = x^{1/3}\) has a vertical tangent at \(x = 0\)
Solution:
- Check continuity:
- \(\lim_{x \to 0} x^{1/3} = 0 = f(0)\)
- Continuous at \(x = 0\) ✓
- Find the derivative:
\[ f'(x) = \frac{1}{3}x^{-2/3} = \frac{1}{3x^{2/3}} = \frac{1}{3\sqrt[3]{x^2}} \]
- Check behavior at \(x = 0\):
- \(\lim_{x \to 0^+} f'(x) = \lim_{x \to 0^+} \frac{1}{3\sqrt[3]{x^2}} = +\infty\)
- \(\lim_{x \to 0^-} f'(x) = \lim_{x \to 0^-} \frac{1}{3\sqrt[3]{x^2}} = +\infty\)
- The slopes blow up to \(+\infty\) from both sides
Conclusion: The function is continuous at \(x = 0\) but not differentiable because the tangent line is vertical (infinite slope)
✅ Checklist: Testing for Differentiability
The Complete Differentiability Test (Step-by-Step)
To determine if \(f\) is differentiable at \(x = a\):
- Step 1: Check if \(a\) is in the domain
- If \(f(a)\) is undefined → NOT differentiable
- Step 2: Check continuity at \(x = a\)
- Verify \(\lim_{x \to a} f(x) = f(a)\)
- If discontinuous → NOT differentiable (by theorem)
- Step 3: Check for corners/cusps
- For piecewise: Check if \(f'(a^-) = f'(a^+)\)
- For absolute values: Rewrite and check one-sided derivatives
- If one-sided derivatives differ → NOT differentiable
- Step 4: Check for vertical tangents
- Find \(f'(x)\) and check if \(\lim_{x \to a} |f'(x)| = \infty\)
- If derivative blows up → NOT differentiable
- Step 5: If all tests pass
- Function IS differentiable at \(x = a\) ✓
💡 Tips, Tricks & Strategies
✅ Essential Tips
- Memorize the theorem: Differentiable → Continuous (NOT the reverse!)
- Check continuity first: If discontinuous, automatically not differentiable
- Absolute value = corner: \(|f(x)|\) usually has corners where \(f(x) = 0\)
- Fractional exponents: Watch for vertical tangents at \(x = 0\) (e.g., \(x^{1/3}\))
- One-sided derivatives: Must exist AND be equal for differentiability
- Piecewise functions: Always check boundary points carefully
🎯 Quick Recognition Guide
Spotting Non-Differentiable Points:
| If you see... | Likely problem | What to check |
|---|---|---|
| Absolute value | Corner | One-sided derivatives at critical points |
| Piecewise function | Corner or discontinuity | Continuity and one-sided derivatives at boundaries |
| \(x^{p/q}\) with \(p < q\) | Vertical tangent at 0 | Limit of derivative as \(x \to 0\) |
| Rational function | Discontinuity | Where denominator = 0 |
| \(x^{2/3}\), \(\sqrt[3]{x^2}\) | Cusp | One-sided derivatives at critical point |
🔥 Memory Tricks
Mnemonic for Non-Differentiable Cases:
"Don't Create Crazy Vertical tangents!"
- Discontinuities
- Corners
- Cusps
- Vertical tangents
❌ Common Mistakes to Avoid
- Mistake 1: Thinking continuous implies differentiable (FALSE!)
- Mistake 2: Forgetting to check continuity before testing differentiability
- Mistake 3: Only checking one-sided limit instead of one-sided derivatives
- Mistake 4: Not checking BOTH continuity AND matching derivatives for piecewise functions
- Mistake 5: Assuming smooth-looking graphs are differentiable everywhere (check corners!)
- Mistake 6: Confusing vertical tangent with vertical asymptote (different concepts!)
- Mistake 7: Not recognizing that \(|f(x)|\) creates corners where \(f(x)\) crosses zero
- Mistake 8: Forgetting that \(f'(a)\) must be a FINITE number to exist
📝 Practice Problems
Determine if the following functions are differentiable at the given point:
- \(f(x) = |x + 1|\) at \(x = -1\)
- \(g(x) = x^{2/5}\) at \(x = 0\)
- \(h(x) = \begin{cases} x^2 + 1 & x < 1 \\ 3x - 1 & x \geq 1 \end{cases}\) at \(x = 1\)
- \(k(x) = \sqrt{x}\) at \(x = 0\)
Answers:
- NOT differentiable — Corner at \(x = -1\) (left derivative = -1, right derivative = +1)
- NOT differentiable — Cusp at \(x = 0\) (derivative: \(f'(x) = \frac{2}{5}x^{-3/5} \to \pm\infty\) as \(x \to 0\))
- NOT differentiable — Continuous (both limits = 2), but \(h'(1^-) = 2\) and \(h'(1^+) = 3\) (don't match)
- NOT differentiable — Vertical tangent at \(x = 0\) from the right (\(k'(x) = \frac{1}{2\sqrt{x}} \to \infty\) as \(x \to 0^+\))
✏️ AP® Exam Success Tips
What the AP® Exam Expects:
- Know the theorem: State that differentiability implies continuity
- Check both conditions: For piecewise, verify continuity AND matching derivatives
- Justify your answer: Explain WHY the function is/isn't differentiable
- Use proper notation: Write \(f'(a^-)\) and \(f'(a^+)\) clearly
- Show one-sided limits: Calculate left and right derivatives separately
- Identify the case: State if it's a corner, cusp, vertical tangent, or discontinuity
- Graph interpretation: Be able to identify non-differentiable points from graphs
Common FRQ Formats:
- "Determine if f is differentiable at x = a. Justify your answer."
- "Find the values of a and b that make f both continuous and differentiable at x = c"
- "Explain why the derivative does not exist at x = 2"
- "Is f continuous at x = 1? Is f differentiable at x = 1? Justify."
- "Identify all points where the function is not differentiable"
- "Show that if f'(a) exists, then f is continuous at x = a" (proof question)
⚡ Quick Reference Card
| Concept | Key Fact |
|---|---|
| Main Theorem | Differentiable → Continuous (NOT reverse!) |
| Contrapositive | Discontinuous → Not differentiable |
| 4 Non-Diff Cases | Discontinuity, Corner, Cusp, Vertical tangent |
| One-Sided Test | \(f'(a)\) exists iff \(f'(a^-) = f'(a^+)\) |
| Corner Example | \(|x|\) at 0 |
| Vertical Tangent Example | \(x^{1/3}\) at 0 |
| Cusp Example | \(x^{2/3}\) at 0 |
🔗 Why This Topic Matters
Topic 2.4 connects to:
- Topic 2.1-2.2: Foundation for understanding what derivatives mean
- Topic 2.5+: You need to know where derivatives exist before using rules
- Unit 3: Optimization and MVT require differentiability on intervals
- Unit 4: Concavity requires second derivative to exist
- Unit 5: FTC requires continuity (closely related concept)
- Real-world: Many phenomena have points where instantaneous rates don't exist
Remember: Differentiability implies continuity, but continuity does NOT imply differentiability! A function can be continuous yet fail to have a derivative at points with discontinuities (any type), corners (different one-sided slopes), cusps (infinite slopes from both sides), or vertical tangents (infinite slope in same direction). Always check: (1) Is the point in the domain? (2) Is the function continuous? (3) Do one-sided derivatives exist and match? (4) Is the derivative finite? For piecewise functions, verify BOTH continuity AND matching derivatives at boundary points. Master the four non-differentiable cases and you'll excel on the AP® exam! 🎯✨