Letf(x)=sinx+cosx , g(x)=x2−1 . Thus g(f(x)) is invertible for x ϵ
By definition of composition of function ,
g(f(x))=(sinx+cosx)2−1 ⇒ g(f(x))=sin2x
We known sinx is bijiective only, when x ∈ [−π2,π2]
Thus g(x) is bijiective if −π2≤ 2x≤ π2⇒ −π4≤ x ≤π4