Question:

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

Show Hint

The smooth part (|x|+|x-1|)sin x has only one kink, at x = 1. The floor part jumps at the two points where x sin x = 1.
Updated On: Nov 19, 2026
Show Solution
collegedunia
Verified By Collegedunia

Correct Answer: 5

Solution and Explanation

Step 1: Split f into two parts:
Write \(f(x)=g(x)+h(x)\), where \(g(x)=(|x|+|x-1|)\sin x\) and \(h(x)=[x\sin x]\).
On \(\left(-\dfrac\pi2,\dfrac\pi2\right)\) the function \(g\) is continuous everywhere because it is a product of continuous functions.
So any break in continuity of \(f\) comes from the greatest integer part \(h\).

Step 2: Where does h jump?:
Let \(u(x)=x\sin x\). It is even and \(u(0)=0\). For \(x>0\), \(u'(x)=\sin x+x\cos x>0\), so \(u\) rises from \(0\) to \(\dfrac\pi2\approx1.57\).
So \([u]=0\) while \(0\le u<1\), and \([u]=1\) once \(u\ge1\) (it never reaches \(2\)).
The equation \(x\sin x=1\) has exactly one root \(x_0\approx1.11\) in \(\left(0,\dfrac\pi2\right)\), and by symmetry \(-x_0\) is the other.
At \(\pm x_0\) the value of \(h\) jumps from \(0\) to \(1\) (or from \(1\) to \(0\)). Nowhere else does \([u]\) change.

Step 3: Count alpha:
\(f\) is discontinuous only at \(x=-x_0\) and \(x=x_0\). So \(\alpha=2\).

Step 4: Differentiability of g:
Remove the modulus signs. For \(x<0\): \(|x|+|x-1|=1-2x\). For \(0\le x\le1\): it equals \(1\). For \(x>1\): it equals \(2x-1\).
At \(x=0\): the left derivative of \((1-2x)\sin x\) is \(-2\sin0+(1)\cos0=1\). The right derivative of \(\sin x\) is \(\cos0=1\). They agree, so \(g\) is differentiable at \(0\).
At \(x=1\): the left derivative of \(\sin x\) is \(\cos1\). The right derivative of \((2x-1)\sin x\) is \(2\sin1+\cos1\).
These differ by \(2\sin1\ne0\). So \(g\) is not differentiable at \(x=1\).

Step 5: Differentiability of h:
Away from \(\pm x_0\), \(h\) is constant, so its derivative is \(0\). At \(\pm x_0\) it jumps, so it is not even continuous there, and not differentiable.
Near \(x=0\), \(h=0\) (since \(0\le x\sin x<1\)), so \(h\) is smooth at \(0\). Near \(x=1\), \(u(1)=\sin1\approx0.84<1\), so \(h\) is also constant there.

Step 6: Count beta:
\(f\) is not differentiable at \(x=-x_0\), \(x=x_0\) (jumps) and \(x=1\) (kink). The point \(x=0\) is fine.
These three points are different because \(x_0\approx1.11\ne1\). So \(\beta=3\).
\[ \alpha+\beta=2+3=5 \]

Final Answer:
The value of alpha + beta is 5. \[ \boxed{5} \]
Was this answer helpful?
0
0

Top JEE Advanced Continuity and differentiability Questions

View More Questions