Problem 20

Question

Find the integral. (Note: Solve by the simplest method-not all require integration by parts.) $$ \int x \sin x d x $$

Step-by-Step Solution

Verified
Answer
The integral of \(x \sin x \, dx\) is \(-x \cos x + \sin x\)
1Step 1: Choose u and dv
Identify \(u\) and \(dv\) from the integral. In this case, we let \(u = x\) and \(dv = \sin x dx\).
2Step 2: Compute du and v
Calculate \(du\) and \(v\), the derivative of \(u\) and the integral of \(dv\), respectively. In this situation, \(du = dx\) and \(v = -\cos x\).
3Step 3: Apply Integration by Parts
Substitute \(u\), \(v\), \(du\), and \(dv\) into the integration by parts formula, \(\int u dv = uv - \int v du\), to get the integral. This results in \(-x \cos x + \int \cos x dx\).
4Step 4: Simplify the Integral
The remaining integral, \(\int \cos x dx\), is simpler and can be readily integrated, resulting in \(\sin x\). Thus, the solution to the original integral, \(\int x \sin x dx\), becomes \(-x \cos x + \sin x\).