PDA

View Full Version : trig integral


flybyme
Apr10-07, 05:45 PM
1. The problem statement, all variables and given/known data

how would one calculate 4 \int_0^{\frac{\pi}{2}} \frac{\cos^2 \theta}{(1 + \cos^2 \theta)^2} d \theta ?

3. The attempt at a solution

someone suggested a u = \tan \theta substitution, but i don't understand why and how this would help me. couldn't i just use u = \cos t?

AlephZero
Apr10-07, 07:34 PM
Divide top and bottom by \cos^4\theta.

The function becomes \frac{\sec^2\theta}{(\sec^2\theta+1)^2}

Does that make u=\tan\theta looks like a good move?

u = cos t is probably a bad move, because du = -sin t dt and the sin t doesn't cancel with anything.

flybyme
Apr10-07, 08:03 PM
Divide top and bottom by \cos^4\theta.

The function becomes \frac{\sec^2\theta}{(\sec^2\theta+1)^2}

Does that make u=\tan\theta looks like a good move?


the only trig functions we learn here are tan, cos and sin, so i'm not really sure... :)


u = cos t is probably a bad move, because du = -sin t dt and the sin t doesn't cancel with anything.

wouldn't i get du = -sin t dt = -sqrt(1 - cos^2 t) = -sqrt(1 - u^2) dt?

because then the integral should translate to -4 \int_1^0 \frac{u^2}{ (u^2+1)(1-u^2)^{1/2} } du, or am i wrong?

drpizza
Apr10-07, 08:08 PM
the only trig functions we learn here are tan, cos and sin, so i'm not really sure... :)


:surprised

I agree with what you had in the last post, except, wouldn't it be (1+u^2)^2 in the denominator? Anyway, now what?

flybyme
Apr10-07, 08:12 PM
:surprised

yeah, i've never understood why that is so...

mjsd
Apr10-07, 08:16 PM
the only trig functions we learn here are tan, cos and sin, so i'm not really sure... :)



wouldn't i get du = -sin t dt = -sqrt(1 - cos^2 t) = -sqrt(1 - u^2) dt?

because then the integral should translate to -4 \int_1^0 \frac{u^2}{ (u^2+1)(1-u^2)^{1/2} } du, or am i wrong?

what is the derivative of \tan \theta?

mjsd
Apr10-07, 08:17 PM
also do you know 1+\tan^2\theta =\sec^2\theta?

drpizza
Apr10-07, 08:18 PM
I edited my post just a little too late... isn't it (u^2 + 1)^2 in the denominator?

flybyme
Apr10-07, 08:34 PM
I edited my post just a little too late... isn't it (u^2 + 1)^2 in the denominator?

oops. yeah, that's right.

flybyme
Apr10-07, 08:47 PM
also do you know 1+\tan^2\theta =\sec^2\theta?

no, i didn't know that. :)

so i would get 4 \int_0^{\pi/2} \frac{\sec^2 \theta}{(\sec^2 \theta + 1)^2} d \theta = 4 \int_0^{\pi/2} \frac{\tan^2 \theta + 1}{(\tan^2 \theta + 2)^2} d \theta = 4 \int_0^{\Omega} \frac{u^2 + 1}{(u^2 + 2)^2(u^2 + 1)} du = 4 \int_0^{\Omega} \frac{du}{(u^2 + 2)^2}

as u = \tan \theta and du = (1 + \tan^2 \theta) d \theta = (1 + u^2) d \theta.

does that seem correct? i'm unsure on what \Omega would be though, as \tan \pi/2 = \infty

Gib Z
Apr11-07, 06:56 AM
Ahh Nope, \int \frac{\sec^2\theta}{(\sec^2\theta+1)^2} d\theta becomes \int \frac{1}{u^2} du when u = tan theta, because the derivative of tan theta is (sec theta)^2.

In case you don't know Sec x = 1/(cos x) by definition.

AlephZero
Apr11-07, 06:49 PM
Ahh Nope, \int \frac{\sec^2\theta}{(\sec^2\theta+1)^2} d\theta becomes \int \frac{1}{u^2} du when u = tan theta

Oops.... you mean \int \frac{1}{(u^2+2)^2} du

1 + tan^2 x = sec^2 x

NOT 1 + sec^x = tan^2 x !!!

(And even if that was true, it would have been u^4 not u^2)

Gib Z
Apr12-07, 01:09 AM
Sorry about that, your right of course AlephZero.

dextercioby
Apr13-07, 04:25 AM
\int_{0}^{\frac{\pi }{2}}\frac{\cos ^{2}x}{\left( 1+\cos ^{2}x\right) ^{2}}dx=\allowbreak \int_{0}^{\infty }\frac{1}{\left( 1+p^{2}\right) ^{2}\left( 1+\frac{1}{1+p^{2}}\right) ^{2}}\,dp=\int_{0}^{\infty }\frac{1}{\left( 2+p^{2}\right) ^{2}}\,dp\allowbreak

=\allowbreak \int_{0}^{\frac{1}{2}\pi }\frac{\sqrt{2}}{4+4\tan ^{2}q}\,dq=\frac{\sqrt{2}}{4}\int_{0}^{\frac{1}{2} \pi }\cos ^{2}q \ {} \ dq=\frac{\sqrt{2}}{4}\frac{\pi }{4}=\frac{\pi\sqrt{2}}{16}

Gib Z
Apr13-07, 04:46 AM
Would I be the only person to be a tiny bit confused as to what exactly dexter did ...

dextercioby
Apr13-07, 05:11 AM
Would it help if you knew that \tan x=p and p=\sqrt{2}\tan q ?

Gib Z
Apr13-07, 05:57 AM
Ahh yup it did :D