SOLVER7 Study. Nothing Else.
2023 Board Paper Q6

The function \(f(x) =|\ x\ |\)is :
(A) continuous and differentiable everywhere.
(B) continuous and differentiable nowhere.
(C) continuous everywhere, but differentiable everywhere except at \(x = 0.\)
(D) continuous everywhere, but differentiable nowhere.

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Imagine drawing the graph of \( f(x) = |x| \). It looks like the letter V. Along the entire V-shape, you never lift your pencil, so the graph is unbroken and continuous everywhere. But right at the very bottom tip of the V, there is a sharp corner. A sharp corner means the graph has no single smooth direction there. That is why the function cannot be differentiated at \( x = 0 \), even though it is perfectly continuous at that point.

Answer: Option (C): The function \( f(x) = |x| \) is continuous everywhere, but differentiable everywhere except at \( x = 0 \).

📖 Continuity and Differentiability of f(x) = |x|

Detailed Explanation

The modulus (absolute value) function is defined as \[f(x) = |x| = \begin{cases} x & x \ge 0 \\ -x & x < 0 \end{cases}\] A function is continuous at a point if its left-hand limit, right-hand limit and function value all agree there. A function is differentiable at a point if the left-hand derivative (LHD) equals the right-hand derivative (RHD) at that point. For \( f(x) = |x| \), the graph is a V-shape with a sharp corner at the origin. Wherever a graph is smooth and unbroken it is continuous, and wherever it has a sharp corner it fails to be differentiable even though it may still be continuous there.

Formula Used

Continuity at \( x = a \): \[\lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x) = f(a)\] Differentiability at \( x = a \): \[\text{LHD} = \lim_{h \to 0^-} \frac{f(a+h) - f(a)}{h} = \lim_{h \to 0^+} \frac{f(a+h) - f(a)}{h} = \text{RHD}\]

Solution

  1. Step 1: Write the function piecewise. \[f(x) = |x| = \begin{cases} x & x \ge 0 \\ -x & x < 0 \end{cases}\] For all points other than \( x = 0 \) the function is either \( x \) or \( -x \), which are polynomials, hence both continuous and differentiable there. So the only doubtful point is \( x = 0 \).
  2. Step 2: Check continuity at \( x = 0 \). Left-hand limit: \[\lim_{x \to 0^-} f(x) = \lim_{x \to 0^-}(-x) = 0\] Right-hand limit: \[\lim_{x \to 0^+} f(x) = \lim_{x \to 0^+}(x) = 0\] Also \( f(0) = |0| = 0 \). Since all three values are equal, \( f \) is continuous at \( x = 0 \).
  3. Step 3: Check differentiability at \( x = 0 \) using the left-hand derivative. \[\text{LHD} = \lim_{h \to 0^-} \frac{f(0+h) - f(0)}{h} = \lim_{h \to 0^-} \frac{|h| - 0}{h}\] For \( h < 0 \), \( |h| = -h \), so \[\text{LHD} = \lim_{h \to 0^-} \frac{-h}{h} = -1\]
  4. Step 4: Now compute the right-hand derivative at \( x = 0 \). \[\text{RHD} = \lim_{h \to 0^+} \frac{|h| - 0}{h}\] For \( h > 0 \), \( |h| = h \), so \[\text{RHD} = \lim_{h \to 0^+} \frac{h}{h} = 1\]
  5. Step 5: Compare LHD and RHD. Since \( \text{LHD} = -1 \) and \( \text{RHD} = 1 \), they are not equal. Therefore \( f(x) = |x| \) is NOT differentiable at \( x = 0 \). This matches the sharp corner in the V-shaped graph. Everywhere else the function is differentiable.
  6. Step 6: Conclusion: \( f(x) = |x| \) is continuous for all real \( x \), and differentiable for all real \( x \) except at \( x = 0 \). This corresponds to option (C).

Final Answer

