SOLVER7 Study. Nothing Else.
Exercise 5.2 Q9

Prove that the function \(f\) given by
\(f(x) = |x – 1|, x\in R\) is not differentiable at \(x = 1.\)

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Imagine walking along a path that suddenly has a sharp pointy corner. When you approach that corner from the left side, you are walking in one direction. When you leave from the right side, you are walking in a different direction. The function \( f(x) = |x - 1| \) has exactly such a sharp corner at \( x = 1 \). Because the slope on the left side is \( -1 \) and the slope on the right side is \( 1 \), they do not match, so the function cannot be smoothly described at that point.

Answer: Since the Left Hand Derivative \( -1 \) is not equal to the Right Hand Derivative \( 1 \) at \( x = 1 \), the function \( f(x) = |x - 1| \) is not differentiable at \( x = 1 \).

📖 Non-Differentiability of f(x) = |x - 1| at x = 1

Detailed Explanation

A function \( f \) is differentiable at a point \( x = c \) only if the derivative exists there, which requires the Left Hand Derivative (LHD) and the Right Hand Derivative (RHD) at that point to be equal and finite. The modulus function \( f(x) = |x - 1| \) can be written as a piecewise function because \( |x - 1| \) equals \( (x - 1) \) when \( x \ge 1 \) and equals \( -(x - 1) \) when \( x < 1 \). At \( x = 1 \) the graph forms a sharp corner. At such a corner the slope coming from the left differs from the slope coming from the right, so the derivative does not exist even though the function is continuous.

Formula Used

The function is differentiable at \( x = c \) if \[ \text{LHD} = \lim_{h \to 0^{-}} \frac{f(c + h) - f(c)}{h} \] equals \[ \text{RHD} = \lim_{h \to 0^{+}} \frac{f(c + h) - f(c)}{h} \]

Solution

  1. Step 1: Write the given function in piecewise form. Since \( |x - 1| = x - 1 \) when \( x \ge 1 \) and \( |x - 1| = -(x - 1) \) when \( x < 1 \), we get \[ f(x) = \begin{cases} -(x - 1) & x < 1 \\ (x - 1) & x \ge 1 \end{cases} \] Also note \( f(1) = |1 - 1| = 0 \).
  2. Step 2: Find the Left Hand Derivative (LHD) at \( x = 1 \). Using \( f(1 + h) \) with \( h < 0 \), so \( 1 + h < 1 \), we use \( f(1 + h) = -((1 + h) - 1) = -h \). Then \[ \text{LHD} = \lim_{h \to 0^{-}} \frac{f(1 + h) - f(1)}{h} = \lim_{h \to 0^{-}} \frac{-h - 0}{h} = \lim_{h \to 0^{-}} (-1) = -1 \]
  3. Step 3: Find the Right Hand Derivative (RHD) at \( x = 1 \). Using \( f(1 + h) \) with \( h > 0 \), so \( 1 + h > 1 \), we use \( f(1 + h) = (1 + h) - 1 = h \). Then \[ \text{RHD} = \lim_{h \to 0^{+}} \frac{f(1 + h) - f(1)}{h} = \lim_{h \to 0^{+}} \frac{h - 0}{h} = \lim_{h \to 0^{+}} (1) = 1 \]
  4. Step 4: Compare the two one-sided derivatives. We found \( \text{LHD} = -1 \) and \( \text{RHD} = 1 \). Since \[ \text{LHD} \ne \text{RHD} \] the derivative of \( f \) does not exist at \( x = 1 \).

Final Answer

Since the Left Hand Derivative \( -1 \) is not equal to the Right Hand Derivative \( 1 \) at \( x = 1 \), the function \( f(x) = |x - 1| \) is not differentiable at \( x = 1 \).

Common Mistake

