Integration by Parts separately

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 1K views
cse63146
Messages
435
Reaction score
0

Homework Statement



Integrate: [tex]-\frac{2}{\theta} \int^{\infty}_0 y e^{-2y/\theta} dy + \frac{2}{\theta} \int^{\infty}_0 y e^{-y/\theta}dy[/tex]

Homework Equations





The Attempt at a Solution



Let u = y/theta; y=u*theta; dy = du*theta, which becomes

[tex]-2 \int^{\infty}_0 u \theta e^{-2u} du + 2\int^{\infty}_0 u \theta e^{-u}du[/tex]

Doing each integral separately and then adding them up:

[tex]-2 \int^{\infty}_0 u \theta e^{-2u} du = u\theta e^{-2u} |^{\infty}_0 - 2 \theta \int^{\infty}_0 e^{-2u} du = \theta e^{-2u} |^{\infty}_0 = - \theta[/tex]

[tex]2\int^{\infty}_0 u \theta e^{-u}du = -2u \theta e^{-u}|^{\infty}_0 + 2 \theta \int^{\infty}_0 e^{-u} du =-2 \theta e^{-u} |^{\infty}_0 = 2 \theta[/tex]

When I add them up, I get theta, but the answer is supposed to be (3/2)theta. Where did I make the mistake?
 
Physics news on Phys.org
Well, you just dropped a '2' factor. Maybe more than once. For example, why doesn't your boundary term in the first integration by parts have a '2' in it? I really don't want to check every term. But you should have gotten -theta/2 for the first integral.
 
I did forget a 2 in the first integration by parts, but it equals to 0 so it wouldn't make much of a difference. But I did realize my mistake. I didnt diffrentiate the e^-2u properly in the second part.
 
That's true. Thanks for helping with the checking work!