Option (C): The function \( f(x) = |x| \) is continuous everywhere, but differentiable everywhere except at \( x = 0 \).

Common Mistake

A common mistake is to assume that because \( f(x) = |x| \) is continuous at \( x = 0 \), it must also be differentiable there. Continuity does not imply differentiability — the sharp corner gives unequal left and right derivatives, so the function is not differentiable at that point.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write f(x) = |x| in piecewise form: \[f(x) = \\begin{cases} x & x \\ge 0 \\\\ -x & x < 0 \\end{cases}\] Reason: Breaking the modulus function into its two linear pieces makes it easy to apply limit and derivative rules separately on each piece.
  2. Step 2: Observe that for any point other than x = 0, the function equals either x or -x, both of which are polynomials. Reason: Polynomials are continuous and differentiable everywhere on their domain, so the only point we actually need to investigate is x = 0.
  3. Step 3: Check the Left-Hand Limit at x = 0 using the piece for x < 0: \[\lim_{x \to 0^-} f(x) = \lim_{x \to 0^-}(-x) = 0\] Then check the Right-Hand Limit at x = 0 using the piece for x \ge 0: \[\lim_{x \to 0^+} f(x) = \lim_{x \to 0^+}(x) = 0\] Also note that f(0) = |0| = 0. Reason: Continuity demands all three values — left limit, right limit, and function value — to be equal.
  4. Step 4: Since \[\lim_{x \to 0^-} f(x) = \lim_{x \to 0^+} f(x) = f(0) = 0\] the continuity condition is fully satisfied. Reason: This confirms f is continuous at x = 0, and combined with Step 2, f is continuous everywhere on \( \mathbb{R} \).
  5. Step 5: Compute the Left-Hand Derivative (LHD) at x = 0. Using the piece -x for h < 0: \[\text{LHD} = \lim_{h \to 0^-} \frac{f(0+h)-f(0)}{h} = \lim_{h \to 0^-} \frac{-h - 0}{h} = \lim_{h \to 0^-}(-1) = -1\] Reason: When h approaches 0 from the left, h is negative, so |h| = -h, giving a slope of -1.
  6. Step 6: Compute the Right-Hand Derivative (RHD) at x = 0. Using the piece x for h > 0: \[\text{RHD} = \lim_{h \to 0^+} \frac{f(0+h)-f(0)}{h} = \lim_{h \to 0^+} \frac{h - 0}{h} = \lim_{h \to 0^+}(1) = 1\] Reason: When h approaches 0 from the right, h is positive, so |h| = h, giving a slope of +1.
  7. Step 7: Since LHD = -1 and RHD = 1, we have LHD \( \ne \) RHD at x = 0. Reason: Differentiability requires LHD = RHD; because they differ, f(x) = |x| is NOT differentiable at x = 0. This corresponds geometrically to the sharp V-shaped corner at the origin.

Final Answer

Option (C): The function \( f(x) = |x| \) is continuous everywhere, but differentiable everywhere except at \( x = 0 \).

Common Mistake

One common mistake: Students often assume that continuity implies differentiability. Remember, continuity is a necessary but NOT sufficient condition for differentiability — a function can be continuous at a point yet still fail to be differentiable there (as seen at x = 0 for |x|).

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Piecewise definition and continuity at \( x = 0 \): \[f(x) = |x| = \begin{cases} x & x \ge 0 \\ -x & x < 0 \end{cases}\] \[\lim_{x \to 0^-} f(x) = 0, \quad \lim_{x \to 0^+} f(x) = 0, \quad f(0) = 0\] All three are equal, so \( f \) is continuous at \( x = 0 \), and hence continuous everywhere.
  2. Step 2: Differentiability at \( x = 0 \): LHD: \[\lim_{h \to 0^-} \frac{f(0+h)-f(0)}{h} = \lim_{h \to 0^-} \frac{-h}{h} = -1\] RHD: \[\lim_{h \to 0^+} \frac{f(0+h)-f(0)}{h} = \lim_{h \to 0^+} \frac{h}{h} = 1\] Since LHD \( \ne \) RHD, \( f \) is not differentiable at \( x = 0 \).

