Skip to main content
Back to Limits, Continuity & Differentiability
JEE Main 2023
Limits, Continuity & Differentiability
Limits, Continuity and Differentiability
Hard

Question

Let f(x) = \left\{ {\matrix{ {{{\sin (x - [x])} \over {x - [x]}}} & {,\,x \in ( - 2, - 1)} \cr {\max \{ 2x,3[|x|]\} } & {,\,|x| < 1} \cr 1 & {,\,otherwise} \cr } } \right. where [t] denotes greatest integer \le t. If m is the number of points where ff is not continuous and n is the number of points where ff is not differentiable, then the ordered pair (m, n) is :

Options

Solution

Key Concepts and Formulas

  • Greatest Integer Function [t]: The greatest integer less than or equal to tt. For example, [3.7]=3[3.7] = 3, [2.1]=3[-2.1] = -3, [5]=5[5] = 5.
  • Continuity: A function f(x)f(x) is continuous at a point x=ax=a if limxaf(x)=limxa+f(x)=f(a)\lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x) = f(a).
  • Differentiability: A function f(x)f(x) is differentiable at a point x=ax=a if the left-hand derivative (LHD) equals the right-hand derivative (RHD) at x=ax=a.
    • LHD at x=ax=a: limh0f(ah)f(a)h\lim_{h \to 0^-} \frac{f(a-h) - f(a)}{-h} or limh0+f(ah)f(a)h\lim_{h \to 0^+} \frac{f(a-h) - f(a)}{-h}
    • RHD at x=ax=a: limh0+f(a+h)f(a)h\lim_{h \to 0^+} \frac{f(a+h) - f(a)}{h}
  • Limit of sinθθ\frac{\sin \theta}{\theta}: limθ0sinθθ=1\lim_{\theta \to 0} \frac{\sin \theta}{\theta} = 1.

Step-by-Step Solution

Step 1: Analyze the definition of the function f(x)f(x) and simplify it over different intervals.

The function is defined piecewise. We need to determine the value of [x][x] and x|x| in each specified interval.

  • Interval 1: x(2,1)x \in (-2, -1) For x(2,1)x \in (-2, -1), we have [x]=2[x] = -2. The first part of the function becomes sin(x[x])x[x]=sin(x(2))x(2)=sin(x+2)x+2\frac{\sin(x - [x])}{x - [x]} = \frac{\sin(x - (-2))}{x - (-2)} = \frac{\sin(x+2)}{x+2}.

  • Interval 2: x<1|x| < 1 This interval is equivalent to x(1,1)x \in (-1, 1). This interval can be further split into x(1,0]x \in (-1, 0] and x(0,1)x \in (0, 1).

    • For x(1,0]x \in (-1, 0]: x=x|x| = -x (since x0x \le 0). So, [x]=[x][|x|] = [-x]. If x=0x=0, [x]=[0]=0[|x|]=[0]=0. If x(1,0)x \in (-1, 0), then x(0,1)-x \in (0, 1), so [x]=[x]=0[|x|] = [-x] = 0. Thus, for x(1,0]x \in (-1, 0], [x]=0[|x|] = 0. The function is max{2x,3[x]}=max{2x,3(0)}=max{2x,0}\max\{2x, 3[|x|]\} = \max\{2x, 3(0)\} = \max\{2x, 0\}. Since x(1,0]x \in (-1, 0], 2x(2,0]2x \in (-2, 0]. Therefore, max{2x,0}=0\max\{2x, 0\} = 0.
    • For x(0,1)x \in (0, 1): x=x|x| = x (since x>0x > 0). So, [x]=[x][|x|] = [x]. For x(0,1)x \in (0, 1), [x]=0[x] = 0. The function is max{2x,3[x]}=max{2x,3(0)}=max{2x,0}\max\{2x, 3[|x|]\} = \max\{2x, 3(0)\} = \max\{2x, 0\}. Since x(0,1)x \in (0, 1), 2x(0,2)2x \in (0, 2). Therefore, max{2x,0}=2x\max\{2x, 0\} = 2x.
  • Interval 3: Otherwise This means x(2,1)x \notin (-2, -1) and x(1,1)x \notin (-1, 1). So, x(,2][1,1][1,)x \in (-\infty, -2] \cup [-1, -1] \cup [1, \infty). However, the second condition x<1|x|<1 implies x(1,1)x \in (-1, 1). The "otherwise" condition covers x2x \le -2 and x1x \ge 1. For these values, f(x)=1f(x) = 1.

