Solved Exercises on Connecting Limits, Continuity, and Differentiability in Differential Calculus

Master the connections between limits, continuity, and differentiability through these 5 detailed exercises with visual representations and step-by-step solutions.

Solution: Exercises 1 to 3
1 Connection verification
Exercise 1
For the function \(f(x) = x^2\), verify the connection between limits, continuity, and differentiability at \(x = 2\).
Definition:

Connection between concepts: Differentiability implies continuity, which implies the existence of a limit. These form a chain of implications.

Verification Method:
  1. Check differentiability at \(x = 2\)
  2. Verify continuity at \(x = 2\)
  3. Confirm the existence of the limit at \(x = 2\)
  4. Observe the logical connection between these properties
Function
\(f(x) = x^2\)
Derivative
\(f'(x) = 2x\)
At x=2
\(f'(2) = 4\)
Step 1: Check differentiability at \(x = 2\)

Find the derivative: \(f'(x) = 2x\)

At \(x = 2\): \(f'(2) = 2(2) = 4\)

Since the derivative exists and is finite, \(f(x)\) is differentiable at \(x = 2\).

Step 2: Verify continuity at \(x = 2\)

Since polynomials are continuous everywhere, \(f(x) = x^2\) is continuous at \(x = 2\).

Alternatively: \(\lim_{x \to 2} f(x) = \lim_{x \to 2} x^2 = 4 = f(2)\)

Step 3: Confirm the limit exists at \(x = 2\)

\(\lim_{x \to 2} f(x) = \lim_{x \to 2} x^2 = 4\)

The limit exists and equals \(f(2) = 4\).

Step 4: Observe the logical connection

This confirms the implication chain: differentiable ⇒ continuous ⇒ limit exists

\(f(x) = x^2\) is differentiable, continuous, and has a limit at \(x = 2\)
Final answer:

For \(f(x) = x^2\) at \(x = 2\): the function is differentiable (\(f'(2) = 4\)), continuous (\(\lim_{x \to 2} f(x) = f(2) = 4\)), and the limit exists. This exemplifies the connection between these concepts.

Applied rules:

• Differentiability implies continuity: If \(f\) is differentiable at \(c\), then \(f\) is continuous at \(c\)

• Continuity implies limit existence: If \(f\) is continuous at \(c\), then \(\lim_{x \to c} f(x)\) exists

• Polynomial properties: Polynomials are differentiable everywhere

2 Counterexample analysis
Exercise 2
Analyze the function \(f(x) = |x|\) at \(x = 0\) to show that continuity does not imply differentiability.
Definition:

Counterexample: A function that is continuous but not differentiable demonstrates that the converse of the implication "differentiable ⇒ continuous" is false.

Function
\(f(x) = |x|\)
Left derivative
\(f'_-(0) = -1\)
Right derivative
\(f'_+(0) = 1\)
Step 1: Check continuity at \(x = 0\)

\(f(0) = |0| = 0\)

\(\lim_{x \to 0} |x| = 0\) (both left and right limits equal 0)

Since \(\lim_{x \to 0} f(x) = f(0) = 0\), the function is continuous at \(x = 0\).

Step 2: Check differentiability at \(x = 0\)

Left-hand derivative: \(f'_-(0) = \lim_{h \to 0^-} \frac{|0+h| - |0|}{h} = \lim_{h \to 0^-} \frac{-h}{h} = -1\)

Right-hand derivative: \(f'_+(0) = \lim_{h \to 0^+} \frac{|0+h| - |0|}{h} = \lim_{h \to 0^+} \frac{h}{h} = 1\)

Since \(f'_-(0) \neq f'_+(0)\), the derivative does not exist at \(x = 0\).

Step 3: Draw conclusions

The function is continuous at \(x = 0\) but not differentiable at \(x = 0\).

This shows that continuity does not imply differentiability.

Step 4: Analyze the geometric significance

The graph of \(f(x) = |x|\) has a sharp corner at \(x = 0\), which prevents the existence of a tangent line.

Continuous at \(x = 0\) but not differentiable at \(x = 0\)
Final answer:

The absolute value function \(f(x) = |x|\) is continuous at \(x = 0\) but not differentiable there. This demonstrates that continuity does not imply differentiability, showing the one-way nature of the implication chain.

Applied rules:

• One-way implication: Differentiable ⇒ Continuous, but not vice versa

• Corner points: Functions with sharp corners are typically not differentiable

• Left/right derivatives: If they differ, the derivative doesn't exist

3 Discontinuity implications
Exercise 3
For the function \(f(x) = \begin{cases} x & \text{if } x \neq 1 \\ 3 & \text{if } x = 1 \end{cases}\), analyze the connections at \(x = 1\).
Definition:

Discontinuity consequences: If a function is discontinuous at a point, it cannot be differentiable at that point, demonstrating the contrapositive of the differentiability-continuity relationship.

Left limit
\(\lim_{x \to 1^-} f(x) = 1\)
Right limit
\(\lim_{x \to 1^+} f(x) = 1\)
Function value
\(f(1) = 3\)
Step 1: Evaluate the limit at \(x = 1\)

For \(x \neq 1\), \(f(x) = x\), so:

\(\lim_{x \to 1^-} f(x) = \lim_{x \to 1^-} x = 1\)

\(\lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} x = 1\)

Therefore, \(\lim_{x \to 1} f(x) = 1\).

Step 2: Check continuity at \(x = 1\)

We have \(\lim_{x \to 1} f(x) = 1\) but \(f(1) = 3\).

Since \(\lim_{x \to 1} f(x) \neq f(1)\), the function is discontinuous at \(x = 1\).

Step 3: Check differentiability at \(x = 1\)

Since the function is discontinuous at \(x = 1\), it cannot be differentiable there.

(Differentiability implies continuity, so discontinuity implies non-differentiability.)

Step 4: Analyze the logical chain

This example shows: no limit exists for \(\lim_{x \to 1} f(x) = f(1)\), so no continuity, hence no differentiability.

Not continuous at \(x = 1\), therefore not differentiable at \(x = 1\)
Final answer:

The function is discontinuous at \(x = 1\) because \(\lim_{x \to 1} f(x) \neq f(1)\). Consequently, it is not differentiable at \(x = 1\), demonstrating the logical chain of implications between these concepts.

Applied rules:

• Contrapositive reasoning: If not continuous, then not differentiable

• Limit-continuity connection: Function is continuous if \(\lim_{x \to c} f(x) = f(c)\)

• Implication chain: Differentiable ⇒ Continuous ⇒ Limit exists

Connections Summary, Rules and Methods
\(\text{Differentiable} \Rightarrow \text{Continuous} \Rightarrow \text{Limit exists}\)
Logical Chain of Implications
Differentiable
\(f'(c)\) exists
Implies continuity
Continuous
\(\lim_{x \to c} f(x) = f(c)\)
Implies limit exists
Limit exists
\(\lim_{x \to c} f(x)\) exists
Necessary for continuity
Key definitions:

Differentiable at \(c\): The derivative \(f'(c) = \lim_{h \to 0} \frac{f(c+h) - f(c)}{h}\) exists and is finite.

Continuous at \(c\): \(\lim_{x \to c} f(x) = f(c)\) (the limit exists and equals the function value).

Limit exists at \(c\): \(\lim_{x \to c} f(x)\) exists (both left and right limits exist and are equal).

Implication chain: Differentiability ⇒ Continuity ⇒ Limit existence, but none of the converses hold in general.

Complete methodology:
  1. Check differentiability: Compute the derivative using the definition or rules
  2. Verify continuity: Check if \(\lim_{x \to c} f(x) = f(c)\)
  3. Confirm limit existence: Evaluate \(\lim_{x \to c} f(x)\)
  4. Draw logical connections: Understand how these properties relate
  5. Identify counterexamples: Find cases where implications don't reverse
Tip 1: Differentiability is the strongest condition; if a function is differentiable at a point, it automatically satisfies continuity and limit existence.
Tip 2: Use the contrapositive: if a function is not continuous, it cannot be differentiable.
Tip 3: Look for corners, cusps, or vertical tangents as indicators of non-differentiability.
Tip 4: Jump discontinuities, infinite discontinuities, and removable discontinuities all prevent differentiability.
Common errors: Assuming continuity implies differentiability, forgetting to check both sides of derivatives, misapplying the chain of implications.
Exam preparation: Practice identifying the weakest condition satisfied, work with piecewise functions, and understand geometric interpretations of each property.
Logical Relationships:

• Differentiable ⇒ Continuous: If \(f\) is differentiable at \(c\), then \(f\) is continuous at \(c\)

• Continuous ⇒ Limit exists: If \(f\) is continuous at \(c\), then \(\lim_{x \to c} f(x)\) exists

• Converses are false: Continuous does not imply differentiable; limit exists does not imply continuous

Solution: Exercises 4 to 5
4 Advanced connection analysis
Exercise 4
For the function \(f(x) = \begin{cases} x^2\sin(1/x) & \text{if } x \neq 0 \\ 0 & \text{if } x = 0 \end{cases}\), analyze differentiability and continuity at \(x = 0\).
Definition:

Oscillating function: A function that oscillates rapidly near a point but is still differentiable due to controlled behavior.

Function
\(f(x) = x^2\sin(1/x)\) for \(x \neq 0\)
At x=0
\(f(0) = 0\)
Step 1: Check continuity at \(x = 0\)

For \(x \neq 0\): \(|x^2\sin(1/x)| \leq |x^2| \cdot 1 = x^2\)

Since \(\lim_{x \to 0} x^2 = 0\) and \(f(0) = 0\), by the Squeeze Theorem: \(\lim_{x \to 0} f(x) = 0 = f(0)\)

Therefore, \(f\) is continuous at \(x = 0\).

Step 2: Check differentiability at \(x = 0\)

Using the definition of the derivative:

\(f'(0) = \lim_{h \to 0} \frac{f(0+h) - f(0)}{h} = \lim_{h \to 0} \frac{h^2\sin(1/h) - 0}{h} = \lim_{h \to 0} h\sin(1/h)\)

Step 3: Evaluate the derivative limit

Since \(|h\sin(1/h)| \leq |h| \cdot 1 = |h|\) and \(\lim_{h \to 0} |h| = 0\), by the Squeeze Theorem: \(\lim_{h \to 0} h\sin(1/h) = 0\)

Therefore, \(f'(0) = 0\), so \(f\) is differentiable at \(x = 0\).

Step 4: Analyze the implications

Despite the rapid oscillation of \(\sin(1/x)\), the factor \(x^2\) controls the behavior enough to ensure both continuity and differentiability at \(x = 0\).

\(f\) is both continuous and differentiable at \(x = 0\)
Final answer:

The function is both continuous and differentiable at \(x = 0\). This example shows that even functions with rapid oscillations can be differentiable if the oscillation is controlled by a sufficiently small factor.

Applied rules:

• Squeeze theorem: Used to handle oscillating functions with bounded behavior

• Definition of derivative: Direct computation using the limit definition

• Controlled oscillation: Rapid oscillation can be managed with sufficient damping

5 Comprehensive analysis
Exercise 5
For the function \(f(x) = \begin{cases} x^2 & \text{if } x \leq 1 \\ 2x - 1 & \text{if } x > 1 \end{cases}\), analyze all three properties at \(x = 1\).
Definition:

Piecewise function analysis: Requires checking properties at the boundary point where the definition changes.

Left function
\(x^2\)
Right function
\(2x - 1\)
At x=1
\(f(1) = 1\)
Step 1: Evaluate function value at \(x = 1\)

Since \(x = 1\) satisfies \(x \leq 1\), we use the first piece: \(f(1) = 1^2 = 1\).

Step 2: Check the limit at \(x = 1\)

Left-hand limit: \(\lim_{x \to 1^-} f(x) = \lim_{x \to 1^-} x^2 = 1^2 = 1\)

Right-hand limit: \(\lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} (2x - 1) = 2(1) - 1 = 1\)

Since both one-sided limits equal 1, \(\lim_{x \to 1} f(x) = 1\).

Step 3: Check continuity at \(x = 1\)

Since \(\lim_{x \to 1} f(x) = 1 = f(1)\), the function is continuous at \(x = 1\).

Step 4: Check differentiability at \(x = 1\)

Left-hand derivative: \(f'_-(1) = \lim_{h \to 0^-} \frac{(1+h)^2 - 1^2}{h} = \lim_{h \to 0^-} \frac{2h + h^2}{h} = \lim_{h \to 0^-} (2 + h) = 2\)

Right-hand derivative: \(f'_+(1) = \lim_{h \to 0^+} \frac{2(1+h) - 1 - (2(1) - 1)}{h} = \lim_{h \to 0^+} \frac{2h}{h} = 2\)

Since \(f'_-(1) = f'_+(1) = 2\), the function is differentiable at \(x = 1\).

At \(x = 1\): limit exists, continuous, and differentiable
Final answer:

At \(x = 1\): the limit exists and equals 1, the function is continuous (since \(\lim_{x \to 1} f(x) = f(1) = 1\)), and the function is differentiable (since both one-sided derivatives equal 2). This demonstrates a well-behaved piecewise function where all properties are satisfied.

Applied rules:

• Piecewise function analysis: Evaluate each piece separately at boundary points

• One-sided limits: Check both sides when dealing with piecewise functions

• One-sided derivatives: Compute separately for piecewise functions

Detailed Course: Connections Between Limits, Continuity, and Differentiability
\(f \text{ diff. at } c \Rightarrow f \text{ cont. at } c \Rightarrow \lim_{x \to c} f(x) \text{ exists}\)
Fundamental Implication Chain
Key definitions:

Limit of a function: \(\lim_{x \to c} f(x) = L\) means that as \(x\) approaches \(c\), \(f(x)\) approaches \(L\). Both one-sided limits must exist and be equal.

Continuity: A function \(f\) is continuous at \(x = c\) if and only if: (1) \(f(c)\) is defined, (2) \(\lim_{x \to c} f(x)\) exists, and (3) \(\lim_{x \to c} f(x) = f(c)\).

Differentiability: A function \(f\) is differentiable at \(x = c\) if the derivative \(f'(c) = \lim_{h \to 0} \frac{f(c+h) - f(c)}{h}\) exists.

Logical chain: The relationship between these concepts forms a strict hierarchy of requirements.

Complete methodology:
  1. Differentiability check: Compute the derivative using the definition or differentiation rules
  2. Continuity verification: Check if \(\lim_{x \to c} f(x) = f(c)\)
  3. Limit evaluation: Determine if \(\lim_{x \to c} f(x)\) exists
  4. Relationship analysis: Understand how these properties connect
  5. Counterexample identification: Find cases where implications don't reverse
Tip 1: Always check the strongest condition first (differentiability), as it implies the others.
Tip 2: Use the contrapositive to quickly rule out differentiability: if discontinuous, then not differentiable.
Tip 3: For piecewise functions, always check the boundary points where the definition changes.
Tip 4: Look for geometric features: corners, cusps, and vertical tangents indicate non-differentiability.
Common errors: Assuming continuity implies differentiability, not checking both sides for piecewise functions, misapplying the implication chain in reverse direction.
Exam preparation: Practice with various function types (polynomials, piecewise, absolute value), understand geometric interpretations, and memorize the one-way nature of the implications.
Implication Relationships:

• Differentiable ⇒ Continuous: If a function is differentiable at a point, it must be continuous there

• Continuous ⇒ Limit exists: If a function is continuous at a point, its limit exists there

• Neither converse holds: Continuous does not imply differentiable; limit exists does not imply continuous

Visual Representation: Property Relationships
Concept Connections
Visual representation of how limits, continuity, and differentiability are interconnected:

Analysis: The diagram shows the hierarchical relationship between these fundamental calculus concepts.

  • Differentiability is the strongest condition
  • Each property implies the next weaker one
  • The converses do not generally hold

Questions & Answers

Question: Why does differentiability imply continuity, but continuity not imply differentiability? What's the mathematical intuition behind this asymmetry?

Answer: The asymmetry comes from the fact that differentiability is a stronger condition than continuity.

Why differentiability implies continuity: If \(f'(c)\) exists, then the limit \(\lim_{h \to 0} \frac{f(c+h) - f(c)}{h}\) exists. For this limit to exist, the numerator \(f(c+h) - f(c)\) must approach 0 as \(h \to 0\), which means \(f(c+h) \to f(c)\), i.e., \(\lim_{x \to c} f(x) = f(c)\). This is exactly the definition of continuity.

Why continuity doesn't imply differentiability: Continuity only requires that the function values approach the same limit from both sides. It doesn't require that the function is "smooth" enough to have a tangent line. The function can have corners, cusps, or vertical tangents while still being continuous.

Think of it this way: continuity means no breaks in the graph, while differentiability means no sharp corners or breaks.

Question: Can you give me a geometric interpretation of why a function with a corner point cannot be differentiable?

Answer: Differentiability at a point means that the function has a unique tangent line at that point. Geometrically, this requires the function to be "locally linear" - if you zoom in enough, the curve should look like a straight line.

At a corner point:

  • There are infinitely many lines that could serve as "tangent lines" - one for each direction approaching the corner
  • The slope of the secant lines changes abruptly as you approach from different sides
  • The left-hand derivative and right-hand derivative exist but are different

For example, with \(f(x) = |x|\) at \(x = 0\): approaching from the left, the slopes are all -1; approaching from the right, the slopes are all +1. There's no consistent way to define a single tangent line.

The function needs to be "smooth" enough to have a unique tangent direction.

Question: How can I quickly determine if a function is differentiable at a point without going through the full definition?

Answer: Here are quick checks for non-differentiability:

  1. Discontinuities: If the function isn't continuous at the point, it can't be differentiable there
  2. Sharp corners: Like in \(f(x) = |x|\) at \(x = 0\)
  3. Cusps: Where the function has a sharp point, like \(f(x) = x^{2/3}\) at \(x = 0\)
  4. Vertical tangents: Where the derivative approaches ±∞

If none of these apply and the function appears smooth, it's likely differentiable. For polynomial functions, they're differentiable everywhere. For rational functions, they're differentiable wherever the denominator isn't zero.

The formal definition is needed only when the geometric intuition isn't clear or when dealing with more complex functions.

Question: Are there functions that are continuous everywhere but differentiable nowhere? That seems to contradict the connection.

Answer: Yes, such functions exist! The most famous example is the Weierstrass function: \(f(x) = \sum_{n=0}^{\infty} a^n \cos(b^n \pi x)\) where \(0 < a < 1\), \(b\) is a positive odd integer, and \(ab > 1 + \frac{3\pi}{2}\).

This function is continuous everywhere (by the Weierstrass M-test) but differentiable nowhere. This doesn't contradict our connection because:

  • Our connection says: differentiable ⇒ continuous (not the converse)
  • Continuity is necessary but not sufficient for differentiability
  • These exotic functions demonstrate that continuity doesn't guarantee differentiability

These functions are important in mathematical analysis as counterexamples, but they're not typical in applications. Most functions encountered in practice are differentiable except at isolated points.

Question: How do these connections apply in real-world applications, especially in physics and engineering?

Answer: These connections are fundamental in modeling real-world phenomena:

  • Position/velocity/acceleration: Position must be continuous (objects don't teleport), velocity is the derivative of position, so position must be differentiable for velocity to exist
  • Energy conservation: Energy functions are typically continuous, and their derivatives relate to forces
  • Heat transfer: Temperature distributions must be continuous, and heat flux depends on temperature gradients
  • Control systems: Smooth control inputs (differentiable) lead to continuous system responses

When modeling, engineers often assume differentiability because it allows for the use of differential equations. Discontinuities and non-differentiable points often correspond to physically significant events like collisions, phase changes, or switching behaviors.

Understanding these connections helps determine when mathematical models are valid and when special treatment of singular points is needed.