GATE CS 2024 Set 1 — Question 11

MCQ+1 / -0.33MediumDifferentiationCalculusEngineering Mathematics

Engineering Mathematics → Calculus → Differentiation

Last updated

Question

Let f:RRf: \mathbb{R} \rightarrow \mathbb{R} be a function such that f(x)=max{x,x3},xRf(x) = \max\{x, x^3\}, x \in \mathbb{R}, where R\mathbb{R} is the set of all real numbers. The set of all points where f(x)f(x) is NOT differentiable is
A.
{1,1,2}\{-1, 1, 2\}
B.
{2,1,1}\{-2, -1, 1\}
C.
{0,1}\{0, 1\}
D.
{1,0,1}\{-1, 0, 1\}

Correct answer

(D) \-1, 0, 1\

Solution

The function is given by f(x)=max{x,x3}f(x) = \max\{x, x^3\}.
To analyze the function, we find the points where the graphs of y=xy=x and y=x3y=x^3 intersect:x=x3    x3x=0    x(x1)(x+1)=0x = x^3 \implies x^3 - x = 0 \implies x(x-1)(x+1) = 0The intersection points are x=1,0,1x = -1, 0, 1.
We determine the value of f(x)f(x) in the intervals defined by these points:
1.For x(,1]x \in (-\infty, -1]: Let x=2x = -2. Then x=2x = -2 and x3=8x^3 = -8. Since 2>8-2 > -8, f(x)=xf(x) = x.
2.For x(1,0]x \in (-1, 0]: Let x=0.5x = -0.5. Then x=0.5x = -0.5 and x3=0.125x^3 = -0.125. Since 0.125>0.5-0.125 > -0.5, f(x)=x3f(x) = x^3.
3.For x(0,1]x \in (0, 1]: Let x=0.5x = 0.5. Then x=0.5x = 0.5 and x3=0.125x^3 = 0.125. Since 0.5>0.1250.5 > 0.125, f(x)=xf(x) = x.
4.For x(1,)x \in (1, \infty): Let x=2x = 2. Then x=2x = 2 and x3=8x^3 = 8. Since 8>28 > 2, f(x)=x3f(x) = x^3.
Thus, the function can be written piecewise as:f(x)={xx1x31<x0x0<x1x3x>1f(x) = \begin{cases} x & x \le -1 \\ x^3 & -1 < x \le 0 \\ x & 0 < x \le 1 \\ x^3 & x > 1 \end{cases}We check for differentiability at the transition points x=1,0,1x = -1, 0, 1 by comparing the Left Hand Derivative (LHD) and Right Hand Derivative (RHD).
At x=1x = -1:
LHD =ddx(x)=1= \frac{d}{dx}(x) = 1
RHD =ddx(x3)x=1=3(1)2=3= \frac{d}{dx}(x^3)\big|_{x=-1} = 3(-1)^2 = 3
Since LHD \neq RHD, f(x)f(x) is not differentiable at x=1x = -1.
At x=0x = 0:
LHD =ddx(x3)x=0=3(0)2=0= \frac{d}{dx}(x^3)\big|_{x=0} = 3(0)^2 = 0
RHD =ddx(x)=1= \frac{d}{dx}(x) = 1
Since LHD \neq RHD, f(x)f(x) is not differentiable at x=0x = 0.
At x=1x = 1:
LHD =ddx(x)=1= \frac{d}{dx}(x) = 1
RHD =ddx(x3)x=1=3(1)2=3= \frac{d}{dx}(x^3)\big|_{x=1} = 3(1)^2 = 3
Since LHD \neq RHD, f(x)f(x) is not differentiable at x=1x = 1.
The set of points where f(x)f(x) is not differentiable is {1,0,1}\{-1, 0, 1\}.

More questions on Calculus

Practice GATE CS PYQs with adaptive difficulty

Timed practice, skill tracking, and AI explanations — free to start.

Start practicing free