Combining these, we can rewrite f(x)f(x) as: f(x) = \left\{ {\matrix{ \frac{\sin(x+2)}{x+2} & , & {x \in ( - 2, - 1)} \cr 0 & , & {x \in ( - 1,0]} \cr 2x & , & {x \in (0,1)} \cr 1 & , & {x \le -2 \text{ or } x \ge 1} \cr } } \right.

Step 2: Identify potential points of discontinuity.

Points of discontinuity can occur where the definition of the function changes. These are the boundary points of the intervals: x=2x = -2, x=1x = -1, x=0x = 0, and x=1x = 1.

  • Check continuity at x=2x = -2: The function is defined as f(x)=1f(x) = 1 for x2x \le -2. So, f(2)=1f(-2) = 1. The limit from the right at x=2x=-2 is from the interval (2,1)(-2, -1). limx2+f(x)=limx2+sin(x+2)x+2\lim_{x \to -2^+} f(x) = \lim_{x \to -2^+} \frac{\sin(x+2)}{x+2}. Let θ=x+2\theta = x+2. As x2+x \to -2^+, θ0+\theta \to 0^+. limθ0+sinθθ=1\lim_{\theta \to 0^+} \frac{\sin \theta}{\theta} = 1. Since limx2f(x)=f(2)=1\lim_{x \to -2^-} f(x) = f(-2) = 1 and limx2+f(x)=1\lim_{x \to -2^+} f(x) = 1, the function is continuous at x=2x=-2.

  • Check continuity at x=1x = -1: We need to check the left-hand limit, right-hand limit, and the function value. The function is defined as f(x)=0f(x) = 0 for x(1,0]x \in (-1, 0]. So, f(1)=0f(-1) = 0. Left-hand limit: limx1f(x)\lim_{x \to -1^-} f(x). This is from the interval (2,1)(-2, -1), where f(x)=sin(x+2)x+2f(x) = \frac{\sin(x+2)}{x+2}. limx1sin(x+2)x+2=sin(1+2)1+2=sin(1)1=sin(1)\lim_{x \to -1^-} \frac{\sin(x+2)}{x+2} = \frac{\sin(-1+2)}{-1+2} = \frac{\sin(1)}{1} = \sin(1). Right-hand limit: limx1+f(x)\lim_{x \to -1^+} f(x). This is from the interval (1,0](-1, 0], where f(x)=0f(x) = 0. limx1+f(x)=0\lim_{x \to -1^+} f(x) = 0. Since limx1f(x)=sin(1)limx1+f(x)=0\lim_{x \to -1^-} f(x) = \sin(1) \ne \lim_{x \to -1^+} f(x) = 0, the function is discontinuous at x=1x = -1.

  • Check continuity at x=0x = 0: We need to check the left-hand limit, right-hand limit, and the function value. The function is defined as f(x)=0f(x) = 0 for x(1,0]x \in (-1, 0]. So, f(0)=0f(0) = 0. Left-hand limit: limx0f(x)\lim_{x \to 0^-} f(x). This is from the interval (1,0](-1, 0], where f(x)=0f(x) = 0. limx0f(x)=0\lim_{x \to 0^-} f(x) = 0. Right-hand limit: limx0+f(x)\lim_{x \to 0^+} f(x). This is from the interval (0,1)(0, 1), where f(x)=2xf(x) = 2x. limx0+f(x)=limx0+2x=2(0)=0\lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} 2x = 2(0) = 0. Since limx0f(x)=limx0+f(x)=f(0)=0\lim_{x \to 0^-} f(x) = \lim_{x \to 0^+} f(x) = f(0) = 0, the function is continuous at x=0x = 0.

  • Check continuity at x=1x = 1: We need to check the left-hand limit, right-hand limit, and the function value. The function is defined as f(x)=2xf(x) = 2x for x(0,1)x \in (0, 1). The limit from the left is limx12x=2(1)=2\lim_{x \to 1^-} 2x = 2(1) = 2. The function is defined as f(x)=1f(x) = 1 for x1x \ge 1. So, f(1)=1f(1) = 1. The limit from the right is limx1+f(x)=limx1+1=1\lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} 1 = 1. Since limx1f(x)=2limx1+f(x)=1\lim_{x \to 1^-} f(x) = 2 \ne \lim_{x \to 1^+} f(x) = 1, the function is discontinuous at x=1x = 1.

