Integrate cos2x
![∫cos2x dx](integrate-cos2x/step-01.gif)
To integrate cos2x, also written as ∫cos2x dx, and cos 2x, we usually use a u substitution to build a new integration in terms of u.
![u=2x](integrate-cos2x/step-02.gif)
Let u=2x.
![du/dx](integrate-cos2x/step-03.gif)
Then du/dx = 2
![dx](integrate-cos2x/step-04.gif)
We rearrange to get an expression for dx in terms of u.
![New integration in terms of u.](integrate-cos2x/step-05.gif)
As you can see, we now have a new integration in terms of u, which means the same thing. We get this by replacing 2x with u, and replacing dx with ½ du.
![moving ½ outside of the integral sign.](integrate-cos2x/step-06.gif)
We move the ½ outside of the integral as it is simply a multiplier.
![integral of cosu](integrate-cos2x/step-07.gif)
We now have a simple integration with sinu that we can solve easily.
![Reintroduce the ½ constant.](integrate-cos2x/step-08.gif)
We remember the ½ outside the integral sign and reintroduce it here.
![½sin2x + C](integrate-cos2x/step-09.gif)
Hence, this is the final answer ½sin2x + C, where C is the integration constant.