Question
Question: What is the integral of \({{\left( \cos x \right)}^{2}}\)?...
What is the integral of (cosx)2?
Solution
From the given question we have to find the integral of (cosx)2. To solve the above question we will use the cosine double angle identity in order to rewrite (cosx)2 as cos2x, as we know that the cos2x=2cos2x−1 by this we will get cos2x=2cos2x+1 in place of cos2x we will write this and we will integrate.
Complete step by step solution:
From the given question we have to find the integral of
(cosx)2
To solve the above question, we will use the cosine double angle identity in order to rewrite (cosx)2 as
⇒(cosx)2=cos2x
As we know that the,
⇒cos2x=2cos2x−1
by this we will get
⇒cos2x=2cos2x+1
In place of cos2x we will write this and we will integrate now, that means,
Thus,
⇒∫cos2x=∫2cos2x+1
Now we will split up the integral,
⇒∫cos2xdx=∫2cos2xdx+21∫dx
As we know that second integral is perfect integral, that means,
⇒∫dx=x+c
By this we will get,
⇒∫cos2xdx=∫2cos2xdx+21x
The constant of integration will be added upon evaluating the remaining integral.
Now for the Cosine integral, we will use substitution,
Let
⇒u=2x
after differentiating on both sides, we will get,
⇒du=2dx
⇒21du=dx
Now substitute the above in the equation, we will get,
⇒∫cos2xdx=∫2cos2xdx+21x
After substituting, we will get,
⇒∫cos2xdx=41∫cos(u)du+21x
As we know that integral of Cos is sin, that means,
⇒∫Cos(u)=Sin(u)+c
By this we will get,
⇒∫cos2xdx=41sin(u)+21x+c
Since ⇒u=2x
By this we will get,
⇒∫cos2xdx=41sin(2x)+21x+c
Therefore, this is the required answer.
Note: Students should recall all the formulas of trigonometry and integration, formulas like
⇒∫cos(u)du=sin(u)+c⇒cos2x=2cos2x−1=1−2sin2x=cos2x−sin2x⇒Sin2x=2SinxCosx⇒∫sinxdx=−cosx+c⇒∫sec2xdx=tanx+c⇒∫dx=x+c
Students should not forget to write the plus constant “C” at the end of the solution.