What is integration by Parts?

2 Answers
Oct 2, 2014

When you come across a function that cannot be easily antidifferentiated, but some part of it can be easily antidifferentiated, we need to use integration by parts.

The rule for integration by parts is:

#int_a^bf(x)*g'(x)dx = [f(x)*g(x)]_a^b - int_a^bf'(x)*g(x)dx#

Say we wish to integrate the function #h(x)=e^x*x#
We can split this into two functions:

#"Let "f(x)=x" and "g(x)=e^x#
#=>f'(x)=1 and g'(x)=e^x#
#=>f(x)*g'(x) = e^x*x#

This is precisely what we need to integrate, so all we do is plug f(x), f'(x), g(x) and g'(x) into the above formula:

#int_a^bx*e^xdx = [x*e^x]_a^b - int_a^b1*e^xdx#

Note that the right-hand side of the equation is much "nicer" to work with than before.

#=>int_a^bx*e^xdx = be^b-ae^a-(e^b-e^a)#

(I have skipped a couple of steps)

The trick to integrating by parts is to:

  1. Select f(x) so that you can easily find f'(x). If you can't find f'(x) easily, then try again.
  2. Select g'(x) so that you can easily find g(x). Again, if g'(x) has no antiderivative, or it's not easy to find an antiderivative, try something else.
  3. Select f(x) and g'(x) so that f'(x)g(x) can be easily integrated. If you come up with an integral that needs to be integrated by parts again and again, there's probably an easier way of doing it.
Jul 29, 2015

When one has to integrate a product of two functions, integration by parts is useful.

If #f(x) = g(x)*h(x)#

then #int f(x)dx = g(x) int h(x)dx - int (d/(dx) g(x) * int h(x)dx)dx#
This is called integration by parts.

Explanation:

The integral of the product of two functions may be verbally given as,

"First function into integral of the second minus integral of the derivative of the first into integral of the second." Which is nothing but, integration by parts.

Now, one thing that must be noted is that, the correct choice of first function and second function can either make or break a problem.
The correct choice can vastly simplify and an incorrect one can put you in a lot of trouble.

For instance,

#int x*e^x dx# is the integral we need to evaluate.
If we use #e^x# as the first function and #x# as the second and integrate by parts,

#int x*e^x*dx = e^x int x*dx - int (e^x int x*dx)*dx#
#= e^x*x^2/2 - int e^x*x^2/2*dx + C#

If we apply integration by parts to the second term, we again get a term with a #x^3# and so on.

This, not only complicates the problem but, spells disaster.

But, if we had chosen #x# to be the first and #e^x# to be the second, the integral would have been very simply to evaluate.

#int x*e^x*dx = x int e^x*dx - int (d/(dx)x int e^x*dx)*dx#
#= e^x*x - e^x + C#