Simplify the integrand: Let's simplify the integrand first. Notice that (x2+4x+4) is the expansion of (x+2)2. So, we rewrite the integral as ∫(ex(x+4)2(x+2)2)dx.
Perform substitution: Now, let's do a substitution. Let u=x+4, then du=dx and x=u−4. Substitute into the integral to get ∫e(u−4)(u2(u−2)2)du.
Expand the numerator: Expand the numerator to get ∫(eu−4(u2−4u+4)/u2)du.
Split the integral: Split the integral into three parts: ∫(eu−4du)−4∫(ueu−4)du+4∫(u2eu−4)du.
Calculate the first integral: The first integral ∫(eu−4du) is straightforward, it's e−4eu−4+C1, which simplifies to e4eu+C1.
Calculate the second integral: The second integral −4∫(eu−4/u)du is a bit tricky, but we can use integration by parts or look it up as a standard integral. It's −4e−4Ei(u)+C2, where Ei is the exponential integral.
Calculate the third integral: The third integral 4∫(eu−4/u2)du is also not standard, but we can use integration by parts. Let's set v=1/u, dv=−1/u2du, and dw=eu−4du, w=eu−4/e−4. Then we get 4∫(vdw)=4vw−4∫(wdv).
Calculate the third integral: The third integral 4∫(eu−4/u2)du is also not standard, but we can use integration by parts. Let's set v=1/u, dv=−1/u2du, and dw=eu−4du, w=eu−4/e−4. Then we get 4∫(vdw)=4vw−4∫(wdv).After calculating, we get 4(eu−4/u)/e4−4∫(−eu−4/u2)du, which simplifies to 4eu/(e4u)−4∫(eu−4/u2)du.
More problems from Find indefinite integrals using the substitution