Integration by parts (IBP) is an integration technique. It is best used in cases with some polynomial term and an exponential or trigonometric function, or multiple trigonometric functions. This works for both indefinite and definite integrals but you have to be mindful of applying bounds.

The basic principle is we “exchange” a difficult integral for one that is easier to solve. Our choice for should be the function that’s easiest to differentiate, and our choice for the easiest to integrate.

Basic examples

For :

So:

For :

So:

Cyclic integration by parts

For some integrands, with a combination of an exponential and trig function, we would loop forever if we did IBP. This doesn’t mean we can’t solve them.

Try as the integrand.

See also

  • Integrands involving the product of an exponential and trigonometric term can be solved an alternate way using complex analysis. See this page.