CALCULUS 1 • DERIVATIVES: DEFINITION & RULES

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

Discover why a smooth, unbroken curve is necessary but not sufficient for a derivative to exist.

Historical Context & Motivation

Calculus was born from a desire to understand motion and change. When Isaac Newton and Gottfried Wilhelm Leibniz independently developed the tools of calculus in the late 1600s, they assumed that the curves they studied were always "smooth" — meaning you could draw tangent lines at every point. For more than a century, mathematicians worked under this assumption without running into serious problems. However, as mathematical analysis became more rigorous in the 1800s, surprising discoveries revealed that continuity (having no breaks in a graph) and differentiability (having a well-defined tangent line) are not the same thing. Understanding exactly when and why a derivative fails to exist became a central question in calculus.

1687
Newton's Principia
Isaac Newton published his laws of motion, relying on "fluxions" (derivatives) to describe how quantities change. He assumed all physical curves were smooth enough to differentiate.
1821
Cauchy's Rigorous Limits
Augustin-Louis Cauchy formalized the limit definition of continuity and the derivative, replacing intuitive arguments with precise epsilon-delta reasoning.
1861
Weierstrass's Monster Function
Karl Weierstrass shocked the mathematical world by constructing a function that is continuous everywhere but differentiable nowhere — proving continuity does not guarantee differentiability.
1872
Publication & Debate
Weierstrass's example was published and forced mathematicians to carefully distinguish between continuity and differentiability, reshaping the foundations of analysis.

This historical journey raises the key question we will explore in this lesson: What is the precise relationship between continuity and differentiability, and how can you determine when a derivative does or does not exist? By the end, you will be able to identify sharp corners, cusps, vertical tangent lines, and discontinuities — all situations where the derivative fails to exist.

Core Principles & Definitions

Before we can connect differentiability and continuity, let's make sure we have clear definitions of both concepts. A function f(x) is continuous at a point x = a if the graph has no breaks, holes, or jumps there — formally, the limit of f(x) as x approaches a equals f(a). A function is differentiable at a point x = a if the derivative f′(a) exists, which means the limit of the difference quotient produces a single, finite number. In graphical terms, differentiability means you can draw exactly one tangent line at that point.

1

Differentiability Implies Continuity

If a function is differentiable at x = a, then it must be continuous at x = a. You cannot have a tangent line at a point where the graph is broken.
2

Continuity Does NOT Imply Differentiability

A function can be continuous at a point yet still fail to be differentiable there. Sharp corners and cusps are continuous but have no single tangent line.
3

The Difference Quotient Test

A derivative exists at x = a only when the left-hand limit and right-hand limit of [f(a + h) − f(a)] / h are equal and finite as h → 0.
4

Four Failure Modes

Derivatives fail to exist at discontinuities, sharp corners (cusps), vertical tangent lines, and wild oscillations. Recognizing these visually is a critical skill.
KEY TAKEAWAY
Think of differentiability and continuity like this: continuity is the entrance ticket to a concert — you must have it to get in. But having the ticket doesn't guarantee you'll get a front-row seat (differentiability). Differentiability is a stricter condition than continuity. Every differentiable function is continuous, but not every continuous function is differentiable.

Visual Explanation — Where Derivatives Fail

The best way to understand when derivatives do and do not exist is to look at graphs. The diagram below shows four classic situations where a function is defined at a point but the derivative does not exist there. In each case, the function either has a break, a sharp turn, a vertical tangent, or a point where the left-side and right-side slopes disagree. Study each panel carefully and notice how the tangent line behavior differs from a smooth curve.

Panel A shows a jump discontinuity — the function isn't even continuous, so the derivative cannot exist. Panel B shows a sharp corner where the left-side and right-side slopes differ. Panel C shows a vertical tangent where the slope approaches infinity. Panel D shows wild oscillation near a point, preventing the limit from settling on a single value.

Notice that in Panel B and Panel C, the function is actually continuous at the marked point — there is no break in the graph. Yet the derivative still does not exist. This is the critical distinction: continuity is necessary for differentiability, but it is not sufficient. A function must be smooth (no sharp turns, no infinite slopes, no wild wiggles) in addition to being continuous in order for the derivative to exist.

Mathematical Framework

The formal machinery behind differentiability rests on the limit definition of the derivative. If you can evaluate this limit and get a single, finite answer, the derivative exists. If the limit is undefined, infinite, or different from the left and right, the derivative does not exist.

