Let I=∫xe​x​dx Substituting x​=t, we get: 2x​1​dx=dt⇒dx=2tdt∴I=∫t×et×2tdt Integrating by parts, taking t2 as the first function and et as the second function, we get: ⇒I=2[t2etdt−∫(dtd​t2∫etdt)dt]+C⇒I=2t2et−4∫tetdt+C Integrating ∫tetdt by parts, we get: ⇒I=2t2et−4[tetdt−∫(dtd​tetdt)dt]+C⇒I=2t2et−4(tet−et)+C⇒I=(2t2−4t+4)et+C Back substituting x​=t, we get: ⇒I=(2x−4x​+4)ex​+C