How to solve the integral using integration by parts?

Click For Summary

Homework Help Overview

The discussion revolves around solving an integral using integration by parts, specifically focusing on expressing the integral in terms of I(n-2). Participants are exploring the application of integration techniques within the context of trigonometric functions.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the choice of functions for integration by parts, with suggestions on differentiating and integrating powers of sine. There are questions about the application of the chain rule and the correct setup for the differentiation process.

Discussion Status

The conversation is active, with participants providing hints and corrections to each other’s approaches. Some participants are questioning their understanding of differentiation and integration, while others are clarifying the steps needed to proceed with the integration by parts method.

Contextual Notes

There are indications of confusion regarding the manipulation of integrals and the use of trigonometric identities. Participants are also navigating the implications of expressing integrals in terms of I(n-2) and the algebraic steps required to isolate variables.

t_n_p
Messages
593
Reaction score
0
Homework Statement

Hi, I'm trying to solve
http://img204.imageshack.us/img204/7199/untitledke0.png
in terms of I(n-2) but I'm not exactly sure where to start/what to do :rolleyes:
 
Last edited by a moderator:
Physics news on Phys.org
You titled this "integration" by parts. Doesn't that give you a hint where to start?

Since it is much easier to differentiate a power of a function than to integrate, the choice of u= sinn(x) and dv= sin(x) seems simplest.

Since the problem says "in terms of I(n-2)" I suspect you will need to do it twice.
 
Dido what Halls said, with tiny corrections:

u= \sin^{n-1} x, dv = \sin x dx is what he might have meant.
 
Bad mentor! Giving wrong hints, tut tut...

Hints: only perform by parts once; getting I(n) again on the right hand side is no bad thing; remember that for trig problems you'll usually need to use trig identities at some point.
 
I was thinking right- my fingers hit the wrong keys!

(and it is "ditto", not "dido"!)
 
Last edited by a moderator:
Gib Z said:
Dido what Halls said, with tiny corrections:

u= \sin^{n-1} x, dv = \sin x dx is what he might have meant.

How would I diff u?
 
Use the chain rule?
 
Let u = (n-1) hence y=[sin(x)]^(u)
then du/dn = 1

but again, unsure how to get dy/du now..
 
Instead, try letting u = sin x when differentiating :)
 
  • #10
\frac{d}{dx}\left(\sin^{n-1}(x)\right) = \left((n-2)\sin^{n-2}(x)\right) \left(\cos(x)\right)

Btw, you can't really do integration without being able to do differentiation like the back of your hand -- more practise at that would be helpful.
 
Last edited:
  • #11
Gib Z said:
Instead, try letting u = sin x when differentiating :)

I made a mistake before when doing chain rule. To prevent confusion, I will initially let f(x)=[sin(x)]^(n-1) and g'(x)=sinx

Then I use chain rule,
now I let u = sinx, hence f(x) = u^(n-1)

dy/du=(n-1)(u^(n-2))
and du/dx = cos(x)

hence dy/dx= (n-1)(sinx^(n-2))(cosx)?
 
  • #12
genneth said:
\frac{d}{dx}\left(\sin^{n-1}(x)\right) = \left((n-2)\sin^{n-2}(x)\right) \left(-\cos(x)\right)

Btw, you can't really do integration without being able to do differentiation like the back of your hand -- more practise at that would be helpful.

Can you please explain how you got that/what steps did I do wrong above?
 
  • #13
t_n_p said:
Can you please explain how you got that/what steps did I do wrong above?

You got it right -- I got it wrong -- looks like I need more practice... :redface:
 
  • #14
t_n_p said:
I made a mistake before when doing chain rule. To prevent confusion, I will initially let f(x)=[sin(x)]^(n-1) and g'(x)=sinx

Then I use chain rule,
now I let u = sinx, hence f(x) = u^(n-1)

dy/du=(n-1)(u^(n-2))
and du/dx = cos(x)

hence dy/dx= (n-1)(sinx^(n-2))(cosx)?

*in imitation of Mr. Burns on the Simpsons* Excellent..
 
  • #15
coolio!
I sub all the relevant values into the "magical integration by parts formula", but the second part seems awfully tedious..

http://img468.imageshack.us/img468/1193/untitledyj7.png

Can (n-1) be taken out as a constant, leaving just the sin and cos terms for me to integrate by parts again?
 