DEFINITION OF THE DERIVATIVE
f′(a) = lim(h→0) [f(a + h) − f(a)] / h
f′(a) is the derivative of f at x = a. The expression [f(a + h) − f(a)] / h is called the difference quotient, and it measures the slope of a secant line. As h → 0, the secant line approaches the tangent line.
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 exists at x = a only if f′₋(a) = f′₊(a) and both are finite. At a sharp corner, these one-sided limits give different values.
DIFFERENTIABILITY IMPLIES CONTINUITY (THEOREM)
If f′(a) exists, then lim(x→a) f(x) = f(a)
This theorem says: if f is differentiable at a, then f is automatically continuous at a. The proof relies on rewriting f(x) − f(a) as [(f(x) − f(a))/(x − a)] × (x − a), where the first factor approaches f′(a) and the second approaches 0.
Contrapositive
The contrapositive of "differentiability implies continuity" is equally important: if f is NOT continuous at a, then f is NOT differentiable at a. This gives you a quick test: spot a discontinuity, and you immediately know the derivative does not exist there.

Classifying Non-Differentiable Points

Now that we have the mathematical tests, let's organize the four types of non-differentiable points into a clear classification. The table below summarizes each type, gives a classic example function, and explains why the derivative fails. Recognizing these patterns quickly is one of the most practical skills in early calculus.

Summary of Non-Differentiable Point Types
TypeExample FunctionWhy f′(a) Fails to ExistContinuous?
DiscontinuityPiecewise: f(x) = 1 for x < 0, f(x) = 2 for x ≥ 0The function has a jump at x = 0; the limit of f(x) as x → 0 does not exist, so the difference quotient limit cannot exist.No
Sharp Corner / Cuspf(x) = |x| at x = 0Left-hand derivative = −1, right-hand derivative = +1. Since they differ, f′(0) does not exist.Yes
Vertical Tangentf(x) = x^(1/3) at x = 0The difference quotient limit is ±∞. A derivative must be a finite number, so f′(0) does not exist.Yes
Oscillationf(x) = x × sin(1/x) at x = 0 (with f(0) = 0)The difference quotient oscillates infinitely and never settles on a single value, so the limit does not exist.Yes
The graph of f(x) = |x| is a V-shape. Both arms are straight lines, so the function is continuous everywhere. At x = 0, the left-hand slope is −1 and the right-hand slope is +1. Since these are not equal, the derivative f′(0) does not exist.

Worked Example

Let's work through a full example using the limit definition to determine whether a piecewise function is differentiable at a given point.

Is f differentiable at x = 1?
1
Step 1 — State the FunctionConsider the piecewise function: f(x) = x² for x ≤ 1, and f(x) = 2x − 1 for x > 1. We want to know if f′(1) exists.
2
Step 2 — Check Continuity FirstFrom the left: lim(x→1⁻) f(x) = 1² = 1. From the right: lim(x→1⁺) f(x) = 2(1) − 1 = 1. Also, f(1) = 1² = 1. Since the left limit, right limit, and function value all equal 1, f is continuous at x = 1.
Continuous ✓
3
Step 3 — Compute the Left-Hand DerivativeUsing the piece f(x) = x², compute f′₋(1) = lim(h→0⁻) [f(1 + h) − f(1)] / h = lim(h→0⁻) [(1 + h)² − 1] / h = lim(h→0⁻) [1 + 2h + h² − 1] / h = lim(h→0⁻) [2h + h²] / h = lim(h→0⁻) (2 + h) = 2.
f′₋(1) = 2
4
Step 4 — Compute the Right-Hand DerivativeUsing the piece f(x) = 2x − 1, compute f′₊(1) = lim(h→0⁺) [f(1 + h) − f(1)] / h = lim(h→0⁺) [2(1 + h) − 1 − 1] / h = lim(h→0⁺) [2 + 2h − 2] / h = lim(h→0⁺) 2h / h = lim(h→0⁺) 2 = 2.
f′₊(1) = 2
5
Step 5 — ConclusionSince f′₋(1) = 2 and f′₊(1) = 2, the left-hand and right-hand derivatives are equal and finite. Therefore, f′(1) = 2 and the function is differentiable at x = 1. The two pieces join smoothly without a corner.
f′(1) = 2 — differentiable ✓
💡 What if the one-sided derivatives weren't equal?
Suppose the second piece had been f(x) = 3x − 2 instead. Then f′₊(1) would equal 3, not 2. Even though the function would still be continuous at x = 1, the derivative would not exist because the left and right slopes disagree — creating a sharp corner.

