RankRizz
JEE MAIN 2021 · 27 JUL S1+4HARDTRANSCRIBED

JEE Main 2021 Mathematics question — Differentiability at a point

Let f:[0,3]→Rf : [0, 3] \rightarrow R be defined by f(x)=min⁡{x−[x],1+[x]−x}f(x) = \min\{x - [x], 1 + [x] - x\} where [x][x] is the greatest integer less than or equal to xx. Let PP denote the set containing all x∈[0,3]x \in [0, 3] where ff is discontinuous, and QQ denote the set containing all x∈(0,3)x \in (0, 3) where ff is not differentiable. Then the sum of number of elements in PP and QQ is equal to _________.

SOLUTION

We have the function f:[0,3]→Rf:[0,3]\to\mathbb R given by

f(x)=min⁡{x−[x],  1+[x]−x},f(x)=\min\{x-[x],\;1+[x]-x\},

where [x][x] denotes the greatest integer less than or equal to xx. For each integer nn with 0≤n≤20\le n\le2, every point xx in the sub-interval [n,n+1)[n,n+1) satisfies [x]=n[x]=n, so we may write

x−[x]=x−nand1+[x]−x=1+n−x.x-[x]=x-n\quad\text{and}\quad 1+[x]-x = 1+n-x.

If we introduce the fractional part {x}=x−n  (0≤{x}<1)\{x\}=x-n\;(0\le\{x\}<1), then inside the same sub-interval we obtain the much simpler expression

f(x)=min⁡{{x},  1−{x}}.f(x)=\min\{\{x\},\;1-\{x\}\}.

Now {x}\{x\} increases linearly from 00 to 11 while 1−{x}1-\{x\} decreases linearly from 11 to 00. The smaller of the two is therefore

{x}when{x}≤12,and1−{x}when{x}≥12.\{x\}\quad\text{when}\quad\{x\}\le\frac12,\qquad\text{and}\qquad1-\{x\}\quad\text{when}\quad\{x\}\ge\frac12.

Hence on each open unit interval (n,n+1)(n,n+1) the function assumes the piece-wise linear form

f(x)={{x},0≤{x}≤12,1−{x},12≤{x}<1.f(x)= \begin{cases} \{x\}, & 0\le\{x\}\le\dfrac12,\\\\ 1-\{x\}, & \dfrac12\le\{x\}<1. \end{cases}

Continuity is checked first. At a non-end-point xx lying strictly between two consecutive integers, ff is given by one of the linear formulas above, so it is continuous there. At an integer k  (k=0,1,2,3)k\;(k=0,1,2,3) we have

lim⁡x→k−f(x)=0,lim⁡x→k+f(x)=0,\lim_{x\to k^-}f(x)=0,\qquad\lim_{x\to k^+}f(x)=0,

while directly from the definition

f(k)=min⁡{k−k,  1+k−k}=0.f(k)=\min\{k-k,\;1+k-k\}=0.

Since the left limit, the right limit and the value of the function coincide, ff is continuous at every integer as well. Thus the set

P={x∈[0,3]∣f is discontinuous at x}P=\{x\in[0,3]\mid f\text{ is discontinuous at }x\}

is empty, so ∣P∣=0.|P|=0.

We now investigate differentiability. Inside each open interval (n,n+1)(n,n+1) we already have linear pieces, so the derivative exists there and equals

f′(x)={1,0<{x}<12,−1,12<{x}<1.f'(x)= \begin{cases} 1, & 0<\{x\}<\dfrac12,\\\\ -1, & \dfrac12<\{x\}<1. \end{cases}

Possible trouble points are where these two formulas meet, namely where {x}=12\{x\}=\dfrac12, and also the integers where two adjacent unit intervals meet.

(i) Points with fractional part ½.
Solving {x}=12\{x\}=\dfrac12 in each interval (n,n+1)(n,n+1) gives x=n+12.x=n+\dfrac12. Within the domain [0,3][0,3] this yields the three points

x=0.5,  1.5,  2.5.x=0.5,\;1.5,\;2.5.

At each of them the left derivative equals 11 while the right derivative equals −1-1, so ff is not differentiable there.

(ii) Integer points.
At an integer kk the left derivative (coming from the slope −1-1 of the segment that ends at x=kx=k) equals −1-1, whereas the right derivative (coming from the slope 11 of the segment that starts at x=kx=k) equals 11. Therefore ff fails to be differentiable at every integer.

All integers in our closed interval are 0,1,2,30,1,2,3, but the set

Q={x∈(0,3)∣f is not differentiable at x}Q=\{x\in(0,3)\mid f\text{ is not differentiable at }x\}

excludes the endpoints 00 and 33. Consequently only 11 and 22 from the list above belong to QQ.

Collecting everything lying strictly between 00 and 33, the non-differentiable points are

1,  2,  0.5,  1.5,  2.5,1,\;2,\;0.5,\;1.5,\;2.5,

so ∣Q∣=5.|Q|=5.

Finally, the required sum is

∣P∣+∣Q∣=0+5=5.|P|+|Q| = 0 + 5 = 5.

Hence, the correct answer is Option 5.

Tagged Differentiability at a point. Machine-assigned, so read it as a strong shortlist rather than a verdict.

TopicDifferentiability at a point
TypeNumerical answer