What Is Continuity And Differentiability?
Continuity and Differentiability describe how smooth a function is at a point. Continuity is the weaker demand: the graph has no break, hole, or jump there. Differentiability is the stronger demand: the graph is smooth enough to have a single well-defined tangent line, so the slope $f'(a)$ exists.
A function $f$ is continuous at $x = a$ when all three of these conditions hold:
$$\text{(1) } f(a) \text{ is defined}, \qquad \text{(2) } \lim_{x \to a} f(x) \text{ exists}, \qquad \text{(3) } \lim_{x \to a} f(x) = f(a).$$
A function $f$ is differentiable at $x = a$ when the derivative exists as a limit:
$$f'(a) = \lim_{h \to 0} \frac{f(a + h) - f(a)}{h}, \qquad \text{and this limit is finite.}$$
Geometrically, continuity means you can trace the curve through $x = a$ without lifting your pencil, and differentiability means the curve has one clean tangent there, no corner, cusp, or vertical drop. For the standalone treatment of each idea, see continuity of a function and differentiability of a function.
What Are The Three Conditions For Continuity At A Point?
Continuity at $x = a$ is not one check but three, and a function fails to be continuous if any single one breaks. This is where the limit of a function does the heavy lifting.
The function must exist at the point. $f(a)$ has to be a real number. If $a$ is a hole in the domain, condition (1) already fails.
The two-sided limit must exist. The left-hand limit $\lim_{x \to a^-} f(x)$ and the right-hand limit $\lim_{x \to a^+} f(x)$ must both exist and be equal. If they disagree, the graph jumps.
The limit must match the value. Even when $f(a)$ exists and the limit exists, they must be the same number. A mismatch is a removable break, a single misplaced point.
When condition (2) or (3) fails, the break has a name, catalogued under types of discontinuity: a removable hole, a jump, or an infinite blow-up.
How Do You Check Continuity On An Interval?
A function is continuous on an open interval $(a, b)$ when it is continuous at every point inside it. On a closed interval $[a, b]$, the two endpoints only have one side inside the interval, so they use one-sided limits:
$$\lim_{x \to a^+} f(x) = f(a) \qquad \text{and} \qquad \lim_{x \to b^-} f(x) = f(b).$$
Most functions students meet, polynomials, sines and cosines, and exponentials, are continuous on the whole real line. Rational functions are continuous everywhere except where the denominator is zero.
What Is The Algebra Of Continuous Functions?
Continuity is preserved when you combine continuous functions, which is why you rarely check it from scratch. If $f$ and $g$ are both continuous at $x = a$, then the following are continuous at $x = a$ as well.
Table: Algebra of continuous functions and composite continuity at $x = a$.
Combination | Continuous at $x = a$? | Condition |
|---|---|---|
$f(x) + g(x)$ | Yes | none |
$f(x) - g(x)$ | Yes | none |
$f(x) \cdot g(x)$ | Yes | none |
$\dfrac{f(x)}{g(x)}$ | Yes | provided $g(a) \neq 0$ |
$k \cdot f(x)$ (constant $k$) | Yes | none |
Composite $g\big(f(x)\big)$ | Yes | if $f$ is continuous at $a$ and $g$ is continuous at $f(a)$ |
The composite rule is the one worth memorising: a continuous function of a continuous function is continuous. That is why an expression such as $\sin\big(x^2 + 1\big)$ is continuous everywhere, $x^2 + 1$ is continuous, and $\sin$ is continuous, so their composition inherits it.
What Does It Mean For A Function To Be Differentiable?
A function is differentiable at $x = a$ when the derivative limit exists and gives the same value from both sides. Split the derivative into a left-hand and a right-hand piece:
$$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}.$$
The function is differentiable at $a$ exactly when both one-sided derivatives exist, are finite, and satisfy $f'-(a) = f'+(a)$. Their common value is $f'(a)$. This is the same object as the definition of the derivative, read one side at a time.
Geometrically, $f'(a)$ is the slope of the tangent line at $x = a$. A function fails to be differentiable at a point for exactly three visible reasons:
A corner: the left and right slopes are different finite numbers, as at the point of $|x|$.
A cusp: the slopes shoot off toward $+\infty$ on one side and $-\infty$ on the other.
A vertical tangent: the slope is infinite, as for $f(x) = x^{1/3}$ at $x = 0$.
Why Does Differentiable Imply Continuous?
The central theorem of this topic is a one-way street: if $f$ is differentiable at $x = a$, then $f$ is continuous at $x = a$. The proof is short and worth seeing once.
Assume $f'(a)$ exists. To prove continuity we need $\lim_{x \to a} f(x) = f(a)$, which is the same as showing $\lim_{x \to a}\big[f(x) - f(a)\big] = 0$. Rewrite the difference by multiplying and dividing by $x - a$:
$$\lim_{x \to a} \big[f(x) - f(a)\big] = \lim_{x \to a} \frac{f(x) - f(a)}{x - a} \cdot (x - a) = f'(a) \cdot 0 = 0.$$
The first factor tends to the finite number $f'(a)$, the second factor tends to $0$, so the product tends to $0$. Therefore $f(x) \to f(a)$, which is continuity. A single well-defined slope cannot exist across a break in the graph.
The converse does not hold. Continuity does not imply differentiability, and the cleanest witness is the absolute value function. For the full side-by-side comparison, see differentiability vs continuity.
How Do You Test Continuity And Differentiability? Worked Examples
Each example is fully stepped. Continuity is checked against all three conditions, and differentiability is checked by comparing the one-sided derivatives.
Example 1: A removable break (continuity check).
Test $f(x) = \dfrac{x^2 - 1}{x - 1}$ at $x = 1$.
Condition (1): $f(1) = \dfrac{0}{0}$ is undefined, so the very first condition already fails. For completeness, the limit does exist:
$$\lim_{x \to 1} \frac{x^2 - 1}{x - 1} = \lim_{x \to 1} \frac{(x - 1)(x + 1)}{x - 1} = \lim_{x \to 1} (x + 1) = 2.$$
The limit is a clean $2$, but because $f(1)$ is not defined, the function is not continuous at $x = 1$. This is a removable discontinuity: define $f(1) = 2$ and the break disappears.
Final answer: Not continuous at $x = 1$ (removable); limit is $2$.
Example 2: $|x|$ is continuous but not differentiable at $0$.
First continuity. All three conditions hold: $f(0) = |0| = 0$; the left limit $\lim_{x \to 0^-} |x| = 0$ and the right limit $\lim_{x \to 0^+} |x| = 0$ agree; and both equal $f(0)$. So $|x|$ is continuous at $0$.
Now differentiability. Compare the one-sided derivatives at $0$, using $|h| = -h$ for $h < 0$ and $|h| = h$ for $h > 0$:
$$f'-(0) = \lim{h \to 0^-} \frac{|h| - 0}{h} = \lim_{h \to 0^-} \frac{-h}{h} = -1, \qquad f'+(0) = \lim{h \to 0^+} \frac{|h| - 0}{h} = \lim_{h \to 0^+} \frac{h}{h} = +1.$$
Since $f'-(0) = -1 \neq +1 = f'+(0)$, the derivative does not exist. The function is continuous but not differentiable at $0$.
Final answer: Continuous at $0$, not differentiable at $0$ (corner; slopes $-1$ and $+1$).
Example 3: A piecewise function checked at the join (continuous, not differentiable).
Test both properties at $x = 1$ for
$$f(x) = \begin{cases} x^2 & x \le 1, \ x & x > 1. \end{cases}$$
Continuity at $x = 1$. The value is $f(1) = 1^2 = 1$, the left limit is $\lim_{x \to 1^-} x^2 = 1$, and the right limit is $\lim_{x \to 1^+} x = 1$. All three match, so $f$ is continuous at $x = 1$.
Differentiability at $x = 1$. The left piece $x^2$ has derivative $2x$, giving $f'-(1) = 2(1) = 2$. The right piece $x$ has derivative $1$, giving $f'+(1) = 1$. Since $2 \neq 1$, the one-sided derivatives disagree.
Final answer: Continuous at $x = 1$, not differentiable there (corner; left slope $2$, right slope $1$).
Example 4: A piecewise function that is differentiable at the join.
Test both properties at $x = 1$ for
$$f(x) = \begin{cases} x^2 & x \le 1, \ 2x - 1 & x > 1. \end{cases}$$
Continuity: $f(1) = 1$, $\lim_{x \to 1^-} x^2 = 1$, and $\lim_{x \to 1^+} (2x - 1) = 1$. Continuous.
Differentiability: $f'-(1) = 2x \big|{x = 1} = 2$ and $f'_+(1) = 2$. The one-sided derivatives agree, so $f'(1) = 2$ exists.
Final answer: Continuous and differentiable at $x = 1$, with $f'(1) = 2$.
How Do Continuity And Differentiability Compare? A Reference Table
The two properties stack: differentiability is strictly stronger. This table pins down what each demands and how they relate.
Table: Continuity and Differentiability side by side at a point $x = a$.
Question | Continuity at $a$ | Differentiability at $a$ |
|---|---|---|
What must exist? | $f(a)$ and $\lim_{x \to a} f(x)$, equal | The finite limit $f'(a)$ |
Graph meaning | No break, hole, or jump | No corner, cusp, or vertical tangent |
One-sided test | Left limit $=$ right limit $= f(a)$ | Left derivative $=$ right derivative |
Implies the other? | No — $\lvert x\rvert$ is a counterexample | Yes — differentiable $\Rightarrow$ continuous |
Strength | Weaker condition | Stronger condition |
Read the table top to bottom and the relationship is clear: passing the differentiability test automatically passes the continuity test, but not the other way around.
Why Does Continuity And Differentiability Matter?
The two ideas are the gatekeepers of calculus. Almost every later theorem, the Mean Value Theorem, the rules for maxima and minima, Taylor series, starts with the words "let $f$ be continuous" or "let $f$ be differentiable." Getting these definitions right is what makes the rest of calculus trustworthy.
Continuity guarantees no surprises. A continuous function on a closed interval hits every value between its endpoints and attains a maximum and a minimum. Those guarantees fail the moment a jump appears.
Differentiability guarantees a slope. Optimisation, related rates, and curve sketching all depend on setting $f'(x) = 0$. That move only makes sense where the derivative exists, which is why corners and cusps need separate handling.
The one-way theorem saves work. Because differentiable forces continuous, proving a function differentiable also proves it continuous for free. The reverse shortcut does not exist, and assuming it is the single most common error on this topic.
Who Discovered That A Continuous Function Need Not Be Differentiable?
For most of the 1800s, mathematicians assumed a continuous curve had to be smooth almost everywhere, with only occasional corners. One function shattered that belief.
Two more figures shaped the modern picture:
Bernard Bolzano (1781–1848, Bohemia, in the modern Czech Republic) constructed an earlier continuous-but-nowhere-differentiable function around 1830, decades before Weierstrass, but left it unpublished, so it went unnoticed for a century.
Augustin-Louis Cauchy (1789–1857, France) gave continuity its rigorous limit-based definition in the 1820s, the "$f(x) \to f(a)$ as $x \to a$" form that every textbook now uses, laying the ground the counterexamples were built on.
Where Is Continuity And Differentiability Used In The Real World?
The distinction between "unbroken" and "smooth" shows up wherever a quantity is tracked over time or space.
Physics and motion: position is usually differentiable (velocity exists), but an idealised bounce reverses velocity instantly, a continuous path with a corner where acceleration is undefined.
Engineering and materials: a beam's deflection curve must be continuous and differentiable, or the structure has a kink that concentrates stress and can crack.
Economics: a cost curve with a sudden tax threshold is continuous but not differentiable at the threshold, so marginal cost, the derivative, jumps there.
Computer graphics: smooth animation needs differentiable motion paths; a mere continuous path can look natural to the eye but produces a visible jolt in velocity at each corner.
Signal processing: a square wave is discontinuous, and its sharp edges are exactly what make it hard to reconstruct from smooth sine components.
Wherever a rate of change is measured, the questions "is it unbroken?" and "is it smooth?" are two different, practical checks.
What Are The Most Common Mistakes With Continuity And Differentiability?
These three errors account for most lost marks on this topic, and each matches a question real students ask on r/learnmath and in NCERT Class 12 Q&A threads.
Assuming continuity implies differentiability.
Where it slips in:
A student sees an unbroken graph, concludes it is smooth, and writes down a derivative at a corner such as the vertex of $\lvert x\rvert$.
Don't do this:
Do not treat "no break" as "has a slope." The theorem only runs one way: differentiable $\Rightarrow$ continuous, never the reverse.
The correct way:
After confirming continuity, still test the derivative separately by comparing $f'-(a)$ and $f'+(a)$. For $\lvert x\rvert$ at $0$ they are $-1$ and $+1$, so it is continuous but not differentiable.
Checking only one of the three continuity conditions.
Where it slips in:
A student confirms that $f(a)$ is defined, sees a value on the page, and declares the function continuous without ever checking the limit.
Don't do this:
Do not stop at "the point exists." A defined value can still miss the limit, as in a removable hole where $f(a) \neq \lim_{x \to a} f(x)$.
The correct way:
Verify all three: $f(a)$ defined, $\lim_{x \to a} f(x)$ exists (left limit $=$ right limit), and the two are equal. All three must pass.
Mishandling the seam of a piecewise function.
Where it slips in:
At a join, a student plugs $x = a$ into only one piece, or differentiates each piece and assumes the derivative is continuous because the pieces are.
Don't do this:
Do not test a seam from one side. Continuity needs the left and right limits to match the value; differentiability needs the left and right derivatives to match.
The correct way:
Evaluate both pieces at the join. Match the one-sided limits for continuity, then match the one-sided derivatives for differentiability, as in Examples 3 and 4 above.
Practice Problems On Continuity And Differentiability
Work each one, then check against the answer. Answers are verified.
Is $f(x) = \lvert x - 3\rvert$ differentiable at $x = 3$?
(Answer: continuous but not differentiable; $f'-(3) = -1$, $f'+(3) = +1$.)Is $f(x) = \begin{cases} x + 2 & x < 1 \ 3x & x \ge 1 \end{cases}$ continuous at $x = 1$? Is it differentiable there?
(Answer: continuous, since left limit $= 3$, right value $= 3$; not differentiable, since $f'-(1) = 1 \neq 3 = f'+(1)$.)Find $a$ so that $f(x) = \begin{cases} ax & x \le 2 \ x^2 & x > 2 \end{cases}$ is continuous at $x = 2$.
(Answer: $2a = 4$, so $a = 2$.)Is $f(x) = x^{1/3}$ differentiable at $x = 0$?
(Answer: continuous, but not differentiable; $f'(x) = \tfrac{1}{3}x^{-2/3} \to \infty$, a vertical tangent.)For $f(x) = \begin{cases} x^2 & x \le 1 \ 2x - 1 & x > 1 \end{cases}$, is $f$ differentiable at $x = 1$?
(Answer: yes; both one-sided derivatives equal $2$, so $f'(1) = 2$.)True or false: if $f$ is differentiable at $x = a$, then $f$ is continuous at $x = a$.
(Answer: true; it is the central theorem, and the converse is false.)
Where Should You Go Next After Continuity And Differentiability?
These two ideas are the doorway into differential calculus, and several natural next steps open from here.
Definition of the derivative. The limit that powers the differentiability test, and the foundation of every differentiation rule.
Types of discontinuity. Name and classify the breaks, removable, jump, and infinite, that make continuity fail.
Limits and derivatives. Tie the limit machinery of continuity to the slope machinery of the derivative in one place.
If your child is meeting Continuity and Differentiability for the first time, a live Bhanzu trainer teaches it from the graph up, so "no break" and "no corner" feel like two clear tests, in the Bhanzu math program.
Was this article helpful?
Your feedback helps us write better content
