Skip to main content
Mathovia

Calculus / Calculus 1 · Derivatives

Differentiability

A function is differentiable at a point when it has a derivative there: the slope of its graph settles on one finite number. On a graph, that means no breaks, no sharp corners and no vertical climbs. This lesson shows how to check it, both by eye and with limits.

Practice Problems
Written by
MPhil in Mathematics, Founder of Mathovia
Published

Mathematics verification: Mathematical formulas, calculations, worked examples and solutions are reviewed for accuracy before publication. How we check our work

In the previous lesson the derivative was defined as a limit. Limits don’t always exist, though, so neither do derivatives. Differentiability is the name for the good case: a function is differentiable at a point when its derivative exists there. That sounds like a technicality, but it’s not. Big results later in calculus, such as the mean value theorem and linear approximation, only work for differentiable functions, so it pays to recognise them quickly.

f is differentiable at a if and only if the limit as h approaches 0 of f of a plus h minus f of a, over h, exists as a finite number
The definition of differentiability at a point

What Does Differentiable Mean?

A function is differentiable at if

exists, and is a finite number. Three words carry that definition:

  • At a point: differentiability is checked one point at a time. is differentiable at 3 but not at 0.
  • Exists: the limit has to be the same from both sides. If and give different answers, there’s no derivative.
  • Finite: a limit of doesn’t count. That rules out vertical tangent lines.

A differentiable function is one that’s differentiable at every point of its domain. We also say is “differentiable on ” when it’s differentiable at every point of that open interval. Most of the functions you know are differentiable wherever they’re defined: polynomials, , and everywhere, and on .

What Differentiable Looks Like on a Graph

Top row: the graph of x squared around the point (1, 1), shown at window width 2, then zoomed 4 times and 20 times. Each zoom looks straighter until it is a straight line. Bottom row: the graph of the absolute value of x minus 1, plus 1, at the same zooms. The V-shaped corner looks the same at every zoom
Zooming in: a smooth point turns into a straight line, a corner stays a corner

Here’s the most useful way to picture differentiability. Take a graph, put your finger on a point, and zoom in. If the function is differentiable there, the curve looks straighter and straighter until it’s indistinguishable from a line, its tangent line. Mathematicians call this local linearity.

At a corner, zooming in never helps. The of looks exactly the same at every magnification, with one slope on the left and another on the right. No single line fits, so there’s no derivative.

So the informal test for what makes a graph differentiable is: smooth and unbroken. You should be able to draw it through the point in one stroke without lifting your pen, without turning a sharp corner, and without the curve going vertical.

Differentiability Implies Continuity

This is the key theorem of the lesson:

If is differentiable at , then is continuous at .

The proof is short. For ,

As , the fraction tends to , a finite number, and tends to 0. So the right-hand side tends to , which means . That’s exactly what continuity at says.

The theorem is most useful backwards: if a function isn’t continuous at a point, it can’t be differentiable there. Every jump, hole and vertical asymptote from types of discontinuity is automatically a point with no derivative, and you don’t need to calculate anything.

Continuous vs Differentiable

Nested regions: all functions contain continuous functions, which contain differentiable functions. Differentiable examples: x squared, x cubed minus 2x, sin x, cos x, e to the x, ln x for x greater than 0. Continuous but not differentiable: absolute value of x at 0, cube root of x at 0, x to the two-thirds at 0. Not continuous: jumps, holes, 1 over x at 0
Differentiable is the stronger condition

The converse of the theorem is false. Being continuous does not make a function differentiable. is the standard example: its graph is unbroken at 0, so it’s continuous, but it has a corner, so it isn’t differentiable.

Continuous at a?Differentiable at a?
at 1yesyes
at 0yesno (corner)
at 0yesno (vertical tangent)
a jump at anono

One way to keep it straight: continuity asks the heights to match up; differentiability asks the heights and the slopes to match up. Differentiability is the stricter test.

Four Ways a Function Fails to Be Differentiable

Four graphs at x equals 0. Corner: y equals absolute value of x, slopes negative 1 and positive 1. Cusp: y equals x to the two-thirds, slopes going to negative infinity and positive infinity. Vertical tangent: y equals the cube root of x, slope going to positive infinity. Discontinuity: a jump at 0, not even continuous
The four places a derivative breaks down

Differentiable and non-differentiable points are easy to tell apart once you know the four failure types.

  1. Corner. The one-sided slopes are two different finite numbers, as with at 0 (slopes and ).
  2. Cusp. The slopes from the two sides run off to and , so the graph comes to a sharp point, as with at 0.
  3. Vertical tangent. The graph is smooth but stands straight up for an instant, so the slope is infinite, as with at 0.
  4. Discontinuity. A jump, a hole or an asymptote. By the theorem above, there’s no derivative.

Away from those four situations, the functions you meet in Calculus 1 are differentiable.

How to Determine If a Function Is Differentiable

Three checks. Step 1, is f continuous at a? If not, it is not differentiable; stop. Step 2, the left-hand derivative and the right-hand derivative must be equal. Step 3, the common value must be a real number, not plus or minus infinity. Pass all three and f prime of a exists
Three checks at a single point

To determine whether is differentiable at :

  1. Check continuity. If isn’t continuous at , you’re done: it’s not differentiable.
  2. Find the slope from each side. These are the one-sided derivatives: $$ f’-(a) = \lim{h \to 0^-} \frac{f(a + h) - f(a)}{h}, \qquad f’+(a) = \lim{h \to 0^+} \frac{f(a + h) - f(a)}{h} $$ They’re ordinary one-sided limits of the difference quotient.
  3. Compare. If both are the same finite number, is differentiable at and is that number. If they differ, or either is infinite, it isn’t.

