SOLVER7 Study. Nothing Else.
2023 Board Paper Q15

The value of \(k\) for which function \(f(x)=\begin{cases}\text x^2,&x\ge0\\ kx,&x<0\end{cases}\) is differentiable at \(x=0\) is: (A)\(1\) (B)\(2\) (C) any real number (D)\(0\)

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Imagine a road that changes surface halfway through. For a car to drive smoothly at the joining point, both sides must slope the same way. This function behaves like \ x^2 on one side and \ kx on the other side of zero. The slope of \ x^2 at zero is flat, meaning zero steepness. So the other piece must also have zero steepness at that point. The steepness of \ kx is just \ k, so \ k must equal zero for the road to feel smooth.

Answer: The function is differentiable at \( x = 0 \) only when \( k = 0 \), so the correct option is (D).

📖 Differentiability of a Piecewise Function at x = 0

Detailed Explanation

A function is differentiable at a point only if the derivative from the left side equals the derivative from the right side at that point. For a piecewise function, this means we must compute the left-hand derivative (LHD) and the right-hand derivative (RHD) separately using the correct piece on each side, then set them equal. A necessary prerequisite is continuity at the point: if a function is not continuous at a point, it cannot be differentiable there. Here \( f(x) = x^2 \) for \( x \ge 0 \) and \( f(x) = kx \) for \( x < 0 \), and we want it differentiable at \( x = 0 \).

Formula Used

Left-hand derivative: \( f'(0^-) = \lim_{h \to 0^-} \dfrac{f(0+h) - f(0)}{h} \). Right-hand derivative: \( f'(0^+) = \lim_{h \to 0^+} \dfrac{f(0+h) - f(0)}{h} \). Differentiable at \( 0 \) requires \( f'(0^-) = f'(0^+) \).

