SOLVER7 Study. Nothing Else.
2023 Board Paper Q11

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

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Imagine a road that splits into two paths at a junction. The function \( f(x) = x|x| \) behaves like two smooth roads that meet perfectly at zero — no sudden jumps, no sharp corners. When two roads meet without a bump or a kink, we say they connect smoothly. That smooth connection means the function is both continuous and differentiable at \( x = 0 \). The slope at that meeting point turns out to be exactly zero, meaning the road is perfectly flat right there.

Answer: The function \( f(x) = x|x| \) is both continuous and differentiable at \( x = 0 \), with \( f'(0) = 0 \). Correct option: (A).

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

Detailed Explanation

The function \( f(x) = x|x| \) contains the modulus, which behaves differently for \( x \ge 0 \) and \( x < 0 \). So we first rewrite it as a piecewise function. A function is continuous at a point if the left-hand limit, right-hand limit, and the function value are all equal. A function is differentiable at a point if the left-hand derivative and right-hand derivative are equal there. Continuity is a weaker condition than differentiability: a function can be continuous at a point yet fail to be differentiable there (for example, if the graph has a sharp corner or a sudden change in slope).

Formula Used

\[ |x| = \begin{cases} x & x \ge 0 \\ -x & x < 0 \end{cases} \] Continuity at \( x=0 \): \( \lim_{x \to 0^-} f(x) = \lim_{x \to 0^+} f(x) = f(0) \). Differentiability at \( x=0 \): LHD = RHD, where \[ f'(0) = \lim_{h \to 0} \frac{f(0+h) - f(0)}{h}. \]

Solution

  1. Step 1: Rewrite the function as a piecewise expression using the definition of modulus. For \( x \ge 0 \) we have \( |x| = x \), and for \( x < 0 \) we have \( |x| = -x \). Therefore \[ f(x) = x|x| = \begin{cases} x^2 & x \ge 0 \\ -x^2 & x < 0 \end{cases}. \]
  2. Step 2: Check continuity at \( x = 0 \). First find the function value: \[ f(0) = 0 \cdot |0| = 0. \] Right-hand limit: \[ \lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} x^2 = 0. \] Left-hand limit: \[ \lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} (-x^2) = 0. \]
  3. Step 3: Compare the limits and the value. Since \[ \lim_{x \to 0^-} f(x) = \lim_{x \to 0^+} f(x) = f(0) = 0, \] the function is continuous at \( x = 0 \).
  4. Step 4: Check differentiability at \( x = 0 \) using the first-principle definition. Right-hand derivative: \[ \text{RHD} = \lim_{h \to 0^+} \frac{f(0+h) - f(0)}{h} = \lim_{h \to 0^+} \frac{h^2 - 0}{h} = \lim_{h \to 0^+} h = 0. \] Left-hand derivative: \[ \text{LHD} = \lim_{h \to 0^-} \frac{f(0+h) - f(0)}{h} = \lim_{h \to 0^-} \frac{-h^2 - 0}{h} = \lim_{h \to 0^-} (-h) = 0. \]
  5. Step 5: Compare the one-sided derivatives. Since \( \text{LHD} = \text{RHD} = 0 \), the derivative exists at \( x = 0 \) and equals \( 0 \). Hence the function is also differentiable at \( x = 0 \).

Final Answer

