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

Question

Let mm and nn be the number of points at which the function f(x)=max{x,x3,x5,x21},xRf(x)=\max \left\{x, x^3, x^5, \ldots x^{21}\right\}, x \in \mathbb{R}, is not differentiable and not continuous, respectively. Then m+nm+n is equal to _________.

Answer: 1

Solution

Key Concepts and Formulas

  • Continuity: A function f(x)f(x) is continuous at a point cc if limxcf(x)=limxc+f(x)=f(c)\lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x) = f(c).
  • Differentiability: A function f(x)f(x) is differentiable at a point cc if the limit of the difference quotient exists, i.e., limh0f(c+h)f(c)h\lim_{h \to 0} \frac{f(c+h) - f(c)}{h} exists. This is equivalent to the left-hand derivative being equal to the right-hand derivative at cc: f(c)=f(c+)f'(c^-) = f'(c^+).
  • Maximum of Functions: For any real number xx, max{a,b}\max\{a, b\} is the larger of the two numbers aa and bb. This is a piecewise function, and its points of non-differentiability often occur where the expressions being compared are equal.

Step-by-Step Solution

Step 1: Analyze the function f(x)f(x) by comparing the terms x,x3,x5,,x21x, x^3, x^5, \ldots, x^{21}. We need to determine which power of xx is the maximum for different intervals of xx. The powers are odd integers from 1 to 21.

  • For x>1x > 1: x21>x19>>x3>xx^{21} > x^{19} > \ldots > x^3 > x. So, f(x)=x21f(x) = x^{21}.
  • For 0<x<10 < x < 1: x>x3>x5>>x21x > x^3 > x^5 > \ldots > x^{21}. So, f(x)=xf(x) = x.
  • For x=0x = 0: f(0)=max{0,0,,0}=0f(0) = \max\{0, 0, \ldots, 0\} = 0.
  • For 1<x<0-1 < x < 0: Let x=0.5x = -0.5. Then x=0.5x = -0.5, x3=0.125x^3 = -0.125, x5=0.03125x^5 = -0.03125, etc. For negative odd powers, as the power increases, the absolute value decreases, making the value closer to zero. So, x<x3<x5<<x21<0x < x^3 < x^5 < \ldots < x^{21} < 0. Thus, f(x)=x21f(x) = x^{21}.
  • For x=1x = -1: f(1)=max{1,(1)3,,(1)21}=max{1,1,,1}=1f(-1) = \max\{-1, (-1)^3, \ldots, (-1)^{21}\} = \max\{-1, -1, \ldots, -1\} = -1.
  • For x<1x < -1: Let x=2x = -2. Then x=2x = -2, x3=8x^3 = -8, x5=32x^5 = -32, etc. For negative odd powers, as the power increases, the absolute value increases, making the value more negative. So, x>x3>x5>>x21x > x^3 > x^5 > \ldots > x^{21}. Thus, f(x)=xf(x) = x.

Combining these observations, we can write f(x)f(x) in a piecewise form:

f(x)={xif x<1x21if 1x0xif 0<x<1x21if x1f(x)=\begin{cases} x & \text{if } x < -1 \\ x^{21} & \text{if } -1 \leq x \leq 0 \\ x & \text{if } 0 < x < 1 \\ x^{21} & \text{if } x \geq 1 \end{cases}

Step 2: Check for continuity of f(x)f(x). We need to check continuity at the points where the definition of f(x)f(x) changes, which are x=1x = -1, x=0x = 0, and x=1x = 1.

  • 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+x21=(1)21=1\lim_{x \to -1^+} f(x) = \lim_{x \to -1^+} x^{21} = (-1)^{21} = -1.
    • Function value: f(1)=(1)21=1f(-1) = (-1)^{21} = -1. Since limx1f(x)=limx1+f(x)=f(1)=1\lim_{x \to -1^-} f(x) = \lim_{x \to -1^+} f(x) = f(-1) = -1, f(x)f(x) is continuous at x=1x = -1.
  • At x=0x = 0:

    • Left-hand limit: limx0f(x)=limx0x21=021=0\lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} x^{21} = 0^{21} = 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)=021=0f(0) = 0^{21} = 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, 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+x21=121=1\lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} x^{21} = 1^{21} = 1.
    • Function value: f(1)=121=1f(1) = 1^{21} = 1. Since limx1f(x)=limx1+f(x)=f(1)=1\lim_{x \to 1^-} f(x) = \lim_{x \to 1^+} f(x) = f(1) = 1, f(x)f(x) is continuous at x=1x = 1.

The function f(x)f(x) is continuous for all xRx \in \mathbb{R}. Therefore, the number of points where f(x)f(x) is not continuous, nn, is 0.

