Solution:
We use the result
∫ex[f(x)+f′(x)]dx=exf(x)+C
Rewrite the integrand:
(x−1)3(x−3)ex=ex[(x−1)3(x−1)−2]=ex[(x−1)21−(x−1)32]
Let f(x)=(x−1)21. Then
f′(x)=−(x−1)32
So the integrand is of the form ex[f(x)+f′(x)].
Therefore,
∫(x−1)3(x−3)exdx=(x−1)2ex+C