Solveeit Logo

Question

Question: What is the integral of \({{\left( \cos x \right)}^{2}}\)?...

What is the integral of (cosx)2{{\left( \cos x \right)}^{2}}?

Explanation

Solution

From the given question we have to find the integral of (cosx)2{{\left( \cos x \right)}^{2}}. To solve the above question we will use the cosine double angle identity in order to rewrite (cosx)2{{\left( \cos x \right)}^{2}} as cos2x{{\cos }^{2}}x, as we know that the cos2x=2cos2x1\cos 2x=2{{\cos }^{2}}x-1 by this we will get cos2x=cos2x+12{{\cos }^{2}}x=\dfrac{\cos 2x+1}{2} in place of cos2x{{\cos }^{2}}x 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{{\left( \cos x \right)}^{2}}
To solve the above question, we will use the cosine double angle identity in order to rewrite (cosx)2{{\left( \cos x \right)}^{2}} as
(cosx)2=cos2x\Rightarrow {{\left( \cos x \right)}^{2}}={{\cos }^{2}}x
As we know that the,
cos2x=2cos2x1\Rightarrow \cos 2x=2{{\cos }^{2}}x-1
by this we will get
cos2x=cos2x+12\Rightarrow {{\cos }^{2}}x=\dfrac{\cos 2x+1}{2}
In place of cos2x{{\cos }^{2}}x we will write this and we will integrate now, that means,
Thus,
cos2x=cos2x+12\Rightarrow \int{{{\cos }^{2}}x}=\int{\dfrac{\cos 2x+1}{2}}
Now we will split up the integral,
cos2xdx=cos2x2dx+12dx\Rightarrow \int{{{\cos }^{2}}x}dx=\int{\dfrac{\cos 2x}{2}}dx+\dfrac{1}{2}\int{dx}
As we know that second integral is perfect integral, that means,
dx=x+c\Rightarrow \int{dx}=x+c
By this we will get,
cos2xdx=cos2x2dx+12x\Rightarrow \int{{{\cos }^{2}}x}dx=\int{\dfrac{\cos 2x}{2}}dx+\dfrac{1}{2}x
The constant of integration will be added upon evaluating the remaining integral.
Now for the Cosine integral, we will use substitution,
Let
u=2x\Rightarrow u=2x
after differentiating on both sides, we will get,
du=2dx\Rightarrow du=2dx
12du=dx\Rightarrow \dfrac{1}{2}du=dx
Now substitute the above in the equation, we will get,
cos2xdx=cos2x2dx+12x\Rightarrow \int{{{\cos }^{2}}x}dx=\int{\dfrac{\cos 2x}{2}}dx+\dfrac{1}{2}x
After substituting, we will get,
cos2xdx=14cos(u)du+12x\Rightarrow \int{{{\cos }^{2}}x}dx=\dfrac{1}{4}\int{\cos \left( u \right)}du+\dfrac{1}{2}x
As we know that integral of Cos is sin, that means,
Cos(u)=Sin(u)+c\Rightarrow \int{\operatorname{Cos}\left( u \right)=\operatorname{Sin}\left( u \right)+c}
By this we will get,
cos2xdx=14sin(u)+12x+c\Rightarrow \int{{{\cos }^{2}}x}dx=\dfrac{1}{4}\sin \left( u \right)+\dfrac{1}{2}x+c
Since u=2x\Rightarrow u=2x
By this we will get,
cos2xdx=14sin(2x)+12x+c\Rightarrow \int{{{\cos }^{2}}x}dx=\dfrac{1}{4}\sin \left( 2x \right)+\dfrac{1}{2}x+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=2cos2x1=12sin2x=cos2xsin2x Sin2x=2SinxCosx sinxdx=cosx+c sec2xdx=tanx+c dx=x+c \begin{aligned} & \Rightarrow \int{\cos \left( u \right)du=\sin \left( u \right)+c} \\\ & \Rightarrow \cos 2x=2{{\cos }^{2}}x-1=1-2{{\sin }^{2}}x={{\cos }^{2}}x-{{\sin }^{2}}x \\\ & \Rightarrow \operatorname{Sin}2x=2\operatorname{Sin}x\operatorname{Cos}x \\\ & \Rightarrow \int{\sin xdx}=-\cos x+c \\\ & \Rightarrow \int{{{\sec }^{2}}xdx}=\tan x+c \\\ & \Rightarrow \int{dx}=x+c \\\ \end{aligned}
Students should not forget to write the plus constant “C” at the end of the solution.