Friday, July 31, 2026

Understanding Limits, Continuity and Differentiability

Relationship, Hierarchy, and Conditions for Non-Differentiability
Note

The discussion below explains the relationship between limits, continuity and differentiability, together with important examples illustrating when differentiability fails. All mathematical expressions have been formatted using pure HTML so that the article remains fully compatible with Blogger without requiring MathJax, KaTeX or JavaScript.
1. Limits are not the same as derivatives

A derivative is defined using a limit, but the existence of a limit alone does not imply the existence of a derivative.

f(a) = limh→0 f(a+h) − f(a) h

Notice that this is a very specific limit (called the difference quotient).

A function may have an ordinary limit

limx→a f(x)

while the derivative does not exist.

Example
Definition
f(x) = |x|

At x = 0,

limx→0 |x| = 0

exists.

Graph of f(x) = |x|
x y (0,0)
Observation

The graph is continuous, but there is a sharp corner at the origin. This geometric feature prevents the derivative from existing at x=0 even though the limit exists.

But

limh→0 |h| − 0 h

does not exist because

One-Sided Limit Value
Left-hand limit −1
Right-hand limit 1
Important
  • Left-hand derivative = −1
  • Right-hand derivative = 1
  • Since the two one-sided derivatives are different, the derivative does not exist.

Hence

Property Result
Limit exists
Derivative exists
Conclusion

Your first statement is correct. The existence of an ordinary limit does not guarantee the existence of a derivative. A derivative requires the existence of a very specific limit—the difference quotient—which is a much stronger condition than the ordinary limit.


2. Order of Strictness

The proper hierarchy is

Differentiable->   Continuous->   Limit Exists

Every differentiable function is continuous.

Every continuous function has a limit equal to the function value.

The converse of none of these is true.

Key Observation

Differentiability is the strongest property. Continuity is weaker than differentiability. The existence of a limit is weaker than continuity. Therefore,

Limit Exists ->Continuous (Stronger) ->   Differentiable (Strongest)
Therefore

(i) Limit exists

(ii) Function may still not be continuous because

limx→a f(x)

may exist but

f(a) ≠ limx→a f(x)

or f(a) may not even exist.

