Question Detail

MTH 102 MTH 102 Past Questions Objective Question

Question

Simplify ∫ ex sin x dx
Options
A (e<sup>x</sup>/4)(cos x - sin x&sup2;) + C
B (e<sup>x</sup>/3)(cos x&sup2; + sin x) + C
C (e<sup>x</sup>/2)(sin x - cos x) + C
Correct Answer
D e<sup>x</sup>(cos x - sin x) + C
Correct Answer

Option C is the correct answer.

Detailed Explanation

This integral requires integration by parts twice. Let I = ∫ ex sin x dx.First application of integration by parts: ∫ u dv = uv - ∫ v duLet u = sin x &implies; du = cos x dxLet dv = ex dx &implies; v = exSo, I = ex sin x - ∫ ex cos x dx.Second application of integration by parts (for ∫ ex cos x dx):Let u = cos x &implies; du = -sin x dxLet dv = ex dx &implies; v = exSo, ∫ ex cos x dx = ex cos x - ∫ ex (-sin x) dx = ex cos x + ∫ ex sin x dx.Substitute this back into the expression for I:I = ex sin x - (ex cos x + ∫ ex sin x dx)I = ex sin x - ex cos x - INow, add I to both sides:2I = ex sin x - ex cos xFactor out ex and divide by 2:I = (ex/2)(sin x - cos x) + C.This matches option C.

Hint

This integral is a classic example requiring integration by parts twice. You'll notice the original integral reappearing in the process, allowing you to solve for it algebraically.

Question Info