Integral of $$$\sin{\left(\left(x + 2\right)^{2} \right)}$$$
Related calculator: Definite and Improper Integral Calculator
Your Input
Find $$$\int \sin{\left(\left(x + 2\right)^{2} \right)}\, dx$$$.
Solution
Let $$$u=x + 2$$$.
Then $$$du=\left(x + 2\right)^{\prime }dx = 1 dx$$$ (steps can be seen »), and we have that $$$dx = du$$$.
The integral becomes
$${\color{red}{\int{\sin{\left(\left(x + 2\right)^{2} \right)} d x}}} = {\color{red}{\int{\sin{\left(u^{2} \right)} d u}}}$$
This integral (Fresnel Sine Integral) does not have a closed form:
$${\color{red}{\int{\sin{\left(u^{2} \right)} d u}}} = {\color{red}{\left(\frac{\sqrt{2} \sqrt{\pi} S\left(\frac{\sqrt{2} u}{\sqrt{\pi}}\right)}{2}\right)}}$$
Recall that $$$u=x + 2$$$:
$$\frac{\sqrt{2} \sqrt{\pi} S\left(\frac{\sqrt{2} {\color{red}{u}}}{\sqrt{\pi}}\right)}{2} = \frac{\sqrt{2} \sqrt{\pi} S\left(\frac{\sqrt{2} {\color{red}{\left(x + 2\right)}}}{\sqrt{\pi}}\right)}{2}$$
Therefore,
$$\int{\sin{\left(\left(x + 2\right)^{2} \right)} d x} = \frac{\sqrt{2} \sqrt{\pi} S\left(\frac{\sqrt{2} \left(x + 2\right)}{\sqrt{\pi}}\right)}{2}$$
Add the constant of integration:
$$\int{\sin{\left(\left(x + 2\right)^{2} \right)} d x} = \frac{\sqrt{2} \sqrt{\pi} S\left(\frac{\sqrt{2} \left(x + 2\right)}{\sqrt{\pi}}\right)}{2}+C$$
Answer
$$$\int \sin{\left(\left(x + 2\right)^{2} \right)}\, dx = \frac{\sqrt{2} \sqrt{\pi} S\left(\frac{\sqrt{2} \left(x + 2\right)}{\sqrt{\pi}}\right)}{2} + C$$$A