- #1

awelex

- 44

- 0

I'm having peculiar difficulties with a rather easy integral, namely the integral of -sin(x) / (cos(x))^3. The problem is that depending on which integration technique I choose, I end up with two different result. Moreover, Mathematica gives me one of these two results, while the solution book gives me the other. But the two cannot possibly be the same, unless I'm really overlooking something.

Method One: substitution

u = cos(x)

du = -sin(x) dx

[itex]\int[/itex]-sin(x)/cos^3(x) = [itex]\int[/itex]u^(-3) = -1/2 u^(-2) = -1/2 sec^2 x

That is also the result that Mathematica gives me

Method Two: Trig Identities, then substitution

-sin x / cos^3 x = -tan x * sec^2 x

u = tan x

du = sec^2 x dx

[itex]\int[/itex]-sin(x)/cos^3(x) = - [itex]\int[/itex]u = -1/2 u^2 = -1/2 tan^2 x

That's the result that the solution book gives.

It is obvious that the two resulting functions are different. What is wrong here?

Thanks,

Alex