Split the integral into two parts:
I=∫−22(∣sinx∣+[xsinx])dx=I1∫−22∣sinx∣dx+I2∫−22[xsinx]dx
1. Evaluation of I1
Since ∣sinx∣ is an even function,
I1=2∫02∣sinx∣dx
On 0≤x≤2 we have sinx>0 (because 2<π), hence ∣sinx∣=sinx.
I1=2∫02sinxdx=2[−cosx]02=2(1−cos2)=2−2cos2 −(1)
2. Evaluation of I2
The function g(x)=xsinx is even (product of two odd functions), so
I2=2∫02[xsinx]dx
For 0≤x≤2 we have 0≤xsinx≤2sin2≈1.8186,
so [xsinx] can take only the values 0 or 1.
Let α be the point in (1,2) where
αsinα=1 −(2)
Then
[xsinx]={0,1,0≤x<αα≤x≤2
Hence
I2=2(∫0α0dx+∫α21dx)=2(2−α)=4−2α −(3)
3. Complete value of I
Adding (1) and (3):
I=(2−2cos2)+(4−2α)=6−2cos2−2α −(4)
The question states that
I=2(3−cos2)+β=6−2cos2+β −(5)
Comparing (4) and (5) we get
β=−2α −(6)
4. Compute βsin(2β)
Using (6):
βsin(2β)=(−2α)sin(−α)=2αsinα
From (2), αsinα=1, therefore
βsin(2β)=2
Hence the required value is 2.
Option B which is: 2