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

Check the differentiability of \(f(x)=\begin{cases}\text x^2+1,&0\le x<1\\ 3-x,& 1\le x\le 2\end{cases} \ \ \ \ at \ x=1.\)

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Imagine drawing a path on paper without lifting your pencil. At the point \(x = 1\), the two pieces of this function meet without any gap — that means the path is connected, or continuous. But think about the slope, like the steepness of a hill. Coming from the left, the hill gets steeper at rate \(2\). Coming from the right, it slopes downward at rate \(-1\). Those are different directions, so there is a sharp corner. A sharp corner means the function is not smooth, or not differentiable, at that spot.

Answer: The function is continuous at \(x=1\) but NOT differentiable there, because the left-hand derivative \(2\) is not equal to the right-hand derivative \(-1\).

📖 Differentiability of a Piecewise Function at x = 1

Detailed Explanation

A function is differentiable at a point only if it is first continuous there, and secondly its left-hand derivative (LHD) equals its right-hand derivative (RHD) at that point. Since \(f(x)\) is defined by two different rules on either side of \(x=1\), we must examine the point where the definition changes. The key idea is that the graph must join smoothly with no break (continuity) and no sudden change in slope (equal one-sided derivatives). If either condition fails, the function is not differentiable there.

Formula Used

Continuity at \(x=a\): \(\lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x) = f(a)\). \[\text{LHD} = \lim_{h \to 0^+} \frac{f(a-h) - f(a)}{-h}, \quad \text{RHD} = \lim_{h \to 0^+} \frac{f(a+h) - f(a)}{h}\] The function is differentiable at \(x=a\) if and only if it is continuous there and \(\text{LHD} = \text{RHD}\).

Solution

  1. Step 1: First check continuity at \(x=1\), since differentiability requires continuity. Find the function value: for \(1 \le x \le 2\) we use \(f(x) = 3 - x\), so \(f(1) = 3 - 1 = 2\).
  2. Step 2: Compute the left-hand limit using \(f(x) = x^2 + 1\) (valid for \(0 \le x < 1\)): \[\lim_{x \to 1^-} f(x) = 1^2 + 1 = 2.\] Compute the right-hand limit using \(f(x) = 3 - x\): \[\lim_{x \to 1^+} f(x) = 3 - 1 = 2.\]
  3. Step 3: Since \(\lim_{x \to 1^-} f(x) = \lim_{x \to 1^+} f(x) = f(1) = 2\), the function is continuous at \(x=1\). Now we may test differentiability.
  4. Step 4: Find the left-hand derivative (LHD). For \(x\) just below 1 we use \(f(x) = x^2 + 1\), so \(f(1-h) = (1-h)^2 + 1\). \[\text{LHD} = \lim_{h \to 0^+} \frac{f(1-h) - f(1)}{-h} = \lim_{h \to 0^+} \frac{(1-h)^2 + 1 - 2}{-h}.\]
  5. Step 5: Simplify the numerator: \((1-h)^2 + 1 - 2 = 1 - 2h + h^2 - 1 = h^2 - 2h\). \[\text{LHD} = \lim_{h \to 0^+} \frac{h^2 - 2h}{-h} = \lim_{h \to 0^+} \frac{h(h - 2)}{-h} = \lim_{h \to 0^+} (2 - h) = 2.\]
  6. Step 6: Find the right-hand derivative (RHD). For \(x\) just above 1 we use \(f(x) = 3 - x\), so \(f(1+h) = 3 - (1+h) = 2 - h\). \[\text{RHD} = \lim_{h \to 0^+} \frac{f(1+h) - f(1)}{h} = \lim_{h \to 0^+} \frac{(2 - h) - 2}{h} = \lim_{h \to 0^+} \frac{-h}{h} = -1.\]
  7. Step 7: Compare the two one-sided derivatives: \(\text{LHD} = 2\) and \(\text{RHD} = -1\). Since \(\text{LHD} \ne \text{RHD}\), the derivative does not exist at \(x=1\).

Final Answer

