Solved Exercises on Differentiability in Calculus 1

Master differentiability: conditions, applications, and analysis of function behavior through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Checking Differentiability at a Point
Exercise 1
Determine if \(f(x) = |x|\) is differentiable at \(x = 0\). Justify your answer.
Definition:

Differentiability: A function \(f(x)\) is differentiable at \(x = a\) if the limit \(\lim_{h \to 0} \frac{f(a+h) - f(a)}{h}\) exists. This requires both the left-hand and right-hand limits to exist and be equal.

Differentiability checking method:
  1. Check if the function is continuous at the point (necessary condition)
  2. Calculate the left-hand derivative: \(\lim_{h \to 0^-} \frac{f(a+h) - f(a)}{h}\)
  3. Calculate the right-hand derivative: \(\lim_{h \to 0^+} \frac{f(a+h) - f(a)}{h}\)
  4. If both limits exist and are equal, the function is differentiable
Function
\(f(x) = |x|\)
Point
\(x = 0\)
Result
Not differentiable
Step 1: Check continuity at \(x = 0\)

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

\(\lim_{x \to 0} |x| = 0\)

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

Step 2: Calculate left-hand derivative at \(x = 0\)

For \(h < 0\), \(|h| = -h\), so \(f(0+h) = f(h) = |h| = -h\)

\(\lim_{h \to 0^-} \frac{f(0+h) - f(0)}{h} = \lim_{h \to 0^-} \frac{|h| - 0}{h} = \lim_{h \to 0^-} \frac{-h}{h} = \lim_{h \to 0^-} (-1) = -1\)

Step 3: Calculate right-hand derivative at \(x = 0\)

For \(h > 0\), \(|h| = h\), so \(f(0+h) = f(h) = |h| = h\)

\(\lim_{h \to 0^+} \frac{f(0+h) - f(0)}{h} = \lim_{h \to 0^+} \frac{|h| - 0}{h} = \lim_{h \to 0^+} \frac{h}{h} = \lim_{h \to 0^+} (1) = 1\)

Step 4: Compare left and right derivatives

Left-hand derivative: \(-1\)

Right-hand derivative: \(1\)

Since \(-1 \neq 1\), the derivative does not exist at \(x = 0\)

\(f(x) = |x| \text{ is NOT differentiable at } x = 0\)
Final answer:

The function \(f(x) = |x|\) is not differentiable at \(x = 0\) because the left-hand and right-hand derivatives are not equal. The function has a sharp corner at \(x = 0\).

Applied rules:

• Differentiability condition: Both left and right limits of the difference quotient must exist and be equal

• Continuity requirement: Function must be continuous at the point to be differentiable

• Sharp corners: Functions with sharp corners are not differentiable at those points

2 Differentiability of Piecewise Functions
Exercise 2
Determine if \(f(x) = \begin{cases} x^2 & \text{if } x \leq 1 \\ 2x - 1 & \text{if } x > 1 \end{cases}\) is differentiable at \(x = 1\).
Definition:

Piecewise function differentiability: A piecewise function is differentiable at a boundary point if it's continuous there and the left and right derivatives match.

Function
Piecewise function
Point
\(x = 1\)
Result
Differentiable
Step 1: Check continuity at \(x = 1\)

Left piece: \(f(1) = 1^2 = 1\)

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

Since both sides equal 1, the function is continuous at \(x = 1\)

Step 2: Calculate left-hand derivative at \(x = 1\)

Using the left piece: \(f(x) = x^2\)

