First, let's simplify the expression:
∫ex(2x2x+1)dx=∫ex⋅22x+1⋅x−1/2dx
=∫ex⋅(22x⋅x−1/2+21⋅x−1/2)dx
=∫ex⋅(x1/2+21⋅x−1/2)dx
Splitting the integral:
∫ex⋅(x1/2+21⋅x−1/2)dx=∫ex⋅x1/2dx+∫ex⋅21⋅x−1/2dx
Using integration by parts for the first part with:
u=x1/2 so du=21⋅x−1/2dx
dv=exdx so v=ex
∫ex⋅x1/2dx=x1/2⋅ex−∫ex⋅21⋅x−1/2dx
Notice that the second term is the negative of our second integral:
∫ex⋅x1/2dx+∫ex⋅21⋅x−1/2dx=x1/2⋅ex−∫ex⋅21⋅x−1/2dx+∫ex⋅21⋅x−1/2dx
The last two integrals cancel out, giving us:
∫ex(2x2x+1)dx=x⋅ex+C