The function is continuous at \(x=1\) but NOT differentiable there, because the left-hand derivative \(2\) is not equal to the right-hand derivative \(-1\).

Common Mistake

A common mistake is to conclude the function is differentiable just because it is continuous at \(x=1\). Continuity is necessary but not sufficient; you must still check that the LHD equals the RHD. Here continuity holds, yet the slopes differ, so differentiability fails.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Identify the function and the point of interest. The given piecewise function is \[f(x) = \begin{cases} x^2 + 1 & 0 \le x < 1 \\ 3 - x & 1 \le x \le 2 \end{cases}\] We examine \(x = 1\) because this is where the rule changes. — Reason: Any potential issue with continuity or differentiability for a piecewise function arises at the boundary point where the two pieces meet.
  2. Step 2: Evaluate \(f(1)\) using the applicable rule. Since \(1 \le x \le 2\), we use \(f(x) = 3 - x\), giving \[f(1) = 3 - 1 = 2.\] — Reason: We need the actual function value at the point before we can check whether the one-sided limits agree with it.
  3. Step 3: Compute the left-hand limit and the right-hand limit at \(x = 1\). Using \(f(x) = x^2 + 1\) for values just below 1: \[\lim_{x \to 1^-} f(x) = 1^2 + 1 = 2.\] Using \(f(x) = 3 - x\) for values just above 1: \[\lim_{x \to 1^+} f(x) = 3 - 1 = 2.\] Since both one-sided limits equal \(f(1) = 2\), the function is continuous at \(x = 1\). — Reason: Continuity is a necessary condition for differentiability, so we must confirm it before computing derivatives.
  4. Step 4: Calculate the Left-Hand Derivative (LHD) at \(x = 1\). For \(x\) slightly less than 1, the rule is \(f(x) = x^2 + 1\). \[\text{LHD} = \lim_{h \to 0^+} \frac{f(1 - h) - f(1)}{-h} = \lim_{h \to 0^+} \frac{(1 - h)^2 + 1 - 2}{-h}\] Expanding \((1 - h)^2 = 1 - 2h + h^2\): \[\text{LHD} = \lim_{h \to 0^+} \frac{1 - 2h + h^2 + 1 - 2}{-h} = \lim_{h \to 0^+} \frac{-2h + h^2}{-h} = \lim_{h \to 0^+} \frac{h(-2 + h)}{-h}\] \[\text{LHD} = \lim_{h \to 0^+} (2 - h) = 2.\] — Reason: The LHD captures the slope of the function as we approach \(x = 1\) from the left side.
  5. Step 5: Calculate the Right-Hand Derivative (RHD) at \(x = 1\). For \(x\) slightly greater than 1, the rule is \(f(x) = 3 - x\). \[\text{RHD} = \lim_{h \to 0^+} \frac{f(1 + h) - f(1)}{h} = \lim_{h \to 0^+} \frac{(3 - (1 + h)) - 2}{h}\] \[\text{RHD} = \lim_{h \to 0^+} \frac{3 - 1 - h - 2}{h} = \lim_{h \to 0^+} \frac{-h}{h} = -1.\] — Reason: The RHD captures the slope of the function as we approach \(x = 1\) from the right side.
  6. Step 6: Compare LHD and RHD. We found LHD \(= 2\) and RHD \(= -1\). Since \(2 \ne -1\), the two one-sided derivatives are not equal. — Reason: Differentiability at a point requires both one-sided derivatives to exist and be equal. A difference in their values means the graph has a sharp corner at that point, so no unique tangent line exists.

Final Answer

The function is continuous at \(x=1\) but NOT differentiable there, because the left-hand derivative \(2\) is not equal to the right-hand derivative \(-1\).

Common Mistake

