The correct options are
C f(x)=1−sinx
D g(x)=π4+x2
Given, ∫sinx√1+sinxdx=−2√f(x)+√2log|tang(x)|+c ....(1)
Consider, ∫sinx√1+sinxdx
=∫1+sinx−1√1+sinxdx
=∫√1+sinxdx−∫1√1+sinxdx
=∫(sinx2+cosx2)dx−∫1sinx2+cosx2dx
=−cosx21/2+sinx21/2−∫1sinx2+cosx2dx
Substitute 1=rcosθ,1=rsinθ
⇒r=1,θ=π4
=−2(sinx2−cosx2)−∫1rsin(x2+θ)dx
=−2√1−sinx−∫1sin(x2+π4)dx
=−2√1−sinx−∫csc(x2+π4)dx
=−2√1−sinx−2log|tan(x2+π4)|+C
On comparing with (1), we get
g(x)=x2+π4 and f(x)=√1−sinx