←
Grade 12 Calculus · Lesson 50 · Integration by parts · about 5 minutes
The product rule run backwards
score 0

The product rule run backwards

The product rule, (uv)′=u v′+v u′(uv)' = u\,v' + v\,u', integrates to uv=∫u dv+∫v duuv = \int u\,dv + \int v\,du, and rearranged that is integration by parts: ∫u dv=uv−∫v du\int u\,dv = uv - \int v\,du, read aloud: the integral of u dee v equals u v minus the integral of v dee u. The letters: uu is one factor of the integrand and dvdv is the other factor with the dxdx attached; du=u′ dxdu = u'\,dx is the derivative of uu, and vv is any antiderivative of dvdv, with no +C+ C needed until the very end. The trade: the integral you cannot do, ∫u dv\int u\,dv, becomes a product you can write down, uvuv, minus an integral you hope is easier, ∫v du\int v\,du. For ∫x ex dx\int x\,e^x\,dx: u=xu = x, dv=ex dxdv = e^x\,dx; then du=dxdu = dx, v=exv = e^x; and ∫x ex dx=x ex−∫ex dx=x ex−ex+C\int x\,e^x\,dx = x\,e^x - \int e^x\,dx = x\,e^x - e^x + C. Differentiate it: ex+x ex−ex=x exe^x + x\,e^x - e^x = x\,e^x, the integrand back, which is the only check that matters.

Trig runs the same: ∫xcos⁡x dx\int x\cos x\,dx with u=xu = x, dv=cos⁡x dxdv = \cos x\,dx, v=sin⁡xv = \sin x, gives xsin⁡x−∫sin⁡x dx=xsin⁡x+cos⁡x+Cx\sin x - \int \sin x\,dx = x\sin x + \cos x + C, the minus of the formula meeting the minus of ∫sin⁡x=−cos⁡x\int \sin x = -\cos x. The lonely logarithm is the classic: ∫ln⁡x dx\int \ln x\,dx has only one visible factor, so take u=ln⁡xu = \ln x and dv=dxdv = dx; then du=dxxdu = \dfrac{dx}{x}, v=xv = x, and ∫ln⁡x dx=xln⁡x−∫x⋅1x dx=xln⁡x−x+C\int \ln x\,dx = x\ln x - \int x \cdot \dfrac{1}{x}\,dx = x\ln x - x + C. Two slips to name: the uvuv term dropped, leaving only −∫v du-\int v\,du; and the sign flipped, uv+∫v duuv + \int v\,du. With limits, the product is evaluated too: ∫abu dv=[uv]ab−∫abv du\int_a^b u\,dv = \left[uv\right]_a^b - \int_a^b v\,du, so ∫01x ex dx=[x ex−ex]01=(e−e)−(0−1)=1\int_0^1 x\,e^x\,dx = \left[x\,e^x - e^x\right]_0^1 = (e - e) - (0 - 1) = 1.