Answer: Option (C): The function \( f(x) = |x| \) is continuous everywhere, but differentiable everywhere except at \( x = 0 \).

➕ More Examples

More Examples

Example 1

Question: The function \( f(x) = |x - 3| \) is: (A) continuous and differentiable everywhere. (B) continuous everywhere, but not differentiable at \( x = 3 \). (C) neither continuous nor differentiable at \( x = 3 \). (D) continuous and differentiable everywhere except at \( x = 0 \).

Solution: We can write \( f(x) = |x - 3| \) in piecewise form as: \[f(x) = \begin{cases} x - 3 & x \ge 3 \\ -(x - 3) & x < 3 \end{cases}\] Step 1 — Check continuity at \( x = 3 \). Left-hand limit: \(\lim_{x \to 3^-} f(x) = \lim_{x \to 3^-} -(x-3) = 0\) Right-hand limit: \(\lim_{x \to 3^+} f(x) = \lim_{x \to 3^+} (x-3) = 0\) Value at the point: \( f(3) = |3 - 3| = 0 \) Since both one-sided limits equal \( f(3) \), the function is continuous at \( x = 3 \). For \( x \ne 3 \), \( f \) is either \( x - 3 \) or \( -(x-3) \), both of which are polynomials and hence continuous. Therefore \( f \) is continuous everywhere. Step 2 — Check differentiability at \( x = 3 \). Left-hand derivative: \[f'_{-}(3) = \lim_{h \to 0^-} \frac{f(3+h) - f(3)}{h} = \lim_{h \to 0^-} \frac{-(3+h-3) - 0}{h} = \lim_{h \to 0^-} \frac{-h}{h} = -1\] Right-hand derivative: \[f'_{+}(3) = \lim_{h \to 0^+} \frac{f(3+h) - f(3)}{h} = \lim_{h \to 0^+} \frac{(3+h-3) - 0}{h} = \lim_{h \to 0^+} \frac{h}{h} = 1\] Since \( f'_{-}(3) = -1 \ne 1 = f'_{+}(3) \), the function is NOT differentiable at \( x = 3 \). For \( x \ne 3 \), \( f \) is a polynomial, so it is differentiable. Conclusion: \( f(x) = |x - 3| \) is continuous everywhere but differentiable everywhere except at \( x = 3 \).

Answer: (B) continuous everywhere, but not differentiable at \( x = 3 \).

Example 2

Question: Examine whether the function \[g(x) = \begin{cases} x^2 + 1 & x \le 1 \\ 2x & x > 1 \end{cases}\] is continuous and differentiable at \( x = 1 \). Hence choose the correct option. (A) Continuous and differentiable at \( x = 1 \). (B) Neither continuous nor differentiable at \( x = 1 \). (C) Continuous but not differentiable at \( x = 1 \). (D) Not continuous but differentiable at \( x = 1 \).

