The value of ∫(x+1)x1+xexdx is
log1+xex+x+C
12logx1+xexx+1+C
logxex1+xex+C
log(x+1)ex1+xex+C
Write the integrand as 1x+1−(x+1)ex1+xex
So the given integral is equal to
logx+x−log1+xex+C=logx+logex−log1+xex+C=logxex1+xex+C.