AP CALCULUS BC • DIFFERENTIATION: DEFINITION AND FUNDAMENTAL PROPERTIES

Connecting Differentiability and Continuity: Determining When Derivatives Do and Do Not Exist

Understanding when and why a function's derivative fails to exist at a point, and how differentiability implies continuity.

Historical Context & Motivation

The relationship between differentiability and continuity was one of the most debated topics in the development of modern analysis. For much of the eighteenth century, mathematicians such as Euler and Lagrange implicitly assumed that any "reasonable" function could be differentiated, because the functions they encountered—polynomials, trigonometric expressions, exponentials—were all smooth. This comfortable assumption persisted until the nineteenth century, when a series of surprising counterexamples forced the mathematical community to rigorously define what it means for a function to be continuous and, separately, differentiable.

1817
Bolzano's Rigorous Continuity
Bernard Bolzano provided one of the first rigorous definitions of continuity, distinguishing it from the intuitive notion of an "unbroken" graph and laying the groundwork for epsilon-delta formalism.
1861
Weierstrass's Limit Formalization
Karl Weierstrass formalized the ε–δ definition of limits and continuity, making it possible to state precisely when a derivative limit exists or fails to exist at a point.
1872
Weierstrass's Everywhere-Continuous, Nowhere-Differentiable Function
Weierstrass stunned the mathematical world by constructing a function that is continuous at every point yet differentiable at no point, demolishing the assumption that continuity guarantees differentiability.
1900s
Modern Analysis Consensus
The distinction was codified: differentiability implies continuity, but continuity does not imply differentiability. This one-way implication became a cornerstone of real analysis and calculus pedagogy.

The central question this lesson addresses is deceptively simple: If a function is continuous at a point, can we always compute its derivative there? The answer is a definitive no, and understanding exactly when and why derivatives fail to exist is essential for success on the AP Calculus BC exam. Mastering this topic requires you to internalize both the logical relationship between continuity and differentiability and the geometric features of graphs where the derivative does not exist.

Core Principles & Definitions

Before exploring the interplay between differentiability and continuity, we must establish precise definitions. A function f is continuous at x = a if three conditions hold: f(a) is defined, lim(x→a) f(x) exists, and lim(x→a) f(x) = f(a). A function is differentiable at x = a if the limit of the difference quotient, lim(h→0) [f(a + h) − f(a)] / h, exists as a finite number. Differentiability at a point is a strictly stronger condition than continuity, meaning that every differentiable function is continuous, but many continuous functions are not differentiable at certain points.

1

Differentiability ⟹ Continuity

If f is differentiable at x = a, then f is necessarily continuous at x = a. This is a theorem, not an axiom, and its proof follows directly from the limit definition of the derivative.
2

Continuity ⟹̸ Differentiability

Continuity at a point does not guarantee differentiability. Functions with corners, cusps, or vertical tangent lines are continuous yet fail to have a derivative at those points.
3

Discontinuity ⟹ Non-Differentiability

The contrapositive of the first principle: if f is not continuous at x = a, then f is not differentiable at x = a. A discontinuity always destroys differentiability.
4

Left and Right Derivatives Must Agree

For f′(a) to exist, the left-hand derivative lim(h→0⁻) [f(a+h)−f(a)]/h and the right-hand derivative lim(h→0⁺) [f(a+h)−f(a)]/h must both exist and be equal.
KEY TAKEAWAY
Think of differentiability and continuity as levels of "smoothness." Continuity is like a road with no gaps—you can drive along it without your car leaving the pavement. Differentiability is a smoother road with no sharp turns—not only can you stay on it, but your steering wheel changes angle gradually. A sharp corner in the road (a cusp or corner in the graph) lets you stay on the road (continuous) but forces an abrupt steering change that doesn't correspond to a single well-defined direction (not differentiable).

Visual Explanation: Where Derivatives Fail

The diagram below illustrates four classic scenarios where a function is continuous at a point but fails to be differentiable. Each panel shows a different geometric pathology: a corner (where left and right derivatives exist but differ), a cusp (where one or both one-sided derivatives tend to ±∞), a vertical tangent (where the tangent line is vertical, giving an infinite slope), and a jump discontinuity (where continuity itself fails, automatically precluding differentiability).

Four common situations where f′(a) does not exist. The top-left panel shows a corner (f(x) = |x| at x = 0) with distinct left and right slopes. The top-right panel shows a cusp (f(x) = x²ᐟ³) where slopes tend to ±∞. The bottom-left panel shows a vertical tangent (f(x) = x¹ᐟ³). The bottom-right panel shows a jump discontinuity where continuity fails entirely.

In each of the first three panels, the function is continuous at the marked point—there is no break in the graph—yet the derivative fails to exist because the difference quotient does not converge to a single finite limit. Geometrically, the derivative at a point gives the slope of the unique tangent line. When the graph has a sharp corner, two competing tangent directions exist; when a cusp or vertical tangent appears, the slope tends to infinity. These distinctions are tested frequently on the AP exam, often in conjunction with piecewise-defined functions.

Mathematical Framework

The Derivative as a Limit

