Integral of $$$\sin{\left(x \right)} \sin{\left(\cos{\left(x \right)} \right)}$$$
Related calculator: Definite and Improper Integral Calculator
Your Input
Find $$$\int \sin{\left(x \right)} \sin{\left(\cos{\left(x \right)} \right)}\, dx$$$.
Solution
Let $$$u=\cos{\left(x \right)}$$$.
Then $$$du=\left(\cos{\left(x \right)}\right)^{\prime }dx = - \sin{\left(x \right)} dx$$$ (steps can be seen »), and we have that $$$\sin{\left(x \right)} dx = - du$$$.
The integral becomes
$${\color{red}{\int{\sin{\left(x \right)} \sin{\left(\cos{\left(x \right)} \right)} d x}}} = {\color{red}{\int{\left(- \sin{\left(u \right)}\right)d u}}}$$
Apply the constant multiple rule $$$\int c f{\left(u \right)}\, du = c \int f{\left(u \right)}\, du$$$ with $$$c=-1$$$ and $$$f{\left(u \right)} = \sin{\left(u \right)}$$$:
$${\color{red}{\int{\left(- \sin{\left(u \right)}\right)d u}}} = {\color{red}{\left(- \int{\sin{\left(u \right)} d u}\right)}}$$
The integral of the sine is $$$\int{\sin{\left(u \right)} d u} = - \cos{\left(u \right)}$$$:
$$- {\color{red}{\int{\sin{\left(u \right)} d u}}} = - {\color{red}{\left(- \cos{\left(u \right)}\right)}}$$
Recall that $$$u=\cos{\left(x \right)}$$$:
$$\cos{\left({\color{red}{u}} \right)} = \cos{\left({\color{red}{\cos{\left(x \right)}}} \right)}$$
Therefore,
$$\int{\sin{\left(x \right)} \sin{\left(\cos{\left(x \right)} \right)} d x} = \cos{\left(\cos{\left(x \right)} \right)}$$
Add the constant of integration:
$$\int{\sin{\left(x \right)} \sin{\left(\cos{\left(x \right)} \right)} d x} = \cos{\left(\cos{\left(x \right)} \right)}+C$$
Answer
$$$\int \sin{\left(x \right)} \sin{\left(\cos{\left(x \right)} \right)}\, dx = \cos{\left(\cos{\left(x \right)} \right)} + C$$$A