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

Question

Let a function g : [ 0, 4 ] \to R be defined as g(x) = \left\{ {\matrix{ {\mathop {\max }\limits_{0 \le t \le x} \{ {t^3} - 6{t^2} + 9t - 3),} & {0 \le x \le 3} \cr {4 - x,} & {3 < x \le 4} \cr } } \right., then the number of points in the interval (0, 4) where g(x) is NOT differentiable, is ____________.

Answer: 3

Solution

Key Concepts and Formulas

  • Differentiability: A function g(x)g(x) is differentiable at a point x=ax=a if the limit of the difference quotient exists: g(a)=limh0g(a+h)g(a)hg'(a) = \lim_{h \to 0} \frac{g(a+h) - g(a)}{h}. For a piecewise function, differentiability at the junction points requires continuity and equality of the left-hand and right-hand derivatives.
  • Continuity: A function g(x)g(x) is continuous at a point x=ax=a if limxag(x)=limxa+g(x)=g(a)\lim_{x \to a^-} g(x) = \lim_{x \to a^+} g(x) = g(a).
  • Finding the Maximum of a Function: To find the maximum of a function f(t)f(t) over an interval [0,x][0, x], we need to analyze its critical points (where f(t)=0f'(t) = 0 or is undefined) and the endpoints of the interval. The maximum will occur at one of these points.

Step-by-Step Solution

Step 1: Analyze the function for 0x30 \le x \le 3. The function g(x)g(x) for 0x30 \le x \le 3 is defined as the maximum value of the polynomial f(t)=t36t2+9t3f(t) = t^3 - 6t^2 + 9t - 3 for 0tx0 \le t \le x. Let's first find the critical points of f(t)f(t) by taking its derivative: f(t)=3t212t+9f'(t) = 3t^2 - 12t + 9 Setting f(t)=0f'(t) = 0 to find critical points: 3t212t+9=03t^2 - 12t + 9 = 0 t24t+3=0t^2 - 4t + 3 = 0 (t1)(t3)=0(t - 1)(t - 3) = 0 The critical points are t=1t = 1 and t=3t = 3.

Now, let's evaluate f(t)f(t) at the critical points and the endpoint t=0t=0 to understand its behavior: f(0)=036(0)2+9(0)3=3f(0) = 0^3 - 6(0)^2 + 9(0) - 3 = -3 f(1)=136(1)2+9(1)3=16+93=1f(1) = 1^3 - 6(1)^2 + 9(1) - 3 = 1 - 6 + 9 - 3 = 1 f(3)=336(3)2+9(3)3=2754+273=3f(3) = 3^3 - 6(3)^2 + 9(3) - 3 = 27 - 54 + 27 - 3 = -3

We can see that f(t)f(t) has a local maximum at t=1t=1 and a local minimum at t=3t=3. The behavior of f(t)f(t) on [0,3][0, 3] is:

  • From t=0t=0 to t=1t=1, f(t)>0f'(t) > 0, so f(t)f(t) is increasing from 3-3 to 11.
  • From t=1t=1 to t=3t=3, f(t)<0f'(t) < 0, so f(t)f(t) is decreasing from 11 to 3-3.

Step 2: Determine g(x)g(x) for 0x30 \le x \le 3. Now, g(x)=max0tx{f(t)}g(x) = \mathop {\max }\limits_{0 \le t \le x} \{f(t)\}.

  • For 0x10 \le x \le 1: Since f(t)f(t) is increasing on [0,x][0, x] in this interval, the maximum value of f(t)f(t) on [0,x][0, x] is f(x)f(x). So, g(x)=f(x)=x36x2+9x3g(x) = f(x) = x^3 - 6x^2 + 9x - 3.
  • For 1<x31 < x \le 3: The maximum value of f(t)f(t) on [0,x][0, x] occurs at t=1t=1 (the local maximum). The value is f(1)=1f(1) = 1. So, g(x)=f(1)=1g(x) = f(1) = 1.

Therefore, for 0x30 \le x \le 3, g(x)g(x) is: g(x) = \left\{ {\matrix{ {x^3} - 6{x^2} + 9x - 3,} & {0 \le x \le 1} \cr {1,} & {1 < x \le 3} \cr } } \right.

Step 3: Analyze the function for 3<x43 < x \le 4. For 3<x43 < x \le 4, g(x)=4xg(x) = 4 - x. This is a linear function.

Step 4: Combine the definitions of g(x)g(x) and check for continuity. The complete definition of g(x)g(x) is: g(x) = \left\{ {\matrix{ {x^3} - 6{x^2} + 9x - 3,} & {0 \le x \le 1} \cr {1,} & {1 < x \le 3} \cr {4 - x,} & {3 < x \le 4} \cr } } \right.

We need to check for continuity at the junction points x=1x=1 and x=3x=3.

  • At x=1x=1:

    • Left-hand limit: limx1g(x)=limx1(x36x2+9x3)=136(1)2+9(1)3=16+93=1\lim_{x \to 1^-} g(x) = \lim_{x \to 1^-} (x^3 - 6x^2 + 9x - 3) = 1^3 - 6(1)^2 + 9(1) - 3 = 1 - 6 + 9 - 3 = 1.
    • Right-hand limit: limx1+g(x)=limx1+1=1\lim_{x \to 1^+} g(x) = \lim_{x \to 1^+} 1 = 1.
    • Function value: g(1)=136(1)2+9(1)3=1g(1) = 1^3 - 6(1)^2 + 9(1) - 3 = 1. Since limx1g(x)=limx1+g(x)=g(1)\lim_{x \to 1^-} g(x) = \lim_{x \to 1^+} g(x) = g(1), g(x)g(x) is continuous at x=1x=1.
  • At x=3x=3:

    • Left-hand limit: limx3g(x)=limx31=1\lim_{x \to 3^-} g(x) = \lim_{x \to 3^-} 1 = 1.
    • Right-hand limit: limx3+g(x)=limx3+(4x)=43=1\lim_{x \to 3^+} g(x) = \lim_{x \to 3^+} (4 - x) = 4 - 3 = 1.
    • Function value: g(3)=1g(3) = 1. Since limx3g(x)=limx3+g(x)=g(3)\lim_{x \to 3^-} g(x) = \lim_{x \to 3^+} g(x) = g(3), g(x)g(x) is continuous at x=3x=3.

Step 5: Check for differentiability at the junction points and within the intervals. We need to find the derivative of g(x)g(x) in each interval.

  • For 0<x<10 < x < 1: g(x)=ddx(x36x2+9x3)=3x212x+9g'(x) = \frac{d}{dx}(x^3 - 6x^2 + 9x - 3) = 3x^2 - 12x + 9.
  • For 1<x<31 < x < 3: g(x)=ddx(1)=0g'(x) = \frac{d}{dx}(1) = 0.
  • For 3<x<43 < x < 4: g(x)=ddx(4x)=1g'(x) = \frac{d}{dx}(4 - x) = -1.

Now, let's check differentiability at x=1x=1 and x=3x=3.

  • At x=1x=1:

    • Left-hand derivative: limx1g(x)=limx1(3x212x+9)=3(1)212(1)+9=312+9=0\lim_{x \to 1^-} g'(x) = \lim_{x \to 1^-} (3x^2 - 12x + 9) = 3(1)^2 - 12(1) + 9 = 3 - 12 + 9 = 0.
    • Right-hand derivative: limx1+g(x)=limx1+0=0\lim_{x \to 1^+} g'(x) = \lim_{x \to 1^+} 0 = 0. Since the left-hand and right-hand derivatives are equal, g(x)g(x) is differentiable at x=1x=1.
  • At x=3x=3:

    • Left-hand derivative: limx3g(x)=limx30=0\lim_{x \to 3^-} g'(x) = \lim_{x \to 3^-} 0 = 0.
    • Right-hand derivative: limx3+g(x)=limx3+(1)=1\lim_{x \to 3^+} g'(x) = \lim_{x \to 3^+} (-1) = -1. Since the left-hand derivative (00) and the right-hand derivative (1-1) are not equal, g(x)g(x) is NOT differentiable at x=3x=3.

Step 6: Check for differentiability within the open intervals.

  • For 0<x<10 < x < 1, g(x)=3x212x+9g'(x) = 3x^2 - 12x + 9. This is a polynomial and is differentiable everywhere.
  • For 1<x<31 < x < 3, g(x)=0g'(x) = 0. This is a constant and is differentiable everywhere.
  • For 3<x<43 < x < 4, g(x)=1g'(x) = -1. This is a constant and is differentiable everywhere.

The only point in the interval (0,4)(0, 4) where g(x)g(x) is not differentiable is at x=3x=3.

Step 7: Consider endpoints and the interval (0, 4). The question asks for the number of points in the interval (0, 4) where g(x)g(x) is NOT differentiable. We have analyzed the junction points x=1x=1 and x=3x=3.

  • At x=1x=1, g(x)g(x) is differentiable.
  • At x=3x=3, g(x)g(x) is not differentiable.

The function is differentiable within the open intervals (0,1)(0, 1), (1,3)(1, 3), and (3,4)(3, 4).

Therefore, the only point in (0,4)(0, 4) where g(x)g(x) is not differentiable is x=3x=3.

Common Mistakes & Tips

  • Confusing Maximum Function with the Polynomial: Remember that g(x)g(x) is the maximum value of the polynomial f(t)f(t) up to xx. This means g(x)g(x) might not be equal to f(x)f(x) for all xx.
  • Forgetting to Check Continuity Before Differentiability: Differentiability at a point implies continuity at that point. Always check continuity at junction points first. If a function is not continuous at a point, it cannot be differentiable there.
  • Incorrectly Evaluating the Maximum: When dealing with max0txf(t)\max_{0 \le t \le x} f(t), consider the critical points of f(t)f(t) and how they affect the maximum value as xx changes.

Summary

We defined the function g(x)g(x) by first analyzing the behavior of the polynomial f(t)=t36t2+9t3f(t) = t^3 - 6t^2 + 9t - 3 and finding its maximum over the interval [0,x][0, x]. This led to a piecewise definition of g(x)g(x) for 0x30 \le x \le 3. We then combined this with the definition for 3<x43 < x \le 4 to get the complete piecewise function. We checked for continuity at the junction points x=1x=1 and x=3x=3 and found that g(x)g(x) is continuous everywhere in [0,4][0, 4]. Next, we calculated the derivatives in each interval and checked for differentiability at the junction points. We found that g(x)g(x) is differentiable at x=1x=1 but not at x=3x=3 because the left-hand and right-hand derivatives do not match. The function is differentiable within the open intervals. Thus, there is only one point in (0,4)(0, 4) where g(x)g(x) is not differentiable.

The final answer is 3\boxed{3}.

Practice More Limits, Continuity & Differentiability Questions

View All Questions