A common mistake is to conclude that because \( f(x) = |x - 1| \) is continuous at \( x = 1 \), it must also be differentiable there. Continuity does not guarantee differentiability; the sharp corner shows that LHD and RHD can still differ.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Express \( f(x) = |x - 1| \) as a piecewise function. Because the expression inside the absolute value changes sign at \( x = 1 \), we write: \[f(x) = \\begin{cases} -(x - 1) & x < 1 \\\\ (x - 1) & x \\ge 1 \\end{cases}\] Also compute \( f(1) = |1 - 1| = 0 \). — Reason: The piecewise form lets us apply the correct branch of the function when evaluating the derivative limits from each side.
  2. Step 2: Identify which branch applies for the LHD. When \( h \to 0^{-} \), we have \( h < 0 \), so \( 1 + h < 1 \). Therefore the left branch applies and \( f(1 + h) = -((1 + h) - 1) = -h \). — Reason: Substituting into the correct piece avoids using the wrong formula, which would give the wrong limit.
  3. Step 3: Compute the Left Hand Derivative (LHD) at \( x = 1 \). Substituting \( f(1 + h) = -h \) and \( f(1) = 0 \): \[\text{LHD} = \lim_{h \to 0^{-}} \frac{f(1 + h) - f(1)}{h} = \lim_{h \to 0^{-}} \frac{-h - 0}{h} = \lim_{h \to 0^{-}} (-1) = -1\] — Reason: This gives the slope of the function as we approach \( x = 1 \) from the left side.
  4. Step 4: Identify which branch applies for the RHD. When \( h \to 0^{+} \), we have \( h > 0 \), so \( 1 + h > 1 \). Therefore the right branch applies and \( f(1 + h) = (1 + h) - 1 = h \). — Reason: Again, selecting the correct piece is essential for an accurate limit calculation from the right.
  5. Step 5: Compute the Right Hand Derivative (RHD) at \( x = 1 \). Substituting \( f(1 + h) = h \) and \( f(1) = 0 \): \[\text{RHD} = \lim_{h \to 0^{+}} \frac{f(1 + h) - f(1)}{h} = \lim_{h \to 0^{+}} \frac{h - 0}{h} = \lim_{h \to 0^{+}} (1) = 1\] — Reason: This gives the slope of the function as we approach \( x = 1 \) from the right side.
  6. Step 6: Compare LHD and RHD. We obtained LHD \( = -1 \) and RHD \( = 1 \). Since \( -1 \ne 1 \), the two one-sided derivatives are not equal at \( x = 1 \). — Reason: The differentiability condition requires LHD \( = \) RHD; a mismatch confirms the function has a sharp corner at this point and is therefore not differentiable there.

Final Answer

Since the Left Hand Derivative \( -1 \) is not equal to the Right Hand Derivative \( 1 \) at \( x = 1 \), the function \( f(x) = |x - 1| \) is not differentiable at \( x = 1 \).

Common Mistake

One common mistake: students apply the same branch of the piecewise function on both sides of \( x = 1 \) instead of switching branches. For \( h < 0 \) one must use the piece \( -(x-1) \), while for \( h > 0 \) one must use the piece \( (x-1) \); using only one piece throughout makes both derivatives appear equal and leads to the incorrect conclusion that the function is differentiable.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Note f(1) = 0: Given \( f(x) = |x-1| \), so \( f(1) = 0 \).
  2. Step 2: Compute LHD: For \( h \to 0^{-} \), \( f(1+h) = -(1+h-1) = -h \), so \[\text{LHD} = \lim_{h \to 0^{-}} \frac{-h - 0}{h} = -1\]
  3. Step 3: Compute RHD: For \( h \to 0^{+} \), \( f(1+h) = (1+h-1) = h \), so \[\text{RHD} = \lim_{h \to 0^{+}} \frac{h - 0}{h} = 1\]
  4. Step 4: Compare: \( \text{LHD} = -1 \ne 1 = \text{RHD} \)

Answer: Since the Left Hand Derivative \( -1 \) is not equal to the Right Hand Derivative \( 1 \) at \( x = 1 \), the function \( f(x) = |x - 1| \) is not differentiable at \( x = 1 \).

➕ More Examples

More Examples

Example 1

Question: Prove that the function \( g(x) = |x - 3|, \; x \in \mathbb{R} \) is not differentiable at \( x = 3 \).

