Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store
seo-qna
SearchIcon
banner

How do you integrate $ \int {\cos ^2}x $ by integration by parts method?

Answer
VerifiedVerified
445.8k+ views
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:
 $
  \because u = \cos x \\
   \Rightarrow \dfrac{{du}}{{dx}} = - \sin x \\
   \Rightarrow du = - \sin x.dx \;
  $
Now assume,
 $
  v = \sin x \\
   \Rightarrow \dfrac{{dv}}{{dx}} = \cos x \\
   \Rightarrow dv = \cos x.dx \;
  $
Now,
 $ \int udv = u.v - \int v.du $
In the above equation, if we elaborate the L.H.S, then the R.H.S is as it is.
 $
   \Rightarrow \int \cos x.\cos xdx = \cos x.\sin x - \int \sin x( - \sin x.dx) \\
   \Rightarrow \int {\cos ^2}x.dx = \cos x.\sin x + \int (1 - {\cos ^2}x)dx \\
   \Rightarrow \int {\cos ^2}x.dx = \cos x.\sin x + \int 1dx - \int {\cos ^2}x.dx \;
  $
Now for the second part of the R.H.S: integrate it separately:
2. $ \int {\cos ^2}x.dx = \cos x.\sin x + x $
And assume: $ \int {\cos ^2}x.dx $ as $ I $ :
 $ \therefore I = \int {\cos ^2}x = \dfrac{1}{2}x + \dfrac{1}{2}\sin x.dx $
However, a shorter way is to use the trigonometric identities:
 $ \cos 2x = {\cos ^2}x - {\sin ^2}x = 2{\cos ^2}x - 1 = 1 - 2{\sin ^2}x $ and
 $ \sin 2x = 2\sin x.\cos x $
Now, use the upper identities in the main equation:
 $
  \therefore \int {\cos ^2}x = \int \cos x.\sin x + x - \dfrac{1}{2}x - \dfrac{1}{2}\sin x.dx \\
   \Rightarrow \int {\cos ^2}x.dx = \int \dfrac{{1 + \cos 2x}}{2}dx \\
   \Rightarrow \int {\cos ^2}x.dx = \int \dfrac{1}{2}dx + \dfrac{1}{2}\int \cos 2x.dx \\
   \Rightarrow \int {\cos ^2}x.dx = \dfrac{1}{2}x + \dfrac{1}{2}\sin 2x + C \\
  \therefore \int {\cos ^2}x.dx = \dfrac{x}{2} + \dfrac{1}{2}\sin x.\cos x + C \;
  $
So, the correct answer is “$\dfrac{x}{2} + \dfrac{1}{2}\sin x.\cos x + 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.