$\displaystyle\int\dfrac{\cos^3x}{\sin x + \cos x}dx$
I added $J =\displaystyle \int\dfrac{\sin^3x}{\sin x + \cos x}dx$
then $I + J = \displaystyle\int\dfrac{\cos^3x + \sin^3x}{\sin x + \cos x}dx = x + \dfrac{1}{2}\cos2x + C$
but I can't find how to solve $I-J$
And is that the true way to solve it?
Please help!