Solution: We need to check differentiability at \( x = 3 \) by computing the Left-Hand Derivative (LHD) and Right-Hand Derivative (RHD). First, note that \( g(3) = |3 - 3| = 0 \). Also, we write the function in piecewise form: \[ g(x) = \begin{cases} x - 3 & x \ge 3 \\ -(x - 3) & x < 3 \end{cases} \] Computing the Left-Hand Derivative (LHD) at \( x = 3 \): \[ f'(3^-) = \lim_{h \to 0^+} \frac{g(3 - h) - g(3)}{-h} \] Since \( 3 - h < 3 \) for small \( h > 0 \), we have \( g(3 - h) = -(3 - h - 3) = h \). Substituting: \[ f'(3^-) = \lim_{h \to 0^+} \frac{h - 0}{-h} = \lim_{h \to 0^+} (-1) = -1 \] Computing the Right-Hand Derivative (RHD) at \( x = 3 \): \[ f'(3^+) = \lim_{h \to 0^+} \frac{g(3 + h) - g(3)}{h} \] Since \( 3 + h > 3 \) for small \( h > 0 \), we have \( g(3 + h) = (3 + h) - 3 = h \). Substituting: \[ f'(3^+) = \lim_{h \to 0^+} \frac{h - 0}{h} = \lim_{h \to 0^+} 1 = 1 \] Since LHD \( = -1 \ne 1 = \) RHD, we conclude that \( g(x) = |x - 3| \) is NOT differentiable at \( x = 3 \).

Answer: \( g(x) = |x - 3| \) is not differentiable at \( x = 3 \) because LHD \( = -1 \ne 1 = \) RHD.

Example 2

Question: Show that the function \( h(x) = |2x - 4|, \; x \in \mathbb{R} \) is not differentiable at \( x = 2 \).

Solution: We need to verify differentiability at \( x = 2 \) using the limit definition of derivatives. First, note that \( h(2) = |2(2) - 4| = |0| = 0 \). We can also write \( h(x) \) in piecewise form. Setting \( 2x - 4 = 0 \) gives \( x = 2 \), so: \[ h(x) = \begin{cases} 2x - 4 & x \ge 2 \\ -(2x - 4) & x < 2 \end{cases} \] Computing the Left-Hand Derivative (LHD) at \( x = 2 \): \[ h'(2^-) = \lim_{h \to 0^+} \frac{h(2 - h) - h(2)}{-h} \] For \( 2 - h < 2 \), we have \( h(2 - h) = -(2(2-h) - 4) = -(4 - 2h - 4) = 2h \). Substituting: \[ h'(2^-) = \lim_{h \to 0^+} \frac{2h - 0}{-h} = \lim_{h \to 0^+} (-2) = -2 \] Computing the Right-Hand Derivative (RHD) at \( x = 2 \): \[ h'(2^+) = \lim_{h \to 0^+} \frac{h(2 + h) - h(2)}{h} \] For \( 2 + h > 2 \), we have \( h(2 + h) = 2(2 + h) - 4 = 2h \). Substituting: \[ h'(2^+) = \lim_{h \to 0^+} \frac{2h - 0}{h} = \lim_{h \to 0^+} 2 = 2 \] Since LHD \( = -2 \ne 2 = \) RHD, we conclude that \( h(x) = |2x - 4| \) is NOT differentiable at \( x = 2 \).

Answer: \( h(x) = |2x - 4| \) is not differentiable at \( x = 2 \) because LHD \( = -2 \ne 2 = \) RHD.

🎯 Try a Similar Question

Try a Similar Question

Question: Prove that the function \( f \) defined by \( f(x) = |x - 3|,\; x \in \mathbb{R} \) is not differentiable at \( x = 3 \).

