Let f(x) = sin x + cos x, 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 know sin x is bijective only, when x∈[−π2,π2]
Thus g(x) is bijective if −π2≤2x≤π2 ⇒−π4≤x≤π4.