AP® CALCULUS AB & BC · UNIT 2

Differentiability
& continuity

Learn when derivatives exist, why differentiability implies continuity, and how to justify failures with one-sided rates. Review detailed notes, worked examples and practice.

Topic 2.4 study notes5 worked examples · 4 practice problemsUpdated 9 November 2026
Calculus notebook with limit and integral symbols, compass and pencil on an olive and cream study desk

1. Start with continuity and derivative definitions

Continuity at an interior input requires the function value to exist, the two-sided function limit to exist, and those values to agree:

limx→af(x)=f(a).

Differentiability at an interior input requires a finite real limit of the difference quotient:

f′(a)=limh→0f(a+h)−f(a)h∈R.

Continuity compares nearby outputs with a base output. Differentiability compares limiting rates. At a domain endpoint, continuity uses the available side; derivative endpoint conventions must also be identified explicitly. A point must belong to the original function's domain before either its continuity there or its derivative there can be established.

Use Topic 2.2: derivative definition and notation and continuity at a point to review these definitions. Derivative values estimated in Topic 2.3 do not themselves prove differentiability.

2. Differentiability implies continuity

Core concept: A finite derivative at a point forces continuity there, but continuity alone does not guarantee a derivative. A continuous function can fail to be differentiable at a corner, cusp or vertical tangent; a point of discontinuity also cannot have a derivative. Use definitions and one-sided difference quotients to justify each conclusion.

DIFFERENTIABILITY IMPLIES CONTINUITY

If f is differentiable at x=a, then f is continuous at x=a

Symbolic Form:

f′(a) exists⇒f is continuous at x=a

Contrapositive (Also True):

f is discontinuous at x=a⇒f′(a) does NOT exist

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).

Differentiable⇒Continuous(TRUE)
Continuous⇒Differentiable(FALSE)

Visual Summary:

  • All differentiable functions are continuous
  • Some continuous functions are NOT differentiable
  • At a point where a function is discontinuous, it is not differentiable there. It may still be differentiable at other inputs.

A stronger condition: Differentiability requires a single finite limiting rate, not merely connected-looking behavior. A graph that appears smooth at a chosen scale is not a proof that the derivative exists.

The derivative can only be defined where the original function is defined. In symbols, Dom(f′)⊆Dom(f). At a hole, even a finite limit of the nearby function values does not supply the missing base value. Review types of discontinuities for the domain checks.

3. Why differentiability forces continuity: the proof

Theorem proof

A finite derivative forces continuity

1 · State the assumption and the goal

Given: f′(a) exists

To Prove: f is continuous at x=a, i.e., limx→af(x)=f(a)

We need to show: limx→a[f(x)−f(a)]=0

2 · Rewrite the output change using the quotient

Multiply and divide by (x−a):

limx→a[f(x)−f(a)]=limx→a[f(x)−f(a)x−a·(x−a)]

3 · Use the two finite limits

Use limit properties to separate:

=(limx→af(x)−f(a)x−a)·(limx→a(x−a))

Recognize the derivative:

=f′(a)·0=0

4 · Conclude continuity at the same input

Therefore: limx→af(x)=f(a), so f is continuous at x=a ∎

Why the proof works: The difference-quotient limit exists as a finite real number. For x≠a, multiplying the quotient by x−a recovers f(x)−f(a). The product tends to zero by the limit laws. This does not use an undefined quotient at x=a.

4. Four common ways a finite derivative can fail

When a finite f′(a) does not exist

The following are four common reasons a finite derivative fails to exist at an input. They are not an exhaustive list: an oscillating difference quotient can also fail to converge.

Case 1

A discontinuity rules out a derivative

1 · Identify the condition

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!

2 · Recognize a jump, hole or asymptote