Solution: Step 1 — Check continuity at \( x = 1 \). Left-hand limit: \(\lim_{x \to 1^-} g(x) = \lim_{x \to 1^-} (x^2 + 1) = 1 + 1 = 2\) Right-hand limit: \(\lim_{x \to 1^+} g(x) = \lim_{x \to 1^+} 2x = 2\) Value at the point: \( g(1) = 1^2 + 1 = 2 \) All three are equal to 2, so \( g \) is continuous at \( x = 1 \). Step 2 — Check differentiability at \( x = 1 \). Left-hand derivative: \[g'_{-}(1) = \lim_{h \to 0^-} \frac{g(1+h) - g(1)}{h} = \lim_{h \to 0^-} \frac{(1+h)^2 + 1 - 2}{h}\] Expanding the numerator: \((1+h)^2 + 1 - 2 = 1 + 2h + h^2 - 1 = 2h + h^2\) So: \[g'_{-}(1) = \lim_{h \to 0^-} \frac{2h + h^2}{h} = \lim_{h \to 0^-} (2 + h) = 2\] Right-hand derivative: \[g'_{+}(1) = \lim_{h \to 0^+} \frac{g(1+h) - g(1)}{h} = \lim_{h \to 0^+} \frac{2(1+h) - 2}{h} = \lim_{h \to 0^+} \frac{2h}{h} = 2\] Since \( g'_{-}(1) = 2 = g'_{+}(1) \), the function IS differentiable at \( x = 1 \). Conclusion: \( g(x) \) is both continuous and differentiable at \( x = 1 \). This illustrates that a piecewise function can join smoothly (no corner) if both the function values and the slopes match at the joining point.

Answer: (A) Continuous and differentiable at \( x = 1 \).

🎯 Try a Similar Question

Try a Similar Question

Question: Examine the function \( f(x) = |x - 3| \) for continuity and differentiability. Choose the correct option. (A) Continuous everywhere and differentiable everywhere. (B) Neither continuous nor differentiable anywhere. (C) Continuous everywhere, but not differentiable at \( x = 3 \). (D) Continuous everywhere, but not differentiable anywhere.

Solution

  1. Step 1: Write f(x) as a piecewise function: We can write \( f(x) = |x - 3| \) in piecewise form as: \[ f(x) = \begin{cases} x - 3 & \text{if } x \ge 3 \\ -(x - 3) & \text{if } x < 3 \end{cases} \] Both pieces are polynomial (linear) expressions, which are continuous and differentiable on their respective domains.
  2. Step 2: Check continuity at x = 3: We check whether \( \lim_{x \to 3} f(x) = f(3) \). Left-hand limit: \[ \lim_{x \to 3^-} f(x) = \lim_{x \to 3^-} -(x-3) = -(3-3) = 0 \] Right-hand limit: \[ \lim_{x \to 3^+} f(x) = \lim_{x \to 3^+} (x-3) = 3-3 = 0 \] Also, \( f(3) = |3 - 3| = 0 \). Since both one-sided limits equal \( f(3) \), the function is continuous at \( x = 3 \). For all \( x \ne 3 \), \( f(x) \) is a linear function, hence continuous. Therefore, \( f(x) \) is continuous everywhere.
  3. Step 3: Check differentiability at x = 3: We compute the left-hand derivative (LHD) and right-hand derivative (RHD) at \( x = 3 \). LHD: \[ f'(3^-) = \lim_{h \to 0^-} \frac{f(3+h) - f(3)}{h} = \lim_{h \to 0^-} \frac{-(3+h-3) - 0}{h} = \lim_{h \to 0^-} \frac{-h}{h} = -1 \] RHD: \[ f'(3^+) = \lim_{h \to 0^+} \frac{f(3+h) - f(3)}{h} = \lim_{h \to 0^+} \frac{(3+h-3) - 0}{h} = \lim_{h \to 0^+} \frac{h}{h} = 1 \] Since \( f'(3^-) = -1 \ne 1 = f'(3^+) \), the function is NOT differentiable at \( x = 3 \).
  4. Step 4: Check differentiability elsewhere: For \( x > 3 \), \( f(x) = x - 3 \), which gives \( f'(x) = 1 \). For \( x < 3 \), \( f(x) = -(x-3) = 3 - x \), which gives \( f'(x) = -1 \). Both are defined for all \( x \ne 3 \), so \( f(x) \) is differentiable everywhere except at \( x = 3 \).
  5. Step 5: Conclusion: The function \( f(x) = |x - 3| \) is continuous everywhere, but differentiable everywhere except at \( x = 3 \). The correct answer is Option (C).

Answer: Option (C): The function \( f(x) = |x - 3| \) is continuous everywhere, but 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/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 65/2/3 2026 / Section B Q23