I was looking at the solution of
$$\int\frac{\sqrt{\sin(x−a)}}{\sqrt{\sin(x+a)}}dx.$$
Where the formula, $$\sin(x-a)\sin(x+a) = \sin^2x - \sin^2a = \cos^2 a - \cos^2 x$$ is used, I want to know how it was derived as I couldn't find it on the net.
I was looking at the solution of
$$\int\frac{\sqrt{\sin(x−a)}}{\sqrt{\sin(x+a)}}dx.$$
Where the formula, $$\sin(x-a)\sin(x+a) = \sin^2x - \sin^2a = \cos^2 a - \cos^2 x$$ is used, I want to know how it was derived as I couldn't find it on the net.
Copyright © 2021 JogjaFile Inc.
$\begin{align}\sin(x-a)\sin(x+a) &=\frac{\cos(2a)-\cos(2x)}2=\frac{1-2\sin^2a-(1-2\sin^2x)}2= \sin^2x - \sin^2a\end{align}$