If S={x∈ℝ: sin-1(x+1x2+2x+2)-sin-1(xx2+1)=π4}, then ∑x∈S(sin((x2+x+5)π2)-cos((x2+x+5)π)) is equal to _____ . [2023]
(4)
Given, sin-1(x+1x2+2x+2)-sin-1(xx2+1)=π4
⇒ sin-1(x+1(x+1)2+1)-sin-1(xx2+1)=π4
⇒ tan-1(x+1)-tan-1(x)=π4⇒tan-1[(x+1)-x1+(x+1)x]=π4
⇒ 1x2+x+1=tan(π4)=1⇒x2+x+1=1⇒x2+x=0
⇒x=0 or -1 ∴ S={-1, 0}
∴ ∑x∈S[sin((x2+x+5)π2)-cos((x2+x+5)π)]
=[sin(5π2)-cos(5π)]+{sin(5π2)-cos(5π)}=2+2=4