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
CBSE Class 12 Maths · Continuity and Differentiability
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\).
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.
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}\).
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\).
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.
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\).
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.
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\).
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).
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).
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 \).
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 \).