Question
Question: Solve the following integral: \(\int {\dfrac{{dx}}{{\sin x + \sin 2x}}} \)...
Solve the following integral:
∫sinx+sin2xdx
Solution
Hint- For solving such problems, try to convert the term in simpler form by the help of trigonometric identities ( sin 2x =2 sin x cos x ) and use substitution method and partial fraction.
To solve the given integral, first solving the denominator
sinx+sin2x=sinx+2sinxcosx=sinx[1+2cosx]
Now let’s put the fraction together and proceeding further:
sinx+sin2x1=sinx[1+2cosx]1=sin2x[1+2cosx]sinx
Now we can integrate the above term:
∫sin2x[1+2cosx]sinxdx
Let us consider
Now let’s take a break from integration and decompose the expression into partial fractions:
(1−u)(1+u)(1+2u)−1=(1+u)A+(1−u)B+(1+2u)C
Multiplying on both sides (1−u)(1+u)(1+2u)to get rid of denominators. We get:
And now on comparing coefficient from both sides, we have three equations and three variables, so solving further:
0=−2A+2B−C 0=A+3B −1=A+B+CAdding all the three equations, we get:
\-1=6B B=6−1From the second equation, we get:
A=−3B=63=21
From the third equation, we get:
C=−1−A−B=−1−21+61=3−4
And so we have:
(1−u)(1+u)(1+2u)−1=2(1+u)1−6(1−u)1−3(1+2u)4
Now we can continue with the integration:
Now after substituting back the considered value of u we get:
= 21ln∣1+cosx∣+61ln∣1−cosx∣−32ln∣1+2cosx∣+C
Note- Integration of some questions as above where direct integration is not possible, solving by the use of partial fraction is very useful. Also sometimes we have to consider some functions like sin&cosin terms of some variables, such as u in this case.