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