Therefore, the points of discontinuity are x=1x = -1 and x=1x = 1. So, m=2m = 2.

Step 3: Identify potential points of non-differentiability.

Points of non-differentiability can occur at points of discontinuity and at points where the definition of the function changes within a continuous interval, or where the derivative from the left does not equal the derivative from the right.

From Step 2, we know that f(x)f(x) is discontinuous at x=1x = -1 and x=1x = 1. A function cannot be differentiable at a point where it is discontinuous. So, f(x)f(x) is not differentiable at x=1x = -1 and x=1x = 1.

We need to check differentiability at x=0x = 0, where the function is continuous but the definition changes from 00 to 2x2x.

  • Check differentiability at x=0x = 0: We need to calculate the left-hand derivative (LHD) and the right-hand derivative (RHD) at x=0x = 0. We know f(0)=0f(0) = 0.

    LHD at x=0x=0: For x<0x < 0 and close to 0 (i.e., x(1,0)x \in (-1, 0)), f(x)=0f(x) = 0. limh0+f(0h)f(0)h=limh0+f(h)0h\lim_{h \to 0^+} \frac{f(0-h) - f(0)}{-h} = \lim_{h \to 0^+} \frac{f(-h) - 0}{-h}. Since h(1,0)-h \in (-1, 0) for small h>0h>0, f(h)=0f(-h) = 0. LHD = limh0+00h=0\lim_{h \to 0^+} \frac{0 - 0}{-h} = 0.

    RHD at x=0x=0: For x>0x > 0 and close to 0 (i.e., x(0,1)x \in (0, 1)), f(x)=2xf(x) = 2x. limh0+f(0+h)f(0)h=limh0+f(h)0h\lim_{h \to 0^+} \frac{f(0+h) - f(0)}{h} = \lim_{h \to 0^+} \frac{f(h) - 0}{h}. Since h(0,1)h \in (0, 1) for small h>0h>0, f(h)=2hf(h) = 2h. RHD = limh0+2h0h=limh0+2hh=2\lim_{h \to 0^+} \frac{2h - 0}{h} = \lim_{h \to 0^+} \frac{2h}{h} = 2.

    Since LHD =0= 0 and RHD =2= 2, LHD \ne RHD. Therefore, f(x)f(x) is not differentiable at x=0x = 0.

