A function is not differentiable at a point when its derivative fails to exist there. That happens in four standard ways: a corner or kink where the left and right slopes differ, a vertical tangent where the slope diverges, a jump or removable discontinuity, or wild oscillation with no limiting slope. At every other interior point where a single finite slope limit exists, the function is differentiable.
Differentiability sounds abstract until you watch a derivative collapse. The failure is always local: one point, one limit, one broken condition. To see why it breaks, you have to look at the difference quotient itself rather than the graph's silhouette.
The difference quotient is the real test
The derivative at a point x = a is defined as the limit of [f(a + h) − f(a)] / h as h approaches zero. That limit is a two-sided demand. The expression must approach the same finite number whether h creeps in from the positive side or the negative side, and it must stay bounded along the way.
A graph that looks smooth can still violate the demand. The picture shows average slopes over shrinking intervals, but the limit asks what happens as the interval length tends to zero — an infinite regress the eye cannot resolve.
Differentiability at a is stronger than continuity at a, and the implication runs one way only. If f is differentiable at a, then f is continuous at a; the difference quotient staying finite forces f(a + h) to approach f(a). The converse fails, and that failure is the entire subject of this article. Continuity buys you an unbroken curve. It does not buy you a well-defined tangent slope.
There is also a sharper necessary condition that catches many suspects instantly. If f is differentiable at a, both one-sided derivatives must exist and be equal. Compute the left-hand limit and the right-hand limit separately. If they disagree, or if either is infinite or undefined, you are done — no derivative.
Four mechanisms that kill the derivative
Kinks and corners. The absolute value function f(x) = |x| is continuous everywhere and differentiable everywhere except at zero. From the right, the difference quotient equals +1 for every positive h. From the left, it equals −1. The one-sided derivatives are finite but unequal, so no two-sided limit exists. The same structure appears in ReLU-style functions and in any piecewise definition whose pieces meet at different slopes.
Vertical tangents. Consider f(x) = x^(1/3) at zero. The function is continuous, and the secant slopes blow up: the difference quotient grows without bound as h shrinks. The curve has a tangent line — the vertical axis — but a vertical line is not the graph of a finite slope. The derivative is undefined, not zero and not infinite in the sense of a real number.
Discontinuities. A jump discontinuity (the left and right limits differ) or an infinite discontinuity (a vertical asymptote) kills differentiability immediately, because continuity is a prerequisite. A removable discontinuity — a single point moved off the curve, as in f(x) = x for x ≠ 0 with f(0) = 1 — is more instructive. The limit of the function exists, and the limit of the difference quotient exists, but the function value sits in the wrong place, so the quotient's numerator never tends to zero correctly. Continuity repairs it; differentiability does not come free.
Oscillation. Define f(x) = x·sin(1/x) for x ≠ 0 and f(0) = 0. The function is continuous at zero, and the derivative actually exists there — the x factor squeezes the oscillation to zero slope. Now drop the x: g(x) = sin(1/x) for x ≠ 0, g(0) = 0. This function is discontinuous at zero, and the difference quotient oscillates between roughly −1 and +1 without settling. Weierstrass built a function continuous everywhere and differentiable nowhere by summing an infinite series of such oscillations, each at a higher frequency.
The counterintuitive point: continuity is not close to differentiability in the technical sense. Continuous functions can fail to be differentiable on dense sets or everywhere, and the space of continuous functions is far larger than the space of differentiable ones.
Quantifying smoothness: Hölder, Lipschitz, and the measure of kinks
Mathematicians grade roughness with exponents. A function is Lipschitz continuous with constant L if |f(x) − f(y)| ≤ L|x − y| for all pairs. Lipschitz continuity is strictly stronger than plain continuity but still weaker than differentiability — |x| is Lipschitz with L = 1 and fails at zero.
Hölder continuity relaxes the exponent: |f(x) − f(y)| ≤ C|x − y|^α for some 0 < α ≤ 1. The exponent α is a roughness dial. α = 1 gives Lipschitz. Smaller α permits sharper spikes. A function that is Hölder with exponent α > 1/2 has a finite quadratic variation — a fact that matters in stochastic calculus, where Brownian paths are Hölder with exponent just under 1/2 and have infinite variation, which is why stochastic integrals need their own theory (Itô's construction) rather than ordinary Riemann–Stieltjes integration.
Kolmogorov's continuity criterion converts moment bounds into Hölder exponents, a workhorse in probability. The measure-theoretic punchline is Rademacher's theorem: a Lipschitz function on n-dimensional space is differentiable almost everywhere with respect to Lebesgue measure. Kinks exist, but they are thin — typically confined to lower-dimensional sets such as points in one dimension or surfaces in three.
Red flags that mean "stop and test the definition"
Two pieces of a piecewise formula meet at different slopes — compute both one-sided derivatives before graphing. The tangent looks vertical on a plot — confirm whether the difference quotient diverges or converges. A single point is displaced from an otherwise smooth curve — test continuity first. The function oscillates infinitely often near a point — bound the difference quotient before trusting any picture. A symbolic differentiator returns a result — check the domain, because software routinely differentiates through kinks without warning.
Misconceptions that survive calculus exams
The most persistent error is equating "continuous" with "differentiable." Every differentiable function is continuous; the reverse is false, and |x| at zero is the canonical witness.
The second is treating "not differentiable" as a synonym for "undefined function." Differentiability is a property of the pair (function, point), not of the function alone. |x| is perfectly differentiable at every nonzero real number.
The third is believing the derivative must be either a number or "does not exist in any sense." At a vertical tangent the slope genuinely diverges — you can write that the derivative tends to positive or negative infinity. That is a description of the failure mode, not a real-valued derivative.
The fourth is trusting a numerical derivative. Central-difference approximations smooth over kinks and can report a plausible slope at a corner; the finite step size hides the singularity. Reduce the step and watch the answer fail to converge — that non-convergence is diagnostic.
A professional caveat: automatic differentiation and computer algebra systems apply derivative rules mechanically. A neural network using ReLU activations is differentiable almost everywhere in the measure-theoretic sense — the kinks sit on measure-zero sets — yet those kinks are exactly where training dynamics change behavior. The mathematics of "almost everywhere" and the engineering practice of optimization are not the same question.
Choosing the right test
| Failure mode | Example | One-sided test | Result | Why it fails |
|---|---|---|---|---|
| Corner or kink | |x| at 0 | Left slope −1, right slope +1 | No derivative | One-sided derivatives finite but unequal |
| Vertical tangent | x^(1/3) at 0 | Secant slopes grow without bound | No derivative | Slope diverges; no finite limit |
| Jump discontinuity | Step function at 0 | Left and right function limits differ | No derivative | Continuity fails first |
| Removable discontinuity | x off-curve at single point | Function limit exists, value displaced | No derivative | Numerator does not vanish correctly |
| Oscillation | sin(1/x) at 0 | Quotient oscillates between ±1 | No derivative | No limiting value exists |
| Oscillation damped | x·sin(1/x) at 0 | Quotient squeezed to 0 | Differentiable | Amplitude factor forces convergence |
The table has one column most reviews omit: the damped oscillation case. It reminds you that oscillation alone is not disqualifying. The amplitude and the growth rate of the secant slopes decide the outcome.
A timeline of the concept
| Period | Development | Significance |
|---|---|---|
| 17th century | Newton and Leibniz build calculus on fluxions and infinitesimals | Derivatives used before limits are formalized |
| 1823 | Cauchy defines the derivative by limits | Kills the infinitesimal shortcut |
| 1834 | Bolzano constructs a continuous nowhere-differentiable function | Continuity and differentiability officially separate |
| 1872 | Weierstrass presents a continuous nowhere-differentiable series | Establishes counterexamples as rigorous mathematics |
| 1872–1873 | Cantor's work on pathological sets and measure emerges | Sets the stage for Lebesgue measure |
| 1907 | Rademacher proves Lipschitz functions are differentiable almost everywhere | Kinks are measure-theoretically rare |
| 1930s | Kolmogorov's continuity criterion appears in probability | Hölder exponents enter stochastic analysis |
| 2005 | Mallat and Zhang link multifractal spectra to practical signal analysis | Roughness quantification becomes computational |
The Bolzano–Weierstrass era is the historical pivot. Before those constructions, calculus books treated smoothness as the norm; afterward, roughness became a class with its own theory.
What to do at a suspected bad point
Test continuity first, because a discontinuity ends the investigation. Then compute the left-hand derivative and the right-hand derivative separately from the limit definition, not from a graph and not from a rule-based differentiator. Compare them: equal finite values mean differentiable; any mismatch, divergence, or non-convergence means not differentiable.
Classify the failure rather than merely stating it. A kink predicts a jump in the derivative, which matters for optimization and for Fourier convergence. A vertical tangent means the slope is asymptotic — arc length and curvature integrals may still converge while slope-based quantities do not. An oscillation predicts that secant slopes will never settle, which is a warning for numerical methods.
If the function is Hölder continuous with exponent α < 1, you already know from the criterion that the difference quotient may fail to have a limit, because the constant C divides by |h|^(1−α). State the exponent in whatever analysis you are writing. It is a portable, checkable summary of the roughness.
Finally, distinguish pointwise from almost-everywhere claims. Saying a function "is not differentiable" is incomplete until you name the set. For |x| the failure set is {0}. For Weierstrass's function the failure set is the whole real line. The size of the failure set is part of the answer.
Limits of this account
Real-valued functions of one variable are the classical setting; the multivariable case adds new failure modes. A function of two variables can pass the one-dimensional tests along the x-axis and y-axis yet fail to have a derivative, because the derivative becomes a linear map and the approximation must hold along every approach direction. Partial derivatives existing is not sufficient for differentiability in the multivariate sense.
Weaker notions liberate some failures. The derivative exists weakly when an integration-by-parts identity holds for all smooth test functions; many nondifferentiable functions are weakly differentiable. The subdifferential assigns a set of slopes at kinks — for |x| at zero it is the interval [−1, +1] — and convex analysis runs on that idea. Fréchet and Gâteaux derivatives relax the direction after which the limit is taken.
None of these notions makes the classical derivative exist. They partition the problem. The classical answer remains: differentiability fails exactly where the two-sided limit of the difference quotient is not a finite number, and nothing about the graph's appearance overrides that limit.