If sin (sinx + cosx) = cos(cosx – sinx), then the value of sinx can be -
π4
√16−π24
π8
−π4
cos(cos x−sin x)=cos(π2−(sin x+cos x))⇒ cos x−sin x=2nπ±(π2−(sin x+cos x)) ⇒cos x=nπ+π4sinx=−nπ+π4Clearly, n=0clearly n=0⇒cosx=π4⇒sinx=π4 ⇒ sin x=±√16−π24
If sin x + cos x = a, find the value of |sin x - cos x|.