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

Related Maths A Level answers

All answers ▸

Integrate the function x(2x+5)^0.5


let line L have the equation 4y -3x =10, and line M passes through the points (5,-1) and (-1,8), find out if they are perpendicular, parallel, or neither


Integrate (sin(2x) + e^(2x+3))dx


Is AB perpendicular to BC where A =(2,0,-1), B=(4,3,-6) and C = (9,3,-4)