Mathematics · Limits, Continuity and Differentiability

JEE Advanced 2026 — Paper 1 — Question 17

Consider the function f:(−π2,π2)→(−∞,∞)f : \left(-\frac{\pi}{2}, \frac{\pi}{2}\right) \to (-\infty, \infty) defined by f(x)=(∣x∣+∣x−1∣)sin⁡x+[xsin⁡x]f(x) = (|x| + |x -1|) \sin x + [x \sin x], where [xsin⁡x][x \sin x] is the greatest integer less than or equal to xsin⁡xx \sin x. Let α\alpha be the total number of points in the interval (−π2,π2)\left(-\frac{\pi}{2}, \frac{\pi}{2}\right) at which ff is NOT continuous, and let β\beta be the total number of points in the interval (−π2,π2)\left(-\frac{\pi}{2}, \frac{\pi}{2}\right) at which ff is NOT differentiable. Then the value of α+β\alpha + \beta is __________.

Answer: 5

Numerical answer — enter this value.

Step-by-step solution

Let g(x)=xsin⁡xg(x) = x \sin x. g′(x)≥0g'(x) \ge 0 for x∈[0,π/2)x \in [0, \pi/2) and g′(x)≤0g'(x) \le 0 for x∈(−π/2,0]x \in (-\pi/2, 0]. [xsin⁡x][x\sin x] discontinuous at x=x1,−x1 ; x1∈(0,π2)x = x_1, -x_1 \ ; \ x_1 \in \left(0, \frac{\pi}{2}\right)

[xsin⁡x][x\sin x] not diff. at x=x1,−x1 ; x1∈(0,π2)x = x_1, -x_1 \ ; \ x_1 \in \left(0, \frac{\pi}{2}\right)

Now y=(∣x∣+∣x−1∣)sin⁡xy = (|x| + |x - 1|)\sin x

(i) continuous ∀ x∈(−π2,π2)\forall \ x \in \left(-\frac{\pi}{2}, \frac{\pi}{2}\right)

(ii) Not differentiable at x=1x = 1, differentiable at x=0x = 0

Here x1≠1x_1 \neq 1

Now

(i) for differentiability

f(x)=(∣x∣+∣x−1∣)sin⁡x⏟f1(x)+[xsin⁡x]⏟f2(x)f(x) = \underbrace{(|x| + |x - 1|)\sin x}_{f_1(x)} + \underbrace{[x\sin x]}_{f_2(x)}

at x=x1,−x1x = x_1, -x_1

f1(x)f_1(x) is differentiable & f2(x)f_2(x) is not differentiable

Hence f(x)f(x) is not differentiable

at x=1x = 1 ; f1(x)f_1(x) is not differentiable & f2(x)f_2(x) is differentiable

  ⟹  f(x)\implies f(x) is not differentiable

at x=0x = 0

f1(x)f_1(x) & f2(x)f_2(x) both differentiable

Hence β=3\beta = 3

(ii) for continuity, we can clearly say

at x=x1,−x1x = x_1, -x_1,

f(x)f(x) will be discontinuous

α=2\alpha = 2

α+β=5\boxed{\alpha + \beta = 5}
Solution figure

Answer key and solution verified before publishing.

Practise Limits, Continuity and Differentiability

Start with this question, then two more from the same chapter — with a tutor that explains every step. Free.

Exam
JEE Advanced 2026
Paper
Paper 1
Subject
Mathematics
Chapter
Limits, Continuity and Differentiability
Topic
Continuity