SOLVER7 Study. Nothing Else.
2026 Board Paper Q22(b)

Find whether the function \(f(x)=\begin{cases}x-1,&x<2\\ 2x-3,&x\ge2\end{cases}\)
at \( x=2\) is differentiable or not.

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Imagine a road with a bend at a certain point. On one side the road slopes gently, and on the other side it slopes steeply. Even if the road connects smoothly without a gap, a car feels a sudden jerk at that bend. That jerk means the slope changed abruptly. Here, our function is like that road — it joins neatly at \( x = 2 \) without any gap, but the steepness on the left side is different from the steepness on the right side. Because the two slopes do not match, we say the function is not differentiable at that point.

Answer: Since \( \text{LHD} = 1 \) and \( \text{RHD} = 2 \) are not equal, the function \( f \) is NOT differentiable at \( x = 2 \) (though it is continuous there).

📖 Differentiability of a Piecewise Function at x = 2

Detailed Explanation

A function \( f \) is differentiable at a point \( x = a \) only if the derivative from the left and the derivative from the right both exist and are equal at that point. This left value is called the Left Hand Derivative (LHD) and the right value is the Right Hand Derivative (RHD). For a piecewise function, the formula changes at the junction point, so we must test the two pieces separately. A necessary condition for differentiability is continuity, but continuity alone is not enough — the slopes from both sides must also match.

Formula Used

Left Hand Derivative: \( \text{LHD} = \lim_{h \to 0^-} \dfrac{f(a+h) - f(a)}{h} \) and Right Hand Derivative: \( \text{RHD} = \lim_{h \to 0^+} \dfrac{f(a+h) - f(a)}{h} \). The function is differentiable at \( x = a \) if \( \text{LHD} = \text{RHD} \).

Solution

  1. Step 1: First identify the value of the function at the point. Since \( x = 2 \) satisfies \( x \ge 2 \), we use \( f(x) = 2x - 3 \). So \( f(2) = 2(2) - 3 = 1 \).
  2. Step 2: Check continuity at \( x = 2 \) first, since differentiability requires continuity. Left limit uses \( x - 1 \): \[ \lim_{x \to 2^-} (x - 1) = 2 - 1 = 1 \] Right limit uses \( 2x - 3 \): \[ \lim_{x \to 2^+} (2x - 3) = 4 - 3 = 1 \] Both equal \( f(2) = 1 \), so \( f \) is continuous at \( x = 2 \). We may now test differentiability.
  3. Step 3: Compute the Left Hand Derivative. For \( h < 0 \), the point \( 2 + h \) is less than 2, so we use \( f(x) = x - 1 \), giving \( f(2+h) = (2+h) - 1 = 1 + h \). \[ \text{LHD} = \lim_{h \to 0^-} \frac{f(2+h) - f(2)}{h} = \lim_{h \to 0^-} \frac{(1 + h) - 1}{h} \] \[ = \lim_{h \to 0^-} \frac{h}{h} = 1 \]
  4. Step 4: Compute the Right Hand Derivative. For \( h > 0 \), the point \( 2 + h \) is greater than 2, so we use \( f(x) = 2x - 3 \), giving \( f(2+h) = 2(2+h) - 3 = 1 + 2h \). \[ \text{RHD} = \lim_{h \to 0^+} \frac{f(2+h) - f(2)}{h} = \lim_{h \to 0^+} \frac{(1 + 2h) - 1}{h} \] \[ = \lim_{h \to 0^+} \frac{2h}{h} = 2 \]
  5. Step 5: Compare the two derivatives. We found \( \text{LHD} = 1 \) and \( \text{RHD} = 2 \). Since \( \text{LHD} \ne \text{RHD} \), the derivative at \( x = 2 \) does not exist. This makes sense geometrically: the two pieces meet at the point \( (2, 1) \) but with different slopes, forming a corner.

Final Answer

Since \( \text{LHD} = 1 \) and \( \text{RHD} = 2 \) are not equal, the function \( f \) is NOT differentiable at \( x = 2 \) (though it is continuous there).

Common Mistake

