# Thread: [SOLVED] Trigonometric integration by substitution

1. ## [SOLVED] Trigonometric integration by substitution

$\displaystyle \int \frac {1-tanx^2}{secx^2} ~dx$

I figure you have to break it up first:

$\displaystyle \int cosx^2 ~dx - \int \frac {tanx^2}{secx^2} ~dx$

But from here, I am somewhat stuck. Would $\displaystyle \int \frac {tanx^2}{secx^2} ~dx$ turn into $\displaystyle \int sinx^2 ~dx$?

If so, then I guess the next part of the question is, how do you take the anti derivative of $\displaystyle cosx^2$?

2. Originally Posted by redman223
$\displaystyle \int \frac {1-tanx^2}{secx^2} ~dx$

I figure you have to break it up first:

$\displaystyle \int cosx^2 ~dx - \int \frac {tanx^2}{secx^2} ~dx$

But from here, I am somewhat stuck. Would $\displaystyle \int \frac {tanx^2}{secx^2} ~dx$ turn into $\displaystyle \int sinx^2 ~dx$?

If so, then I guess the next part of the question is, how do you take the anti derivative of $\displaystyle cosx^2$?
Yes.

$\displaystyle \cos (2x) = \cos^2 x - \sin^2 x = 1 - 2 \sin^2 x = 2 \cos^2 (x) - 1$

Therefore $\displaystyle \sin^2 x = \frac{1 - \cos (2x)}{2}$ and $\displaystyle \cos^2 x = \frac{\cos (2x) + 1}{2}\,$ ......

But of course, you could always recognise that $\displaystyle \frac{1- \tan^2 x}{\text{sec} ^2 x} = \cos^2 x - \sin^2 x = \cos (2x)$ and save yourself a lot of trouble ......

3. Originally Posted by redman223
$\displaystyle \int \frac {1-tanx^2}{secx^2} ~dx$

I figure you have to break it up first:

$\displaystyle \int cosx^2 ~dx - \int \frac {tanx^2}{secx^2} ~dx$

But from here, I am somewhat stuck. Would $\displaystyle \int \frac {tanx^2}{secx^2} ~dx$ turn into $\displaystyle \int sinx^2 ~dx$?

If so, then I guess the next part of the question is, how do you take the anti derivative of $\displaystyle cosx^2$?
$\displaystyle \int \frac {1-tanx^2}{secx^2} ~dx$

Are you sure its that integral or this?

$\displaystyle \int \frac {1-(tanx)^2}{(secx)^2} ~dx$

Because if its the first, then its not going to be simple.(I was kindof thrown off by the X^2 part)

4. Originally Posted by Msquared
$\displaystyle \int \frac {1-tanx^2}{secx^2} ~dx$

Are you sure its that integral or this?

$\displaystyle \int \frac {1-(tanx)^2}{(secx)^2} ~dx$

Because if its the first, then its not going to be simple.(I was kindof thrown off by the X^2 part)
$\displaystyle \frac{1-\tan^2(x)}{\sec^2(x)}=\frac{2-(\tan^2(x)+1)}{\tan^2(x)+1}=\frac{2}{\sec^2(x)}-1=2\cos^2(x)-1=\cos(2x)$

EDIT: Oops! Looks as though I am steping on Mr. F's toes again...desole!

5. Its the second one, not the first one. It is not being evaluated at x^2.

However, I am confused as to why:
$\displaystyle \cos^2 x - \sin^2 x = \cos (2x)$

I keep getting $\displaystyle 2cos^2x -1$

$\displaystyle cos^2x - (1-cos^2x)$

6. Originally Posted by redman223
Its the second one, not the first one. It is not being evaluated at x^2.

However, I am confused as to why:
$\displaystyle \cos^2 x - \sin^2 x = \cos (2x)$

I keep getting $\displaystyle 2cos^2x -1$

$\displaystyle cos^2x - (1-cos^2x)$
$\displaystyle 2\cos^2(x)-1=\cos(2x)$

$\displaystyle 2\cdot\frac{e^{2ix}+2+e^{-2ix}}{4}-1=\frac{e^{2ix}+2+e^{-2ix}}{2}-1$$\displaystyle =\frac{e^{2ix}+2+e^{-2ix}-2}{2}=\frac{e^{2ix}+e^{-2ix}}{2}=\cos(2x)\quad\blacksquare$

7. Thanks for the help, my next question is:

$\displaystyle \int cos(2x) ~dx = \frac {sin(2x)}{2}$ ?

8. Originally Posted by redman223
Thanks for the help, my next question is:

$\displaystyle \int cos(2x) = \frac {sin(2x)}{2}$ ?
$\displaystyle \cdots+\bold{\color{red}C}$

9. Originally Posted by redman223
Lol, I always forget that.

On to the next question. Using $\displaystyle x=3sin\theta$

$\displaystyle \int x^3 \sqrt {9-x^2} ~dx$

I think I solved the part under the radical correctly ($\displaystyle 3cos\theta$)

If I plug in $\displaystyle x=3sin\theta$ and $\displaystyle dx=3cos\theta$ and use $\displaystyle 3cos\theta$ for the radical I get:

$\displaystyle \int 243sin^3\theta cos^2\theta ~d\theta$

Thats where I get lost.
New and unrelated questions require new threads. Delete this question (copy it first!) and re-post it as a new thread.

Edit: Belay that request - I see Mathstud's doing more stepping. But note it for next time.

10. Originally Posted by redman223
Lol, I always forget that.

On to the next question. Using $\displaystyle x=3sin\theta$

$\displaystyle \int x^3 \sqrt {9-x^2} ~dx$

I think I solved the part under the radical correctly ($\displaystyle 3cos\theta$)

If I plug in $\displaystyle x=3sin\theta$ and $\displaystyle dx=3cos\theta$ and use $\displaystyle 3cos\theta$ for the radical I get:

$\displaystyle \int 243sin^3\theta cos^2\theta ~d\theta$

Thats where I get lost.
$\displaystyle \sin^3(\theta)\cos^2(\theta)=\sin(\theta)(1-\cos^(\theta))(\cos^2(\theta))$

Now expand

11. Getting off-topic but a legitimate response I think:

Originally Posted by Mathstud28;163721[snip
EDIT: Oops! Looks as though I am steping on Mr. F's toes again...desole!
Like the song says:

Je suis désolé, mais je n'ai pas le choix
Je suis désolé, mais la vie me demande ça

By the way ...... My toes are on my feet. My feet are usually in my mouth. So watch the face, mathstud.

How's that for setting up the (obscure) double entendre for desole .....?

12. Originally Posted by mr fantastic
New and unrelated questions require new threads. Delete this question (copy it first!) and re-post it as a new thread.

Edit: Belay that request - I see Mathstud's doing more stepping. But note it for next time.
What does stepping mean in this context?

13. Originally Posted by mr fantastic

How's that for setting up the (obscure) double entendre for desole .....?
Acceptable