Examples:

  • Jump discontinuity: f(x)={xx<1x+1x≥1 at x=1
  • Removable discontinuity: f(x)=x2−1x−1 at x=1 (if not defined there)
  • Infinite discontinuity: f(x)=1x at x=0

Case 2

A corner has two finite rates

1 · Identify the condition

At a corner, the left and right difference-quotient limits are finite but unequal. The function is continuous at the corner, but there is no single tangent slope.

Test: Check if f−′(a)≠f+′(a) (one-sided derivatives don't match)

2 · Read the rates for absolute value

Classic Example: f(x)=|x| at x=0

  • Left derivative: f−′(0)=−1
  • Right derivative: f+′(0)=+1
  • Since −1≠+1, f′(0) does NOT exist

3 · Recognize related corner examples

Other Examples:

  • f(x)=|x−2| at x=2
  • f(x)=|x2−4| at x=±2
  • Any piecewise function with different slopes meeting at a point

Case 3

A cusp has opposite unbounded rates

1 · Identify the condition

At the standard cusp illustrated here, the function is continuous while its one-sided difference quotients diverge with opposite signs. There is no finite derivative.

Characteristic: A pointed peak or valley with oppositely unbounded one-sided rates. This differs from both a finite-slope corner and a same-sign vertical-tangent example.

2 · Compute the defining quotient

For the cusp f(x)=x23=|x|23, the base-point quotient is |h|23h=1h3. It tends to −∞ from the left and +∞ from the right.

3 · Distinguish a cusp from a corner

Classic Example: f(x)=x23 or f(x)=x23 at x=0

  • As x→0−, slope →−∞
  • As x→0+, slope →+∞
  • The derivative does not exist (infinite from both sides)

Difference from a corner: A corner has two distinct finite one-sided rates. A cusp of this type has oppositely unbounded one-sided rates. Infinity is not a real derivative value.

Case 4

A vertical tangent has matching unbounded signs

1 · Identify the condition

If the function is continuous at an interior input and both one-sided difference quotients diverge to the same signed infinity, the graph has a vertical tangent there. The tangent line exists geometrically, but it has no finite slope, so the ordinary derivative does not exist.

Use the defining quotient: Test f(a+h)−f(a)h from each side. The statement limx→a|f′(x)|=∞ alone does not distinguish a cusp from a vertical tangent, nor does it establish that the original function is defined and continuous at the base point.

2 · Compute the defining quotient

For the cube-root vertical tangent, h3h=1(h3)2 tends to +∞ from both sides.

3 · Compare with other root examples

Classic Example: f(x)=x3 or f(x)=x13 at x=0

  • f′(x)=13x−23=13x23
  • As x→0, f′(x)→∞
  • The function is continuous but not differentiable at x=0

Other Examples:

  • f(x)=x at x=0 (from the right)
  • f(x)=x15 at x=0

Summary Table:

Case What Happens Classic Example
Discontinuity Function has break Step function, 1x at 0
Corner Slopes differ (finite) |x| at 0
Cusp Slopes infinite, opposite x23 at 0
Vertical Tangent Slope infinite (same direction) x13 at 0

Corner

−2 −1 0 1 2 Input 0 1 2 Output
For f(x)=|x|, the left and right rates at zero are −1 and 1. Both are finite, but they disagree.

Cusp

−2 −1 0 1 2 Input 0.0 0.5 1.0 1.5 Output
The graph of f(x)=x23 is continuous at zero. The one-sided rates diverge to −∞ and +∞, respectively.

Vertical tangent

−2 −1 0 1 2 Input −1 0 1 Output Vertical tangent
For f(x)=x3, both one-sided rates diverge to +∞. The dashed guide is the tangent x=0.

Jump discontinuity

−1 0 1 2 3 Input −1 0 1 2 3 4 Output Left branch Right branch
At x=1, the open point (1,1) shows the left-hand limit and the filled point (1,2) gives the actual value.

The first three functions are continuous at zero. Open and filled markers distinguish excluded and included points. Plot edges show the viewing window.

Domain example

A hole and its continuous extension

1 · Keep the original excluded input

The original rational function x2−1x−1 excludes one. Cancelling its common factor does not create a value or a derivative there.

2 · Define the new base value explicitly

If a new extension explicitly assigns the value two at one, it becomes the line f(x)=x+1 everywhere, and that extended function has derivative one there. The derivative belongs to the specified function, not just a simplified expression.

Endpoint example

Check the available side

1 · Recognize the domain endpoint

The square-root example has an endpoint at zero.

2 · Check for a finite right-hand rate

Its right-hand quotient hh=1h diverges as h→0+. Thus it has no finite right-hand derivative; there is also no available left side for an ordinary two-sided derivative.

5. Define and compare one-sided derivatives

Definition of One-Sided Derivatives

Left-Hand Derivative (from the left):

f−′(a)=limh→0−f(a+h)−f(a)horlimx→a−f(x)−f(a)x−a

Right-Hand Derivative (from the right):

f+′(a)=limh→0+f(a+h)−f(a)horlimx→a+f(x)−f(a)x−a

Key Fact:

f′(a) exists⇔f−′(a)=f+′(a) (both finite)

At an interior point, the ordinary derivative exists exactly when the two one-sided difference-quotient limits exist as finite real numbers and are equal. At a domain endpoint, identify a requested one-sided derivative separately; an unavailable side cannot silently be supplied.

How to Use One-Sided Derivatives:

  1. For piecewise functions: Verify the defined boundary value and continuity first. Then calculate the one-sided difference quotients using that same boundary value. With polynomial or other smooth branches that meet continuously, their endpoint branch slopes give those one-sided derivatives.
  2. For corners: Calculate both one-sided derivatives; if they differ, no derivative exists
  3. For continuity: Even if function is continuous, one-sided derivatives must match for differentiability

Here f−′(a) and f+′(a) denote the left and right derivative limits using the actual value f(a). They are not simply the limits of a formula for f′ as its input approaches the point. A finite derivative can exist even when the derivative function is not continuous nearby.

6. Five worked examples with complete justification

Example 1

A continuous absolute-value corner

1 · Check the defined value and continuity

Problem: Determine if f(x)=|x−3| is differentiable at x=3

Check continuity:

f(3)=0

limx→3|x−3|=0

Continuous at x=3

2 · Rewrite the absolute value by side

Rewrite as piecewise:

f(x)={−(x−3)=3−xx<3x−3x≥3

3 · Compare the two finite slopes

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

4 · Justify why the derivative fails

Compare: f−′(3)=−1≠1=f+′(3)

Conclusion: NOT differentiable at x=3 because the one-sided derivatives don't match. This is a corner.

Example 2

Can one parameter satisfy both conditions?

1 · Read the branches and the base value

Problem: For which k is the following function differentiable at two?

f(x)={x2x≤2kxx>2.

Preserve the base value: f(2)=4.

2 · Find the only continuous choice

Continuity: The left limit is four and the right limit is 2k, so continuity requires 2k=4, or k=2.

3 · Compute both quotients for that choice

Use that continuity value: With k=2, the one-sided derivative limits are

f−′(2)=limh→0−(2+h)2−4h=limh→0−(4+h)=4,
f+′(2)=limh→0+2(2+h)−4h=2.

They differ, so the only continuous choice gives a corner.

4 · Explain why no parameter works

Explain the conflicting conditions: Matching the two branch slopes would require k=4, but then the right limit would be eight while the defined value remains four. Branch-slope matching is insufficient when continuity fails.

Answer: No value of k makes this specified function differentiable at two. Continuity requires k=2, whereas matching branch slopes would require k=4; these cannot both hold.

Example 3

Match the values and the slopes

1 · Identify the join and the unknowns

Problem: Find a and b so that f(x)={x2x≤1ax+bx>1 is differentiable at x=1

2 · Set the continuity condition

Continuity condition:

limx→1−x2=1

limx→1+(ax+b)=a+b

Equation 1: a+b=1

3 · Compare the one-sided rates after continuity

Differentiability condition:

f−′(1)=2x|x=1=2

f+′(1)=a

Equation 2: a=2

Continuity requires a+b=1. Only after imposing that relation does the right-hand quotient simplify to the branch slope a:

a(1+h)+b−1h=a+b−1h+a=a,a+b=1.

The left-hand quotient tends to two. Thus a=2 and b=−1, preserving both the base value and the derivative.

4 · Solve the system and check the join

Solve the system:

From Equation 2: a=2

Substitute into Equation 1: 2+b=1⇒b=−1

Answer: a=2 and b=−1

Result: f(x)={x2x≤12x−1x>1 is differentiable everywhere

Example 4

Locate and justify a cusp

1 · Identify the domain and continuity

Problem: Identify all points where f(x)=(x−2)23 is not differentiable

Check continuity: f(x) is continuous everywhere (cube root is defined for all real numbers)

2 · Test the defining quotient at the candidate

The defining quotient at the cusp input two is

f(2+h)−f(2)h=h23h=1h3,h≠0.

It diverges negatively from the left and positively from the right, proving the claimed failure. Away from two the displayed derivative formula is valid.

3 · Check all other inputs using the power rule

Find the derivative:

f′(x)=23(x−2)−13=23x−23

Check where f′(x) doesn't exist:

When x−2=0, i.e., x=2

At x=2, the formula for the derivative away from the join has a zero denominator. To decide whether f′(2) exists, use the defining quotient at the actual base value.

As x→2, |f′(x)|→∞

Answer: Not differentiable at x=2

Reason: The function is continuous and the defining quotients diverge with opposite signs, so the graph has a cusp.

Example 5

Recognize a vertical tangent

1 · Confirm continuity at the base point

Problem: Show that f(x)=x13 has a vertical tangent at x=0

Check continuity:

limx→0x13=0=f(0)

Continuous at x=0

2 · Use the quotient and compare its signs

The defining quotient at zero is h3h=1(h3)2. Both sides diverge positively. The tangent is the vertical line x=0, but a finite derivative value does not exist.

3 · Check nearby derivatives as an extension

Find the derivative:

f′(x)=13x−23=13x23=13x23

Check behavior at x=0:

limx→0+f′(x)=limx→0+13x23=+∞

limx→0−f′(x)=limx→0−13x23=+∞

The slopes blow up to +∞ from both sides

Conclusion: The function is continuous at x=0. The graph has a vertical tangent there, so there is no finite derivative.

A continuous corner

1 2 3 Input 0 2 4 6 Output Left branch Right branch
Example 2 with k=2 meets at (2,4), with a left slope of 4 and a right slope of 2.

A differentiable join

0 1 2 Input 0 1 2 3 4 Output Left branch Right branch
Example 3 with a=2 and b=−1 meets at (1,1). Both one-sided slopes are 2.

In both examples, the left branch supplies the filled join value and the right branch approaches that same point. The curves continue beyond the viewing window.

7. A reliable differentiability checklist

The Complete Differentiability Test (Step-by-Step)

To determine if f is differentiable at x=a:

  1. Step 1: Check if a is in the domain
    • If f(a) is undefined → NOT differentiable
  2. Step 2: Check continuity at x=a
    • Verify limx→af(x)=f(a)
    • If discontinuous → NOT differentiable (by theorem)
  3. 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
  4. Step 4: Check for vertical tangents
    • Compute the one-sided difference quotients at the base input. Use finite equality for differentiability; same-sign unbounded rates for a continuous vertical-tangent example; opposite signs for a cusp of the type illustrated.
    • If a defining quotient is unbounded, there is no ordinary finite derivative. Keep this conclusion distinct from simply seeing a formula undefined after substitution.
  5. Step 5: If all tests pass
    • Conclude differentiability only after establishing a finite two-sided difference-quotient limit, or applying a valid differentiability rule with its hypotheses. A visual checklist alone is not sufficient.

8. Know the limits of visual shortcuts

Enrichment 1

Oscillation supplies another failure case

1 · Establish continuity at zero

Define f(0)=0 and f(x)=xsin(1x) for nonzero inputs. Since |f(x)|≤|x|, the function is continuous at zero. However,

2 · Compute the difference quotient

f(h)−f(0)h=sin(1h),h≠0,

3 · Explain why the rate has no limit

oscillates without a limit. Thus the function is continuous but not differentiable at zero, even though this behavior does not fit a simple corner/cusp/vertical-tangent sketch.

Enrichment 2

Differentiable does not mean the derivative is continuous

1 · Define the function at zero

Define g(0)=0 and g(x)=x2sin(1x) for nonzero inputs. Its base-point quotient satisfies

2 · Bound the defining quotient

|g(h)−g(0)h|=|hsin(1h)|≤|h|→0.

3 · Distinguish the derivative from its limit

Therefore g′(0)=0. For nonzero inputs, g′(x)=2xsin(1x)−cos(1x), which has no limit at zero. This is why a test involving only a nearby derivative formula cannot replace the defining quotient at the point.

These examples are extensions of the core topic. They clarify that differentiability is a precise finite-limit condition, not a synonym for an informal visual notion of “smooth.”

9. Recognition guides, strategies and common mistakes

Essential Tips

  • Memorize the theorem: Differentiable → Continuous (NOT the reverse!)
  • Check continuity first: If discontinuous, automatically not differentiable
  • Absolute value needs a check: If a differentiable inner function crosses zero with a nonzero derivative, its absolute value has a corner there. A zero alone does not guarantee a corner: |x2|=x2 is differentiable at zero, and even |x3| crosses with a flat derivative and remains differentiable there.
  • Fractional exponents: Watch for vertical tangents at x=0 (e.g., x13)
  • 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 derivative limits at candidate zeros of the inner function
Piecewise function Corner or discontinuity Continuity and one-sided derivatives at boundaries
xpq with p<q Possible cusp, vertical or endpoint behavior; classify from the defining quotient. Original domain, continuity and one-sided difference quotients; account for odd/even root domains.
Rational function Discontinuity Excluded inputs from the original denominator; check any separately defined extension
x23, x23 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: Assuming every zero or sign change inside an absolute value creates a corner. Compute the one-sided rates; a flat zero can remain differentiable.
  • Mistake 8: Forgetting that f′(a) must be a FINITE number to exist

10. Four practice problems with solutions

Decide whether a finite ordinary derivative exists at each stated input, and justify the answer.

1. Shifted absolute value

f(x)=|x+1| at x=−1.

Check continuity and the one-sided rates

Practice 1 · Solution

Shifted absolute value

1 · Check the function value and limits

The function value and both function limits are zero, so it is continuous there. For nonzero input changes,

2 · Compare the one-sided rates

f(−1+h)−f(−1)h=|h|h.
f−′(−1)=−1,f+′(−1)=1.

3 · Decide differentiability

The unequal finite rates form a corner; no derivative exists.

2. A real fractional power

g(x)=x25 at zero, interpreted as (x5)2.

Check the cusp and real domain

Practice 2 · Solution

A real fractional power

1 · Check the real domain

The function is defined and continuous for every real input. Its derivative away from zero is g′(x)=25x35. At zero use the quotient itself:

2 · Evaluate the defining quotient

g(h)−g(0)h=h25h=1(h5)3.

3 · Classify the two unbounded rates

It tends to −∞ from negative inputs and +∞ from positive inputs. Hence zero is a cusp, with no finite derivative.

3. A continuous piecewise join

h(x)={x2+1x<13x−1x≥1.

Test differentiability at one. The function name here is h; use u for an input change.

Check the defined value and both quotients

Practice 3 · Solution

A continuous piecewise join

1 · Use the actual boundary value

h(1)=2, and both one-sided function limits are two. The function is continuous. However,

2 · Compare the two difference quotients

h−′(1)=limu→0−(1+u)2+1−2u=limu→0−(2+u)=2,
h+′(1)=limu→0+3(1+u)−1−2u=3.

3 · Explain the continuous corner

The one-sided derivatives differ, so the continuous join is a corner and is not differentiable.

4. A square-root endpoint

k(x)=x at zero.

Check the endpoint convention and finite-rate requirement

Practice 4 · Solution

A square-root endpoint

1 · Check right continuity at the endpoint

The domain is [0,∞), and the function is continuous from the right at zero. For positive input changes,

2 · Evaluate the available quotient

k(h)−k(0)h=hh=1h→+∞.

3 · State the finite-rate conclusion

There is no finite right-hand derivative, and no ordinary two-sided derivative at this endpoint. The graph has a vertical tangent from its available side. For x>0, the derivative formula k′(x)=12x is valid; it is not a finite derivative at zero.

11. Explain differentiability in an AP-style response

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:

  1. "Determine if f is differentiable at x=a. Justify your answer."
  2. "Find the values of a and b that make f both continuous and differentiable at x=c"
  3. "Explain why the derivative does not exist at x=2"
  4. "Is f continuous at x=1? Is f differentiable at x=1? Justify."
  5. "Identify all points where the function is not differentiable"
  6. "Show that if f′(a) exists, then f is continuous at x=a" (proof question)

12. Quick reference

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 at an interior input exactly when f−′(a)=f+′(a) and both values are finite.
Corner Example |x| at 0
Vertical Tangent Example x13 at 0
Cusp Example x23 at 0

13. Connections and next study steps

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 5: The Mean Value Theorem needs continuity on a closed interval and differentiability on its interior. Optimization also requires attention to endpoints and points where derivatives fail.
  • Later derivative tests: First and second derivatives provide sufficient tests for behavior when their hypotheses hold. Concavity is not defined merely by the existence of a second derivative.
  • Unit 6: A continuous integrand gives the standard differentiation conclusion in the Fundamental Theorem of Calculus. This theorem is distinct from the differentiability-implies-continuity result studied here.
  • Real-world: Many phenomena have points where instantaneous rates don't exist

Remember: Differentiability implies continuity at the same input. Continuity does not imply differentiability. Preserve the original domain, verify the base value, then check the defining one-sided rates. The ordinary derivative must be finite. For a piecewise join, both continuity and matching finite one-sided derivatives are required.