How the product rule turns into a formula for integrating products, how boundary terms work in definite integrals, and how repeating the method leads to reduction formulas.
Substitution undoes the chain rule. The product rule needs its own reverse, and that is integration by parts. It handles integrands like xex, xcosx and lnx, where one factor gets simpler when you differentiate it and the other is easy to integrate.
Key terms
Product rule derivation
Definition Let u and v be differentiable on an interval with u′ and v′ continuous there. The product rule says (uv)′=u′v+uv′. Rearranging and integrating both sides gives
∫u(x)v′(x)dx=u(x)v(x)−∫u′(x)v(x)dx.
In plain words An integral of a product can be traded for a different integral of a product. The trade pays off when the new integral is easier than the old one.
Example For ∫xcosxdx take u=x and v′=cosx, so u′=1 and v=sinx.
∫xcosxdx=xsinx−∫sinxdx=xsinx+cosx+C.
Differentiating gives sinx+xcosx−sinx=xcosx.
Definite and indefinite formulas
Definition With du=u′(x)dx and dv=v′(x)dx, the indefinite formula is written
∫udv=uv−∫vdu.
If u′ and v′ are continuous on [a,b], the definite formula is
∫abu(x)v′(x)dx=[u(x)v(x)]ab−∫abu′(x)v(x)dx.
A useful guide for choosing u is to pick the factor that becomes simpler when differentiated, such as a power of x or a logarithm, and let dv be the rest, which you must be able to integrate.
In plain words Pick one factor to differentiate and one to integrate. The answer is u times v, minus the integral of v times the derivative of u.
Example For ∫lnxdx on x>0, take u=lnx and dv=dx, so du=x1dx and v=x.
∫lnxdx=xlnx−∫x⋅x1dx=xlnx−x+C.
Boundary terms
Definition In the definite formula the expression
[uv]ab=u(b)v(b)−u(a)v(a)
is the boundary term. It is a number, computed from the values at the endpoints, and it must be evaluated alongside the remaining integral.
In plain words In a definite integral, the uv part gets plugged in at the bounds right away. Often one end gives zero, which saves work.
Example For ∫01xexdx take u=x, dv=exdx, so du=dx and v=ex.
∫01xexdx=[xex]01−∫01exdx=(e−0)−(e−1)=1.
The boundary term at x=0 vanished because of the factor x.
Repeated integration by parts
Definition If the new integral ∫vdu is again a product of the same kind, integration by parts can be applied to it as well, each time with the same hypotheses on the new u and v. Two patterns are common. A polynomial factor of degree k disappears after k steps. With eax times sinbx or cosbx, two steps bring back the original integral, and you solve for it algebraically.
In plain words Keep going while each step makes the problem simpler, and stop as soon as the remaining integral is one you know.
Example For ∫x2exdx, first take u=x2, dv=exdx.
∫x2exdx=x2ex−2∫xexdx.
Then use ∫xexdx=xex−ex+C, from u=x and dv=exdx.
∫x2exdx=x2ex−2xex+2ex+C=ex(x2−2x+2)+C.
Reduction formulas
Definition A reduction formula expresses an integral that depends on an integer n through the same kind of integral with a smaller n. For integers n≥2, integration by parts with u=sinn−1x and dv=sinxdx, followed by cos2x=1−sin2x, gives
∫sinnxdx=−n1sinn−1xcosx+nn−1∫sinn−2xdx.
For the definite integrals In=∫0π/2sinnxdx the boundary term is zero at both ends, so
In=nn−1In−2(n≥2),I0=2π,I1=1.
In plain words Instead of fighting a high power directly, you lower the power by two at a time until you reach a case you can do at sight.
Example Two steps of the recursion bring I4 down to I0,
I4=43I2=43⋅21I0=43⋅21⋅2π=163π≈0.589.
Check yourself
Find ∫xe2xdx.
Show the answer
Take u=x and dv=e2xdx, so v=21e2x. The result is
∫xe2xdx=2xe2x−21∫e2xdx=2xe2x−41e2x+C.
Find ∫exsinxdx.
Show the answer
Call it J. With u=sinx and dv=exdx we get
J=exsinx−∫excosxdx.
With u=cosx and dv=exdx the last integral is excosx+J. So J=exsinx−excosx−J, and solving for J gives
May we count page visits to understand which courses and learning features are useful? Cloudflare collects visit and performance statistics, without your account details or answers. Your choice does not affect access. Details