Achievable logoAchievable logo
AP Calculus AB
Sign in
Sign up
Purchase
Textbook
Practice exams
Support
How it works
Exam catalog
Mountain with a flag at the peak
Textbook
Introduction
1. Limits
2. Derivative basics
2.1 The derivative
2.2 Tangent lines & slopes
2.3 Power rule
2.4 Product & quotient rules
2.5 Special derivatives
2.6 Differentiability & continuity
3. Advanced differentiation
4. Contextual uses
5. Analytical uses
6. Integration
7. Differential equations
8. Applications of integrals
Wrapping up
Achievable logoAchievable logo
2.6 Differentiability & continuity
Achievable AP Calculus AB
2. Derivative basics
Our AP Calculus AB course is now in "early access" - get 50% off for a limited time.

Differentiability & continuity

7 min read
Font
Discuss
Share
Feedback

What you’ll learn

  • Non-differentiability: Identify where a function fails to have a derivative using graphs or equations.
  • Differentiability vs. continuity: Apply the principle that differentiability implies continuity, but continuity does not guarantee differentiability.

What is differentiability?

A function f(x) is differentiable at x=a if its derivative exists at that point.

There are four common cases where a function is not differentiable at a point x=a, meaning f′(a) does not exist:

1. Discontinuities

A function must be continuous to be differentiable. If there is a removable, jump, or infinite discontinuity at x=a, then the derivative does not exist at the point.

  • Often seen in rational, piecewise, or logarithmic functions, which may have discontinuities and/or asymptotes
    e.g. f(x)=x1​

2. Corners

The function changes direction abruptly. The one-sided derivatives exist, but they are not equal.

  • Often seen in absolute value or piecewise functions
    e.g. f(x)=∣x∣

3. Cusps

Cusps are like corners, but the slope becomes unbounded: one or both one-sided derivatives approach infinity, and they approach opposite infinities.

  • Often seen in power functions with fractional exponents
    e.g. f(x)=x2/3

4. Vertical tangents

The tangent line becomes vertical. The one-sided derivatives both approach infinity with the same sign.

  • Often seen in radical functions
    e.g. f(x)=x1/3

In the last three cases, the function is continuous, but the graph is not smooth at the non-differentiable point (for a visual, graph each in Desmos).

Remember this phrase:

"If differentiable, then continuous."(D⇒C)

Consequently, the contrapositive is always true:

If f is not continuous at x=a, then it’s not differentiable at that point (not C⇒not D).

However, the converse and inverse are not always true. A continuous function can still fail to be differentiable at certain points, e.g. ∣x∣ at x=0.

Checking for differentiability

To check if f(x) is differentiable at x=a,

  1. Continuity: First check whether f(x) is continuous by verifying the conditions stated in Section 1.6: Continuity. If it’s not continuous at x=a, then it’s not differentiable.

  2. Differentiate: Find f′(x) and look for any x-values where f′(x) is undefined.

  3. If necessary (mostly for piecewise functions): Check that the one-sided derivatives at x=a both exist, are finite, and match. In other words, there must be a finite value L such that

x→a−lim​x−af(x)−f(a)​=L=x→a+lim​x−af(x)−f(a)​

Example 1: From functions

For each of the following functions, find the x-value(s) at which it is non-differentiable.

a) a(x)=x+11​

b) b(x)=∣x−1∣

c) c(x)=x2/3+1

d) d(x)=x1/3

Solutions

a) a(x)=x+11​

(spoiler)

Discontinuous at x=−1 (vertical asymptote), so a is not differentiable at x=−1.

b) b(x)=∣x−1∣

(spoiler)

b(x) is continuous for all values of x. To analyze the derivative, first rewrite as a piecewise function:

b(x)=⎩⎨⎧​x−1−(x−1)​if x≥1if x<1​

Then differentiate each piece:

b′(x)=⎩⎨⎧​1−1​if x>1if x<1​

Note that the equality is dropped because the derivative at x=1 is yet to be determined. Check the one-sided derivatives:

  1. Left: x→1−lim​b′(x)=−1
  2. Right: x→1+lim​b′(x)=1

Since the two are unequal, b′(1) does not exist. Graphically, this shows up as a sharp corner at x=1.

c) c(x)=x2/3+1

(spoiler)

c(x) is continuous with derivative

c′(x)=32​x−1/3=3x1/32​

c′(0) is undefined (denominator equals 0).

Notice the one-sided behavior:

  1. Left: x→0−lim​c′(x)=−∞

  2. Right: x→0+lim​c′(x)=+∞

Since the one-sided derivatives approach opposite infinities, the graph has a cusp at x=0.

d) d(x)=x1/3

(spoiler)

d(x) is continuous with derivative

