The integral to solve is ∫ex(1+x21−x)2dx
For integrals with ex, the formula ∫ex[f(x)+f′(x)]dx=ex⋅f(x)+C can be applied.
Expanding the square:
(1+x21−x)2=(1+x2)2(1−x)2
The integral becomes:
∫ex⋅(1+x2)2(1−x)2dx
Let f(x)=1+x21
Finding the derivative:
f′(x)=(1+x2)2−2x
Adding f(x) and f′(x):
f(x)+f′(x)=1+x21+(1+x2)2−2x
=(1+x2)2(1+x2)+(1+x2)2−2x
=(1+x2)21+x2−2x
=(1+x2)21−2x+x2
=(1+x2)2(1−x)2
This matches the integrand.
Since (1+x2)2(1−x)2=f(x)+f′(x) where f(x)=1+x21:
∫ex[(1+x2)2(1−x)2]dx=ex⋅f(x)+C
=1+x2ex+C