DEFINITION OF THE DERIVATIVE
f′(a) = lim(h→0) [f(a + h) − f(a)] / h
Here f′(a) denotes the derivative of f at x = a. The limit must exist and be finite for f to be differentiable at a. If the limit equals +∞ or −∞, the derivative does not exist (even though a vertical tangent may be present).

Proof: Differentiability Implies Continuity

This is one of the most elegant short proofs in introductory analysis and appears regularly on the AP exam as a conceptual question. Suppose f is differentiable at x = a, so f′(a) exists. We wish to show that lim(x→a) f(x) = f(a), which is the definition of continuity at a.

REWRITE THE FUNCTION VALUE
f(x) − f(a) = [(f(x) − f(a)) / (x − a)] × (x − a)
This identity holds for all x ≠ a. Taking the limit as x → a, the first factor approaches f′(a) (which exists by hypothesis) and the second factor approaches 0.
COMPLETING THE PROOF
lim(x→a) [f(x) − f(a)] = f′(a) × 0 = 0 ⟹ lim(x→a) f(x) = f(a)
Since the limit of f(x) − f(a) is 0, we conclude lim(x→a) f(x) = f(a). Therefore f is continuous at x = a. ∎

One-Sided Derivatives

LEFT-HAND AND RIGHT-HAND DERIVATIVES
f′₋(a) = lim(h→0⁻) [f(a+h) − f(a)] / h f′₊(a) = lim(h→0⁺) [f(a+h) − f(a)] / h
The derivative f′(a) exists if and only if both one-sided limits exist, are finite, and are equal: f′₋(a) = f′₊(a). This criterion is the primary tool for checking differentiability at boundaries of piecewise functions.
💡 AP EXAM TIP
When analyzing a piecewise function for differentiability at the boundary point x = a, first verify continuity (left-hand limit = right-hand limit = f(a)). If continuity fails, you are done—the derivative does not exist. If continuity holds, compute the derivative of each piece and check whether the left and right derivatives agree at x = a.

Classifying Points of Non-Differentiability

Points where f′(a) fails to exist can be systematically classified based on the behavior of the difference quotient. This classification helps you quickly identify the type of failure on an exam, whether you are reading a graph, analyzing a formula, or inspecting tabular data. The SVG below organizes these types into a decision flowchart, and the table that follows provides a compact reference.

Follow this decision flowchart from top to bottom. Start by checking continuity; if it fails, stop immediately. If the function is continuous, check whether each one-sided derivative is finite. If both are finite, check whether they are equal. Only when all three tests pass does f′(a) exist.
Summary of the four main types of non-differentiability
TypeContinuity?Left DerivativeRight DerivativeExample
CornerYesFinite (e.g., −1)Finite but different (e.g., +1)f(x) = |x| at x = 0
CuspYes→ +∞ (or −∞)→ −∞ (or +∞)f(x) = x²ᐟ³ at x = 0
Vertical TangentYes→ +∞→ +∞f(x) = x¹ᐟ³ at x = 0
DiscontinuityNoN/AN/APiecewise with a jump

Worked Example: Piecewise Differentiability

Consider the piecewise function f(x) = { x² + 1, for x ≤ 2 ; 4x − 3, for x > 2 }. Determine whether f is differentiable at x = 2.

Checking Differentiability of a Piecewise Function at x = 2
1
Step 1 — Check Continuity (Left-Hand Limit)For the left piece, f(x) = x² + 1. Compute lim(x→2⁻) f(x) = (2)² + 1 = 5.
Left-hand limit = 5
2
Step 2 — Check Continuity (Right-Hand Limit)For the right piece, f(x) = 4x − 3. Compute lim(x→2⁺) f(x) = 4(2) − 3 = 5.
Right-hand limit = 5
3
Step 3 — Verify Function Value and Conclude ContinuitySince x = 2 falls in the domain x ≤ 2, use the left piece: f(2) = (2)² + 1 = 5. Both one-sided limits equal f(2) = 5, so f is continuous at x = 2.
f is continuous at x = 2 ✓
4
Step 4 — Compute Left-Hand DerivativeDifferentiate the left piece: d/dx (x² + 1) = 2x. Evaluate at x = 2: f′₋(2) = 2(2) = 4.
Left-hand derivative = 4
5
Step 5 — Compute Right-Hand DerivativeDifferentiate the right piece: d/dx (4x − 3) = 4. This is constant, so f′₊(2) = 4.
Right-hand derivative = 4
6
Step 6 — ConclusionSince f is continuous at x = 2, f′₋(2) = 4, and f′₊(2) = 4, the left and right derivatives are equal. Therefore f is differentiable at x = 2, and f′(2) = 4.
f′(2) = 4 — differentiable ✓
⚠️ COMMON MISTAKE
Students sometimes skip the continuity check and jump straight to comparing derivatives. If the function is discontinuous at the boundary, the derivative automatically does not exist, regardless of what the derivative formulas yield. Always verify continuity first.

Strengths & Limitations of the Differentiability–Continuity Link

