Skip to main content
Back to Limits, Continuity & Differentiability
JEE Main 2020
Limits, Continuity & Differentiability
Limits, Continuity and Differentiability
Easy

Question

Let f(x)={3x,x<0min{1+x+[x],x+2[x]},0x25,x>2\mathrm{f}(x)=\left\{\begin{array}{lc}3 x, & x<0 \\ \min \{1+x+[x], x+2[x]\}, & 0 \leq x \leq 2 \\ 5, & x>2\end{array}\right. where [.] denotes greatest integer function. If α\alpha and β\beta are the number of points, where ff is not continuous and is not differentiable, respectively, then α+β\alpha+\beta equals _______ .

Answer: 3

Solution

Key Concepts and Formulas

  • Continuity of a function: A function f(x)f(x) is continuous at a point x=cx=c if limxcf(x)=limxc+f(x)=f(c)\lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x) = f(c). For a piecewise function, continuity needs to be checked at the points where the definition of the function changes.
  • Differentiability of a function: A function f(x)f(x) is differentiable at a point x=cx=c if the left-hand derivative and the right-hand derivative at x=cx=c are equal. That is, limh0f(c+h)f(c)h=limh0+f(c+h)f(c)h\lim_{h \to 0^-} \frac{f(c+h) - f(c)}{h} = \lim_{h \to 0^+} \frac{f(c+h) - f(c)}{h}. A function must be continuous at a point to be differentiable at that point.
  • Greatest Integer Function [x][x]: The greatest integer function [x][x] gives the largest integer less than or equal to xx.

Step-by-Step Solution

Step 1: Simplify the definition of f(x)f(x) for 0x20 \leq x \leq 2. The function is defined as f(x)=min{1+x+[x],x+2[x]}f(x) = \min \{1+x+[x], x+2[x]\} for 0x20 \leq x \leq 2. We need to analyze this in sub-intervals based on the value of [x][x].

  • Case 1: 0x<10 \leq x < 1. In this interval, [x]=0[x] = 0. So, f(x)=min{1+x+0,x+2(0)}=min{1+x,x}f(x) = \min \{1+x+0, x+2(0)\} = \min \{1+x, x\}. Since 1+x>x1+x > x for all xx, we have f(x)=xf(x) = x for 0x<10 \leq x < 1.

  • Case 2: 1x<21 \leq x < 2. In this interval, [x]=1[x] = 1. So, f(x)=min{1+x+1,x+2(1)}=min{2+x,x+2}f(x) = \min \{1+x+1, x+2(1)\} = \min \{2+x, x+2\}. Since 2+x=x+22+x = x+2, we have f(x)=x+2f(x) = x+2 for 1x<21 \leq x < 2.

Step 2: Rewrite the piecewise function f(x)f(x) with simplified intervals. Based on the analysis in Step 1, we can rewrite f(x)f(x) as: f(x)={3x,x<0x,0x<1x+2,1x<25,x>2f(x)=\left\{\begin{array}{lc}3 x, & x<0 \\ x, & 0 \leq x<1 \\ x+2, & 1 \leq x<2 \\ 5, & x>2\end{array}\right.

Step 3: Identify points of discontinuity (α\alpha). We need to check for continuity at the points where the definition of f(x)f(x) changes: x=0x=0, x=1x=1, and x=2x=2.

  • At x=0x=0: Left-hand limit: limx0f(x)=limx03x=3(0)=0\lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} 3x = 3(0) = 0. Right-hand limit: limx0+f(x)=limx0+x=0\lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} x = 0. Function value: f(0)=0f(0) = 0. Since limx0f(x)=limx0+f(x)=f(0)\lim_{x \to 0^-} f(x) = \lim_{x \to 0^+} f(x) = f(0), f(x)f(x) is continuous at x=0x=0.

  • At x=1x=1: Left-hand limit: limx1f(x)=limx1x=1\lim_{x \to 1^-} f(x) = \lim_{x \to 1^-} x = 1. Right-hand limit: limx1+f(x)=limx1+(x+2)=1+2=3\lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} (x+2) = 1+2 = 3. Function value: f(1)=1+2=3f(1) = 1+2 = 3. Since limx1f(x)limx1+f(x)\lim_{x \to 1^-} f(x) \neq \lim_{x \to 1^+} f(x), f(x)f(x) is not continuous at x=1x=1.

  • At x=2x=2: Left-hand limit: limx2f(x)=limx2(x+2)=2+2=4\lim_{x \to 2^-} f(x) = \lim_{x \to 2^-} (x+2) = 2+2 = 4. Right-hand limit: limx2+f(x)=limx2+5=5\lim_{x \to 2^+} f(x) = \lim_{x \to 2^+} 5 = 5. Function value: f(2)=2+2=4f(2) = 2+2 = 4. Since limx2f(x)limx2+f(x)\lim_{x \to 2^-} f(x) \neq \lim_{x \to 2^+} f(x), f(x)f(x) is not continuous at x=2x=2.

