Evaluate ∫ x e^x dx.
Correct answer
D. e^x(x - 1) + C
15 views
D. e^x(x - 1) + C
15 views
Use integration by parts, ∫u dv = uv - ∫v du, choosing u = x and dv = e^x dx so that du = dx and v = e^x. This gives x e^x - ∫e^x dx = x e^x - e^x + C, which factorises to e^x(x - 1) + C. Differentiating back produces e^x(x - 1) + e^x = x e^x, confirming the result. Choosing u = e^x instead makes the integral harder, so the choice of u matters.
Asked in: PPSC, FPSC, NTS, CSS
Not sure why the answer is D? Ask here and get an explanation.