Question Detail

MTH 102 MTH 102 Past Questions Objective Question

Question

Simplify ∫ex sin x dx
Options
A <sup>e<sup>x</sup></sup>⁄<sub>4</sub> (cos x - sin<sup>2</sup> x) + C
B <sup>e<sup>x</sup></sup>⁄<sub>3</sub> (cos x<sup>2</sup> + sin x) + C
C <sup>e<sup>x</sup></sup>⁄<sub>2</sub> (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 is a classic cyclic integral that requires integration by parts twice. Let I = ∫ ex sin x dx. Apply integration by parts (∫ u dv = uv - ∫ v du) with u = sin x and dv = ex dx. Then du = cos x dx and v = ex. I = ex sin x - ∫ ex cos x dx. Now, apply integration by parts again to the new integral ∫ ex cos x dx. Let u = cos x and dv = ex dx. Then du = -sin x dx and v = ex. ∫ ex cos x dx = ex cos x - ∫ ex (-sin x) dx = ex cos x + ∫ ex sin x dx. Notice that the new integral is our original integral, I. Substitute this back into the equation for I: I = ex sin x - (ex cos x + I). I = ex sin x - ex cos x - I. Now, solve for I: 2I = ex sin x - ex cos x. I = (ex⁄2) (sin x - cos x) + C. This matches option C.

Hint

Use integration by parts twice. The integral will reappear on the right side, allowing you to solve for it algebraically.

Question Info