We also need to check differentiability at x=2x = -2, where the function definition changes from 11 to sin(x+2)x+2\frac{\sin(x+2)}{x+2}.

  • Check differentiability at x=2x = -2: We know f(2)=1f(-2) = 1. LHD at x=2x=-2: For x<2x < -2, f(x)=1f(x) = 1. limh0+f(2h)f(2)h=limh0+11h=0\lim_{h \to 0^+} \frac{f(-2-h) - f(-2)}{-h} = \lim_{h \to 0^+} \frac{1 - 1}{-h} = 0.

    RHD at x=2x=-2: For x(2,1)x \in (-2, -1), f(x)=sin(x+2)x+2f(x) = \frac{\sin(x+2)}{x+2}. limh0+f(2+h)f(2)h=limh0+sin(2+h+2)2+h+21h=limh0+sinhh1h\lim_{h \to 0^+} \frac{f(-2+h) - f(-2)}{h} = \lim_{h \to 0^+} \frac{\frac{\sin(-2+h+2)}{-2+h+2} - 1}{h} = \lim_{h \to 0^+} \frac{\frac{\sin h}{h} - 1}{h}. As h0+h \to 0^+, sinhh1\frac{\sin h}{h} \to 1. So the numerator approaches 11=01-1=0. This limit is of the form 00\frac{0}{0}. We can use L'Hopital's rule or Taylor series. Using Taylor series for sinhhh36\sin h \approx h - \frac{h^3}{6} for small hh: sinhh1hh36h1=1h261=h26\frac{\sin h}{h} - 1 \approx \frac{h - \frac{h^3}{6}}{h} - 1 = 1 - \frac{h^2}{6} - 1 = -\frac{h^2}{6}. So, limh0+h26h=limh0+h6=0\lim_{h \to 0^+} \frac{-\frac{h^2}{6}}{h} = \lim_{h \to 0^+} -\frac{h}{6} = 0. Alternatively, using L'Hopital's rule on limh0+sinhh1h\lim_{h \to 0^+} \frac{\frac{\sin h}{h} - 1}{h}: limh0+hcoshsinhh21=limh0+hcoshsinhh2\lim_{h \to 0^+} \frac{\frac{h \cos h - \sin h}{h^2}}{1} = \lim_{h \to 0^+} \frac{h \cos h - \sin h}{h^2}. Applying L'Hopital's rule again: limh0+coshhsinhcosh2h=limh0+hsinh2h=limh0+sinh2=0\lim_{h \to 0^+} \frac{\cos h - h \sin h - \cos h}{2h} = \lim_{h \to 0^+} \frac{-h \sin h}{2h} = \lim_{h \to 0^+} -\frac{\sin h}{2} = 0.

    Since LHD =0= 0 and RHD =0= 0, the function is differentiable at x=2x = -2.

The points where f(x)f(x) is not differentiable are x=1x = -1, x=1x = 1 (due to discontinuity), and x=0x = 0 (due to differing LHD and RHD). So, n=3n = 3.

Step 4: Determine the ordered pair (m, n).

From Step 2, we found m=2m = 2 (discontinuities at x=1x=-1 and x=1x=1). From Step 3, we found n=3n = 3 (non-differentiability at x=1x=-1, x=1x=1, and x=0x=0).

The ordered pair is (m,n)=(2,3)(m, n) = (2, 3).

Common Mistakes & Tips

  • Incorrectly evaluating [x] or |x|: Pay close attention to the interval for xx when determining the values of [x][x] and x|x|. For example, in (2,1)(-2, -1), [x][x] is always 2-2. In (1,0](-1, 0], x|x| is x-x and [x][|x|] is 00.
  • Assuming differentiability at points of continuity: A function can be continuous at a point but not differentiable if the left and right derivatives do not match (e.g., sharp corners). Always check LHD and RHD at such points.
  • Forgetting that discontinuity implies non-differentiability: If a function is not continuous at a point, it cannot be differentiable at that point. This is a quick way to identify some points of non-differentiability.
  • Algebraic errors in limits or derivatives: Be careful with algebraic manipulations, especially when using L'Hopital's rule or Taylor series.

Summary

We first simplified the piecewise function f(x)f(x) by carefully evaluating the greatest integer function and absolute value function over the given intervals. We then systematically checked for continuity at the boundary points of these intervals. We found discontinuities at x=1x = -1 and x=1x = 1, giving m=2m=2. Next, we checked for differentiability. Points of discontinuity are automatically points of non-differentiability. We also checked differentiability at the point x=0x=0 where the function is continuous but the definition changes. By comparing the left-hand and right-hand derivatives at x=0x=0, we found that the function is not differentiable there. Thus, the total number of points of non-differentiability is n=3n=3. The ordered pair (m,n)(m, n) is (2,3)(2, 3).

The final answer is \boxed{(2, 3)}.

Practice More Limits, Continuity & Differentiability Questions

View All Questions