(x−3)=(x−1)−2
∫(x−1)3(x−3)exdx
=∫(x−1)3[(x−1)−2]exdx
=∫(x−1)3(x−1)exdx−∫(x−1)32exdx
=∫(x−1)2exdx−2∫(x−1)3exdx
For f(x)=(x−1)21:
f′(x)=(x−1)3−2
Therefore:
f(x)+f′(x)=(x−1)21+(x−1)3−2
=(x−1)21−(x−1)32
This matches the integrand.
Using ∫ex[f(x)+f′(x)]dx=exf(x)+C:
∫ex[(x−1)21−(x−1)32]dx
=ex⋅(x−1)21+C
=(x−1)2ex+C