Example
f(x) =
{ 1,  x = 0
0,  x ≠ 0

Here

limx→0 f(x) = 0

exists,

but

f(0) = 1

Hence not continuous.

Graph of the Piecewise Function
x y (0,1) Limit = 0
Observation

Every point except the origin lies on the horizontal line y = 0. As x approaches 0 from either side, the function approaches 0. However, the actual value of the function at the origin is f(0)=1, shown by the filled red point. Therefore, the limit exists, but the function is not continuous.

(iii) Even if continuous, the derivative may not exist.

Example
f(x) = |x|

Continuous everywhere.

Not differentiable at 0.

Geometric Interpretation
Left slope = −1 Right slope = 1
Conclusion

The function is perfectly continuous, yet its graph contains a sharp corner. The left-hand and right-hand slopes are different, so the derivative does not exist at the origin.


3. When is a Function Not Differentiable?
(i) Not Continuous

Correct.

Differentiability always implies continuity.

Differentiable  ⇒  Continuous

Therefore,

Logical Consequence

If a function is discontinuous, then it cannot be differentiable.

Summary

Discontinuous  ⇒  Not Differentiable


(ii) Sharp Corner (Corner Point)

Correct.

Example

f(x) = |x|

Left slope

= −1

Right slope

= 1

Hence the derivative does not exist.

Corner Geometry
Sharp Corner
Observation

Although the graph is continuous, the slope changes abruptly at the corner. Since the left-hand and right-hand derivatives are unequal, the derivative does not exist.


(iii) Vertical Tangent

Mostly correct.

Example

f(x) = x1/3

The derivative is

f(x) = 1 3x2/3

At

x = 0

the derivative becomes infinite.

Important

Most elementary calculus books simply state that the derivative does not exist at this point. Geometrically, however, the tangent line is vertical.

Graph of f(x) = x1/3
Vertical Tangent (0,0) x y
Geometric Interpretation

Unlike a corner, the graph remains smooth. However, the tangent becomes perfectly vertical at the origin. Since the slope tends to positive infinity, the ordinary finite derivative does not exist.


(iv) Wild Oscillation

Correct.

Example

f(x) = x sin ( 1 x )

At 0, define

f(0)=0

The function is continuous.

But

f(0)= limh→0 f(h)-f(0) h

Substituting f(h)=h sin(1/h) and f(0)=0,

f(0)= limh→0 sin ( 1 h )

does not exist because

Observation

As h approaches zero, the quantity 1/h becomes arbitrarily large. Consequently, the value of sin(1/h) oscillates endlessly between −1 and 1 without approaching any single value. Therefore, the required limit does not exist.

Graph of f(x) = x sin(1/x)
(0,0) Oscillation continues indefinitely
Conclusion

The function itself approaches the origin continuously. However, its slope oscillates infinitely rapidly near the origin. Since the derivative limit fails to converge, the derivative does not exist.


4. Examples

Let's examine each one.

(i) f(x) = |x|

Correct.

Continuous.

Not differentiable at 0.

Reason: corner.

Key Point

The function is perfectly continuous because there is no break in its graph. However, the graph changes direction abruptly at the origin. The left-hand derivative is −1 while the right-hand derivative is 1. Since these one-sided derivatives are unequal, the derivative does not exist.

Visual Interpretation of the Corner
Left slope = −1 Right slope = 1 Corner
(ii) x sin(π/x)

(assuming f(0)=0).

Continuous.

Not differentiable at 0.

Reason: oscillation.

Observation

Although the function itself approaches the origin continuously, its slope oscillates increasingly rapidly near the origin. Therefore, the derivative fails to converge even though the function remains continuous.

Graph of f(x) = x sin(π/x)
Oscillation near the origin

(iii) Weierstrass Function

This is one of the most famous examples.

Properties
  • Continuous everywhere.
  • Differentiable nowhere.
Illustration of a Weierstrass-Type Curve
Continuous but Nowhere Differentiable
Important Observation

The graph never contains any breaks or jumps, so it is continuous everywhere. However, no matter how much the graph is magnified, it never becomes locally straight. Consequently, no unique tangent exists at any point.


(iv) Blancmange Function

Also called the Takagi function.

Properties
  • Continuous everywhere.
  • Differentiable nowhere.
Illustration of the Blancmange (Takagi) Function
Self-Similar Fractal Structure
Observation

The Blancmange function exhibits self-similarity at different scales. Although it is continuous everywhere, it has no well-defined derivative at any point.


(v) Koch Snowflake

This one needs a small correction.

Important Correction

The Koch snowflake is not a function. Instead, it is a fractal curve. Therefore, we do not normally discuss its differentiability as a function of the form y = f(x).

More precisely,

  • The boundary of the Koch snowflake is a continuous curve.
  • It has no well-defined tangent at any point.
  • Consequently, it is regarded as a nowhere-differentiable curve.
Illustration of the Koch Snowflake Boundary
Continuous Fractal Curve
Why it is Different

Unlike the previous examples, the Koch snowflake does not represent a single-valued function. Instead, it is studied as a geometric curve. Its boundary is continuous, but nowhere smooth, making it an important example in fractal geometry.


One More Important Example

There is another classic example.

f(x) = x2/3

At x = 0, the graph has a cusp.

The derivative approaches

  • +∞ from one side,
  • −∞ from the other side.

Therefore, the derivative does not exist.

Key Observation

A cusp is fundamentally different from a corner. The graph remains continuous, but the tangent direction changes infinitely rapidly, producing infinite slopes with opposite signs.


Corner vs Cusp vs Vertical Tangent

Although all three situations result in the derivative not existing, they are geometrically very different. Understanding these differences is essential in elementary calculus.

Summary
  • Corner: Finite one-sided derivatives exist but are unequal.
  • Cusp: One-sided derivatives become infinite with opposite signs.
  • Vertical Tangent: Both one-sided derivatives approach the same infinite value.
Visual Comparison
Corner Cusp Vertical Tangent Left slope ≠ Right slope −∞ and +∞ slopes Same infinite slope
Important Distinction

Although all three graphs are continuous, the derivative fails for different geometric reasons. A corner has two different finite slopes. A cusp has two infinite slopes with opposite signs. A vertical tangent has infinite slopes of the same sign. Recognizing these differences is extremely important when studying differentiability.


Summary Hierarchy

The relationship between limits, continuity and differentiability can now be summarized as follows.

Differentiable Continuous Limit Exists

Differentiable → Continuous → Limit Exists

Key Implication

Every differentiable function is automatically continuous. Likewise, every continuous function automatically has a limit equal to the function value. However, the converse implications are not true.

Important Note

A function may possess a limit without being continuous. Similarly, a function may be continuous without being differentiable. Therefore, each property is stronger than the one below it in the hierarchy.


Converse Implications are False

The hierarchy

Differentiable  ⇒  Continuous  ⇒  Limit Exists

does not work in the reverse direction.

Differentiable Continuous Limit Exists False False
Common Misconception

Many students mistakenly assume that if a function is continuous, it must also be differentiable. The absolute value function, f(x) = |x|, is an immediate counterexample. Likewise, the existence of a limit alone does not guarantee continuity.


Complete Summary

A function may fail to be differentiable because of the following reasons.

  1. Discontinuity ✓
  2. Corner (sharp turn) ✓
  3. Cusp ✓
  4. Vertical tangent ✓
  5. Wild oscillation ✓
  6. Fractal behavior (for example, the Weierstrass or Blancmange function) ✓
Appendix A — Common Misconceptions
Misconception Reality
If the limit exists, the function is continuous. False. The function value must also equal the limit.
If a function is continuous, it is differentiable. False. The graph may contain a corner, cusp or vertical tangent.
Infinite derivative means derivative exists. False. Elementary calculus requires a finite derivative.
Every continuous curve represents a function. False. The Koch snowflake is a continuous curve but not a function y=f(x).
Appendix B — How to Test Differentiability
Does the limit exist? Is f(a)=Limit? Continuous? Compare Left and Right Derivatives If equal → Differentiable Otherwise examine Corner • Cusp • Vertical Tangent • Oscillation
Revision Cheat Sheet
  • Derivative is defined using a limit.
  • Every differentiable function is continuous.
  • Every continuous function has a limit equal to its function value.
  • The converse of both statements is false.
  • Discontinuity always destroys differentiability.
  • Corner → unequal finite slopes.
  • Cusp → opposite infinite slopes.
  • Vertical tangent → same infinite slope.
  • Oscillation → derivative limit fails to converge.
  • Weierstrass and Blancmange functions are continuous everywhere but differentiable nowhere.
  • Koch snowflake is a fractal curve, not a function.
Practice Questions
  1. Give an example of a function whose limit exists but which is not continuous.
  2. Give an example of a function that is continuous but not differentiable.
  3. Why does |x| fail to be differentiable at x = 0?
  4. Differentiate between a corner and a cusp.
  5. What is meant by a vertical tangent?
  6. Explain why x sin(1/x) is continuous but not differentiable at x = 0.
  7. State the hierarchy relating limits, continuity and differentiability.
  8. Why is the Koch snowflake not considered a function?
  9. Name two famous functions that are continuous everywhere but differentiable nowhere.
  10. Give one real-life application where differentiability is important.

No comments:

Post a Comment

Understanding Limits, Continuity and Differentiability

Relationship, Hierarchy, and Conditions for Non-Differentiability Note The discussion below explains the relationship between lim...