Let's integrate ∫x2exdx by parts. Let's use the rule:
∫fg′=fg−∫f′g,here, f=x2,g=ex.
Then, we get:
∫x2exdx=x2ex−2∫xexdx.Let's integrate ∫xexdx by parts and use the same rule. This time f=x,g=ex. Finally, we get:
∫x2exdx=x2ex−2(xex−∫exdx),∫x2exdx=x2ex−2xex+2ex=(x2−2x+2)ex+C.
Comments