I don't know how to solve this definite integral, maybe the solution is evident but i don't see it :
$\int_0^\frac{\pi}{2} \frac{\cos^3(x)}{(\cos(2x) + \sin(x))}\,dx$
I don't know how to solve this definite integral, maybe the solution is evident but i don't see it :
$\int_0^\frac{\pi}{2} \frac{\cos^3(x)}{(\cos(2x) + \sin(x))}\,dx$
$$\int \frac{\cos^3 x}{\cos 2x + \sin x}dx = \int \frac{\cos x (1-\sin^2 x)}{1 - 2\sin^2 x + \sin x}dx$$
using trig identities.
Make the substitution $y = \sin x$ and you'll get:
$$\int \frac{1-y^2}{1-2y^2 +y}dy$$
which can be rewritten as:
$$\int \frac{\frac 12 (1-2y^2+y) +\frac 12 (1-y)}{1-2y^2 +y}dy = \frac 12 y + \frac 12 \int\frac{(1-y)}{1-2y^2 +y}dy $$
and a little partial fraction decomposition should quickly resolve it.