Differentiability
This original textbook reading covers part of the AP topic. Follow the AP course outline for complete topic instruction and practice.
This reading includes verified answer corrections and explicitly stated clarifications.
When is a function differentiable?
A function is differentiable at a point exactly when its difference quotient has a finite two-sided limit: limh→0 [f(a + h) − f(a)]/h. The following are useful warning signs, not a complete checklist proving differentiability.
- Differentiability implies continuity. Continuity by itself does not imply differentiability: |x| is continuous at 0 but has different one-sided slopes.
- Corners and cusps can prevent a derivative. At a corner the finite one-sided derivatives differ; at a cusp a finite two-sided derivative also fails. Always test the limiting slopes.
- A vertical tangent does not give a finite derivative. Oscillation can also prevent the derivative: let f(x) = x sin(1/x) for x ≠ 0 and f(0) = 0. It is continuous at 0, but its difference quotient sin(1/h) has no limit. A picture alone cannot certify differentiability.
So far we have seen the derivative of a function written as:
, or in other words for really, really small changes in y and x. However, ever since we learned to calculate the derivatives of functions in the form of another function (recall Example Problem 2.4.1), it might be inconvenient to write the derivative as a limit over and over again. As a result, mathematicians have come up with many convenient shorthand ways to demonstrate the derivative of a function. Each of these has a slightly different meaning.
Some notations for derivatives
- - This notation represents a very small change in or a very small piece of x, t, or y, respectively. This is also known as a differential. Differentials can be functions of each other as well, and have an entire course named after them.
- - These all represent general change with respect to a specific variable. The d can be thought of as delta, except for very small values so that we can distinguish between slope and derivative.
- - These represent change in one variable with respect to another variable. This is what we are usually solving for, with being the most common. The notation only varies depending on the variables we choose.
- - This represents the derivative of the dependent variable in an equation (usually y) with the dependent variable (usually x or t) being implied. This notation is most commonly used in science and engineering problems, where many variables are involved, and it is simplest to show their derivatives with just one or two dots over them (two dots represent second order derivatives).
- - pronounced “why prime” and “why double prime” respectively, these are commonly used by mathematicians. The number of primes on a variable represent how many times to take the derivative of the function. Again, the independent variable is implied here.
- - This notation is convenient for representing higher order derivatives and eventually generalizing formulas for the “nth” derivative. Sometimes the independent variable is implied and the notation changes to f’, f’’, f’’’, etc.
Example Problem 3.1.1
If it exists, find the derivative at x=1 of the piece-wise function:
Motivation: Get ready, because this will likely be one of the most challenging example problems you have encountered so far. So challenging, in fact, that I almost did not want to put this in here. However, if you can learn how to do this problem, you will have mastered the concept behind a derivative. Get set, go!
A shortcut to finding derivatives: The Power Rule
We have learned to calculate a derivative using limits, but this can get troublesome, having to take a limit every time we want to find the derivative. The good news is there is a shortcut called the power rule, which lets us find the derivative of any degree polynomial function (including fractional and negative degrees). The power rule looks something like this:
So we can find the derivative of x raised to any power by simply multiplying the function by the power, then reducing the power by 1. The simplest proof of the power rule involves using Pascal’s triangle to expand and write the derivative in a general form using the x approaching a definition of a derivative. You might be interested in trying to prove it independently if you are a mathematics major, but we will skip over it for now.
Glossary and deeper reading · 9 refreshers
These editorial refreshers supplement the reading. Definitions and examples are added guidance; original source wording and recorded answers remain in their original context.
-
Differentiability
Differentiability means that a function has a finite derivative at the point under discussion. Differentiability at a point implies continuity there, but continuity alone does not imply differentiability. For example, |x| is continuous at 0 but its left and right tangent slopes differ, so it is not differentiable there. Corners, cusps, vertical tangents, and discontinuities can prevent a finite derivative.
-
Function
A mathematical function assigns exactly one output to each input in its domain. Inputs can share an output, but one input cannot have two different outputs. For example, f(x)=x² assigns the output 9 to both 3 and −3. Function notation names the rule and its input; f(3) means the output when the input is 3.
-
Difference quotient
A difference quotient divides a change in a function’s output by the associated nonzero input change. The form [f(a+h)−f(a)]/h is an average rate over an interval of length h. For example, for f(x)=x² it simplifies to 2a+h when h≠0. Taking its limit as h approaches 0 defines the derivative at a if the finite limit exists.
-
Continuity
A function is continuous at an input when its value exists, its finite limit exists, and those two values agree. At a domain endpoint, continuity uses the relevant one-sided approach. For example, x² is continuous at 3 because both its value and its nearby limit are 9. Continuity on an interval requires the appropriate condition at every input in that interval.
-
Derivative
A derivative gives the instantaneous rate of change of a function with respect to its input. At a point, it is the finite limit of the difference quotient when that limit exists. For example, the derivative of x² is 2x, so the tangent slope at x=3 is 6. A derivative function collects those rates across the inputs where the function is differentiable.
-
Vertical tangent
A vertical tangent is a tangent line parallel to the vertical axis, with no finite slope. A graph can have a vertical tangent even though its derivative does not exist as a finite real number at that input. For example, y=∛x has the vertical tangent x=0 at the origin as its nearby slopes tend to positive infinity. This case is separate from the finite-slope tangent approximation available at a differentiable point.
-
Limit
A limit describes the value approached by outputs as inputs approach a specified target or grow without bound. For an input approaching a finite target, its value at that exact input does not determine the limit. For example, (x²−1)/(x−1) approaches 2 as x approaches 1 even though the original expression is undefined at 1. A finite two-sided limit requires the left and right approaches to agree.
-
Differential
For a differentiable function y=f(x), the differential dy is defined as f′(x) dx. It represents the tangent-line estimate of the output change associated with an input change dx. For example, y=x² at x=3 and dx=0.01 gives dy=6·0.01=0.06. The actual change in y can differ from this linear estimate.
-
Higher-order derivative
A higher-order derivative is obtained by differentiating a function repeatedly. The nth derivative means that the derivative operation has been applied n times. For example, f(x)=x³ has third derivative 6 and fourth derivative 0. Each differentiation requires the preceding derivative to exist on the region being considered.

