∫IntegralPasoEspañol
Integration techniques

Cyclic integration by parts

Material by the IntegralPaso project. Conditions and limits are stated in each guide; external teaching review is pending.

I=A−kII=A-kI

For certain exponential and sine or cosine products, the original integral reappears. Name it I, retain its signs and solve algebraically.

Common mistake

Do not repeat indefinitely: solve when I reappears.

DEVELOPED GUIDE · 8 min

Close the integration-by-parts cycle and isolate the recurring integral.

When to choose this method

  • An exponential times sine or cosine returns to its original form after two applications.
  • Keep the same symbol I throughout and add C once at the end.

Before calculating

  1. Apply integration by parts twice, watching the signs.
  2. Move the multiple of I to the other side and divide by its coefficient.

A complete example, step by step

I=∫exsin⁡(2x) dxI=\int e^x\sin(2x)\,dx
  1. Choose u=sin(2x) and dv=eˣ dx; the derivative of u includes a factor 2.

    du=2cos⁡(2x) dx,v=exdu=2\cos(2x)\,dx,\quad v=e^x
  2. Apply the formula and call the remaining integral J.

    I=exsin⁡(2x)−2J,J=∫excos⁡(2x) dxI=e^x\sin(2x)-2J,\qquad J=\int e^x\cos(2x)\,dx
  3. Integrate J by parts again. The cosine derivative has a minus sign.

    J=excos⁡(2x)+2IJ=e^x\cos(2x)+2I
  4. Substitute J into the first equation. The −2 multiplies every term.

    I=exsin⁡(2x)−2excos⁡(2x)−4II=e^x\sin(2x)-2e^x\cos(2x)-4I
  5. Add 4I to both sides and divide by 5.

    I=ex5(sin⁡(2x)−2cos⁡(2x))+CI=\frac{e^x}{5}\bigl(\sin(2x)-2\cos(2x)\bigr)+C

Check the result and domain

The product rule produces cancelling terms and recovers eˣ sin(2x). The formula is valid for all real x.

F′(x)=ex5 [sin⁡(2x)−2cos⁡(2x)+2cos⁡(2x)+4sin⁡(2x)]=exsin⁡(2x)F'(x)=\frac{e^x}{5}\,[\sin(2x)-2\cos(2x)+2\cos(2x)+4\sin(2x)]=e^x\sin(2x)
Load this example in the calculator

Now try it yourself

Solve on paper before opening the hint or answer. These are self-assessment activities; to check a typed answer, open Learn.

EXERCISE 1∫excos⁡x dx\int e^x\cos x\,dx
Show a hint

The integral recurs after two applications.

Check my resultex2(cos⁡x+sin⁡x)+C\frac{e^x}{2}(\cos x+\sin x)+C
EXERCISE 2∫e2xsin⁡x dx\int e^{2x}\sin x\,dx
Show a hint

The primitive of e^(2x) includes 1/2.

Check my resulte2x5(2sin⁡x−cos⁡x)+C\frac{e^{2x}}5(2\sin x-\cos x)+C
EXERCISE 3∫exsin⁡(3x) dx\int e^x\sin(3x)\,dx
Show a hint

Closing the cycle produces the coefficient 1+3².

Check my resultex10(sin⁡(3x)−3cos⁡(3x))+C\frac{e^x}{10}(\sin(3x)-3\cos(3x))+C
Continue with interactive practice

Connect with other methods

View all cases in this familyPractice this method