Continuity vs. Differentiability — Side by Side

Students often confuse the two concepts or think they are the same thing. The table below places continuity and differentiability side by side so you can see exactly how they differ in definition, graphical interpretation, and what they guarantee.

Continuity vs. Differentiability
FeatureContinuity at x = aDifferentiability at x = a
Formal Definitionlim(x→a) f(x) = f(a)lim(h→0) [f(a+h) − f(a)] / h exists and is finite
Graphical MeaningNo breaks, holes, or jumps at the pointA single, non-vertical tangent line can be drawn at the point
StrictnessLess strict — easier to satisfyMore strict — harder to satisfy
ImplicationDoes NOT guarantee differentiabilityDOES guarantee continuity
Example of "yes" but other is "no"f(x) = |x| at x = 0 — continuous but not differentiableNot possible — differentiability always includes continuity
KEY TAKEAWAY
Think of it like a road. Continuity means the road has no gaps — you can drive along it without falling off. Differentiability means the road is also smooth — no sudden sharp turns. A road with a gap is obviously not smooth, but a continuous road with a sharp hairpin turn is still not smooth. Smooth is a higher standard than unbroken.

Connections to Advanced Topics

The relationship between differentiability and continuity is the foundation for many deeper theorems in calculus. Several of the most important results you will encounter later — the Mean Value Theorem, the Intermediate Value Theorem, and the Fundamental Theorem of Calculus — all require specific assumptions about continuity and/or differentiability. Understanding where these conditions break down will help you apply these theorems correctly.

How Continuity and Differentiability Appear in Later Theorems
TheoremRequires Continuity?Requires Differentiability?Why It Matters
Intermediate Value TheoremYes, on [a, b]NoGuarantees a function hits every y-value between f(a) and f(b)
Mean Value TheoremYes, on [a, b]Yes, on (a, b)Guarantees a point where the instantaneous rate equals the average rate
Fundamental Theorem of CalculusYes, on [a, b]Implied by the theorem's conclusionLinks integration and differentiation; the antiderivative is differentiable

As you move further into calculus and into courses like Calculus 2 or real analysis, you will encounter even more nuanced questions. For instance, can a function be differentiable everywhere yet have a derivative that is itself discontinuous? (Yes, it can!) These advanced explorations all trace back to the core distinction you are learning right now: differentiability is a stronger condition than continuity, and checking whether it holds requires careful limit analysis.

Practice Problems

PROBLEM 1CONCEPTUAL
True or false: If a function f is continuous at x = 3, then f must be differentiable at x = 3. Explain your reasoning.
PROBLEM 2BASIC CALCULATION
Let f(x) = |x − 2|. Use the definition of the derivative (left-hand and right-hand limits) to show that f′(2) does not exist.
PROBLEM 3INTERMEDIATE
Consider f(x) = x² for x ≤ 2 and f(x) = 4x − 4 for x > 2. Determine whether f is (a) continuous at x = 2 and (b) differentiable at x = 2.
PROBLEM 4APPLIED
A car's position along a straight road is given by s(t) = t² for 0 ≤ t ≤ 3 and s(t) = 6t − 9 for t > 3, where s is in meters and t is in seconds. Is the car's velocity (the derivative of position) defined at t = 3? What does your answer mean physically?
PROBLEM 5CRITICAL THINKING
Suppose g(x) is differentiable everywhere on the real line. A student claims that |g(x)| must also be differentiable everywhere. Is the student correct? If not, provide a specific counterexample and identify exactly where |g(x)| fails to be differentiable.

Lesson Summary

This lesson explored the fundamental relationship between continuity and differentiability. The central theorem states that differentiability implies continuity, but the converse is false — a function can be continuous without being differentiable. A derivative exists at a point only when the left-hand and right-hand limits of the difference quotient are equal and finite.

We identified four situations where derivatives fail to exist: discontinuities (jumps, holes, or asymptotes), sharp corners or cusps (where one-sided slopes disagree), vertical tangent lines (where the slope approaches infinity), and wild oscillations (where the slope never settles). To test differentiability at a point, always check continuity first — if the function is not continuous, you can immediately conclude the derivative does not exist. If it is continuous, compute the one-sided derivatives and see if they agree. These skills will be essential as you apply the Mean Value Theorem and other major results later in the course.

Varsity Tutors • Calculus 1 • Differentiability & Continuity