One common mistake: students forget to verify continuity first and jump straight to computing derivatives. If the function were discontinuous at \(x = 1\), the derivative limits would be meaningless, and skipping the continuity check can lead to an incomplete or incorrect conclusion.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Check Continuity at \(x=1\): \(f(1) = 3 - 1 = 2\), \(\lim_{x \to 1^-} f(x) = 1^2 + 1 = 2\), \(\lim_{x \to 1^+} f(x) = 3 - 1 = 2\). Since all three values are equal, \(f\) is continuous at \(x = 1\).
  2. Step 2: Left-Hand Derivative: \[\text{LHD} = \lim_{h \to 0^+} \frac{f(1-h) - f(1)}{-h} = \lim_{h \to 0^+} \frac{(1-h)^2 + 1 - 2}{-h} = \lim_{h \to 0^+} \frac{h^2 - 2h}{-h} = \lim_{h \to 0^+} (2 - h) = 2\]
  3. Step 3: Right-Hand Derivative: \[\text{RHD} = \lim_{h \to 0^+} \frac{f(1+h) - f(1)}{h} = \lim_{h \to 0^+} \frac{(3 - (1+h)) - 2}{h} = \lim_{h \to 0^+} \frac{-h}{h} = -1\]
  4. Step 4: Conclusion: Since \(\text{LHD} = 2 \ne -1 = \text{RHD}\), the function is not differentiable at \(x = 1\).

Answer: The function is continuous at \(x=1\) but NOT differentiable there, because the left-hand derivative \(2\) is not equal to the right-hand derivative \(-1\).

➕ More Examples

More Examples

Example 1

Question: Check the differentiability of \( f(x) = \begin{cases} 2x^2 - 1, & 0 \le x < 2 \\ 5x - 9, & 2 \le x \le 4 \end{cases} \) at \( x = 2 \).

