Evaluate the indefinite integral: ∫ (e^x)sin(x) dx

Note: for what’s about to come, ' denotes derivative with respect to x. Method 1 (integration by parts): let I = (e^x)sin(x) dx let u = sin(x), u' = cos(x) and v' = e^x = v then integrate by parts, => I = uv - ∫u’v dx, substitute in u,v and u’ obtains: I =(e^x)sin(x) - ∫ (e^x)cos(x) dx () Now integrate by parts ∫ (e^x)cos(x) dx: let a = cos(x), a' = -sin(x) and b' = b = e^x hence: ∫ (e^x)cos(x) dx =(e^x)cos(x) + I, substitute into (): I = (e^x)(sin(x) + cos(x)) - I + C, for some constant C => I = 1/2(e^x)(sin(x) + cos(x)) + C  Method 2 (compare coefficients): Let y = (e^x)(Acos(x) + Bsin(x)), for some constants A, B to be determined => y' =(e^x)((A+B)cos(x) + (B-A)sin(x)) ≡(e^x)sin(x), hence by comparing coefficients, we have: B - A = 1 and A + B = 0 => B = 1/2, A = -1/2 => y = (1/2)(e^x)(sin(x) + cos(x)) + D, for some constants D

SN
Answered by ShenZhen N. Maths tutor

12718 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

How would you differentiate 3x^4 - 2x^2 + 9x - 1


Given f(x) = (x^4 - 1) / (x^4 + 1), use the quotient rule to show that f'(x) = nx^3 / (x^4 + 1)^2 where n is an integer to be determined.


Find the stationary points of the function f(x) = x^3+6x^2+2 and determine if they are local maximums or minimums.


Integrate (2x)(e^x)dx


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:

© 2026 by IXL Learning