The points where ff is not continuous are x=1x=1 and x=2x=2. Therefore, α=2\alpha = 2.

Step 4: Identify points of non-differentiability (β\beta). A function must be continuous at a point to be differentiable there. We already found that f(x)f(x) is not continuous at x=1x=1 and x=2x=2, so it cannot be differentiable at these points. We also need to check the differentiability at x=0x=0, where the function is continuous but the definition changes.

  • At x=0x=0: We need to compare the left-hand derivative and the right-hand derivative. Left-hand derivative: f(0)=limh0f(0+h)f(0)h=limh03h0h=limh03=3f'_{-}(0) = \lim_{h \to 0^-} \frac{f(0+h) - f(0)}{h} = \lim_{h \to 0^-} \frac{3h - 0}{h} = \lim_{h \to 0^-} 3 = 3. Right-hand derivative: f+(0)=limh0+f(0+h)f(0)h=limh0+h0h=limh0+1=1f'_{+}(0) = \lim_{h \to 0^+} \frac{f(0+h) - f(0)}{h} = \lim_{h \to 0^+} \frac{h - 0}{h} = \lim_{h \to 0^+} 1 = 1. Since f(0)f+(0)f'_{-}(0) \neq f'_{+}(0), f(x)f(x) is not differentiable at x=0x=0.

  • At x=1x=1: Since f(x)f(x) is not continuous at x=1x=1, it is not differentiable at x=1x=1.

  • At x=2x=2: Since f(x)f(x) is not continuous at x=2x=2, it is not differentiable at x=2x=2.

The points where ff is not differentiable are x=0x=0, x=1x=1, and x=2x=2. Therefore, β=3\beta = 3.

Step 5: Calculate α+β\alpha + \beta. We found α=2\alpha = 2 (number of points of discontinuity) and β=3\beta = 3 (number of points of non-differentiability). α+β=2+3=5\alpha + \beta = 2 + 3 = 5.

Common Mistakes & Tips

  • Incorrectly simplifying the min\min function: Carefully analyze the inequality 1+x>x1+x > x and 2+x=x+22+x = x+2 for the given intervals.
  • Forgetting to check continuity before differentiability: A function must be continuous at a point to be differentiable at that point. If it's discontinuous, it's automatically non-differentiable.
  • Errors in calculating limits or derivatives: Double-check the evaluation of limits at the boundary points and the calculation of left-hand and right-hand derivatives.

Summary

The problem requires us to find the number of points where the given piecewise function f(x)f(x) is not continuous (α\alpha) and not differentiable (β\beta). First, we simplified the definition of f(x)f(x) for the interval 0x20 \leq x \leq 2 by considering the greatest integer function [x][x]. We then analyzed the continuity of f(x)f(x) at the points where its definition changes (x=0,1,2x=0, 1, 2). Subsequently, we determined the differentiability by comparing left-hand and right-hand derivatives at the points of continuity where the function definition changes, and by noting that discontinuity implies non-differentiability. Finally, we summed the number of points of discontinuity and non-differentiability.

The final answer is 5\boxed{5}.

Practice More Limits, Continuity & Differentiability Questions

View All Questions