Solution: Step 1: Check continuity at \( x = 2 \). Left Hand Limit: \[ \lim_{x \to 2^-} f(x) = 2(2)^2 - 1 = 8 - 1 = 7 \] Right Hand Limit: \[ \lim_{x \to 2^+} f(x) = 5(2) - 9 = 10 - 9 = 1 \] Since LHL \( \ne \) RHL, the function is NOT continuous at \( x = 2 \). Step 2: Check differentiability at \( x = 2 \). Since a function must be continuous at a point to be differentiable there, and \( f \) is discontinuous at \( x = 2 \), we conclude directly that \( f \) is NOT differentiable at \( x = 2 \). However, let us also compute LHD and RHD formally. LHD at \( x = 2 \): \[ f'(2^-) = \lim_{h \to 0^+} \frac{f(2-h) - f(2)}{-h} \] Now, \( f(2-h) = 2(2-h)^2 - 1 \) (using the first piece since \( 0 \le 2-h < 2 \) for small \( h > 0 \)) and \( f(2) = 5(2) - 9 = 1 \). \[ f'(2^-) = \lim_{h \to 0^+} \frac{2(2-h)^2 - 1 - 1}{-h} = \lim_{h \to 0^+} \frac{2(4 - 4h + h^2) - 2}{-h} \] \[ = \lim_{h \to 0^+} \frac{8 - 8h + 2h^2 - 2}{-h} = \lim_{h \to 0^+} \frac{6 - 8h + 2h^2}{-h} \] As \( h \to 0^+ \), the numerator approaches \( 6 \) while the denominator approaches \( 0 \), so LHD \( \to -\infty \) (does not exist as a finite number). RHD at \( x = 2 \): \[ f'(2^+) = \lim_{h \to 0^+} \frac{f(2+h) - f(2)}{h} = \lim_{h \to 0^+} \frac{5(2+h) - 9 - 1}{h} = \lim_{h \to 0^+} \frac{10 + 5h - 10}{h} = \lim_{h \to 0^+} \frac{5h}{h} = 5 \] Since LHD does not exist as a finite value and LHD \( \ne \) RHD, the function is NOT differentiable at \( x = 2 \).

Answer: f is NOT differentiable at x = 2 (it is also discontinuous there).

Example 2

Question: Check the differentiability of \( g(x) = \begin{cases} x^2 + 3x, & x \le 1 \\ 4x, & x > 1 \end{cases} \) at \( x = 1 \).

Solution: Step 1: Check continuity at \( x = 1 \). Value of \( g \) at \( x = 1 \): \[ g(1) = (1)^2 + 3(1) = 1 + 3 = 4 \] Left Hand Limit: \[ \lim_{x \to 1^-} g(x) = (1)^2 + 3(1) = 4 \] Right Hand Limit: \[ \lim_{x \to 1^+} g(x) = 4(1) = 4 \] Since LHL = RHL = \( g(1) = 4 \), the function is continuous at \( x = 1 \). Step 2: Compute LHD at \( x = 1 \). \[ g'(1^-) = \lim_{h \to 0^+} \frac{g(1-h) - g(1)}{-h} \] For small \( h > 0 \), \( 1 - h < 1 \), so we use the first piece: \( g(1-h) = (1-h)^2 + 3(1-h) \). \[ g(1-h) = 1 - 2h + h^2 + 3 - 3h = 4 - 5h + h^2 \] \[ g'(1^-) = \lim_{h \to 0^+} \frac{(4 - 5h + h^2) - 4}{-h} = \lim_{h \to 0^+} \frac{-5h + h^2}{-h} = \lim_{h \to 0^+} \frac{h(-5 + h)}{-h} \] \[ = \lim_{h \to 0^+} \frac{-5 + h}{-1} = \lim_{h \to 0^+} (5 - h) = 5 \] Step 3: Compute RHD at \( x = 1 \). \[ g'(1^+) = \lim_{h \to 0^+} \frac{g(1+h) - g(1)}{h} \] For small \( h > 0 \), \( 1 + h > 1 \), so we use the second piece: \( g(1+h) = 4(1+h) \). \[ g'(1^+) = \lim_{h \to 0^+} \frac{4(1+h) - 4}{h} = \lim_{h \to 0^+} \frac{4 + 4h - 4}{h} = \lim_{h \to 0^+} \frac{4h}{h} = 4 \] Step 4: Compare LHD and RHD. LHD \( = 5 \) and RHD \( = 4 \). Since \( 5 \ne 4 \), i.e., LHD \( \ne \) RHD, the function \( g \) is NOT differentiable at \( x = 1 \).

Answer: g is continuous but NOT differentiable at x = 1 (LHD = 5, RHD = 4).

🎯 Try a Similar Question

Try a Similar Question

Question: Check the differentiability of \( f(x) = \begin{cases} 2x^2 - 1, & 0 \le x < 2 \\ 5x - 9, & 2 \le x \le 4 \end{cases} \) at \( x = 2 \).

Solution

  1. Step 1: Check Continuity — Left-Hand Limit: We find the left-hand limit as \( x \to 2^- \). For \( x < 2 \), we use \( f(x) = 2x^2 - 1 \). \[ \lim_{x \to 2^-} f(x) = 2(2)^2 - 1 = 8 - 1 = 7 \]
  2. Step 2: Check Continuity — Right-Hand Limit: We find the right-hand limit as \( x \to 2^+ \). For \( x \ge 2 \), we use \( f(x) = 5x - 9 \). \[ \lim_{x \to 2^+} f(x) = 5(2) - 9 = 10 - 9 = 1 \]
  3. Step 3: Check Continuity — Value of the Function: At \( x = 2 \), we use the second piece since \( 2 \le x \le 4 \). \[ f(2) = 5(2) - 9 = 1 \]
  4. Step 4: Conclusion on Continuity: We observe that the left-hand limit is \( 7 \) while the right-hand limit and \( f(2) \) are both \( 1 \). Since \[ \lim_{x \to 2^-} f(x) = 7 \ne 1 = \lim_{x \to 2^+} f(x), \] the function is NOT continuous at \( x = 2 \).
  5. Step 5: Conclusion on Differentiability: Since a function must be continuous at a point to be differentiable there, and \( f \) is not continuous at \( x = 2 \), we conclude immediately that \( f \) is NOT differentiable at \( x = 2 \). There is no need to compute the derivatives.

Answer: The function is NOT continuous at \( x = 2 \) (since the left-hand limit \( 7 \) does not equal the right-hand limit \( 1 \)), and therefore it is also NOT differentiable at \( x = 2 \).

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