Question #6d541

1 Answer
Dec 15, 2017

ex(x2+1)+c

Explanation:

Take the integral

ex(x+1)2dx

Expanding the integrand (x+1)2=x2+2x+1

(exx2+2exx+ex)dx

separate

exx2dx+2exxdx+exdx

For the integrand exx2, integrate by parts,
fdg=fggdf

f=x2,dg=exdx
df=2xdx g=ex

exx2ex2xdx

The integral of ex=ex+c

exx2dx+2exxdx+exdx=exx2ex2xdx+2exxdx+ex+c

exx2dx+2exxdx+exdx=exx2+ex+c

exx2dx+2exxdx+exdx=ex(x2+1)+c