d′(x)=31​x−2/3=33x2​1​

d′(0) is undefined (denominator equals 0).

As x approaches 0 from either side, d′(x) approaches the same sign of ∞ (positive), meaning d(x) has a vertical tangent line of x=0.

Example 2: From a graph

The graph of f(x) shown below has a horizontal tangent at x=b and a vertical tangent at x=d. At which of the values a,b,c, and d is f(x) differentiable?

Differentiability from a graph
Differentiability from a graph

Solution

(spoiler)

Answer: x=b only

A function is differentiable only where it is continuous and has a finite slope.

  • a: Corner (different one-sided derivatives) ⇒ not differentiable.
  • b: Horizontal tangent (f′(b)=0) ⇒ differentiable.
  • c: Jump discontinuity ⇒ not differentiable.
  • d: Vertical tangent (f′(d) doesn’t exist) ⇒ not differentiable.

Example 3: Finding unknown variables

Let f(x) be the piecewise function defined as:

f(x)=⎩⎨⎧​3x+2ax2−bx​if x<1if x≥1​

Find the values of a and b such that f(x) is differentiable for all values of x.

(spoiler)

Answer: a=−2,b=−7​

For a piecewise function to be differentiable at x=1, it must be:

  1. Continuous at x=1
  2. Have equal left and right derivatives at x=1.

1. Continuity:

This requires

f(1)=x→1−lim​f(x)=x→1+lim​f(x)

  • Function value:

f(1)=a(1)2−b(1)=a−b

  • Left-hand limit:

x→1−lim​(3x+2)=5

  • Right-hand limit:

x→1+lim​(ax2−bx)=a−b

So continuity requires

a−b=5

This provides one equation involving a and b. To solve for both variables, we now use differentiability at x=1.

2. Differentiability:

Differentiate each piece (treating a and b as constants):

f′(x)=⎩⎨⎧​32ax−b​ if x<1 if x>1​

For differentiability at x=1, the one-sided derivatives must match.

  • Left-hand derivative: x→1−lim​f′(x)=3

  • Right-hand derivative: x→1+lim​f′(x)=2a−b

Set equal:

3=2a−b

3. Solve the system:

a−b2a−b​=5=3​(1)(2)​

Solving the system of equations gives

a=−2b=−7

as the values for f to be differentiable.

Graph check (optional):

Graphing

f(x)=⎩⎨⎧​3x+22x2+7x​ if x<1 if x≥1​

in Desmos confirms the function is continuous and smooth at x=1.

  • Differentiability implies continuity, but not vice versa.
  • A function that has a discontinuity, a sharp corner, a cusp, or a vertical tangent will not be differentiable there.
  • Always consider if a function is continuous before checking for differentiability.

Sign up for free to take 5 quiz questions on this topic

All rights reserved ©2016 - 2026 Achievable, Inc.

Differentiability & continuity

What you’ll learn

  • Non-differentiability: Identify where a function fails to have a derivative using graphs or equations.
  • Differentiability vs. continuity: Apply the principle that differentiability implies continuity, but continuity does not guarantee differentiability.

What is differentiability?

A function f(x) is differentiable at x=a if its derivative exists at that point.

There are four common cases where a function is not differentiable at a point x=a, meaning f′(a) does not exist:

1. Discontinuities

A function must be continuous to be differentiable. If there is a removable, jump, or infinite discontinuity at x=a, then the derivative does not exist at the point.

  • Often seen in rational, piecewise, or logarithmic functions, which may have discontinuities and/or asymptotes
    e.g. f(x)=x1​

2. Corners

The function changes direction abruptly. The one-sided derivatives exist, but they are not equal.

  • Often seen in absolute value or piecewise functions
    e.g. f(x)=∣x∣

3. Cusps

Cusps are like corners, but the slope becomes unbounded: one or both one-sided derivatives approach infinity, and they approach opposite infinities.

  • Often seen in power functions with fractional exponents
    e.g. f(x)=x2/3

4. Vertical tangents

The tangent line becomes vertical. The one-sided derivatives both approach infinity with the same sign.

  • Often seen in radical functions
    e.g. f(x)=x1/3

In the last three cases, the function is continuous, but the graph is not smooth at the non-differentiable point (for a visual, graph each in Desmos).

Remember this phrase:

"If differentiable, then continuous."(D⇒C)

Consequently, the contrapositive is always true:

If f is not continuous at x=a, then it’s not differentiable at that point (not C⇒not D).

However, the converse and inverse are not always true. A continuous function can still fail to be differentiable at certain points, e.g. ∣x∣ at x=0.

Checking for differentiability

