My calculus skills are pathetic. I haven't done the following integration exercise before, but this looks like it should easy to evaluate.
$$ \int x e^x\ \ \mathrm{dx} $$
I can probably guess-and-check my way to the solution. But I am looking for a more systematic, algorithmic method to doing this. The first thing I tried was
$$\mathrm{\frac{d}{dx}}(x e^x) = e^x + xe^x \implies xe^x =\mathrm{\frac{d}{dx}}(x e^x)-e^x $$
but how to go from here to $ \int x e^x\ \ \mathrm{dx} $, if that's even possible.
Such a systematic method exists and it's called integration by parts.