Last edited by a moderator:
  • #16
Yes it can, but also it wants you to express cos^2 x as 1-sin^2 x, get the original integral "I" on both sides :)
 
  • #17
ah ok!
After converting (cosx)^2 using the trig identity I get..
http://img521.imageshack.us/img521/7374/untitledfv0.png
Where to from there?
 
Last edited by a moderator:
  • #18
t_n_p said:
ah ok!
After converting (cosx)^2 using the trig identity I get..
http://img521.imageshack.us/img521/7374/untitledfv0.png
Where to from there?

careful. you can't separate it like that:

\int{f(x)*g(x)dx}\ne\int{f(x)dx}*\int{g(x)dx}

keep the sin^{n-2}x inside the integral, and multiply it out by -1+sin^2x
 
Last edited by a moderator:
  • #19
ah ok, you mean expand to give..
http://img512.imageshack.us/img512/6858/untitleddl8.png

but then what?
 
Last edited by a moderator:
  • #20
t_n_p said:
ah ok, you mean expand to give..
http://img512.imageshack.us/img512/6858/untitleddl8.png

but then what?

Remember... your right side right now just has \int{vdu}... but it's supposed to be uv - \int{vdu}

To continue... remember that sums within integrals can be separated out into separate integrals (unlike products)... once that's done, you can substitute your I(n-2)... and use algebra to solve for \int{sin^n(x)dx}
 
Last edited by a moderator:
  • #21
t_n_p said:
Can (n-1) be taken out as a constant, leaving just the sin and cos terms for me to integrate by parts again?
Yes it can.
 
  • #22
learningphysics said:
Remember... your right side right now just has \int{vdu}... but it's supposed to be uv - \int{vdu}

To continue... remember that sums within integrals can be separated out into separate integrals (unlike products)... once that's done, you can substitute your I(n-2)... and use algebra to solve for \int{sin^n(x)dx}

Thanks for reminder, almost got carried away

After splitting and converting one of the integrals into terms of (I(n-2)), I get..
http://img205.imageshack.us/img205/7929/untitledyw3.png
But now the integral is on both sides...:confused:

edit: just changed the equation as I realized (n-1) must be multiplied by both the integrals after splitting (hence I added square brackets)..
 
Last edited by a moderator:
  • #23
t_n_p said:
Thanks for reminder, almost got carried away

After splitting and converting one of the integrals into terms of (I(n-2)), I get..
http://img205.imageshack.us/img205/7929/untitledyw3.png
But now the integral is on both sides...:confused:

edit: just changed the equation as I realized (n-1) must be multiplied by both the integrals after splitting (hence I added square brackets)..

Treat \int{sin^n(x)}dx as an ordinary variable... you can replace it with a variable if you want (on both sides)... then solve for that variable...
 
Last edited by a moderator:
  • #24
Ok, after I do that, I'm confused about the expansion of the second part...

(n-1)[I(n-2)+a], where a is the integral [sin(x)]^n

with the expansion of the first term, i.e. n*[I(n-2)], how do I treat it?
 
  • #25
t_n_p said:
Ok, after I do that, I'm confused about the expansion of the second part...

(n-1)[I(n-2)+a], where a is the integral [sin(x)]^n

with the expansion of the first term, i.e. n*[I(n-2)], how do I treat it?

just treat I(n-2) as a variable... don't do anything with it.
 
  • #26
After expanding and taking all a's to one side and dividing by n I get...

http://img470.imageshack.us/img470/4391/untitledeq4.png
 
Last edited by a moderator:
  • #27
t_n_p said:
After expanding and taking all a's to one side and dividing by n I get...

http://img470.imageshack.us/img470/4391/untitledeq4.png

shouldn't the first term in your numerator be: -cos(x)sin^{n-1}(x). Other than that it looks good to me.
 
Last edited by a moderator:
  • #28
my bad, crappy typo.

Does that look decent for a final answer? Not much can be canceled but the "n"...
 
  • #29
t_n_p said:
my bad, crappy typo.

Does that look decent for a final answer? Not much can be canceled but the "n"...

Looks fine as a final answer to me. I'd probably just write (n-1)I(n-2) instead of nI(n-2) - I(n-2).
 
  • #30
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:
 
Last edited by a moderator:

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 24 ·
Replies
24
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
9
Views
3K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
1K
Replies
2
Views
1K