To check if f(x) is differentiable at x=a,

  1. Continuity: First check whether f(x) is continuous by verifying the conditions stated in Section 1.6: Continuity. If it’s not continuous at x=a, then it’s not differentiable.

  2. Differentiate: Find f′(x) and look for any x-values where f′(x) is undefined.

  3. If necessary (mostly for piecewise functions): Check that the one-sided derivatives at x=a both exist, are finite, and match. In other words, there must be a finite value L such that

x→a−lim​x−af(x)−f(a)​=L=x→a+lim​x−af(x)−f(a)​

Example 1: From functions

For each of the following functions, find the x-value(s) at which it is non-differentiable.

a) a(x)=x+11​

b) b(x)=∣x−1∣

c) c(x)=x2/3+1

d) d(x)=x1/3

Solutions

a) a(x)=x+11​

(spoiler)

Discontinuous at x=−1 (vertical asymptote), so a is not differentiable at x=−1.

b) b(x)=∣x−1∣

(spoiler)

b(x) is continuous for all values of x. To analyze the derivative, first rewrite as a piecewise function:

b(x)=⎩⎨⎧​x−1−(x−1)​if x≥1if x<1​

Then differentiate each piece:

b′(x)=⎩⎨⎧​1−1​if x>1if x<1​

Note that the equality is dropped because the derivative at x=1 is yet to be determined. Check the one-sided derivatives:

  1. Left: x→1−lim​b′(x)=−1
  2. Right: x→1+lim​b′(x)=1

Since the two are unequal, b′(1) does not exist. Graphically, this shows up as a sharp corner at x=1.

c) c(x)=x2/3+1

(spoiler)

c(x) is continuous with derivative

c′(x)=32​x−1/3=3x1/32​

c′(0) is undefined (denominator equals 0).

Notice the one-sided behavior:

  1. Left: x→0−lim​c′(x)=−∞

  2. Right: x→0+lim​c′(x)=+∞

Since the one-sided derivatives approach opposite infinities, the graph has a cusp at x=0.

d) d(x)=x1/3

(spoiler)

d(x) is continuous with derivative

d′(x)=31​x−2/3=33x2​1​

d′(0) is undefined (denominator equals 0).

As x approaches 0 from either side, d′(x) approaches the same sign of ∞ (positive), meaning d(x) has a vertical tangent line of x=0.

Example 2: From a graph

The graph of f(x) shown below has a horizontal tangent at x=b and a vertical tangent at x=d. At which of the values a,b,c, and d is f(x) differentiable?

Solution

(spoiler)

Answer: x=b only

A function is differentiable only where it is continuous and has a finite slope.

  • a: Corner (different one-sided derivatives) ⇒ not differentiable.
  • b: Horizontal tangent (f′(b)=0) ⇒ differentiable.
  • c: Jump discontinuity ⇒ not differentiable.
  • d: Vertical tangent (f′(d) doesn’t exist) ⇒ not differentiable.

Example 3: Finding unknown variables

Let f(x) be the piecewise function defined as:

f(x)=⎩⎨⎧​3x+2ax2−bx​if x<1if x≥1​

Find the values of a and b such that f(x) is differentiable for all values of x.

(spoiler)

Answer: a=−2,b=−7​

For a piecewise function to be differentiable at x=1, it must be:

  1. Continuous at x=1
  2. Have equal left and right derivatives at x=1.

1. Continuity:

This requires

f(1)=x→1−lim​f(x)=x→1+lim​f(x)

  • Function value:

f(1)=a(1)2−b(1)=a−b

  • Left-hand limit:

x→1−lim​(3x+2)=5

  • Right-hand limit:

x→1+lim​(ax2−bx)=a−b

So continuity requires

a−b=5

This provides one equation involving a and b. To solve for both variables, we now use differentiability at x=1.

2. Differentiability:

Differentiate each piece (treating a and b as constants):

f′(x)=⎩⎨⎧​32ax−b​ if x<1 if x>1​

For differentiability at x=1, the one-sided derivatives must match.

  • Left-hand derivative: x→1−lim​f′(x)=3

  • Right-hand derivative: x→1+lim​f′(x)=2a−b

Set equal:

3=2a−b

3. Solve the system:

a−b2a−b​=5=3​(1)(2)​

Solving the system of equations gives

a=−2b=−7

as the values for f to be differentiable.

Graph check (optional):

Graphing

f(x)=⎩⎨⎧​3x+22x2+7x​ if x<1 if x≥1​

in Desmos confirms the function is continuous and smooth at x=1.

Key points
  • Differentiability implies continuity, but not vice versa.
  • A function that has a discontinuity, a sharp corner, a cusp, or a vertical tangent will not be differentiable there.
  • Always consider if a function is continuous before checking for differentiability.

More from Derivative basics

  • Tangent lines & slopes
  • Power rule
  • Product & quotient rules
  • Special derivatives