Solution

  1. Step 1: First check continuity at \( x = 0 \). We find the function value and both one-sided limits. \[ f(0) = 0^2 = 0 \] The right-hand limit uses \( x^2 \): \[ \lim_{x \to 0^+} x^2 = 0 \] The left-hand limit uses \( kx \): \[ \lim_{x \to 0^-} kx = 0 \] All three are equal to \( 0 \), so the function is continuous at \( x = 0 \) for every value of \( k \).
  2. Step 2: Compute the right-hand derivative using the piece \( f(x) = x^2 \), which applies when \( h > 0 \). \[ f'(0^+) = \lim_{h \to 0^+} \frac{(0+h)^2 - 0}{h} = \lim_{h \to 0^+} \frac{h^2}{h} = \lim_{h \to 0^+} h = 0 \]
  3. Step 3: Compute the left-hand derivative using the piece \( f(x) = kx \), which applies when \( h < 0 \). \[ f'(0^-) = \lim_{h \to 0^-} \frac{k(0+h) - 0}{h} = \lim_{h \to 0^-} \frac{kh}{h} = \lim_{h \to 0^-} k = k \]
  4. Step 4: For differentiability at \( x = 0 \), the two one-sided derivatives must be equal. Setting them equal: \[ f'(0^-) = f'(0^+) \] \[ k = 0 \] So the only value of \( k \) that makes the function differentiable at \( x = 0 \) is \( k = 0 \).

Final Answer

The function is differentiable at \( x = 0 \) only when \( k = 0 \), so the correct option is (D).

Common Mistake

Many students think that since the function is continuous for every \( k \), it must also be differentiable for every \( k \), and choose option (C). Continuity does not guarantee differentiability. You must equate the left-hand and right-hand derivatives, which forces \( k = 0 \).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write out the piecewise function clearly. We are given: \[f(x) = \begin{cases} x^2 & x \ge 0 \\ kx & x < 0 \end{cases}\] We want to find the value of \( k \) for which \( f \) is differentiable at \( x = 0 \). — Reason: Identifying which piece applies on each side of \( x = 0 \) is essential before computing any derivatives.
  2. Step 2: Check continuity at \( x = 0 \), since differentiability requires continuity. First, \( f(0) = 0^2 = 0 \). The right-hand limit is \( \lim_{x \to 0^+} x^2 = 0 \). The left-hand limit is \( \lim_{x \to 0^-} kx = k \cdot 0 = 0 \). Since all three values equal \( 0 \), the function is continuous at \( x = 0 \) for every value of \( k \). — Reason: If the function were not continuous here, we could immediately rule out differentiability; but since it is always continuous, we must proceed to compare the one-sided derivatives.
  3. Step 3: Compute the right-hand derivative (RHD) at \( x = 0 \). For small \( h > 0 \), the point \( 0 + h \) lies in the region \( x \ge 0 \), so we use \( f(h) = h^2 \): \[f'(0^+) = \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\] — Reason: We always use the piece that is valid on the side from which \( h \) approaches zero; here \( h > 0 \) means the \( x^2 \) piece applies.
  4. Step 4: Compute the left-hand derivative (LHD) at \( x = 0 \). For small \( h < 0 \), the point \( 0 + h \) lies in the region \( x < 0 \), so we use \( f(h) = kh \): \[f'(0^-) = \lim_{h \to 0^-} \frac{f(0+h) - f(0)}{h} = \lim_{h \to 0^-} \frac{kh - 0}{h} = \lim_{h \to 0^-} k = k\] — Reason: The \( kx \) piece applies when \( h < 0 \), and since \( k \) is a constant the limit simplifies immediately to \( k \).
  5. Step 5: Set LHD equal to RHD and solve for \( k \). We need \( f'(0^-) = f'(0^+) \), that is: \[k = 0\] So the only value that makes the function differentiable at \( x = 0 \) is \( k = 0 \). — Reason: Differentiability demands both one-sided derivatives are equal; any other value of \( k \) would create a corner (kink) in the graph at the origin.
  6. Step 6: Verify the result. When \( k = 0 \), the function becomes: \[f(x) = \begin{cases} x^2 & x \ge 0 \\ 0 & x < 0 \end{cases}\] The LHD is \( 0 \) and the RHD is also \( 0 \), confirming \( f'(0^-) = f'(0^+) = 0 \). — Reason: A quick check ensures no arithmetic error was made and builds confidence in the answer.

Final Answer

The function is differentiable at \( x = 0 \) only when \( k = 0 \), so the correct option is (D).

Common Mistake

One common mistake: students use the same piece of the function for both the LHD and the RHD (for example, differentiating \( x^2 \) from both sides), instead of using \( kx \) for \( h < 0 \) and \( x^2 \) for \( h > 0 \), which gives the wrong condition on \( k \).

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Right-hand derivative: \[f'(0^+) = \lim_{h \to 0^+} \frac{(h)^2 - 0}{h} = \lim_{h \to 0^+} h = 0\]
  2. Step 2: Left-hand derivative: \[f'(0^-) = \lim_{h \to 0^-} \frac{k(h) - 0}{h} = \lim_{h \to 0^-} k = k\]
  3. Step 3: For differentiability, set \( f'(0^-) = f'(0^+) \): \[k = 0\]

Answer: The function is differentiable at \( x = 0 \) only when \( k = 0 \), so the correct option is (D).

➕ More Examples

More Examples

Example 1

Question: Find the value of \( k \) for which the function \[f(x) = \begin{cases} 3x^2 & x \ge 0 \\ kx & x < 0 \end{cases}\] is differentiable at \( x = 0 \). (A) \( k = 0 \) (B) \( k = 3 \) (C) \( k = -3 \) (D) any real number

Solution: First, check continuity at \( x = 0 \). Left-hand limit: \[\lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} kx = k \cdot 0 = 0\] Right-hand limit: \[\lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} 3x^2 = 0\] Also, \( f(0) = 3(0)^2 = 0 \). Since both limits equal \( f(0) \), the function is continuous at \( x = 0 \) for any value of \( k \). Now compute the Right-Hand Derivative (RHD) at \( x = 0 \): \[f'(0^+) = \lim_{h \to 0^+} \frac{f(0 + h) - f(0)}{h} = \lim_{h \to 0^+} \frac{3h^2 - 0}{h} = \lim_{h \to 0^+} 3h = 0\] Now compute the Left-Hand Derivative (LHD) at \( x = 0 \): \[f'(0^-) = \lim_{h \to 0^+} \frac{f(0 - h) - f(0)}{-h} = \lim_{h \to 0^+} \frac{k(-h) - 0}{-h} = \lim_{h \to 0^+} \frac{-kh}{-h} = k\] For differentiability at \( x = 0 \), we need LHD \( = \) RHD: \[k = 0\] Hence, \( k = 0 \).

Answer: (A) \( k = 0 \)

Example 2

Question: Determine the value of \( m \) for which the function \[g(x) = \begin{cases} x^3 & x \ge 0 \\ mx & x < 0 \end{cases}\] is differentiable at \( x = 0 \). (A) \( m = 1 \) (B) \( m = 3 \) (C) \( m = 0 \) (D) any real number

Solution: First, check continuity at \( x = 0 \). Left-hand limit: \[\lim_{x \to 0^-} g(x) = \lim_{x \to 0^-} mx = m \cdot 0 = 0\] Right-hand limit: \[\lim_{x \to 0^+} g(x) = \lim_{x \to 0^+} x^3 = 0\] Also, \( g(0) = 0^3 = 0 \). Both one-sided limits equal \( g(0) \), so \( g \) is continuous at \( x = 0 \) for all \( m \). Now compute the Right-Hand Derivative (RHD) at \( x = 0 \): \[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\] Now compute the Left-Hand Derivative (LHD) at \( x = 0 \): \[g'(0^-) = \lim_{h \to 0^+} \frac{g(0 - h) - g(0)}{-h} = \lim_{h \to 0^+} \frac{m(-h) - 0}{-h} = \lim_{h \to 0^+} \frac{-mh}{-h} = m\] For differentiability at \( x = 0 \), we require LHD \( = \) RHD: \[m = 0\] Hence, \( m = 0 \).

Answer: (C) \( m = 0 \)

🎯 Try a Similar Question

Try a Similar Question

Question: For what value of \( k \) is the function \[f(x) = \begin{cases} x^3 & x \ge 0 \\ kx^2 & x < 0 \end{cases}\] differentiable at \( x = 0 \)? (A) \( k = 1 \) (B) \( k = 0 \) (C) any real number \( k \) (D) \( k = -1 \)

Solution

  1. Step 1: Check Continuity at x = 0: For differentiability, first check continuity. We have \( f(0) = 0^3 = 0 \). The left-hand limit as \( x \to 0^- \) is \( \lim_{x \to 0^-} kx^2 = k(0)^2 = 0 \). The right-hand limit as \( x \to 0^+ \) is \( \lim_{x \to 0^+} x^3 = 0 \). Since both one-sided limits equal \( f(0) = 0 \), the function is continuous at \( x = 0 \) for all values of \( k \).
  2. Step 2: Compute the Right-Hand Derivative (RHD): The RHD at \( x = 0 \) is \[f'(0^+) = \lim_{h \to 0^+} \frac{f(0 + h) - f(0)}{h} = \lim_{h \to 0^+} \frac{h^3 - 0}{h} = \lim_{h \to 0^+} h^2 = 0\]
  3. Step 3: Compute the Left-Hand Derivative (LHD): The LHD at \( x = 0 \) is \[f'(0^-) = \lim_{h \to 0^+} \frac{f(0 - h) - f(0)}{-h} = \lim_{h \to 0^+} \frac{k(-h)^2 - 0}{-h} = \lim_{h \to 0^+} \frac{kh^2}{-h} = \lim_{h \to 0^+} (-kh) = 0\]
  4. Step 4: Set LHD = RHD: For differentiability at \( x = 0 \), we need \( f'(0^-) = f'(0^+) \). We have \( f'(0^-) = 0 \) and \( f'(0^+) = 0 \). Since both derivatives equal \( 0 \) regardless of the value of \( k \), the condition \( f'(0^-) = f'(0^+) \) is satisfied for every real number \( k \).
  5. Step 5: Conclusion: Since the LHD and RHD are both equal to \( 0 \) for every value of \( k \), the function \( f \) is differentiable at \( x = 0 \) for any real number \( k \). The correct option is (C).

Answer: The function is differentiable at \( x = 0 \) for any real number \( k \), so the correct option is (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/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 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