Question
Question: How do you integrate \( \int {\cos ^2}x \) by integration by parts method?...
How do you integrate ∫cos2x by integration by parts method?
Solution
Hint : To solve the given integral expression by parts method, first we will assume the given trigonometric term of the integral as u and then differentiate it and again assume it in another part. And finally integrate both the assumed terms separately until it's in the simplest form.
Complete step-by-step answer :
If we really want to integrate by parts choose:
∵u=cosx ⇒dxdu=−sinx ⇒du=−sinx.dx
Now assume,
v=sinx ⇒dxdv=cosx ⇒dv=cosx.dx
Now,
∫udv=u.v−∫v.du
In the above equation, if we elaborate the L.H.S, then the R.H.S is as it is.
⇒∫cosx.cosxdx=cosx.sinx−∫sinx(−sinx.dx) ⇒∫cos2x.dx=cosx.sinx+∫(1−cos2x)dx ⇒∫cos2x.dx=cosx.sinx+∫1dx−∫cos2x.dx
Now for the second part of the R.H.S: integrate it separately:
2. ∫cos2x.dx=cosx.sinx+x
And assume: ∫cos2x.dx as I :
∴I=∫cos2x=21x+21sinx.dx
However, a shorter way is to use the trigonometric identities:
cos2x=cos2x−sin2x=2cos2x−1=1−2sin2x and
sin2x=2sinx.cosx
Now, use the upper identities in the main equation:
∴∫cos2x=∫cosx.sinx+x−21x−21sinx.dx ⇒∫cos2x.dx=∫21+cos2xdx ⇒∫cos2x.dx=∫21dx+21∫cos2x.dx ⇒∫cos2x.dx=21x+21sin2x+C ∴∫cos2x.dx=2x+21sinx.cosx+C
So, the correct answer is “2x+21sinx.cosx+C”.
Note : Integration by Parts is a special method of integration that is often useful when two functions are multiplied together, but is also helpful in other ways. This method is also termed as partial integration. Another method to integrate a given function is integration by substitution method. These methods are used to make complicated integrations easy.