\(f'(x) = 2x\)

Left-hand derivative: \(f'(1) = 2(1) = 2\)

Step 3: Calculate right-hand derivative at \(x = 1\)

Using the right piece: \(f(x) = 2x - 1\)

\(f'(x) = 2\)

Right-hand derivative: \(f'(1) = 2\)

Step 4: Compare derivatives

Left-hand derivative: \(2\)

Right-hand derivative: \(2\)

Since both derivatives equal 2, the function is differentiable at \(x = 1\)

\(f(x) \text{ is differentiable at } x = 1\)
Final answer:

The piecewise function is differentiable at \(x = 1\) because it is continuous there and both the left-hand and right-hand derivatives equal 2.

Applied rules:

• Continuity check: Both pieces must approach the same value

• Derivative matching: Left and right derivatives must be equal

• Piecewise differentiability: Requires both continuity and derivative matching

3 Differentiability vs. Continuity
Exercise 3
Explain the relationship between differentiability and continuity. Provide an example of a function that is continuous but not differentiable at a point.
Definition:

Relationship: Differentiability implies continuity, but continuity does not imply differentiability. If a function is differentiable at a point, it must be continuous at that point, but the converse is not true.

Theorem
Differentiable ⇒ Continuous
Counterexample
Continuous ⇏ Differentiable
Example
\(f(x) = |x|\) at \(x = 0\)
Step 1: Prove that differentiability implies continuity

If \(f(x)\) is differentiable at \(x = a\), then \(\lim_{h \to 0} \frac{f(a+h) - f(a)}{h}\) exists

This means \(\lim_{h \to 0} [f(a+h) - f(a)] = \lim_{h \to 0} \frac{f(a+h) - f(a)}{h} \cdot h = f'(a) \cdot 0 = 0\)

Therefore, \(\lim_{h \to 0} f(a+h) = f(a)\), which means \(f\) is continuous at \(x = a\)

Step 2: Provide counterexample

Consider \(f(x) = |x|\) at \(x = 0\)

We showed in Exercise 1 that this function is continuous at \(x = 0\) but not differentiable there

This demonstrates that continuity does not guarantee differentiability

Step 3: List common scenarios where continuity holds but differentiability fails

• Sharp corners (like \(f(x) = |x|\) at \(x = 0\))

• Cusps (like \(f(x) = x^{2/3}\) at \(x = 0\))

• Vertical tangents (like \(f(x) = \sqrt[3]{x}\) at \(x = 0\))

• Oscillating behavior (like \(f(x) = x \sin(1/x)\) at \(x = 0\))

Step 4: Visual interpretation

A function is differentiable at a point if its graph has a well-defined tangent line at that point

Continuity alone means the graph can be drawn without lifting the pencil, but it might have sharp turns

\(\text{Differentiable} \Rightarrow \text{Continuous, but not vice versa}\)
Final answer:

Differentiability implies continuity, but continuity does not imply differentiability. The absolute value function \(f(x) = |x|\) is continuous everywhere but not differentiable at \(x = 0\).

Applied rules:

• Implication direction: Differentiability ⇒ Continuity

• Logical relationship: Differentiability is stronger than continuity

• Geometric interpretation: Differentiable functions have smooth curves without sharp corners

Rules and methods, laws,...
\(\lim_{h \to 0} \frac{f(a+h) - f(a)}{h} \text{ exists} \Rightarrow f \text{ differentiable at } a\)
Differentiability Condition
Condition
Differentiability
Requires limit existence
Property
Continuity
Necessary but not sufficient
Geometric
Interpretation
Smooth tangent line
Key definitions:

Differentiability: A function is differentiable at a point if its derivative exists at that point. This means the limit of the difference quotient exists and is finite.

Continuity: A function is continuous at a point if the limit exists and equals the function value at that point.

Smoothness: A differentiable function has no sharp corners, cusps, or vertical tangents at the point of differentiability.

Local linearity: A differentiable function can be approximated by a linear function near the point of differentiability.

Complete methodology:
  1. Check continuity: Verify the function is continuous at the point (necessary condition)
  2. Calculate left derivative: Find \(\lim_{h \to 0^-} \frac{f(a+h) - f(a)}{h}\)
  3. Calculate right derivative: Find \(\lim_{h \to 0^+} \frac{f(a+h) - f(a)}{h}\)
  4. Compare results: If both limits exist and are equal, function is differentiable
  5. Geometric verification: Check for sharp corners, cusps, or vertical tangents
Tip 1: Always check continuity first - if not continuous, not differentiable.
Tip 2: Look for sharp corners, cusps, and vertical tangents.
Tip 3: For piecewise functions, check boundary points carefully.
Tip 4: Remember: differentiability is stronger than continuity.
Common errors: Forgetting to check continuity, not comparing left and right derivatives, misidentifying points of non-differentiability, confusing the logical relationship between continuity and differentiability.
Exam preparation: Practice identifying different types of non-differentiability, master the difference quotient method, understand the relationship between continuity and differentiability.
Formulas to know by heart:

• Differentiability condition: \(\lim_{h \to 0} \frac{f(a+h) - f(a)}{h}\) exists

• Left derivative: \(\lim_{h \to 0^-} \frac{f(a+h) - f(a)}{h}\)

• Right derivative: \(\lim_{h \to 0^+} \frac{f(a+h) - f(a)}{h}\)

• Relationship: Differentiable ⇒ Continuous, but Continuous ↛ Differentiable

Solution: Exercises 4 to 5
4 Finding Where Functions Are Not Differentiable
Exercise 4
Determine all points where \(f(x) = \sqrt[3]{x^2}\) is not differentiable. Explain your reasoning.
Definition:

Cusp: A point where a function is continuous but the derivative approaches infinity from both sides, creating a sharp point.

Function
\(f(x) = x^{2/3}\)
Derivative
\(f'(x) = \frac{2}{3}x^{-1/3}\)
Result
Not diff. at \(x = 0\)
Step 1: Rewrite the function in power form

\(f(x) = \sqrt[3]{x^2} = (x^2)^{1/3} = x^{2/3}\)

Step 2: Find the derivative for \(x \neq 0\)

Using the power rule: \(f'(x) = \frac{2}{3}x^{2/3 - 1} = \frac{2}{3}x^{-1/3} = \frac{2}{3\sqrt[3]{x}}\)

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

\(f(0) = 0^{2/3} = 0\)

\(\lim_{x \to 0} x^{2/3} = 0\)

The function is continuous at \(x = 0\)

Step 4: Analyze the derivative at \(x = 0\)

From the formula \(f'(x) = \frac{2}{3\sqrt[3]{x}}\), we see that as \(x \to 0\), \(f'(x) \to \pm\infty\)

More precisely: \(\lim_{x \to 0^+} f'(x) = +\infty\) and \(\lim_{x \to 0^-} f'(x) = -\infty\)

Step 5: Use the definition to confirm non-differentiability

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

This limit does not exist since it approaches \(\pm\infty\)

\(f(x) = \sqrt[3]{x^2} \text{ is not differentiable at } x = 0\)
Final answer:

The function \(f(x) = \sqrt[3]{x^2}\) is not differentiable at \(x = 0\). The function has a cusp at the origin where the derivative approaches infinity from both sides.

Applied rules:

• Power rule: \(\frac{d}{dx}[x^n] = nx^{n-1}\)

• Cusp identification: Derivative approaches infinity at the point

• Definition verification: Use difference quotient to confirm non-existence

5 Differentiability of Composite Functions
Exercise 5
Let \(g(x) = |x^2 - 4|\). Determine all values of \(x\) where \(g(x)\) is not differentiable. Justify your answer.
Definition:

Composite function differentiability: For functions involving absolute values, determine where the expression inside the absolute value equals zero, as these are potential points of non-differentiability.

Function
\(g(x) = |x^2 - 4|\)
Critical points
\(x = \pm 2\)
Result
Not diff. at \(x = \pm 2\)
Step 1: Identify where the expression inside absolute value is zero

\(x^2 - 4 = 0\)

\(x^2 = 4\)

\(x = \pm 2\)

Step 2: Rewrite the function as a piecewise function

For \(x^2 - 4 \geq 0\) (i.e., \(x \leq -2\) or \(x \geq 2\)): \(g(x) = x^2 - 4\)

For \(x^2 - 4 < 0\) (i.e., \(-2 < x < 2\)): \(g(x) = -(x^2 - 4) = 4 - x^2\)

So: \(g(x) = \begin{cases} x^2 - 4 & \text{if } x \leq -2 \\ 4 - x^2 & \text{if } -2 < x < 2 \\ x^2 - 4 & \text{if } x \geq 2 \end{cases}\)

Step 3: Check differentiability at \(x = -2\)

Left piece: \(g(x) = x^2 - 4\), so \(g'(-2) = 2(-2) = -4\)

Right piece: \(g(x) = 4 - x^2\), so \(g'(-2) = -2(-2) = 4\)

Since \(-4 \neq 4\), \(g(x)\) is not differentiable at \(x = -2\)

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

Left piece: \(g(x) = 4 - x^2\), so \(g'(2) = -2(2) = -4\)

Right piece: \(g(x) = x^2 - 4\), so \(g'(2) = 2(2) = 4\)

Since \(-4 \neq 4\), \(g(x)\) is not differentiable at \(x = 2\)

Step 5: Verify continuity at critical points

At \(x = -2\): \(g(-2) = |4 - 4| = 0\), and both pieces approach 0, so continuous

At \(x = 2\): \(g(2) = |4 - 4| = 0\), and both pieces approach 0, so continuous

Continuity is satisfied, but differentiability fails due to derivative mismatch

\(g(x) = |x^2 - 4| \text{ is not differentiable at } x = -2 \text{ and } x = 2\)
Final answer:

The function \(g(x) = |x^2 - 4|\) is not differentiable at \(x = -2\) and \(x = 2\), where the expression inside the absolute value equals zero and creates sharp corners.

Applied rules:

• Absolute value breakdown: Convert to piecewise function

• Critical points: Where expression inside absolute value equals zero

• Boundary analysis: Check derivative matching at piece boundaries

Key Differentiability Concepts, Theorems, and Applications
\(f \text{ differentiable at } a \Rightarrow f \text{ continuous at } a\)
Fundamental Theorem
Key definitions:

Differentiability: A function \(f(x)\) is differentiable at \(x = a\) if the limit \(\lim_{h \to 0} \frac{f(a+h) - f(a)}{h}\) exists. This limit is called the derivative of \(f\) at \(a\), denoted \(f'(a)\).

Continuity: A function \(f(x)\) is continuous at \(x = a\) if \(\lim_{x \to a} f(x) = f(a)\). This requires the limit to exist and equal the function value.

Local linearity: A differentiable function behaves like a linear function in a small neighborhood around the point of differentiability.

Smoothness: Differentiable functions have graphs that are smooth curves without sharp corners, cusps, or vertical tangents.

Complete methodology:
  1. Pre-check: Verify the function is defined at the point in question
  2. Continuity check: Confirm the function is continuous at the point (necessary condition)
  3. One-sided derivatives: Calculate left and right derivatives using the definition
  4. Equality check: Verify that left and right derivatives are equal
  5. Conclusion: If all conditions are met, the function is differentiable
Tip 1: Differentiability is a stronger condition than continuity - all differentiable functions are continuous, but not all continuous functions are differentiable.
Tip 2: Look for points where the function has sharp corners, cusps, or vertical tangents - these are common locations of non-differentiability.
Tip 3: For piecewise functions, focus on the boundary points where the definition changes.
Tip 4: When dealing with absolute value functions, identify where the expression inside equals zero.
Tip 5: Remember that differentiability implies the existence of a unique tangent line at the point.
Common error patterns: Assuming continuity implies differentiability, forgetting to check both sides of the derivative, not identifying all critical points in composite functions, confusing the direction of the logical implication between continuity and differentiability.
Advanced applications: Differentiability is fundamental to optimization problems, Taylor series approximations, and the study of function behavior in mathematical analysis.
Essential theorems and properties:

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

• Chain rule for differentiability: If \(g\) is differentiable at \(a\) and \(f\) is differentiable at \(g(a)\), then \(f \circ g\) is differentiable at \(a\)

• Product and quotient rules: Differentiable functions combined algebraically remain differentiable (where defined)

• Intermediate Value Property: Derivatives have the intermediate value property (Darboux's theorem)

Exercise with Visualization: Types of Non-Differentiability
Exercise 6: Graphing Differentiability
Compare the differentiability of these functions at their critical points:
- \(f_1(x) = |x|\) (sharp corner at \(x = 0\))
- \(f_2(x) = x^{2/3}\) (cusp at \(x = 0\))
- \(f_3(x) = \sqrt{|x|}\) (vertical tangent at \(x = 0\))
- \(f_4(x) = x^2\) (differentiable everywhere)

Analysis: The chart shows how different types of non-differentiability manifest graphically:

  • Sharp corners create discontinuities in the derivative
  • Cusps cause the derivative to approach infinity
  • Vertical tangents correspond to undefined derivatives
  • Differentiable functions have smooth, continuous derivatives

Questions & Answers

Question: Why does differentiability imply continuity, but continuity doesn't imply differentiability? Can you explain this intuitively?

Answer: Think of it this way:

Why differentiability implies continuity:

If a function has a well-defined slope at a point, it must pass smoothly through that point without any jumps. The existence of a derivative requires that the function values approach the same value from both sides, which is exactly what continuity means.

Why continuity doesn't imply differentiability:

A function can pass through a point smoothly (continuous) but still have a sharp turn or corner at that point. Continuity only requires that the function doesn't have gaps or jumps, but it doesn't require smoothness.

It's like driving: continuity means you don't lift your foot off the gas pedal (no jumps), but differentiability means you don't jerk the steering wheel (smooth turns). You can drive without jumping, but still make sharp turns.

Mathematically: \(\text{Differentiability} \Rightarrow \text{Continuity}\) is true, but \(\text{Continuity} \Rightarrow \text{Differentiability}\) is false.

Question: What are the different ways a function can fail to be differentiable at a point?

Answer: A function can fail to be differentiable in several ways:

1. Sharp corners: Like \(f(x) = |x|\) at \(x = 0\). The left and right derivatives exist but are different.

2. Cusps: Like \(f(x) = x^{2/3}\) at \(x = 0\). The derivative approaches infinity from both sides.

3. Vertical tangents: Like \(f(x) = \sqrt[3]{x}\) at \(x = 0\). The derivative is undefined (approaches infinity).

4. Discontinuities: If a function isn't continuous at a point, it can't be differentiable there.

5. Oscillating behavior: Like \(f(x) = x \sin(1/x)\) at \(x = 0\) (extended by continuity). The function oscillates too rapidly.

6. Infinite oscillations: Functions that oscillate infinitely often near a point, preventing the derivative from existing.

The most common in basic calculus are sharp corners and discontinuities.

Question: How does differentiability relate to physics applications, particularly in mechanics?

Answer: Differentiability is crucial in physics:

Position, velocity, acceleration:

  • Position function must be differentiable to define velocity
  • Velocity must be differentiable to define acceleration
  • Non-differentiable points represent sudden changes in motion

Energy conservation: Conservative force fields require differentiable potential energy functions.

Wave equations: Solutions must be differentiable to satisfy the differential equations.

Real-world implications: A non-differentiable position function would mean infinite acceleration at that point, which is physically impossible in classical mechanics.

Quantum mechanics: Wave functions must be differentiable to satisfy the Schrödinger equation.

In engineering, differentiability ensures smooth operation of mechanical systems and prevents stress concentrations that could cause failure.

Question: How is differentiability used in economics, particularly in optimization problems?

Answer: Differentiability is fundamental to economic optimization:

Marginal analysis:

  • Marginal cost: derivative of total cost function
  • Marginal revenue: derivative of total revenue function
  • Marginal utility: derivative of utility function

Optimization: Critical points occur where the derivative equals zero (assuming differentiability).

Profit maximization: \(\frac{d}{dq}[\text{Profit}] = \frac{d}{dq}[\text{Revenue} - \text{Cost}] = 0\) leads to MR = MC.

Consumer theory: Utility maximization requires differentiable utility functions for the Lagrange multiplier method.

Production functions: Marginal products require differentiability of production functions.

When functions aren't differentiable (like with fixed costs or quantity discounts), economists use subdifferential calculus or other generalized derivative concepts.

Question: What's the relationship between differentiability and the existence of tangent lines?

Answer: Differentiability and tangent lines are equivalent concepts:

Geometric interpretation:

A function is differentiable at a point if and only if there exists a unique non-vertical tangent line to the graph at that point.

Algebraic connection:

The derivative \(f'(a)\) gives the slope of the tangent line to \(y = f(x)\) at the point \((a, f(a))\).

Scenarios:

  • Differentiable: Unique tangent line with finite slope
  • Vertical tangent: Derivative is infinite (not differentiable)
  • No tangent: Sharp corner or cusp (not differentiable)
  • Multiple tangents: Not differentiable (like at a crossing point)

Local linearity: Near a differentiable point, the function closely resembles its tangent line: \(f(x) \approx f(a) + f'(a)(x-a)\).

This geometric interpretation makes differentiability intuitive: it means the graph is smooth enough to have a well-defined direction at that point.