**Contents:**

- Definition of Differentiable
- Continuously Differentiable
- Non Differentiable Functions
- Nowhere Differentiable

## What is Differentiable?

**Differentiable **means that a function has a derivative. In simple terms, it means there is a slope (one that you can calculate). This slope will tell you something about the rate of change: how fast or slow an event (like acceleration) is happening.

The derivative must exist for all points in the domain, otherwise the function is *not *differentiable. This might happen when you have a hole in the graph: if there’s a hole, there’s no slope (there’s a dropoff!).

## How to Figure Out When a Function is Not Differentiable

Watch the video for several examples of non differentiable functions:

Can’t see the video? Click here.

In general, a function is not differentiable for four reasons:

You’ll be able to see these different types of scenarios by **graphing the function **on a graphing calculator; the only other way to “see” these events is algebraically. Even if your algebra skills are very strong, it’s much easier and faster just to graph the function and look at the behavior.

### How to Check for When a Function is Not Differentiable

Step 1: **Check to see if the function has a distinct corner**. For example, the graph of f(x) = |x – 1| has a corner at x = 1, and is therefore not differentiable at that point:

Step 2: **Look for a cusp in the graph.** A cusp is slightly different from a corner. You can think of it as a type of curved corner. This graph has a cusp at x = 0 (the origin):

Step 3: **Look for a jump discontinuity.** This normally happens in step or piecewise functions. The function may appear to not be continuous. The following graph jumps at the origin.

Step 4: **Check for a vertical tangent.** A vertical tangent is a line that runs straight up, parallel to the y-axis.

This graph has a vertical tangent in the center of the graph at x = 0.

## Limits and Differentiation

Technically speaking, if there’s no limit to the slope of the secant line (in other words, if the limit does not exist at that point), then the derivative will not exist at that point. The “limit” is basically a number that represents the slope at a point, coming from any direction.

## Continuously Differentiable

A **continuously differentiable function** is a function that has a continuous function for a derivative.

In calculus, the ideal function to work with is the (usually) well-behaved continuously differentiable function. If you have a function that has breaks in the continuity of the derivative, these can behave in strange and unpredictable ways, making them challenging or impossible to work with.

## Formal Definition

More formally, a function *f*: (*a*, *b*) → ℝ is continuously differentiable on (*a*, *b*) (which can be written as **f ∈ C ^{1} (a, b)**) if the following two conditions are true:

- The function is differentiable on (a, b),
- f′: (
*a*,*b*) → ℝ is continuous.

**Where**:

- f = a function
- f′ = derivative of a function (′ is prime notation, which denotes a derivative).
- ℝ = the set of all real numbers (“reals”).
- ∈: “Is an element of”.
- (a, b): an interval from a to b.

## Example

The function f(x) = x^{3} is a continuously differentiable function because it meets the above two requirements.

- The derivative exists: f′(x) = 3x
- The function is continuously differentiable (i.e. the derivative itself is continuous)

**See also**: Continuous Derivatives.

## Do All Differentiable Functions Have Continuous Derivatives?

When you first studying calculus, the focus is on functions that either have derivatives, or don’t have derivatives. You may be misled into thinking that if you can find a derivative then the derivative exists for all points on that function. However, a differentiable function and a continuous derivative do not necessarily go hand in hand: it’s possible to have a continuous function with a non-continuous derivative.

One example is the function f(x) = x^{2} sin(1/x). Despite this being a continuous function for where we can find the derivative, the oscillations make the derivative function discontinuous. You can find an example, using the Desmos calculator (from Norden 2015) here.

## Nowhere Differentiable

A **nowhere differentiable function** is, perhaps unsurprisingly, not differentiable anywhere on its domain. These functions behave pathologically, much like an oscillating discontinuity where they bounce from point to point without ever settling down enough to calculate a slope at any point.

## Example of a Nowhere Differentiable Function

Many of these functions exists, but the Weierstrass function is probably the most famous example, as well as being the first that was formulated (in 1872). Named after its creator, Weierstrass, the function (actually a family of functions) came as a total surprise because prior to its formulation, a nowhere differentiable function was thought to be impossible.

Many other classic examples exist, including the blancmange function, van der Waerden–Takagi function (introduced by Teiji Takagi in 1903) and Kiesswetter’s function (1966).

The following very simple example of another nowhere differentiable function was constructed by John McCarthy in 1953:

Where: where g(x) = 1 + x for −2 ≤ x ≤ 0, g(x) = 1 − x for 0 ≤ x ≤ 2 and g(x) has period 4.

## References

Chapter 4. Differentiable Functions. Retrieved November 2, 2019 from: https://www.math.ucdavis.edu/~hunter/m125a/intro_analysis_ch4.pdf

Karl Kiesswetter, Ein einfaches Beispiel f¨ur eine Funktion, welche ¨uberall stetig und nicht differenzierbar ist, Math.-Phys. Semesterber. 13 (1966), 216–221 (German)

Larson & Edwards. *Calculus*.

McCarthy, J. An everywhere continuous nowhere diff. function. American Mathematical Monthly. Vol. LX, No. 10, December 1953.

Norden, J. Continuous Differentiability. Retrieved November 2, 2015 from: https://www.desmos.com/calculator/jglwllecwh

Desmos Graphing Calculator (images).

Rudin, W. (1976). Principles of Mathematical Analysis (International Series in Pure and Applied Mathematics) 3rd Edition. McGraw-Hill Education.

Su, Francis E., et al. “Continuous but Nowhere Differentiable.” Math Fun Facts.

T. Takagi, A simple example of the continuous function without derivative, Proc. Phys.-Math. Soc. Tokyo Ser. II 1 (1903), 176–177.

**CITE THIS AS:**

**Stephanie Glen**. "Differentiable and Non Differentiable Functions" From

**CalculusHowTo.com**: Calculus for the rest of us! https://www.calculushowto.com/derivatives/differentiable-non-functions/

**Need help with a homework or test question? **With Chegg Study, you can get step-by-step solutions to your questions from an expert in the field. Your first 30 minutes with a Chegg tutor is free!