Let I=∫x5e−x2dx
Let, −x2=t⇒xdx=−21dt
∴I=−21∫t2etdt
By using integrating by parts, i.e. ∫(u⋅v)dx=u∫vdx−∫[dxdu∫vdx]dx+c, we get
I=−21[t2∫etdt−∫(2t∫etdt)dt]+c
⇒I=−21[t2et−2∫tetdt]+c
Again, applying integrating by parts, we get
⇒I=−21[t2et−2(t∫etdt−∫1⋅etdt)]+c
⇒I=−21[t2et−2(tet−et)]+c
⇒I=−21[t2et−2tet+2et]+c
⇒I=−2et[t2−2t+2]+c
⇒I=−2e−x2[x4+2x2+2]+c
Given, I=∫x5e−x2dx=g(x)e−x2+c
⇒g(x)=−21(x4+2x2+2)
⇒g(−1)=−21((−1)4+2(−1)2+2)
⇒g(−1)=−25.