Skip to content
Tutorials Center
My learning

Topics

Lesson 13 of 39 Β· Derivatives

Differentiability, Corners and Cusps

Learn when a derivative fails to exist: corners, cusps, vertical tangents and discontinuities, and why differentiable always implies continuous.

Not every function has a derivative everywhere. A function is differentiable at a if the limit defining f'(a) exists. It fails to be when the left-hand and right-hand slopes disagree, or when the slope is infinite, or when the function is not continuous.

Four ways a derivative can fail

Reason Example at x = 0 What the graph looks like
Corner abs(x) sharp V shape
Cusp x^(2/3) pointed, slopes go to opposite infinities
Vertical tangent x^(1/3) steepening to vertical
Discontinuity step function break in the graph

The corner |x|

For h > 0 the difference quotient at 0 is (|h| - 0)/h = 1. For h < 0 it is (|h| - 0)/h = -1. The right slope is 1, the left slope is -1. They disagree, so f'(0) does not exist, though |x| is continuous there. Everywhere else |x| has derivative 1 (for x > 0) or -1 (for x < 0).

Python One-sided slopes of |x| at 0

Press Run (or Ctrl + Enter) to see the result here.

Program input Β· what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Vertical tangent

For f(x) = x^(1/3) the quotient at 0 is h^(1/3) / h = h^(-2/3), which grows without bound as h β†’ 0. The tangent is vertical, with infinite slope. The derivative does not exist as a number.

Python Compare |x| and the cube root

Press Run (or Ctrl + Enter) to see the result here.

Program input Β· what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Differentiable implies continuous

If f'(a) exists, then f is continuous at a. The reason: f(a + h) - f(a) = h Β· (f(a + h) - f(a)) / h, and as h β†’ 0 this tends to 0 Β· f'(a) = 0.

The reverse is false: |x| is continuous at 0 but not differentiable. So the chain is

differentiable ⟹ continuous, but continuous ⟹̸ differentiable.

Visual test: a graph is differentiable where it is smooth when you zoom in, looking more and more like a straight line. Corners stay corners however far you zoom.

Check your understanding

Quick check Β· 4 questions

of 4 answered You scored / 4 Β· perfect!

  1. 1. Why is f(x) = |x| not differentiable at 0?

    It is continuous, but the one-sided derivatives disagree.
  2. 2. If f is differentiable at a, then f is

    Differentiability implies continuity.
  3. 3. A function with a jump discontinuity at a is

    It is not continuous at a, so it cannot be differentiable there.
  4. 4. Which has a vertical tangent at 0?

    The slope of the cube root grows without bound near 0.

Summary

  • Derivatives fail at corners, cusps, vertical tangents and discontinuities.
  • Differentiable implies continuous; the converse is false.
  • Zoom test: smooth points look like lines under magnification.

Next: Derivative Notation and Higher Derivatives