For a piecewise function, there’s a shortcut for step 2: if each piece is a polynomial (or another function you can already differentiate), the one-sided derivatives at the break point are just the derivatives of the two pieces evaluated there. That shortcut assumes step 1 passed, so always check continuity first.

Example 1: A Corner

Is differentiable at ?

It’s continuous, since and both sides approach 0. The difference quotient is , which is for and for . The one-sided derivatives are and , so no: has a corner at 2. Everywhere else it’s differentiable, with slope to the left of 2 and to the right.

Example 2: A Vertical Tangent

Is differentiable at ?

is positive on both sides, so the quotient blows up to from both directions. The limit isn’t finite, so no: the graph has a vertical tangent at the origin. Notice that the function is perfectly continuous there.

Example 3: A Cusp

Is differentiable at ?

The quotient is . For it goes to ; for the cube root is negative and it goes to . The two sides shoot off in opposite directions: that’s a cusp, and no derivative.

Example 4: A Piecewise Function That Is Differentiable

Is this function differentiable at ?

Continuity: , and as . Continuous.

Slopes: from the left, , which is 2 at . From the right, . Both are 2.

So yes, is differentiable at 1, with . The line is in fact the tangent line to at , so the two pieces join without a seam.

Example 5: Making a Piecewise Function Differentiable

Two graphs of x squared for x up to 2, joined at (2, 4) to a line. Left: a equals 3, b equals negative 2, the line meets the curve but at a corner, slopes 4 and 3. Right: a equals 4, b equals negative 4, the line continues smoothly, slopes 4 and 4
Continuity matches the heights; differentiability also matches the slopes

This is the classic exam question. Find and so that

is differentiable everywhere.

Each piece is differentiable on its own, so only needs checking, and it gives two equations:

  • Heights match (continuity): , so .
  • Slopes match: the left slope is at , and the right slope is . So .

Then , giving the line . The picture shows why both conditions matter: with the pieces still meet at , so the function is continuous, but the slopes 4 and 3 disagree and there’s a corner.

Example 6: A Surprise, f(x) = x|x|

Is differentiable at 0?

It contains an absolute value, so you might expect a corner. Check the definition:

The limit exists and is finite, so yes, and . Multiplying by flattens the corner out. It’s a good reminder to check with the limit rather than judging by the formula alone.

Where Common Functions Are Differentiable

FunctionDifferentiable onProblem points
polynomials, , , all real numbersnone
not defined at 0
domain ends at 0
vertical tangent at 0
vertical asymptotes
corner at 0
vertical tangent at 0

Sums, products and compositions of differentiable functions are differentiable too, which is why you rarely need the limit definition for everyday functions. The places to look closely are the joins of piecewise functions, anything inside an absolute value that hits zero, and roots or fractional powers at zero.

Common Mistakes

  • Assuming continuous means differentiable. It doesn’t: is the counterexample to keep in your pocket.
  • Matching only the slopes for a piecewise function. If the heights don’t match, the function isn’t even continuous. Check continuity first.
  • Calling a vertical tangent differentiable. The tangent line exists, but its slope is infinite, so doesn’t.
  • Judging from the formula alone. An absolute value doesn’t guarantee a corner (see ). When in doubt, take the one-sided limits.

Practice Problems

Try each one before opening the answer. The practice set has 12 more with instant checking.

Problem 1. Is differentiable at ?

Show answer

The one-sided derivatives are (left) and (right). They differ, so there’s a corner.

Answer: no

Problem 2. Is for and for differentiable at 1?

Show answer

Continuous: both pieces give 1 at . Slopes: 3 from the left, from the right. They differ.

Answer: no (continuous, with a corner)

Problem 3. Find so that for and for is differentiable at 1.

Show answer

Both pieces give 1 at for any , so it’s continuous. The left slope is , the right slope is .

Answer:

Problem 4. Where is not differentiable?

Show answer

Each absolute value has a corner where its inside is zero.

Answer: and

Problem 5. True or false: if is continuous at , then is differentiable at .

Show answer

at 0 is continuous but not differentiable. (The reverse statement is true.)

Answer: false

Now that you know when a derivative exists, the next step is finding derivatives quickly. The power rule turns the limit calculations of the last two lessons into one line.

Frequently Asked Questions

What does it mean for a function to be differentiable?+

A function is differentiable at if the derivative exists as a finite number. A differentiable function is one that's differentiable at every point of its domain (or of a stated interval). Graphically, its curve is smooth there: unbroken, with no corners, cusps or vertical tangents.

Does differentiable imply continuous?+

Yes. If is differentiable at , it's continuous at . Writing and letting gives , so . Equivalently, a function that's discontinuous at a point can't be differentiable there.

Does continuous imply differentiable?+

No. is continuous at 0 but not differentiable there, because the slope is from the left and from the right. Corners, cusps and vertical tangents are all continuous yet not differentiable.

What makes a function not differentiable?+

Four things: a corner (the one-sided slopes are different numbers), a cusp (the slopes shoot off to and ), a vertical tangent (the slope is infinite), or a discontinuity (a jump, hole or asymptote). If none of these happens at a point, the function is differentiable there.

How do you prove a function is differentiable at a point?+

Show that the limit exists and is finite. For a piecewise function, check that it's continuous at the break point, then check that the left-hand and right-hand derivatives there are equal.

Is |x| differentiable?+

is differentiable everywhere except . For its derivative is 1 and for it's , but at 0 the graph has a corner and no single slope exists.

Related lessons