Maximum value of the expression $|\sqrt{1+\sin2x}-\sqrt{1-\sin2x}|$ in $[0,\pi]$ is
$(A)\sqrt2\hspace{1cm}(B)\frac{1}{\sqrt2}\hspace{1cm}(C)1\hspace{1cm}(D)2$
Maximum value of the expression $|\sqrt{1+\sin2x}-\sqrt{1-\sin2x}|$ is attained when its square attains maximum value.
$|\sqrt{1+\sin2x}-\sqrt{1-\sin2x}|^2=4\sin^2x$
Its maximum value is $4$
So the maximum value of $|\sqrt{1+\sin2x}-\sqrt{1-\sin2x}|$ is $2$.
In my textbook,answer is $\sqrt2$.Am i wrong here.
The square is $$2-2\sqrt{1-\sin^2(2x)}=2-2|\cos(2x)|\leq2$$
which is not $4\sin^2(x)$