Integral of $\int \frac{\sin x (2 \cos x - \sin x)}{2\sin x + \cos x} dx$

211 Views Asked by At

Integrate the following integral:

$$\int \frac{\sin x (2 \cos x - \sin x)}{2\sin x + \cos x} dx$$

I have tried it by using by parts by considering the $\sin x$ as first function. Again in the following step i got stuck. Please help me.

2

There are 2 best solutions below

1
On

Hints First you can notice that:

$$\frac{\sin x (2 \cos x - \sin x)}{2\sin x + \cos x}=\cos x-\frac{1}{2\sin x + \cos x} $$

and remember that it's very useful to make use of $t=tan(x/2)$ for the second integral, and you can find the following primitive :

$$\sin(x)-\frac{1}{\sqrt5}\text{tanh}^{-1}(\frac{t-2}{\sqrt5}) $$

0
On

You can even start from the beginning using the tangent half-angle substitution $t=\tan(\frac x2)$ which will lead to $$\int \frac{\sin x (2 \cos x - \sin x)}{2\sin x + \cos x} dx=\int \frac{8t(t^2 + t - 1)}{(1+t^2)^2(t^2-4t-1)} dt$$ Now continue with partial fraction decomposition taking into account the fact that $t^2-4t-1=0$ has two real roots.

This will let you with a series of quite simple integrals.

However, Elaqqad made the problem simpler by the first observation.