∫11+sinx+cosxdx
12logtanx2+1+C
logtan(x+1)+C
logtanx2+1+C
None of these
Putting sinx=2tanx/21+tan2x/2 and cosx=1−tan2x/21+tan2x/2 ,
I=∫11+sinx+cosxdx=∫11+2tanx/21+tan2x/2+1−tan2x/21+tan2x/2dx=∫1+tan2x/21+tan2x/2+2tanx/2+1−tan2x/2dx=∫sec2x/22+2tanx/2dx Putting tanx2=t and 12sec2x2dx=dt or sec2x2dx=2dt, we get I=∫2dt2+2t=∫1t+1dt=log|t+1|+C=logtanx2+1+C