How to solve the integral using integration by parts?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
57 replies · 8K views
t_n_p said:
Sweet, how would I use that solution to then solve..
http://img507.imageshack.us/img507/6310/untitledgl0.png

The 1/ is throwing me off, I'm thinking let denominator = u, but then I don't use the answer found above :confused:

If you take the denominator to the top, this is the integral for n = -4 (in the form of your previous question).

Your previous solution gives I(n) in terms of I(n-2) (the 'a' is I(n))...

Do you have any ideas how to use your previous solution? Hint pluggin in n=-4 won't help... but n =-2 will.
 
Last edited by a moderator:
Physics news on Phys.org
t_n_p said:
Why -2 though?

You want an equation with I(-4) in it... pluggin in n=-2 will give you that because I(n-2) = I(-4),

so that will be an equation with I(-2) and I(-4)... I(-2) is a very simple integral... so you can just solve for I(-4).
 
Then I get...

-(1/8)-3I(-4), how do I show that = 4/3?
 
t_n_p said:
Then I get...

-(1/8)-3I(-4), how do I show that = 4/3?

I'm getting the entire right side as:

[tex]\frac{1}{\sqrt{8}} - \frac{3}{8}I(-4)[/tex]

not sure if I've made a mistake or not..

calculate the left side... I(-2)
 
Last edited:
hmm, with that 1/root(8)

What is (1/root(2))^-3? Isn't it 2root(2)?
2root(2) * 1/root(2) = -2?
which then becomes -1?
 
t_n_p said:
hmm, with that 1/root(8)

What is (1/root(2))^-3? Isn't it 2root(2)?
2root(2) * 1/root(2) = -2?
which then becomes -1?

I'm getting that from calculating [tex]-cos(x)sin^{n-2}(x) = -cos(x)sin^{-4}(x)[/tex] from your formula for I(n).

At x = pi/2, this quantity is 0.

At x = pi/4, this quantity is [tex]-cos(\pi/4)sin^{-4}(\pi/4) = -\sqrt{2}/2 * (\sqrt{2}/2)^{-4} = -\frac{1}{(\sqrt{2}/2)^3} = -\frac{8}{\sqrt{8}}[/tex]

taking the value at pi/2 and subtracting the value at pi/4, I get [tex]\frac{8}{\sqrt{8}}[/tex]

Then dividing by n = 8, I get [tex]\frac{1}{\sqrt{8}}[/tex] or [tex]\frac{\sqrt{2}}{4}[/tex]
 
Last edited:
isnt that that first term to the power (n-1) making the second term to the poewr of -3?
 
t_n_p said:
isnt that that first term to the power (n-1) making the second term to the poewr of -3?

I'm using the equation in the second line of post #26 in this thread. the first term is to the power of n-2.
 
It was a typo, even you pointed that out :P
 
t_n_p said:
It was a typo, even you pointed that out :P

lol! I'm sorry dude! I've got a poor memory! And why the heck did I divide by n=8, n = -2... damn I'm going nuts.

Ok now I'm getting -1. -cos(45)sin^-3(45) = -2

So the difference is 0 - (-2) = 2. Then divide by n=-2, I get -1...

lol! So the right side is -1 + (3/2)I(-4) ??
 
Last edited:
From the pi/2 terminal I get -(3/2)I(-4) and from the pi/4 terminal, 1 + (3/2)I(-4)
Subtracting to give -1 - 3I(-4) on the RHS.
 
t_n_p said:
From the pi/2 terminal I get -(3/2)I(-4) and from the pi/4 terminal, 1 + (3/2)I(-4)
Subtracting to give -1 - 3I(-4) on the RHS.

shouldn't it be (3/2)I(-4) for pi/2...
 
Last edited:
yeah my bad, hence the lhs integral = -1
Now I solve the lhs integral?
Do I let n=0 and do it all again?
 
t_n_p said:
yeah my bad, hence the lhs integral = -1
Now I solve the lhs integral?
Do I let n=0 and do it all again?

One thing... I(-4) is a function of x. So at pi/2, this really evaluates to I(-4)(pi/2)... and at pi/4 it's I(-4)(pi/4).

So your right side is really:

-1 + 3/2*[I(-4)(pi/4) - I(-4)(pi/2)]

the quantity in the square brackets is what you want to solve for... it is the integral evaluated between pi/4 and pi2.

Calculate the left side: it is I(-2)... you don't need the formula to do this. It is a simple integral.
 
ok, you say I(-4) is a function of x, shouldn't that mean I get

(3pi*I(-4)/-4) - (pi/4) if I I put (pi/2)*I(-4) and (pi/4)*I(-4) respectively?
 
t_n_p said:
ok, you say I(-4) is a function of x, shouldn't that mean I get

(3pi*I(-4)/-4) - (pi/4) if I I put (pi/2)*I(-4) and (pi/4)*I(-4) respectively?

The I(-4)(pi/4) isn't multiplying by pi/4... it's like f(pi/4)... where f is a function ie: f(x).

You can write the function as I(-4)(x) and then you're evaluating it at pi/4 and pi/2 and subtracting...
 
Damn this is a difficult question!

Can I write it as [I(-4pi/4) or does it have to be I(-4)(pi/4)?
 
t_n_p said:
Damn this is a difficult question!

Can I write it as [I(-4pi/4) or does it have to be I(-4)(pi/4)?

No I(-4pi/4) isn't right. I think maybe... I(-4)(pi/4) is best or (I(-4))(pi/4)

Or you can write the whole thing like this after getting rid of the I's:

[tex]\int_{\pi/4}^{\pi/2}sin^{-2}(x)dx = -1 + (3/2)\int_{\pi/4}^{\pi/2}sin^{-4}(x)dx[/tex]

You're just putting limits on the functions on both sides... the integrals take on the limits of pi/2 and pi/4 and for the other functions you just evaluate the difference...
 
Last edited:
ok I do that, but my RHS is different to what you suggested in post 45
I get...

-1 + (3/2)(I(-4)(pi/2) - I(-4)(pi/4))
Where to from there?
 
t_n_p said:
ok I do that, but my RHS is different to what you suggested in post 45
I get...

-1 + (3/2)(I(-4)(pi/2) - I(-4)(pi/4))
Where to from there?

Yeah, what you've written is right. I've fixed the integrals. It's from pi/4 to pi/2 as you've written.
 
Last edited:
Ok, so once that is done I change back to the integral form?
 
t_n_p said:
Ok, so once that is done I change back to the integral form?

yeah. You can also go straight to the integral form after substituting in n=-2... it's up to you...

The idea is to get [tex]\int_{\pi/4}^{\pi/2}{sin^{-4}(x)dx}[/tex] in terms of [tex]\int_{\pi/4}^{\pi/2}{sin^{-2}(x)dx}[/tex]
 
yeh, so once I get up to.. https://www.physicsforums.com/latex_images/14/1408407-0.png

Do I let n=0 and repeat process to solve for LHS?
 
Last edited by a moderator:
t_n_p said:
yeh, so once I get up to.. https://www.physicsforums.com/latex_images/14/1408407-0.png

Do I let n=0 and repeat process to solve for LHS?

No. The left side can be solved directly... the integral of 1/sin^2(x) = -cot(x)...
 
Last edited by a moderator: