Integration by Parts: Struggling with e^xcos(x)dx

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
4 replies · 3K views
ranger1716
Messages
17
Reaction score
0
I'm kind of lost on where to go next with this integration by parts problem.

I have to integrate e^xcos(x)dx.

I've gotten as far as one step of integration by parts, but I can't understand how this will help. It seems I'll just be going in circles. I have:

e^xsin(x) - int(e^xsin(x))dx. If I do a second integration by parts, will I not just get back to where I started?
 
Physics news on Phys.org
do parts twice, combine like terms and you can solve in terms of the original integral in question.
 
In other words, you do know how to solve z = a - z for z.

(P.S. doesn't your textbook do this as an example?)
 
ranger1716 said:
I'm kind of lost on where to go next with this integration by parts problem.

I have to integrate e^xcos(x)dx.

I've gotten as far as one step of integration by parts, but I can't understand how this will help. It seems I'll just be going in circles. I have:

e^xsin(x) - int(e^xsin(x))dx. If I do a second integration by parts, will I not just get back to where I started?
One thing that can prevents you from getting an obvious equation like 0 = 0 is that: If you previously assigned u = ex, and dv = cos(x) => v = sin(x), and get to:
[tex]\int e ^ x \cos x dx = e ^ x \sin x - \int e ^ x \sin x dx[/tex]
Then what you should do next is to let u = ex, and dv = sin(x).
After that, just do some little rearrangement, and you'll arrive at the answer.
Do NOT do the reverse (i.e, let u = sin(x), and dv = ex). If you want to see why, then just try it. Don't be surprise if you get an equation 0 = 0, or [tex]\int 0 dx = C[/tex].
Can you go from here? :)
 
Last edited:
ranger1716 said:
If I do a second integration by parts, will I not just get back to where I started?

that's the trick! get back where you started, and combine like terms, as in ac + bc = (a+b)c. that's the only trick to this problem.