1.08i - Integration by parts

1.08i - Integration by parts

Reverse the product rule to integrate products that substitution does not simplify. Choose factors purposefully, repeat the method when needed, handle logarithms and keep both endpoints in definite integrals.

Reversing the product rule

What correction turns xe2x/2x\mathrm e^{2x}/2 into an antiderivative of xe2xx\mathrm e^{2x}? Differentiate it: the product rule produces the wanted term and an unwanted e2x/2\mathrm e^{2x}/2. Integration by parts removes that extra piece.

You already know

The product rule gives (uv)′=u′v+uv′(uv)'=u'v+uv'. Integrating a product does not mean multiplying the separate integrals.

Integrate the product-rule identity and rearrange; its minus sign comes from moving one integral to the other side.

Integration by parts

For suitable differentiable functions on the interval,

∫udvdx dx=uv−∫vdudx dx.\int u\frac{\mathrm dv}{\mathrm dx}\,\mathrm dx =uv-\int v\frac{\mathrm du}{\mathrm dx}\,\mathrm dx.

In the formula sheet.

Choose uu to simplify when differentiated, and v′v' to be easy to integrate. Do not add a constant to intermediate vv: it cancels between the two terms. Put one CC in the final indefinite answer.

Worked example 1: lowering a polynomial factor

Question. Find ∫xex dx\int x\mathrm e^x\,\mathrm dx.

Plan. Take u=xu=x, u′=1u'=1, v′=exv'=\mathrm e^x, v=exv=\mathrm e^x.

∫xex dx=xex−∫ex dx=ex(x−1)+C.\int x\mathrm e^x\,\mathrm dx =x\mathrm e^x-\int\mathrm e^x\,\mathrm dx =\mathrm e^x(x-1)+C.

Why differentiate xx? It disappears from the remaining integral. The reverse choice would introduce x2x^2, making the problem harder.

Answer. ex(x−1)+C\mathrm e^x(x-1)+C.

Check. The derivative is ex(x−1)+ex=xex\mathrm e^x(x-1)+\mathrm e^x=x\mathrm e^x.

Change only the exponent's coefficient from 11 to 22. Both integrations of the exponential need the new scale factor.

Worked example 2: scaling the exponential

Question. Find ∫xe2x dx\int x\mathrm e^{2x}\,\mathrm dx.

Plan. Keep u=xu=x, now with v=e2x/2v=\mathrm e^{2x}/2.

I=xe2x2−12∫e2x dxapply parts=e2x(x2−14)+Cintegrate again\begin{aligned} I&=\frac{x\mathrm e^{2x}}2-\frac12\int\mathrm e^{2x}\,\mathrm dx &&\text{apply parts}\\ &=\mathrm e^{2x}\left(\frac x2-\frac14\right)+C &&\text{integrate again} \end{aligned}

Why another half? The remaining exponential still has inner derivative 22.

Answer. e2x(x/2−1/4)+C\mathrm e^{2x}(x/2-1/4)+C.

Check. Product-rule terms not containing xx cancel, leaving xe2xx\mathrm e^{2x}.

For comparison, the trigonometric product ∫xcos⁡x dx=xsin⁡x+cos⁡x+C\int x\cos x\,\mathrm dx=x\sin x+\cos x+C uses the same choice of polynomial factor, with angles in radians.

Watch out

Wrong: ∫uv′ dx=uv+∫vu′ dx\int uv'\,\mathrm dx=uv+\int vu'\,\mathrm dx. The correct formula subtracts the remaining integral; differentiate to check the cancellation.

Change the exponential's coefficient once more.

Reducing a polynomial factor more than once

A quadratic factor takes two differentiations to become constant. Apply parts twice, keeping the coefficient and minus sign outside the remaining integral visible.

Worked example 3: two applications

Question. Find ∫x2ex dx\int x^2\mathrm e^x\,\mathrm dx.

Plan. Differentiate the polynomial factor at each application.

I=x2ex−2∫xex dxfirst application∫xex dx=xex−exsecond applicationI=ex(x2−2x+2)+Csubstitute and collect\begin{aligned} I&=x^2\mathrm e^x-2\int x\mathrm e^x\,\mathrm dx &&\text{first application}\\ \int x\mathrm e^x\,\mathrm dx&=x\mathrm e^x-\mathrm e^x &&\text{second application}\\ I&=\mathrm e^x(x^2-2x+2)+C &&\text{substitute and collect} \end{aligned}

Why retain the outer −2-2? It multiplies both terms of the second result.

Answer. ex(x2−2x+2)+C\mathrm e^x(x^2-2x+2)+C.

Check. Differentiate: ex[(x2−2x+2)+(2x−2)]=x2ex\mathrm e^x[(x^2-2x+2)+(2x-2)]=x^2\mathrm e^x.

Change only the exponential's coefficient to 22. The polynomial still reduces in two steps.

Worked example 4: repeated scaling

Question. Find ∫x2e2x dx\int x^2\mathrm e^{2x}\,\mathrm dx.

Plan. Use v=e2x/2v=\mathrm e^{2x}/2 at each parts step.

I=x2e2x2−∫xe2x dx=e2x(x22−x2+14)+C.\begin{aligned} I&=\frac{x^2\mathrm e^{2x}}2-\int x\mathrm e^{2x}\,\mathrm dx\\ &=\mathrm e^{2x}\left(\frac{x^2}{2}-\frac x2+\frac14\right)+C. \end{aligned}

Why is the remaining coefficient now −1-1? The derivative 2x2x cancels the half in vv.

Answer. e2x(x2/2−x/2+1/4)+C\mathrm e^{2x}(x^2/2-x/2+1/4)+C.

Check. Differentiating the bracket and exponential leaves precisely x2e2xx^2\mathrm e^{2x}.

Trigonometric factors work too. Two parts steps give

∫x2sin⁡x dx=−x2cos⁡x+2∫xcos⁡x dx=−x2cos⁡x+2xsin⁡x+2cos⁡x+C.\begin{aligned} \int x^2\sin x\,\mathrm dx &=-x^2\cos x+2\int x\cos x\,\mathrm dx\\ &=-x^2\cos x+2x\sin x+2\cos x+C. \end{aligned}

These are finite calculations for specified integrands. Reduction formulae for indexed families are excluded; the displayed results are derived from the supplied parts formula, not separately printed.

Watch out

Wrong: substitute only the first term of the second antiderivative. Right: bracket its whole result before distributing the outer coefficient.

Use two parts steps with the cosine instead.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account