Strengths and limitations of using the differentiability–continuity relationship
AspectStrengthsLimitations / Pitfalls
Logical implicationDifferentiability ⟹ Continuity provides a fast discontinuity check: if f is not continuous, f is not differentiable.The converse is false. Students often assume continuity guarantees differentiability, leading to errors on piecewise and absolute-value questions.
Graphical analysisCorners, cusps, and vertical tangents are visually recognizable, making graph-based differentiability questions approachable.Subtle cusps or near-corners can be hard to identify on low-resolution graph displays or in calculator-drawn plots.
One-sided derivativesComparing left and right derivatives gives a clean, mechanical procedure for piecewise functions—highly reliable.This technique requires that you first establish continuity; skipping that step can produce misleading results when the pieces don't connect.
Algebraic verificationThe difference-quotient definition provides a rigorous criterion that works even when graphing is impractical.Computing the limit from the definition can be algebraically tedious; shortcuts (derivative rules) are faster once differentiability is established.
KEY TAKEAWAY
In engineering design, a smooth cam profile (differentiable everywhere) ensures that a follower moves without sudden jerks, while a cam with a corner produces an instantaneous acceleration spike that can damage machinery. Similarly, in signal processing, a continuous but non-differentiable signal contains high-frequency components that require special filtering. The distinction between continuity and differentiability is not merely theoretical—it directly governs whether physical systems behave smoothly or experience abrupt transitions.

Connection to Higher-Order Differentiability and Smoothness

The differentiability–continuity relationship is the first rung on a ladder of smoothness conditions that becomes increasingly important in BC topics such as Taylor and Maclaurin series, parametric and polar differentiation, and solving differential equations. A function that is differentiable once may still have a derivative that itself is discontinuous or non-differentiable. The class of functions whose first n derivatives all exist and are continuous is denoted Cⁿ, and functions that are infinitely differentiable are labeled C∞. Taylor series require C∞ behavior in a neighborhood of the expansion point, and the radius of convergence reflects how far that smoothness extends.

Hierarchy of smoothness classes and their AP Calculus BC applications
Smoothness ClassRequirementAP Calculus BC Relevance
C⁰ (continuous)f is continuous on its domainIntermediate Value Theorem, Extreme Value Theorem
C¹ (differentiable, cont. derivative)f′ exists and is continuousMean Value Theorem, curve sketching, optimization
C² (twice differentiable)f″ exists and is continuousConcavity analysis, second derivative test, Euler's method
C∞ (smooth)All derivatives exist and are continuousTaylor/Maclaurin series, Lagrange error bound

As you progress through the BC curriculum, keep in mind that every theorem involving derivatives—the Mean Value Theorem, L'Hôpital's Rule, integration by parts—carries implicit differentiability hypotheses. Failing to verify these hypotheses before applying a theorem is one of the most common errors on the AP exam's free-response section. The habit of checking differentiability and continuity conditions before applying calculus tools will serve you well not only on the exam but in any future mathematics or engineering coursework.

Practice Problems

1
Which of the following statements is true about the relationship between differentiability and continuity?
2
Let g(x) = { 3x − 1, for x < 1 ; x² + 1, for x ≥ 1 }. Is g differentiable at x = 1?
3
Let f(x) = { ax² + b, for x ≤ 1 ; 2x + 3, for x > 1 }. Find the values of a and b so that f is differentiable at x = 1.
PROBLEM 4APPLIED
A particle moves along the x-axis with position given by ⎧ t³ − 6t², for 0 ≤ t ≤ 4 s(t) = ⎨ ⎩ k(t − 4)² + m(t − 4) − 32, for t > 4 where k and m are constants. (a) Find the value of m that ensures s is differentiable at t = 4. (b) With the value of m found in part (a), determine the velocity of the particle at t = 4. State whether the acceleration at t = 4 exists, and justify your answer. (c) Explain geometrically why differentiability of the position function is physically important in this context.
PROBLEM 5CRITICAL THINKING
Let h(x) = x² · sin(1/x) for x ≠ 0, and h(0) = 0. (a) Prove that h is continuous at x = 0. (b) Using the limit definition of the derivative, prove that h is differentiable at x = 0 and find h′(0). (c) Determine whether h′ is continuous at x = 0. Justify your answer.

Lesson Summary

This lesson established the fundamental one-way implication: differentiability implies continuity, but continuity does not imply differentiability. The proof relies on rewriting f(x) − f(a) as the product of the difference quotient and (x − a), then taking the limit. We identified four key failure modes for differentiability: corners (where left and right derivatives are finite but unequal), cusps (where one-sided derivatives tend to ±∞ in opposite directions), vertical tangents (where slopes tend to +∞ or −∞ from both sides), and discontinuities (where even continuity fails).

For piecewise functions, always follow a two-step protocol: first verify continuity at the boundary by checking that both one-sided limits equal the function value, then compute and compare the left-hand and right-hand derivatives. This framework extends naturally into higher-order smoothness classes (C¹, C², C∞) that underpin Taylor series, the Mean Value Theorem, and other advanced BC topics.

Varsity Tutors • AP Calculus BC • Connecting Differentiability and Continuity: Determining When Derivatives Do and Do Not Exist