Hello im trying to integrate tan^3 dx

i have solved out the whole thing but it doesnt match up with the solution..
this is what i did:

first i broke it up into:
integral tan^2x (tanx) dx
integral (sec^2x-1)(tanx) dx

then i did a u substitution
u = secx
du = secxtanx dx (dx = du/secxtanx)

so now i have..
integral (u^2 - 1)*tanx* du/secxtanx
(then the tanx's cancel and then i have a secx with which i re-subsitute u for)

so now i have:
integral (u^2-1)/u
and break it up...
integral u^2/2 - integral 1/u
= integral u - integral 1/u

=u^2/2 - lnabs(u) + c
(and then plug u back in)

(sec^2x)/2 - lnabs(sec^2x) + c
...but it says this is wrong because the anser is actually tan^2x/2 - lnabs(sec^2x) + c

ive done this problem numerous times and i just cant figure out what im doing wrong, any help would be amazing thank you so much!

1 answer

(on the 17th line it shud be u^2/u)
Similar Questions
  1. Integrate from 1 to 5 of (3x-5)^5 dx = Integrate from a to b of f(u) duwhere (I have solved this part) u = 3x-5 du = 3 a = 0 b =
    1. answers icon 2 answers
  2. Hello im trying to integrate tan^3 dxi have solved out the whole thing but it doesnt match up with the solution.. this is what i
    1. answers icon 1 answer
  3. Please can anyone help with the following problems - thanks.1) Integrate X^4 e^x dx 2) Integrate Cos^5(x) dx 3) Integrate
    1. answers icon 0 answers
  4. Please do help solve the followings1) Integrate e^4 dx 2) Integrate dx/sqrt(90^2-4x^2) 3) Integrate (e^x+x)^2(e^x+1) dx 4)
    1. answers icon 0 answers
more similar questions