How to solve the integral using integration by parts?

In summary, Homework Statement integration by parts can be difficult, but with practice and reference to trig identities it can be done. However, the second part can be tedious.
  • #36
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?
 
Physics news on Phys.org
  • #37
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:
  • #38
isnt that that first term to the power (n-1) making the second term to the poewr of -3?
 
  • #39
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.
 
  • #40
It was a typo, even you pointed that out :P
 
  • #41
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:
  • #42
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.
 
  • #43
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:
  • #44
yeah my bad, hence the lhs integral = -1
Now I solve the lhs integral?
Do I let n=0 and do it all again?
 
  • #45
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.
 
  • #46
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?
 
  • #47
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...
 
  • #48
Damn this is a difficult question!

Can I write it as [I(-4pi/4) or does it have to be I(-4)(pi/4)?
 
  • #49
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:
  • #50
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?
 
  • #51
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:
  • #52
Ok, so once that is done I change back to the integral form?
 
  • #53
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]
 
  • #54
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:
  • #55
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:
  • #56
oh, didnt think of that!
 
  • #57
Did you finish the problem?
 
  • #58
Yep! Thanks a bunch :D
 
Back
Top