Computing integrals (3): Integration by parts

 Sometimes, we may simplify integration by using the product rule of differentiation. This technique is called integration by parts.



Theorem (Integration by parts)

Let f(x) and g(x) be differentiable functions on an open interval I. Then,

  1.  f(x)g(x)dx=f(x)g(x)f(x)g(x)dx;
  2. For any a,bI, abf(x)g(x)dx=[f(x)g(x)]ababf(x)g(x)dx.
Proof. By the product rule,
[f(x)g(x)]=f(x)g(x)+f(x)g(x)
so
f(x)g(x)=[f(x)g(x)]f(x)g(x).
By integrating both sides, we have the desired results. ■

Example. Let us find xcoshxdx.
xcoshxdx=x(sinhx)dx=xsinhx1sinhxdx=xsinhxcoshx+C.

Example (eg:recur). Let us study how we can compute
In=dx(x2+1)n
for nN. Note
In=x2+1(x2+1)n+1dx=x2(x2+1)n+1dx+In+1.
Since
(12n(x2+1)n)=x(x2+1)n+1,
we have
x2(x2+1)n+1dx=xx(x2+1)n+1dx=x2n(x2+1)n+12ndx(x2+1)n=12nInx2n(x2+1)n.
Therefore, we have the following recurrence equation
In+1=Inx2(x2+1)n+1dx(eq:Irec)=(112n)In+12nx(x2+1)n.
Starting from
I1=dxx2+1=arctanx+C,
we can compute I2,I3, recursively by using Eq. (eq:Irec).

Comments

Popular posts from this blog

Birth process

Branching processes: Mean and variance

Informal introduction to formal logic