NVAMediumJEE 2023Differentiability

JEE Mathematics 2023 Question with Solution

Let f(x)f(x) be defined as: f(x)=xxf(x) = x\lfloor x\rfloor, 2<x<0-2 < x < 0, and f(x)=(x1)xf(x) = (x - 1)\lfloor x\rfloor, 0x<20 \leq x < 2. If mm and nn are the number of points in (2,2)(-2, 2) where y=f(x)y = |f(x)| is not continuous and not differentiable, then m+nm + n is equal to:

Answer

Correct answer:4

Step-by-step solution

Standard Method

Given: The piecewise function is

f(x)={2x,2<x<1,x,1x<0,0,0x<1,x1,1x<2.f(x) = \begin{cases} -2x, & -2 < x < -1, \\ -x, & -1 \leq x < 0, \\ 0, & 0 \leq x < 1, \\ x - 1, & 1 \leq x < 2. \end{cases}

Find: The value of m+nm+n, where mm is the number of points in (2,2)(-2,2) where y=f(x)y=|f(x)| is not continuous and nn is the number of points where it is not differentiable.

Step 1: Check continuity. From the piecewise form, f(x)f(x) is discontinuous at x=1x=-1. Hence f(x)|f(x)| is also discontinuous at x=1x=-1. So, m=1m=1.

Step 2: Check differentiability. Differentiating on each interval,

f(x)={2,2<x<1,1,1<x<0,0,0<x<1,1,1<x<2.f'(x) = \begin{cases} -2, & -2 < x < -1, \\ -1, & -1 < x < 0, \\ 0, & 0 < x < 1, \\ 1, & 1 < x < 2. \end{cases}

Thus the function is non-differentiable at the junction points x=1,0,1x=-1, 0, 1. So, n=3n=3.

Step 3: Compute the required sum.

m+n=1+3=4m+n=1+3=4

Therefore, the required value is 44.

Using the floor function intervals

Given:

  • For 2<x<0-2 < x < 0, f(x)=xxf(x)=x\lfloor x\rfloor
  • For 0x<20 \leq x < 2, f(x)=(x1)xf(x)=(x-1)\lfloor x\rfloor

Find: Points where f(x)|f(x)| is not continuous and not differentiable.

Use the values of the floor function on subintervals:

  • If 2<x<1-2 < x < -1, then x=2\lfloor x\rfloor=-2, so
f(x)=x(2)=2xf(x)=x(-2)=-2x
  • If 1x<0-1 \leq x < 0, then x=1\lfloor x\rfloor=-1, so
f(x)=x(1)=xf(x)=x(-1)=-x
  • If 0x<10 \leq x < 1, then x=0\lfloor x\rfloor=0, so
f(x)=(x1)0=0f(x)=(x-1)\cdot 0=0
  • If 1x<21 \leq x < 2, then x=1\lfloor x\rfloor=1, so
f(x)=(x1)1=x1f(x)=(x-1)\cdot 1=x-1

Hence,

f(x)=\begin{cases}-2x,& -2

Common mistakes

  • Treating x\lfloor x\rfloor as a constant on the whole interval (2,0)(-2,0) is wrong because the floor value changes at x=1x=-1. Split the interval at every integer before simplifying.

  • Checking continuity and differentiability of f(x)f(x) but forgetting the absolute value can be risky. First determine the sign of f(x)f(x) on each interval and then verify whether f(x)|f(x)| changes the behavior.

  • Missing the junction points x=0x=0 and x=1x=1 in the differentiability check is incorrect. Even when a function is continuous there, the left and right derivatives can differ, so these points must be tested separately.

Practice more Differentiability questions

Get unlimited AI-adaptive practice, mastery tracking, and an AI tutor that explains every step - free to start.

Related questions