What is the integral of (cosx)^2?
1 Answer
Explanation:
We will use the cosine double-angle identity in order to rewrite
cos(2x)=2cos^2x-1
This can be solved for
cos^2x=(cos(2x)+1)/2
Thus,
intcos^2xdx=int(cos(2x)+1)/2dx
Split up the integral:
=1/2intcos(2x)dx+1/2intdx
The second integral is the "perfect integral:"
=1/2intcos(2x)dx+1/2x
The constant of integration will be added upon evaluating the remaining integral.
For the cosine integral, use substitution. Let
Multiply the integrand
=1/4int2cos(2x)dx+1/2x
Substitute in
=1/4intcos(u)du+1/2x
Note that
=1/4sin(u)+1/2x+C
Since
=1/4sin(2x)+1/2x+C
Note that this can be many different ways, since