Hi all,

I did this problem for my assignment:

integrate: -4cos^2(x)tan^3(x)

I answered:

4ln(abs(cos(x))) - 2cos^2(x) + C

Would this answer be considered correct? Wolfram alpha has one extra step after this answer, something about restricting the x values? Thanks for any clarification.