Question
Question: Find the value of \[\int {\left[ {\dfrac{{\left( {x + sin{\text{ }}x} \right)}}{{\left( {1 + cos{\te...
Find the value of ∫[(1+cos x)(x+sin x)] dx
Solution
Hint : We have to integrate (1+cos x)(x+sin x) with respect to x . We solve this using integration of by parts and using various formulas of trigonometric functions . We firstly apply the double angle formula in cos function then we solve the integration by splitting it into parts and after applying by-parts we get the solution of the integral.
Complete step-by-step answer :
Given : ∫[(1+cos x)(x+sin x)] dx
Let I=∫[(1+cos x)(x+sin x)] dx
We have to integrate I with respect to x
As we know , cos2x=2cos2x−1
Using this formula , we get
I=∫(1+2cos2(2x)−1)(x+sin x) dx
On simplifying , we get
I=∫2cos2(2x)(x+sin x) dx
Now dividing numerator by 2cos2(2x) and writing the terms separately , we get
(cosx=secx1)
I=∫[2xsec22x+21sinx×sec22x]dx
Also , sin2x=2sinxcosx
Using value sin double angle , we get
I=∫[2xsec22x+21×2sin2xcos2x×sec22x]dx
(cosx=secx1)
(tanx=cosxsinx)
After simplifying the terms , we get
I=∫[2xsec22x+tan2x]dx
Now , using formula of by - parts :
∫[uv]dx=u∫v dx−∫[(dxdu)×∫vdx]dx
We get,
I=2x∫sec22xdx−21∫[(dxdx)×∫sec22xdx]dx+∫tan2xdx
Using integral formula ∫sec2xdx=tanx+c and [ derivative ofxn=nxn−1] , we get
I=2xtan2x×2+a−21∫[1×tan2x×2]dx+∫tan2xdx
I=2xtan2x×2+a−∫[tan2x]dx+∫tan2xdx
After cancelling terms , we get
I=xtan2x+a
Where a is integration constant
So, the correct answer is “ I=xtan2x+a ”.
Note : As the question was of indefinite integral that’s why we added integration constant. If the question would be of definite integral then we don’t add integral constant to the final answer .
We use the formula of By-Parts to integrate two functions of a single variable xby taking one functions as u and second function as v and then applying the formula :
∫[uv]dx=u∫v dx−∫[(dxdu)×∫vdx]dx