The fraction can be simplified:
2x2x−1=2x2x−2x21
=2x1−2x21
The integral becomes:
∫ex(2x1−2x21)dx
The integration formula for ex is:
∫ex[f(x)+f′(x)]dx=ex⋅f(x)+C
When ex is multiplied by a function plus its derivative, the integral is ex times that function.
Let f(x)=2x1
The derivative is:
f′(x)=dxd(2x1)
=−2x21
Check if f(x)+f′(x) matches the expression:
f(x)+f′(x)=2x1+(−2x21)
=2x1−2x21
This matches the integrand.
Applying the formula with f(x)=2x1:
∫ex(2x1−2x21)dx=ex⋅2x1+C
=2xex+C
Therefore, the integral equals 2xex+C