Integration by parts keeps looping back to the original integral, what now Homework Help
Working through ∫ e^x sin(x) dx for a homework set. The first round of parts leaves me with ∫ e^x cos(x) dx, and the second round hands me back the exact integral I started with. I have done it four times and I keep going in a circle. Is my choice of u wrong, or is this integral supposed to be done some other way?
@abigail_ruthven · 3mo ago · 3 replies
The loop is the method, not a mistake. Name the whole thing: let
I = ∫ e^x sin(x) dx. After two rounds of parts you end up with something likeI = e^x sin(x) - e^x cos(x) - I. That is an equation, so add I to both sides and divide by 2, and you are done.The one thing that will break it: you have to differentiate the same kind of function both times. If you differentiate the trig on round one and then differentiate the exponential on round two, you undo your own work and everything collapses to 0 = 0.
Reply
Report
@psu_paula · 3mo ago
0 = 0 is literally what I got on attempt three and I assumed I had made a sign error. Kept both u choices as the trig function this time and it fell out in about two minutes. Thank you.
Reply
Report
@corwin_ashby · 3mo ago
Everybody does the 0 = 0 thing once. It is a rite of passage more than a mistake.
Reply
Report