Integration (Techniques)

1 / 7

Show a derivative, hence find ∫x e⁻ˣ dx

Question: Show that ddx[(x1)ex]=2exxex\dfrac{d}{dx}\left[(x-1)e^{-x}\right] = 2e^{-x} - x e^{-x}. Hence find xexdx\displaystyle\int x e^{-x}\,dx.

Step 1. Differentiate (x1)ex(x-1)e^{-x} by product rule:

ddx[(x1)ex]=1ex+(x1)(ex)=ex(x1)ex=ex(1x+1)=ex(2x)\dfrac{d}{dx}\left[(x-1)e^{-x}\right] = 1 \cdot e^{-x} + (x-1)(-e^{-x}) = e^{-x} - (x-1)e^{-x} = e^{-x}(1 - x + 1) = e^{-x}(2 - x)

Or: 2exxex2e^{-x} - x e^{-x}. \checkmark

Step 2. Integrate both sides (reverse):

(2exxex)dx=(x1)ex+C\int (2e^{-x} - x e^{-x})\,dx = (x-1)e^{-x} + C 2exdxxexdx=(x1)ex+C2\int e^{-x}\,dx - \int x e^{-x}\,dx = (x-1)e^{-x} + C

Step 3. Use exdx=ex\int e^{-x}\,dx = -e^{-x}:

2exxexdx=(x1)ex+C-2e^{-x} - \int x e^{-x}\,dx = (x-1)e^{-x} + C xexdx=(x1)ex2ex+C=(x+1)ex+C\int x e^{-x}\,dx = -(x-1)e^{-x} - 2e^{-x} + C = -(x+1)e^{-x} + C

Tip: AM's "Show ... hence find" is integration-by-parts in disguise. Always carry the constant of integration through.

swipe up ↑
🤖Ask