How can I integrate e^x sin(x)?

This integral is a particularly difficult integral that has shown up in STEP questions before. It's not hard because of how difficult the actual calculations are, but more because of how hard it is to spot the 'trick' to doing this integral.
The trick is integration by parts twice. You can integrate by parts by letting u=e^x and v'=sin(x). You end up with the integral of e^x cos(x), which you integrate with exactly the same method. Then, you end up with, if I is the integral of e^x sin(x),
I=e^x sin(x) - e^x cos(x) - I + c, which implies that I=e^x (sin(x)-cos(x)) + c.

LH
Answered by Lawrence H. STEP tutor

2589 Views

See similar STEP University tutors

Related STEP University answers

All answers ▸

Differentiate x^x


Let y=arcsin(x)/sqrt(1-x^2). Show that (1-x^2) y'-xy-1=0, and prove that, for all integers n>=0, (1-x^2)y^{n+2}-(2n+3)xy^{n+1} -(n+1)^2 y^{n}=0. (Superscripts denote repeated differentiation)


Evaluate the integral \int \frac{x}{x tan(x) + 1} dx using integration by substitution, hence evaluate \int \frac{x}{x cot(x) - 1} dx.


Suppose that 3=2/x(1)=x(1)+(2/x(2))=x(2)+(2/x(3))=x(3)+(2/x(4))+...Guess an expression, in terms of n, for x(n). Then, by induction or otherwise, prove the correctness of your guess.


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2025 by IXL Learning