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 ▸

Solve the equation " 2sec^2(x) = 5tanx " for 0 < x < π


Can you help me understand how Arithmetic sequences work?


Find all possible values of θ for tan θ = 2 sin θ with the range 0◦ ≤ θ ≤ 360◦


Consider the functions f and g where f (x) = 3x − 5 and g (x) = x − 2 . (a) Find the inverse function, f^−1 . (b) Given that g^−1(x) = x + 2 , find (g^−1 o f )(x) . (c) Given also that (f^−1 o g)(x) = (x + 3)/3 , solve (f^−1 o g)(x) = (g^−1 o f)(x)