---
title: "Connecting Differentiability and Continuity | FiveStudy"
description: "Four ways a derivative fails — and three of them happen at perfectly continuous points."
url: https://fivestudy.com/guides/ap-calculus-ab-2-4-connecting-differentiability-and-continuity
---

[AP Calculus AB](https://fivestudy.com/ap-calculus-ab) · Study guide

# Connecting Differentiability and Continuity

[Figure: FiveStudy]

FiveStudy

AP® Calculus AB · Unit 2 · Differentiation: Definition and Fundamental Properties

AP® Calculus AB · Unit 2 · Differentiation: Definition and Fundamental Properties

# Differentiability and *Continuity*

Every differentiable function is continuous, but a continuous function can still fail to have a derivative. This guide shows the one-way connection, the four shapes where derivatives fail, and how to check a piecewise function.

1. The one-way connection 2. Where derivatives fail 3. Checking with one-sided slopes 4. Piecewise functions

The idea in one paragraph

If \(f'(c)\) exists, then \(f\) is continuous at \(c\): a function cannot have a tangent slope at a point where its graph breaks. The reverse is false. A continuous graph can still fail to have a derivative at a **corner** (slopes from the two sides disagree), a **cusp** (slopes run to opposite infinities), or a **vertical tangent** (slope is unbounded). And any discontinuity rules out a derivative.

## 1 The one-way connection

| Statement | True? |
| --- | --- |
| Differentiable at c ⟹ continuous at c | Always true |
| Continuous at c ⟹ differentiable at c | False: \|x\| at 0 is a counterexample |
| Not continuous at c ⟹ not differentiable at c | Always true (the first statement turned around) |

Write it like this

“\(f\) is differentiable at \(x = 3\), so \(f\) is continuous at \(x = 3\).”

“\(f\) is not continuous at \(x = 2\), so \(f\) is not differentiable at \(x = 2\).”

## 2 Where derivatives fail

**Figure 1.** At a corner the slopes from the left and right are different numbers. At a cusp they run off to opposite infinities. At a vertical tangent the slope grows without bound. At a jump the function is not even continuous.

| Shape at c | Continuous? | What the slopes do |
| --- | --- | --- |
| Corner | Yes | Left and right slopes are different numbers |
| Cusp | Yes | Slopes go to \(\infty\) on one side and \(-\infty\) on the other |
| Vertical tangent | Yes | Slopes go to \(\infty\) (or \(-\infty\)) on both sides |
| Jump, hole, asymptote | No | No derivative, because no continuity |

Common Mistake 1 · Thinking continuity is enough

“The graph has no breaks, so it is differentiable” fails at every corner and cusp. To be differentiable, the graph must also be smooth: one non-vertical tangent direction at the point.

## 3 Checking with one-sided slopes

The derivative is a two-sided limit, so it exists only when the difference quotient has the same limit from both sides. At a suspicious point, compute the left-hand and right-hand slopes separately.

Worked Example 1 A corner

### Is \(f(x) = |x|\) differentiable at 0?

1. 1

   Difference quotient at 0: \(\dfrac{|0 + h| - |0|}{h} = \dfrac{|h|}{h}\).

2. 2

   For \(h \gt 0\) it is 1; for \(h \lt 0\) it is \(-1\). The one-sided limits are 1 and \(-1\).

3. 3

   They disagree, so the limit, and with it \(f'(0)\), does not exist.

4. 4

   Note that \(|x|\) is continuous at 0. Continuity alone did not guarantee a derivative.

**Answer:** No. The function is continuous but has a corner at 0, so it is not differentiable there.

**Figure 2.** However close you zoom, the graph of |x| keeps its sharp point at 0. The one-sided limits of the difference quotient are 1 and −1, so f′(0) does not exist, even though |x| is continuous at 0.

Worked Example 2 Vertical tangent

### \(g(x) = \sqrt[3]{x}\) at 0

1. 1

   Difference quotient: \(\dfrac{\sqrt[3]{h} - 0}{h} = \dfrac{1}{h^{2/3}}\).

2. 2

   \(h^{2/3}\) is positive and shrinks to 0 from both sides, so the quotient grows without bound.

3. 3

   The tangent line at the origin is vertical, and a vertical line has no slope.

**Answer:** Not differentiable at 0: the tangent line is vertical, so the derivative does not exist.

Cusps

\(y = x^{2/3}\) at 0 has difference quotient \(h^{-1/3}\), which goes to \(\infty\) from the right and \(-\infty\) from the left. The graph comes to a sharp point that is vertical on both sides, called a cusp.

## 4 Piecewise functions

At a seam of a piecewise function, check in this order: (1) continuity, the heights match; (2) differentiability, the slopes match. Failing the first means the second does not matter.

Worked Example 3 Piecewise: continuous but not smooth

### \(p(x) = x^2\) for \(x \le 1\), \(p(x) = 3x - 2\) for \(x \gt 1\)

1. 1

   Continuity first: \(p(1) = 1\), left limit \(1\), right limit \(3 - 2 = 1\). Continuous.

2. 2

   Slopes: the left piece has derivative \(2x\), which is 2 at \(x = 1\). The right piece has slope 3.

3. 3

   The slopes from the two sides disagree, so the graph has a corner at x = 1.

**Answer:** \(p\) is continuous at 1 but not differentiable there.

Worked Example 4 Choose constants for a smooth join

### \(q(x) = ax^2 + 1\) for \(x \le 2\), \(q(x) = bx - 3\) for \(x \gt 2\)

Find \(a\) and \(b\) so that \(q\) is differentiable at \(x = 2\).

1. 1

   Differentiable requires continuous, so the heights must match at 2: \(4a + 1 = 2b - 3\).

2. 2

   The slopes must match too. Left slope \(2ax = 4a\) at \(x = 2\); right slope \(b\). So \(4a = b\).

3. 3

   Substitute \(b = 4a\): \(4a + 1 = 8a - 3\), so \(a = 1\) and \(b = 4\).

4. 4

   Check: heights \(4 + 1 = 5\) and \(8 - 3 = 5\); slopes \(4\) and \(4\).

**Answer:** \(a = 1\), \(b = 4\).

Common Mistake 2 · Checking only the slopes

Matching slopes on pieces that do not meet still gives a jump, and a jump has no derivative. Always check the heights first.

Common Mistake 3 · Trusting a calculator at a corner

A calculator’s numerical derivative of \(|x|\) at 0 averages the slopes on both sides and reports 0. The true answer is that no derivative exists.

### Quick reference

| Test at x = c | Conclusion |
| --- | --- |
| Not continuous | Not differentiable |
| Continuous; left slope = right slope (finite) | Differentiable |
| Continuous; left slope ≠ right slope | Corner: not differentiable |
| Slope unbounded | Vertical tangent or cusp: not differentiable |
| Piecewise seam | Match heights, then match slopes |

FiveStudy AP® Calculus AB · Differentiability and continuity