The function \( f(x) = x|x| \) is both continuous and differentiable at \( x = 0 \), with \( f'(0) = 0 \). Correct option: (A).

Common Mistake

A common mistake is assuming that any function involving \( |x| \) must be non-differentiable at \( x = 0 \). While \( |x| \) itself has a corner at \( 0 \), the extra factor of \( x \) smooths it out, so \( x|x| \) is actually differentiable there. Always verify by computing the LHD and RHD rather than guessing.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Rewrite \( f(x) = x|x| \) as a piecewise function using the definition of \( |x| \). When \( x \ge 0 \), \( |x| = x \), so \( f(x) = x \cdot x = x^2 \). When \( x < 0 \), \( |x| = -x \), so \( f(x) = x \cdot (-x) = -x^2 \). Therefore: \[f(x) = \begin{cases} x^2 & x \ge 0 \\ -x^2 & x < 0 \end{cases}\] Reason: Eliminating the absolute value symbol converts the problem into ordinary polynomial expressions that are easy to evaluate with limits.
  2. Step 2: Find the function value at \( x = 0 \). Substituting directly: \[f(0) = 0 \cdot |0| = 0\] Reason: We need this value to complete the three-part continuity check.
  3. Step 3: Compute the right-hand limit (RHL) as \( x \to 0^+ \). For \( x > 0 \), we use the piece \( f(x) = x^2 \): \[\lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} x^2 = 0\] Compute the left-hand limit (LHL) as \( x \to 0^- \). For \( x < 0 \), we use the piece \( f(x) = -x^2 \): \[\lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} (-x^2) = 0\] Reason: Both one-sided limits must be found separately because the formula for \( f \) is different on each side of 0.
  4. Step 4: Conclude the continuity test. We have: \[\lim_{x \to 0^-} f(x) = 0, \quad \lim_{x \to 0^+} f(x) = 0, \quad f(0) = 0\] Since LHL \( = \) RHL \( = f(0) = 0 \), the function is continuous at \( x = 0 \). Reason: All three quantities being equal is the exact definition of continuity at a point.
  5. Step 5: Compute the Left-Hand Derivative (LHD) using first principles. For small \( h < 0 \), the point \( 0 + h \) is negative, so \( f(h) = -h^2 \): \[\text{LHD} = \lim_{h \to 0^-} \frac{f(h) - f(0)}{h} = \lim_{h \to 0^-} \frac{-h^2 - 0}{h} = \lim_{h \to 0^-} (-h) = 0\] Reason: We approach 0 from the left to find the slope of the tangent from that side.
  6. Step 6: Compute the Right-Hand Derivative (RHD) using first principles. For small \( h > 0 \), the point \( 0 + h \) is positive, so \( f(h) = h^2 \): \[\text{RHD} = \lim_{h \to 0^+} \frac{f(h) - f(0)}{h} = \lim_{h \to 0^+} \frac{h^2 - 0}{h} = \lim_{h \to 0^+} h = 0\] Reason: We approach 0 from the right to find the slope of the tangent from that side.
  7. Step 7: Conclude the differentiability test. Since LHD \( = \) RHD \( = 0 \), the derivative exists at \( x = 0 \) and: \[f'(0) = 0\] Reason: Equal one-sided derivatives confirm differentiability, and their common value is the derivative at that point.

Final Answer

The function \( f(x) = x|x| \) is both continuous and differentiable at \( x = 0 \), with \( f'(0) = 0 \). Correct option: (A).

Common Mistake

One common mistake: students sometimes check only the right-hand derivative using the piece \( x^2 \) and skip the left-hand derivative, or they forget to verify continuity separately — remember, continuity must be confirmed before concluding differentiability.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Piecewise Form: \[f(x) = \begin{cases} x^2 & x \ge 0 \\ -x^2 & x < 0 \end{cases}\]
  2. Step 2: Continuity at \( x = 0 \): \[\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 \).
  3. Step 3: Differentiability at \( x = 0 \): LHD: \[\lim_{h \to 0^-} \frac{-h^2 - 0}{h} = \lim_{h \to 0^-} (-h) = 0\] RHD: \[\lim_{h \to 0^+} \frac{h^2 - 0}{h} = \lim_{h \to 0^+} h = 0\] LHD \( = \) RHD \( = 0 \), so \( f'(0) = 0 \).

Answer: The function \( f(x) = x|x| \) is both continuous and differentiable at \( x = 0 \), with \( f'(0) = 0 \). Correct option: (A).

➕ More Examples

More Examples

Example 1

Question: The function \( g(x) = x^2 |x| \) is: (A) neither continuous nor differentiable at \( x = 0 \) (B) continuous but not differentiable at \( x = 0 \) (C) differentiable but not continuous at \( x = 0 \) (D) continuous and differentiable at \( x = 0 \)

Solution: Write \( g(x) \) in piecewise form. For \( x \ge 0 \): \( |x| = x \), so \( g(x) = x^2 \cdot x = x^3 \). For \( x < 0 \): \( |x| = -x \), so \( g(x) = x^2 \cdot (-x) = -x^3 \). Thus: \[ g(x) = \begin{cases} x^3 & x \ge 0 \\ -x^3 & x < 0 \end{cases} \] Step 1 — Check continuity at \( x = 0 \). Left-hand limit: \( \lim_{x \to 0^-} g(x) = \lim_{x \to 0^-} (-x^3) = 0 \). Right-hand limit: \( \lim_{x \to 0^+} g(x) = \lim_{x \to 0^+} x^3 = 0 \). Value at 0: \( g(0) = 0^3 = 0 \). Since all three equal 0, \( g \) is continuous at \( x = 0 \). Step 2 — Check differentiability at \( x = 0 \). Left-hand derivative: \[ g'(0^-) = \lim_{h \to 0^-} \frac{g(0+h) - g(0)}{h} = \lim_{h \to 0^-} \frac{-h^3 - 0}{h} = \lim_{h \to 0^-} (-h^2) = 0 \] Right-hand derivative: \[ g'(0^+) = \lim_{h \to 0^+} \frac{g(0+h) - g(0)}{h} = \lim_{h \to 0^+} \frac{h^3 - 0}{h} = \lim_{h \to 0^+} h^2 = 0 \] Since \( g'(0^-) = g'(0^+) = 0 \), the function is differentiable at \( x = 0 \), with \( g'(0) = 0 \). Conclusion: \( g(x) = x^2|x| \) is both continuous and differentiable at \( x = 0 \).

Answer: (D) continuous and differentiable at \( x = 0 \)

Example 2

Question: Examine whether \( h(x) = |x^2 - 4| \) is continuous and differentiable at \( x = 2 \). (A) neither continuous nor differentiable at \( x = 2 \) (B) continuous but not differentiable at \( x = 2 \) (C) differentiable but not continuous at \( x = 2 \) (D) continuous and differentiable at \( x = 2 \)

Solution: Write \( h(x) \) in piecewise form near \( x = 2 \). Note that \( x^2 - 4 = (x-2)(x+2) \). For \( x \) near 2, \( x + 2 > 0 \), so the sign of \( x^2 - 4 \) depends on \( x - 2 \). For \( x \ge 2 \): \( x^2 - 4 \ge 0 \), so \( h(x) = x^2 - 4 \). For \( x < 2 \): \( x^2 - 4 < 0 \), so \( h(x) = -(x^2 - 4) = 4 - x^2 \). Thus near \( x = 2 \): \[ h(x) = \begin{cases} 4 - x^2 & x < 2 \\ x^2 - 4 & x \ge 2 \end{cases} \] Step 1 — Check continuity at \( x = 2 \). Left-hand limit: \( \lim_{x \to 2^-} (4 - x^2) = 4 - 4 = 0 \). Right-hand limit: \( \lim_{x \to 2^+} (x^2 - 4) = 4 - 4 = 0 \). Value at 2: \( h(2) = 2^2 - 4 = 0 \). All three equal 0, so \( h \) is continuous at \( x = 2 \). Step 2 — Check differentiability at \( x = 2 \). Left-hand derivative: \[ h'(2^-) = \lim_{h \to 0^-} \frac{h(2+h) - h(2)}{h} = \lim_{h \to 0^-} \frac{4 - (2+h)^2 - 0}{h} \] Expand \( (2+h)^2 = 4 + 4h + h^2 \): \[ h'(2^-) = \lim_{h \to 0^-} \frac{4 - 4 - 4h - h^2}{h} = \lim_{h \to 0^-} \frac{-4h - h^2}{h} = \lim_{h \to 0^-} (-4 - h) = -4 \] Right-hand derivative: \[ h'(2^+) = \lim_{h \to 0^+} \frac{h(2+h) - h(2)}{h} = \lim_{h \to 0^+} \frac{(2+h)^2 - 4 - 0}{h} \] Expand: \[ h'(2^+) = \lim_{h \to 0^+} \frac{4 + 4h + h^2 - 4}{h} = \lim_{h \to 0^+} \frac{4h + h^2}{h} = \lim_{h \to 0^+} (4 + h) = 4 \] Since \( h'(2^-) = -4 \ne 4 = h'(2^+) \), the function is not differentiable at \( x = 2 \). Conclusion: \( h(x) = |x^2 - 4| \) is continuous but not differentiable at \( x = 2 \).

Answer: (B) continuous but not differentiable at \( x = 2 \)

🎯 Try a Similar Question

Try a Similar Question

Question: Consider the function \( g(x) = |x^2 - 1| \) at \( x = 1 \). Which of the following is correct? (A) \( g(x) \) is neither continuous nor differentiable at \( x = 1 \). (B) \( g(x) \) is continuous and differentiable at \( x = 1 \). (C) \( g(x) \) is continuous but not differentiable at \( x = 1 \). (D) \( g(x) \) is differentiable but not continuous at \( x = 1 \).

Solution

  1. Step 1: Write g(x) as a piecewise function near x = 1: We note that \( x^2 - 1 = (x-1)(x+1) \). Near \( x = 1 \), for \( x > 1 \) we have \( x^2 - 1 > 0 \), and for \( x < 1 \) (but close to 1) we have \( x^2 - 1 < 0 \). So the piecewise form near \( x = 1 \) is: \[ g(x) = \begin{cases} x^2 - 1 & x \ge 1 \\ -(x^2 - 1) & x < 1 \end{cases} \]
  2. Step 2: Check continuity at x = 1: We compute the left-hand limit, right-hand limit, and function value. Left-hand limit: \( \lim_{x \to 1^-} g(x) = \lim_{x \to 1^-} -(x^2 - 1) = -(1 - 1) = 0 \). Right-hand limit: \( \lim_{x \to 1^+} g(x) = \lim_{x \to 1^+} (x^2 - 1) = 1 - 1 = 0 \). Function value: \( g(1) = |1^2 - 1| = 0 \). Since all three are equal to 0, \( g(x) \) is continuous at \( x = 1 \).
  3. Step 3: Compute the Right-Hand Derivative (RHD) at x = 1: Using the definition with \( h \to 0^+ \): \[ f'_{+}(1) = \lim_{h \to 0^+} \frac{g(1+h) - g(1)}{h} = \lim_{h \to 0^+} \frac{(1+h)^2 - 1 - 0}{h} \] Expanding the numerator: \( (1+h)^2 - 1 = 1 + 2h + h^2 - 1 = 2h + h^2 \). So the RHD becomes \[ f'_{+}(1) = \lim_{h \to 0^+} \frac{2h + h^2}{h} = \lim_{h \to 0^+} (2 + h) = 2. \]
  4. Step 4: Compute the Left-Hand Derivative (LHD) at x = 1: Using the definition with \( h \to 0^- \): \[ f'_{-}(1) = \lim_{h \to 0^-} \frac{g(1+h) - g(1)}{h} = \lim_{h \to 0^-} \frac{-[(1+h)^2 - 1] - 0}{h} \] The numerator is \( -(2h + h^2) \). So the LHD becomes \[ f'_{-}(1) = \lim_{h \to 0^-} \frac{-(2h + h^2)}{h} = \lim_{h \to 0^-} -(2 + h) = -2. \]
  5. Step 5: Compare LHD and RHD: We found \( f'_{+}(1) = 2 \) and \( f'_{-}(1) = -2 \). Since \( f'_{+}(1) \ne f'_{-}(1) \), the function \( g(x) \) is NOT differentiable at \( x = 1 \). However, it IS continuous at \( x = 1 \) (shown in Step 2). Therefore, the correct answer is option (C).

Answer: The function \( g(x) = |x^2 - 1| \) is continuous but NOT differentiable at \( x = 1 \), because the left-hand derivative equals \( -2 \) and the right-hand derivative equals \( 2 \), which are unequal. Correct option: (C).

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/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