What is the integral of (cosx)2?

1 Answer
Jun 12, 2016

14sin(2x)+12x+C

Explanation:

We will use the cosine double-angle identity in order to rewrite cos2x. (Note that cos2x=(cosx)2, they are different ways of writing the same thing.)

cos(2x)=2cos2x1

This can be solved for cos2x:

cos2x=cos(2x)+12

Thus,

cos2xdx=cos(2x)+12dx

Split up the integral:

=12cos(2x)dx+12dx

The second integral is the "perfect integral:" dx=x+C.

=12cos(2x)dx+12x

The constant of integration will be added upon evaluating the remaining integral.

For the cosine integral, use substitution. Let u=2x, implying that du=2dx.

Multiply the integrand 2 and the exterior of the integral by 12.

=142cos(2x)dx+12x

Substitute in u and du:

=14cos(u)du+12x

Note that cos(u)du=sin(u)+C.

=14sin(u)+12x+C

Since u=2x:

=14sin(2x)+12x+C

Note that this can be many different ways, since sin(2x)=2sinxcosx.