A common mistake is to conclude the function is differentiable just because it is continuous at \( x = 2 \). Continuity is necessary but not sufficient — you must still check that the left and right derivatives are equal.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Identify the piecewise definition and find \( f(2) \). Since \( x = 2 \) satisfies \( x \ge 2 \), we apply the second piece: \[ f(2) = 2(2) - 3 = 1 \] Reason: We need the exact function value at the junction point before we can apply the derivative limit formula.
  2. Step 2: Check the left-hand limit as \( x \to 2^- \). For \( x < 2 \), the rule is \( f(x) = x - 1 \), so: \[ \lim_{x \to 2^-} (x - 1) = 2 - 1 = 1 \] Reason: Continuity is a necessary condition for differentiability, so we verify it first by checking whether the left limit matches \( f(2) \).
  3. Step 3: Check the right-hand limit as \( x \to 2^+ \). For \( x \ge 2 \), the rule is \( f(x) = 2x - 3 \), so: \[ \lim_{x \to 2^+} (2x - 3) = 4 - 3 = 1 \] Since both one-sided limits equal \( f(2) = 1 \), the function is continuous at \( x = 2 \). Reason: Continuity is confirmed; we can now proceed to test differentiability.
  4. Step 4: Compute the Left Hand Derivative (LHD). When \( h < 0 \), the point \( 2 + h \) lies to the left of 2, so \( f(2+h) = (2+h) - 1 = 1 + h \). Applying the limit definition: \[ \text{LHD} = \lim_{h \to 0^-} \frac{f(2+h) - f(2)}{h} = \lim_{h \to 0^-} \frac{(1+h) - 1}{h} = \lim_{h \to 0^-} \frac{h}{h} = 1 \] Reason: We substitute the left-piece formula to find the slope of the function as we approach \( x = 2 \) from the left.
  5. Step 5: Compute the Right Hand Derivative (RHD). When \( h > 0 \), the point \( 2 + h \) lies to the right of 2, so \( f(2+h) = 2(2+h) - 3 = 4 + 2h - 3 = 1 + 2h \). Applying the limit definition: \[ \text{RHD} = \lim_{h \to 0^+} \frac{f(2+h) - f(2)}{h} = \lim_{h \to 0^+} \frac{(1+2h) - 1}{h} = \lim_{h \to 0^+} \frac{2h}{h} = 2 \] Reason: We substitute the right-piece formula to find the slope as we approach \( x = 2 \) from the right.
  6. Step 6: Compare LHD and RHD. We obtained \( \text{LHD} = 1 \) and \( \text{RHD} = 2 \). Since \( 1 \ne 2 \), the two one-sided derivatives do not match. Reason: For differentiability both derivatives must be equal; a mismatch means no unique tangent slope exists at that point, so the function is not differentiable there.

Final Answer

Since \( \text{LHD} = 1 \) and \( \text{RHD} = 2 \) are not equal, the function \( f \) is NOT differentiable at \( x = 2 \) (though it is continuous there).

Common Mistake

One common mistake: students forget to substitute \( f(2+h) \) using the correct piece of the piecewise function. For the LHD, since \( h < 0 \) makes \( 2+h < 2 \), the left piece \( x - 1 \) must be used — not the right piece \( 2x - 3 \). Using the wrong piece for either limit produces an incorrect derivative value.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: f(2) = 2(2) - 3 = 1. Continuity check: \( \lim_{x \to 2^-}(x-1) = 1 \), \( \lim_{x \to 2^+}(2x-3) = 1 \), both equal f(2) = 1, so f is continuous at x = 2.
  2. Step 2: LHD: for h < 0, f(2+h) = (2+h) - 1 = 1+h, so \[ \text{LHD} = \lim_{h \to 0^-} \frac{(1+h) - 1}{h} = \lim_{h \to 0^-} \frac{h}{h} = 1 \]
  3. Step 3: RHD: for h > 0, f(2+h) = 2(2+h) - 3 = 1+2h, so \[ \text{RHD} = \lim_{h \to 0^+} \frac{(1+2h) - 1}{h} = \lim_{h \to 0^+} \frac{2h}{h} = 2 \]

Answer: Since \( \text{LHD} = 1 \) and \( \text{RHD} = 2 \) are not equal, the function \( f \) is NOT differentiable at \( x = 2 \) (though it is continuous there).

➕ More Examples

More Examples

Example 1

Question: Examine whether the function \( f(x) = \begin{cases} 3x + 1, & x < 1 \\ 5x - 1, & x \ge 1 \end{cases} \) is differentiable at \( x = 1 \).

Solution: We first check continuity at \( x = 1 \). Left-hand limit: \[ \lim_{x \to 1^-} f(x) = 3(1) + 1 = 4 \] Right-hand limit: \[ \lim_{x \to 1^+} f(x) = 5(1) - 1 = 4 \] Value of function: \( f(1) = 5(1) - 1 = 4 \). Since both limits equal \( f(1) \), the function is continuous at \( x = 1 \). Now we check differentiability. Left-hand derivative (LHD) at \( x = 1 \): \[ f'(1^-) = \lim_{h \to 0^+} \frac{f(1 - h) - f(1)}{-h} \] Since \( 1 - h < 1 \) for small \( h > 0 \), we use \( f(1 - h) = 3(1 - h) + 1 = 4 - 3h \). \[ f'(1^-) = \lim_{h \to 0^+} \frac{(4 - 3h) - 4}{-h} = \lim_{h \to 0^+} \frac{-3h}{-h} = \lim_{h \to 0^+} 3 = 3 \] Right-hand derivative (RHD) at \( x = 1 \): \[ f'(1^+) = \lim_{h \to 0^+} \frac{f(1 + h) - f(1)}{h} \] Since \( 1 + h > 1 \) for small \( h > 0 \), we use \( f(1 + h) = 5(1 + h) - 1 = 4 + 5h \). \[ f'(1^+) = \lim_{h \to 0^+} \frac{(4 + 5h) - 4}{h} = \lim_{h \to 0^+} \frac{5h}{h} = \lim_{h \to 0^+} 5 = 5 \] Since \( f'(1^-) = 3 \ne 5 = f'(1^+) \), the LHD and RHD are not equal.

