Integral of $$$2 \cos{\left(x^{2} \right)}$$$
Related calculator: Definite and Improper Integral Calculator
Your Input
Find $$$\int 2 \cos{\left(x^{2} \right)}\, dx$$$.
Solution
Apply the constant multiple rule $$$\int c f{\left(x \right)}\, dx = c \int f{\left(x \right)}\, dx$$$ with $$$c=2$$$ and $$$f{\left(x \right)} = \cos{\left(x^{2} \right)}$$$:
$${\color{red}{\int{2 \cos{\left(x^{2} \right)} d x}}} = {\color{red}{\left(2 \int{\cos{\left(x^{2} \right)} d x}\right)}}$$
This integral (Fresnel Cosine Integral) does not have a closed form:
$$2 {\color{red}{\int{\cos{\left(x^{2} \right)} d x}}} = 2 {\color{red}{\left(\frac{\sqrt{2} \sqrt{\pi} C\left(\frac{\sqrt{2} x}{\sqrt{\pi}}\right)}{2}\right)}}$$
Therefore,
$$\int{2 \cos{\left(x^{2} \right)} d x} = \sqrt{2} \sqrt{\pi} C\left(\frac{\sqrt{2} x}{\sqrt{\pi}}\right)$$
Add the constant of integration:
$$\int{2 \cos{\left(x^{2} \right)} d x} = \sqrt{2} \sqrt{\pi} C\left(\frac{\sqrt{2} x}{\sqrt{\pi}}\right)+C$$
Answer
$$$\int 2 \cos{\left(x^{2} \right)}\, dx = \sqrt{2} \sqrt{\pi} C\left(\frac{\sqrt{2} x}{\sqrt{\pi}}\right) + C$$$A