Skip to content
Technique

Integration by parts twice, when the integral comes back

Integral Calculus • Indefinite Integrals

Formula

If integrating by parts twice gives with , then . In particular and .

How to use it

  1. 1Why it works: does not change when it is differentiated or integrated, and two derivatives turn into . So after two rounds the same integral comes back, with a minus sign.
  2. 2Call the integral . Integrate by parts twice, integrating the same kind of factor (the trigonometric one) both times.
  3. 3Move the returning to the left side and divide.

Worked example

Find .

Step-by-step

  1. 1

    Why: By parts: integrate , differentiate .

  2. 2

    Why: By parts again, again integrating the trigonometric factor.

  3. 3
  4. 4

    Why: Bring the returning to the left.

Answer

Watch out

Switching which factor is integrated in the second round undoes the first round and gives only . Keep track of the minus sign in front of each new integral.

Builds on

Also known as

integral of e^x sin x, cyclic integration by parts, the integral reappears

Appears in past papers

2018 (I)