Answer: The function is NOT differentiable at \( x = 1 \).

Example 2

Question: Check whether the function \( g(x) = \begin{cases} 2x^2 - 1, & x < 2 \\ 4x - 5, & x \ge 2 \end{cases} \) is differentiable at \( x = 2 \).

Solution: We first verify continuity at \( x = 2 \). Left-hand limit: \[ \lim_{x \to 2^-} g(x) = 2(2)^2 - 1 = 8 - 1 = 7 \] Right-hand limit: \[ \lim_{x \to 2^+} g(x) = 4(2) - 5 = 8 - 5 = 3 \] Since \( \lim_{x \to 2^-} g(x) = 7 \ne 3 = \lim_{x \to 2^+} g(x) \), the function is not even continuous at \( x = 2 \). Because differentiability requires continuity, we conclude immediately that \( g(x) \) is not differentiable at \( x = 2 \). Nevertheless, let us also compute the derivatives formally. Left-hand derivative (LHD) at \( x = 2 \): \[ g'(2^-) = \lim_{h \to 0^+} \frac{g(2 - h) - g(2)}{-h} \] Here \( g(2 - h) = 2(2 - h)^2 - 1 = 2(4 - 4h + h^2) - 1 = 7 - 8h + 2h^2 \) and \( g(2) = 4(2) - 5 = 3 \). \[ g'(2^-) = \lim_{h \to 0^+} \frac{(7 - 8h + 2h^2) - 3}{-h} = \lim_{h \to 0^+} \frac{4 - 8h + 2h^2}{-h} \] As \( h \to 0^+ \), the numerator approaches \( 4 \) and the denominator approaches \( 0^- \), so the limit is \( -\infty \). Right-hand derivative (RHD) at \( x = 2 \): \[ g'(2^+) = \lim_{h \to 0^+} \frac{g(2 + h) - g(2)}{h} = \lim_{h \to 0^+} \frac{(4(2 + h) - 5) - 3}{h} = \lim_{h \to 0^+} \frac{4h}{h} = 4 \] Since LHD does not exist (the limit is \( -\infty \)) and \( \text{LHD} \ne \text{RHD} \), the function is not differentiable at \( x = 2 \).

Answer: The function is NOT differentiable at \( x = 2 \).

🎯 Try a Similar Question

Try a Similar Question

Question: Check whether the function \[ f(x) = \begin{cases} 3x - 2 & x < 1 \\ 4x - 3 & x \ge 1 \end{cases} \] is differentiable at \( x = 1 \).

Solution

  1. Step 1: Check Continuity at x = 1: First verify continuity. The left-hand limit as \( x \to 1^- \) uses the piece \( 3x - 2 \): \[ \lim_{x \to 1^-} f(x) = 3(1) - 2 = 1 \] The right-hand limit as \( x \to 1^+ \) uses the piece \( 4x - 3 \): \[ \lim_{x \to 1^+} f(x) = 4(1) - 3 = 1 \] The value of the function at \( x = 1 \) is \[ f(1) = 4(1) - 3 = 1 \] Since the left-hand limit, right-hand limit, and function value are all equal to 1, the function is continuous at \( x = 1 \).
  2. Step 2: Compute the Left Hand Derivative (LHD): For \( x < 1 \), \( f(x) = 3x - 2 \). The LHD at \( x = 1 \) is \[ f'(1^-) = \lim_{h \to 0^+} \frac{f(1 - h) - f(1)}{-h} \] Substituting \( f(1 - h) = 3(1 - h) - 2 = 1 - 3h \) and \( f(1) = 1 \): \[ f'(1^-) = \lim_{h \to 0^+} \frac{(1 - 3h) - 1}{-h} = \lim_{h \to 0^+} \frac{-3h}{-h} = \lim_{h \to 0^+} 3 = 3 \]
  3. Step 3: Compute the Right Hand Derivative (RHD): For \( x \ge 1 \), \( f(x) = 4x - 3 \). The RHD at \( x = 1 \) is \[ f'(1^+) = \lim_{h \to 0^+} \frac{f(1 + h) - f(1)}{h} \] Substituting \( f(1 + h) = 4(1 + h) - 3 = 1 + 4h \) and \( f(1) = 1 \): \[ f'(1^+) = \lim_{h \to 0^+} \frac{(1 + 4h) - 1}{h} = \lim_{h \to 0^+} \frac{4h}{h} = \lim_{h \to 0^+} 4 = 4 \]
  4. Step 4: Compare LHD and RHD: We have LHD \( = 3 \) and RHD \( = 4 \). Since \( f'(1^-) \ne f'(1^+) \), i.e., \( 3 \ne 4 \), the function is NOT differentiable at \( x = 1 \), even though it is continuous there.

Answer: Since LHD \( = 3 \) and RHD \( = 4 \) are not equal, the function \( f \) is NOT differentiable at \( x = 1 \) (though it is continuous there).

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/5/1 2026 / Section B Q22(b) Chapter 5 Examples Q24 65/2/3 2026 / Section B Q23