Why is my answer for integrating tan^3(x) dx wrong?

  • Thread starter Thread starter LusTRouZ
  • Start date Start date
  • Tags Tags
    Dx Integrating
LusTRouZ
Messages
3
Reaction score
0
I'm not understanding why my answer is wrong

Homework Statement


\inttan^3(x) dx
This is the solution I've been getting for this problem, but I notice you get a different answer when you let u = tan(x) and du = sec^2(x) dx

Homework Equations


tan^2(x) = (sec^2(x) - 1)

The Attempt at a Solution


\inttan(x) (sec^2(x) - 1) dx
\inttan(x) sec^2(x) - \inttan(x) dx
. // u = sec(x) du = sec(x)tan(x) dx
\intu du - \intsin(x) dx/cos(x)
. // z = cos(x) zu = -sin(x) dx
\intu du - \int-zu/z
(1/2)u^2 - (-ln |z|)
(1/2)sec^2(x) + ln |cos(x)|

Homework Statement


Homework Equations


The Attempt at a Solution

 
Last edited:
Physics news on Phys.org
What you have there is correct, up to a constant at least.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top