Given: sin−1(x2+2x+2x+1)−sin−1(x2+1x)=4π
Note that x2+2x+2=(x+1)2+1.
Substitution: Let tanθ1=x+1 and tanθ2=x.
Then sinθ1=(x+1)2+1x+1 and sinθ2=x2+1x.
The equation becomes θ1−θ2=4π, so:
tan(θ1−θ2)=1+tanθ1tanθ2tanθ1−tanθ2=1+x(x+1)(x+1)−x=1+x2+x1
Setting this equal to tan4π=1:
1+x+x21=1⟹x2+x=0⟹x(x+1)=0
So x=0 or x=−1.
Verification:
At x=0: sin−1(21)−sin−1(0)=4π ✓
At x=−1: sin−1(0)−sin−1(2−1)=0+4π=4π ✓
S={0,−1}
Computing the sum:
For both x=0 and x=−1: x2+x+5=5.
sin(25π)−cos(5π)=sin(2π)−cos(π)=1−(−1)=2
Total sum = 2+2=4.
The answer is 4.