Integrating e^x(cosx) | Step-by-Step Solution for Homework

  • Thread starter Thread starter theBEAST
  • Start date Start date
  • Tags Tags
    Integral
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 6K views
theBEAST
Messages
361
Reaction score
0

Homework Statement


I attached a picture of my attempt, it seems to loop back... Maybe I made a mistake... If not how am I suppose to integrate this? Thank you!
 

Attachments

  • Doc - 2011-12-19 4-24 PM.jpg
    Doc - 2011-12-19 4-24 PM.jpg
    27.5 KB · Views: 3,372
Physics news on Phys.org
Stop at the third line. Now move the integral of cos(x)*e^x on the right to the left. Then you are basically done. The third line gives you an equation where the only integral is cos(x)*e^x. Solve for it.
 
Dick said:
Stop at the third line. Now move the integral of cos(x)*e^x on the right to the left. Then you are basically done. The third line gives you an equation where the only integral is cos(x)*e^x. Solve for it.

Oh I see, I got

∫(e^xcosx dx)=(e^xsinx+e^xcosx)/2

But how did I get :
∫(e^xcosx dx)=e^xsinx+e^xcosx-∫(e^xcosx dx) (in the third step)

and

∫(e^xcosx dx)=∫(e^xcosx dx) (in the last step)

The two are not the same thing?
 
theBEAST said:
Oh I see, I got

∫(e^xcosx dx)=(e^xsinx+e^xcosx)/2

But how did I get :
∫(e^xcosx dx)=e^xsinx+e^xcosx-∫(e^xcosx dx) (in the third step)

and

∫(e^xcosx dx)=∫(e^xcosx dx) (in the last step)

The two are not the same thing?

Both of those statements are true. The first one tells you something useful. The second one is also true. But it doesn't tell you anything useful. They don't conflict with each other.
 
Last edited:
there is a really slick way to do this with Eulers formula. using e^(ix)=isin(x)+cos(x)
By substituting e^(ix) in and then taking the real part at the end.