The correct option is B [−π2,π2]
f(x)=sinx+cosx,g(x)=x2−1Theng[f(x)]g[f(x)]=g(sinx+cosx)=(sinx+cosx)2−1g[f(x)]=sin2x+cos2x+2sinx.cosx−1=1+2sinx.cosx−1[∵sin2x+cos2=1]g(f(x))=sin2xAns.[∵2sinx.cosx=sin2x]Letg(f(x))=yy=sin2x[∵Domainofsinxis−π2,π2]∴Domainofsin2x=[−π2,π2]Ans.