Question
Question: Find the antiderivative of \({\cos ^2}\left( x \right)\)....
Find the antiderivative of cos2(x).
Solution
To find the antiderivative of any function the opposite of differentiation (finding the derivative) needs to be done, i.e. the given function needs to be integrated.
Complete step by step solution:
To find the antiderivative of the function cos2(x) we need to integrate it.
To integrate the function, at first, it should be converted to a simpler form that can be directly integrated. To do so a multiple angle formula can be used.
We know
cos(2x)=cos2(x)−sin2(x) ……………..(1)
Also we know the trigonometric identity
cos2(x)+sin2(x)=1
⇒sin2(x)=1−cos2(x) ………………….(2)
Substituting sin2xfrom (2) in (1) :
⇒cos(2x)=cos2(x)−(1−cos2(x))
Opening the bracket:
⇒cos(2x)=cos2(x)−1+cos2(x)
⇒cos(2x)=2cos2(x)−1
Changing sides:
⇒2cos2(x)=cos(2x)+1
⇒cos2(x)=2cos(2x)+1
Hence, integrating both sides of the above integration
∫cos2(x)dx=∫2cos(2x)+1
Splitting the right hand side term:
⇒∫cos2(x)dx=21∫cos(2x)dx+21∫1dx
Since, ∫cos(nx)dx=nsin(nx)+C, where n∈R and ∫1dx=x+C
⇒∫cos2(x)dx=212sin(2x)+21x+C
Where C is an arbitrary constant of integration.
⇒∫cos2(x)dx=41sin(2x)+21x+C
Hence the antiderivative of cos2x is equal to 41sin(2x)+21x+C.
Additional information:
If in case there is any function that cannot be converted to any simpler form then another approach is to try integration by parts.
Note:
For functions like this where any direct formula of integration cannot be applied, the first approach should be to convert it into a simpler format using trigonometric formulas and identities such that the terms can be directly integrated.