Solution

  1. Step 1: Write the piecewise definition of f(x): We note that \( |x - 3| \) can be written as: \[f(x) = \begin{cases} x - 3 & x \ge 3 \\ -(x-3) & x < 3 \end{cases}\] We need to check differentiability at \( x = 3 \) by computing the Left Hand Derivative (LHD) and Right Hand Derivative (RHD).
  2. Step 2: Compute the Left Hand Derivative (LHD) at x = 3: The LHD is defined as: \[ f'(3^-) = \lim_{h \to 0^-} \frac{f(3 + h) - f(3)}{h} \] Since \( h \to 0^- \), we have \( 3 + h < 3 \), so \( f(3+h) = -(3+h-3) = -h \). Also, \( f(3) = |3-3| = 0 \). Substituting: \[ f'(3^-) = \lim_{h \to 0^-} \frac{-h - 0}{h} = \lim_{h \to 0^-} \frac{-h}{h} = \lim_{h \to 0^-} (-1) = -1 \]
  3. Step 3: Compute the Right Hand Derivative (RHD) at x = 3: The RHD is defined as: \[ f'(3^+) = \lim_{h \to 0^+} \frac{f(3 + h) - f(3)}{h} \] Since \( h \to 0^+ \), we have \( 3 + h > 3 \), so \( f(3+h) = (3+h-3) = h \). Also, \( f(3) = 0 \). Substituting: \[ f'(3^+) = \lim_{h \to 0^+} \frac{h - 0}{h} = \lim_{h \to 0^+} \frac{h}{h} = \lim_{h \to 0^+} (1) = 1 \]
  4. Step 4: Compare LHD and RHD: We found that \( f'(3^-) = -1 \) and \( f'(3^+) = 1 \). Since \( f'(3^-) \ne f'(3^+) \), the derivative does not exist at \( x = 3 \). Therefore, \( f(x) = |x - 3| \) is not differentiable at \( x = 3 \).

Answer: Since the Left Hand Derivative \( -1 \) is not equal to the Right Hand Derivative \( 1 \) at \( x = 3 \), the function \( f(x) = |x - 3| \) is not differentiable at \( x = 3 \).

Everything you get with Solver7

More questions in Continuity and Differentiability

Chapter 5 Examples Q1 Chapter 5 Examples Q2 Chapter 5 Examples Q3 65/1/1 2024 / Section A Q3 Chapter 5 Examples Q4 65/2/1 2024 / Section A Q4 65/3/1 2024 / Section A Q4 Chapter 5 Examples Q5 65/4/1 2026 / Section A Q5 Chapter 5 Examples Q6 65(B) 2026 / Section A Q6 65/4/1 2023 / Section A Q6 65/4/2 2024 / Section A Q6 65/5/1 2026 / Section A Q6 Chapter 5 Examples Q7 65/3/1 2026 / Section A Q7 65/4/1 2023 / Section A Q7 65/4/1 2026 / Section A Q7 65/4/2 2024 / Section A Q7 Chapter 5 Examples Q8 65/4/1 2026 / Section A Q8 65/5/1 2026 / Section A Q8 Chapter 5 Examples Q9 Chapter 5 Examples Q10 Chapter 5 Examples Q11 65/2/2 2023 / Section A Q11 65/2/3 2026 / Section A Q11 Chapter 5 Examples Q12 65/2/2 2023 / Section A Q12 Chapter 5 Examples Q13 65/1/1 2023 / Section A Q13 65/1/1 2024 / Section A Q13 65/2/1 2024 / Section A Q13 Chapter 5 Examples Q14 65/3/1 2024 / Section A Q14 Chapter 5 Examples Q15 65/3/1 2023 / Section A Q15 Chapter 5 Examples Q16 65/3/1 2023 / Section A Q16 Chapter 5 Examples Q17 Chapter 5 Examples Q18 Chapter 5 Examples Q19 Chapter 5 Examples Q20 Chapter 5 Examples Q21 65/1/1 2024 / Section B Q21(a) 65/1/1 2026 / Section B Q21(a) 65/3/1 2026 / Section B Q21 Chapter 5 Examples Q22 65/1/1 2024 / Section B Q21(b) 65/1/1 2026 / Section B Q21(b) 65/3/1 2024 / Section B Q22(a) 65/4/1 2026 / Section B Q22(a) 65/5/1 2026 / Section B Q22(a) Chapter 5 Examples Q23 65/2/1 2024 / Section B Q22(a) 65/3/1 2024 / Section B Q22(b) 65/4/1 2023 / Section B Q22 65/4/1 2026 / Section B Q22(b) 65/5/1 2026 / Section B Q22(b) Chapter 5 Examples Q24