Step 3: Find the derivative of f(x)f(x) in each interval. For the intervals where f(x)f(x) is defined by a single polynomial, the derivative is straightforward.

f(x)={ddx(x)=1if x<1ddx(x21)=21x20if 1<x<0ddx(x)=1if 0<x<1ddx(x21)=21x20if x>1f'(x)=\begin{cases} \frac{d}{dx}(x) = 1 & \text{if } x < -1 \\ \frac{d}{dx}(x^{21}) = 21x^{20} & \text{if } -1 < x < 0 \\ \frac{d}{dx}(x) = 1 & \text{if } 0 < x < 1 \\ \frac{d}{dx}(x^{21}) = 21x^{20} & \text{if } x > 1 \end{cases}

Note that we exclude the points 1,0,1-1, 0, 1 for now, as we need to check differentiability at these points separately.

Step 4: Check for differentiability at the points where the definition of f(x)f(x) changes (x=1x = -1, x=0x = 0, x=1x = 1). For f(x)f(x) to be differentiable at a point cc, the left-hand derivative must equal the right-hand derivative at cc.

  • At x=1x = -1:

    • Left-hand derivative: f(1)=limx1f(x)=limx11=1f'(-1^-) = \lim_{x \to -1^-} f'(x) = \lim_{x \to -1^-} 1 = 1.
    • Right-hand derivative: f(1+)=limx1+f(x)=limx1+21x20=21(1)20=21(1)=21f'(-1^+) = \lim_{x \to -1^+} f'(x) = \lim_{x \to -1^+} 21x^{20} = 21(-1)^{20} = 21(1) = 21. Since f(1)f(1+)f'(-1^-) \neq f'(-1^+) (1211 \neq 21), f(x)f(x) is not differentiable at x=1x = -1.
  • At x=0x = 0:

    • Left-hand derivative: f(0)=limx0f(x)=limx021x20=21(0)20=0f'(0^-) = \lim_{x \to 0^-} f'(x) = \lim_{x \to 0^-} 21x^{20} = 21(0)^{20} = 0.
    • Right-hand derivative: f(0+)=limx0+f(x)=limx0+1=1f'(0^+) = \lim_{x \to 0^+} f'(x) = \lim_{x \to 0^+} 1 = 1. Since f(0)f(0+)f'(0^-) \neq f'(0^+) (010 \neq 1), f(x)f(x) is not differentiable at x=0x = 0.
  • At x=1x = 1:

    • Left-hand derivative: f(1)=limx1f(x)=limx11=1f'(1^-) = \lim_{x \to 1^-} f'(x) = \lim_{x \to 1^-} 1 = 1.
    • Right-hand derivative: f(1+)=limx1+f(x)=limx1+21x20=21(1)20=21(1)=21f'(1^+) = \lim_{x \to 1^+} f'(x) = \lim_{x \to 1^+} 21x^{20} = 21(1)^{20} = 21(1) = 21. Since f(1)f(1+)f'(1^-) \neq f'(1^+) (1211 \neq 21), f(x)f(x) is not differentiable at x=1x = 1.

The function f(x)f(x) is not differentiable at x=1x = -1, x=0x = 0, and x=1x = 1. Therefore, the number of points at which f(x)f(x) is not differentiable, mm, is 3.

Step 5: Calculate m+nm+n. We found that m=3m = 3 (points of non-differentiability) and n=0n = 0 (points of non-continuity). So, m+n=3+0=3m+n = 3 + 0 = 3.

Common Mistakes & Tips

  • Incorrectly determining the maximum: Carefully analyze the behavior of powers of xx for positive, negative, and fractional values. For odd powers, the sign of xkx^k is the same as the sign of xx.
  • Assuming differentiability if continuous: Continuity is a necessary but not sufficient condition for differentiability. Always check the equality of left-hand and right-hand derivatives.
  • Forgetting to check endpoints: The points where the piecewise definition changes are critical for checking continuity and differentiability.

Summary

We first analyzed the function f(x)=max{x,x3,,x21}f(x) = \max\{x, x^3, \ldots, x^{21}\} by determining which term is the maximum in different intervals of xx. This led to a piecewise definition of f(x)f(x). We then checked for continuity at the points where the definition changed (x=1,0,1x=-1, 0, 1) and found that the function is continuous everywhere, so n=0n=0. Next, we calculated the derivative of f(x)f(x) in each interval and checked for differentiability at x=1,0,1x=-1, 0, 1 by comparing the left-hand and right-hand derivatives. We found that f(x)f(x) is not differentiable at these three points, so m=3m=3. Finally, we calculated m+n=3+0=3m+n = 3+0=3.

The final answer is \boxed{3}.

Practice More Limits, Continuity & Differentiability Questions

View All Questions