SECTION 1
Historical Context & Motivation
For most of the seventeenth and eighteenth centuries, mathematicians such as Newton and Leibniz operated under the informal assumption that every "reasonable" curve could be assigned a tangent line at every point. The notion of a derivative was synonymous with geometric smoothness, and no one questioned whether a continuous curve might fail to possess a tangent. It was not until the nineteenth century that rigorous definitions of continuity and differentiability exposed a surprising gap: a function can be perfectly continuous yet hopelessly non-differentiable. This realization reshaped analysis and eventually became one of the central distinctions tested on the AP Calculus AB exam.
1687 • Newton's Principia
1821 • Cauchy's Cours d'Analyse
1861 • Weierstrass's Monster
1872 • Formal Publication
The fundamental question this lesson addresses is: Under what conditions does a function possess a derivative, and what geometric or algebraic features cause the derivative to fail to exist? Mastering this distinction is critical not only for the AP exam but also for understanding the theoretical foundations upon which all of differential calculus rests.
SECTION 2
Core Principles & Definitions
Before exploring when derivatives do and do not exist, we must ground ourselves in precise definitions. Continuity at a point x = a requires three conditions: f(a) is defined, the limit of f(x) as x approaches a exists, and that limit equals f(a). Differentiability at x = a demands something stronger: the limit of the difference quotient [f(a + h) − f(a)] / h as h → 0 must exist as a single, finite real number. This limit, when it exists, defines f′(a).
Differentiability Implies Continuity
Continuity Does NOT Imply Differentiability
Left and Right Derivatives Must Agree
Four Classic Failure Modes
KEY TAKEAWAY
SECTION 3
Visual Explanation: Where Derivatives Fail
The diagram below presents four scenarios where a function is continuous at a point but the derivative fails to exist. Each panel shows the graph of a function near a critical point, with the behavior of the tangent line (or lack thereof) illustrated. Study how the secant lines from the left and right approach different slopes in each case.
Pay special attention to the difference between the cusp and the vertical tangent. At a cusp, the one-sided derivatives diverge to opposite infinities (one to +∞ and the other to −∞), whereas at a vertical tangent both one-sided derivatives diverge to the same infinity (+∞ or −∞). In both cases the limit of the difference quotient is not a finite number, so f′(a) does not exist—but the geometric pictures are quite different, and AP Calculus AB questions may ask you to distinguish them.
SECTION 4
Mathematical Framework
The mathematical relationship between differentiability and continuity is anchored in the limit definition of the derivative. Every result in this section flows from that single definition, so we begin there and derive the fundamental theorem that differentiability implies continuity.
DEFINITION OF THE DERIVATIVE
where a is the point of differentiation and h is the increment. The limit must exist as a single finite real number for f to be differentiable at a.
THEOREM: DIFFERENTIABILITY ⟹ CONTINUITY
Proof sketch: Write f(x) − f(a) = [(f(x) − f(a))/(x − a)] · (x − a). As x → a, the first factor approaches f′(a) (a finite number) and the second factor approaches 0. Therefore lim(x→a)[f(x) − f(a)] = f′(a) · 0 = 0, which means lim(x→a) f(x) = f(a).
ONE-SIDED DERIVATIVE CONDITION
Both one-sided limits must exist, be finite, and be equal. If the left-hand and right-hand derivatives disagree (as at a corner), or if either diverges (as at a cusp or vertical tangent), the derivative does not exist.
CONTRAPOSITIVE — THE EXAM SHORTCUT
SECTION 5
Detailed Classification of Non-Differentiable Points
The AP Calculus AB exam expects you to identify and describe points of non-differentiability by type. The following table and diagram provide a systematic classification. For each type, consider the behavior of the difference quotient from the left and from the right to understand exactly why the derivative fails to exist.
| Type | Continuous? | Left Derivative | Right Derivative | Example |
|---|---|---|---|---|
| Corner | Yes | Finite value L₁ | Finite value L₂ ≠ L₁ | f(x) = |x| at x = 0 |
| Cusp | Yes | +∞ (or −∞) | −∞ (or +∞) | f(x) = x²ᐟ³ at x = 0 |
| Vertical Tangent | Yes | +∞ (or −∞) | +∞ (or −∞) same sign | f(x) = x¹ᐟ³ at x = 0 |
| Jump Discontinuity | No | May exist finitely | May exist finitely | Piecewise step function |
| Removable Discontinuity | No | DNE (limit issue) | DNE (limit issue) | f(x) = (x²−1)/(x−1), x≠1 |
Classification of points where the derivative does not exist
When approaching any AP question about differentiability, use this flowchart as a mental checklist. The first gate—continuity—is often the fastest to check and immediately eliminates a large class of problems. If the function passes the continuity test, compute the left-hand and right-hand derivatives separately using the limit definition. Only when both are finite and equal can you conclude that f′(a) exists.
SECTION 6
Worked Example
Let us work through a complete example that tests both continuity and differentiability for a piecewise function—a type frequently encountered on the AP Calculus AB exam.
Is the piecewise function differentiable at x = 2?
- 1
Step 1 — State the Function
Consider f(x) = { x² − 1 for x ≤ 2, and 3x − 3 for x > 2 }. We need to determine whether f is differentiable at x = 2. - 2
Step 2 — Check Continuity at x = 2
Compute f(2) from the first piece: f(2) = 2² − 1 = 3. Compute the left-hand limit: lim(x→2⁻) (x² − 1) = 4 − 1 = 3. Compute the right-hand limit: lim(x→2⁺) (3x − 3) = 6 − 3 = 3. Since f(2) = lim(x→2⁻) f(x) = lim(x→2⁺) f(x) = 3, the function is continuous at x = 2.Continuous at x = 2 ✓ - 3
Step 3 — Compute the Left-Hand Derivative
Using the piece f(x) = x² − 1 for x ≤ 2: f′₋(2) = lim(h→0⁻) [f(2+h) − f(2)] / h = lim(h→0⁻) [(2+h)² − 1 − 3] / h = lim(h→0⁻) [4 + 4h + h² − 4] / h = lim(h→0⁻) [4h + h²] / h = lim(h→0⁻) (4 + h) = 4.Left-hand derivative = 4 - 4
Step 4 — Compute the Right-Hand Derivative
Using the piece f(x) = 3x − 3 for x > 2: f′₊(2) = lim(h→0⁺) [f(2+h) − f(2)] / h = lim(h→0⁺) [3(2+h) − 3 − 3] / h = lim(h→0⁺) [6 + 3h − 6] / h = lim(h→0⁺) 3h / h = 3.Right-hand derivative = 3 - 5
Step 5 — Compare and Conclude
The left-hand derivative (4) does not equal the right-hand derivative (3). Therefore the two-sided limit of the difference quotient does not exist. The function f is continuous at x = 2 but not differentiable there—this is a corner.f′(2) does not exist (corner)
AP EXAM TIP
SECTION 7
Common Pitfalls & Comparisons
Students frequently confuse related but distinct concepts when determining differentiability. The table below contrasts common misconceptions with the correct reasoning, and highlights the most frequent errors that appear on the AP exam.
| Common Misconception | Correct Understanding |
|---|---|
| "If f is continuous at a, then f is differentiable at a." | Continuity is necessary but not sufficient. f(x) = |x| is continuous everywhere but not differentiable at x = 0. |
| "Piecewise functions are never differentiable at breakpoints." | If both pieces give the same function value and the same derivative at the breakpoint, the function is differentiable there. Example: f(x) = {x² for x ≤ 1, 2x − 1 for x > 1} is differentiable at x = 1. |
| "A vertical tangent means the function is discontinuous." | A vertical tangent (like at x = 0 for f(x) = x¹ᐟ³) is a feature of a continuous function. The derivative fails to exist because the slope is infinite, not because of a discontinuity. |
| "If f′(a) doesn't exist, there's no tangent line at a." | At a vertical tangent there is a tangent line—it is simply vertical (undefined slope). At corners, there are two distinct tangent directions, not zero. |
| "Differentiability only matters at integer or "nice" values." | Differentiability can fail at any x-value. Always examine points where the function formula changes or where algebraic expressions involve absolute values, fractional exponents, or radicals. |
Common misconceptions versus correct reasoning
KEY TAKEAWAY
SECTION 8
Connections to Advanced Theory
The differentiability–continuity relationship you have studied in this lesson extends into more sophisticated mathematical territory that you will encounter in AP Calculus BC and beyond. Understanding these connections now will deepen your intuition and prepare you for future coursework.
| AP Calculus AB Concept | Advanced Extension | Key Idea |
|---|---|---|
| Differentiability implies continuity | Continuously differentiable functions (C¹) | In analysis, we classify functions by how many times they are continuously differentiable. C¹ means f′ exists and is itself continuous. |
| Corners and cusps (non-differentiable points) | Lipschitz continuity and weak derivatives | |x| has a weak derivative in the sense of distributions, even though the classical derivative fails at 0. This idea powers PDEs and real analysis. |
| Weierstrass continuous-but-nowhere-differentiable function | Fractal geometry and Brownian motion | Many natural phenomena (stock prices, coastlines) follow paths that are continuous but nowhere differentiable—an idea central to fractal mathematics. |
| One-sided derivatives | Directional derivatives in multivariable calculus | The left/right derivative generalizes to directional derivatives in ℝⁿ, where differentiability requires the existence of a linear approximation in all directions simultaneously. |
From AB fundamentals to advanced theory
For the AP Calculus AB exam, you do not need to master these advanced topics, but being aware of them reinforces a crucial lesson: the seemingly simple theorem that differentiability implies continuity is the first rung on a very tall ladder. Each successive course in analysis adds conditions—continuous first derivative, continuous second derivative, and so on—that control the smoothness of functions with increasing precision. The one-sentence version of the AB-level takeaway remains: differentiability is a stronger condition than continuity, and you must verify it by checking one-sided limits of the difference quotient.
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
- A. If f is continuous at x = a, then f is differentiable at x = a.
- B. If f is differentiable at x = a, then f is continuous at x = a.
- C. If f is not differentiable at x = a, then f is not continuous at x = a.
- D. Differentiability and continuity are equivalent conditions.
- E. A function can be differentiable at a point where it is not continuous.
Show answer (B)
Question 2: BASIC CALCULATION
- A. x = 0
- B. x = 1
- C. x = 3
- D. x = −3
- E. f is differentiable everywhere
Show answer (C)
Question 3: INTERMEDIATE
- A. k = 0
- B. k = 1
- C. k = −1
- D. k = 2
- E. No value of k makes f differentiable at x = 1
Show answer (A)
Question 4: APPLIED
5 ptsShow answer
Question 5: CRITICAL THINKING
4 ptsShow answer
SUMMARY
Lesson Summary
Summary
This lesson established the foundational relationship between differentiability and continuity: if a function is differentiable at a point, it must be continuous there, but the converse is false. We proved this theorem using the limit definition of the derivative and its powerful contrapositive: if a function is not continuous, it cannot be differentiable.
We classified four types of non-differentiable points: corners (finite but unequal one-sided derivatives), cusps (one-sided derivatives diverge to opposite infinities), vertical tangent lines (one-sided derivatives diverge to the same infinity), and discontinuities (continuity fails, so differentiability is precluded). For the AP exam, always follow the decision flowchart: check continuity first, then compute and compare the left-hand and right-hand derivatives.