Integration by parts in a loop
Integrate by parts twice and the integral you started with comes back. Treat it as an unknown and solve for it.
Level: STEP 2. Uses A-level Mathematics only.
The idea
Integration by parts usually trades an integral for a simpler one. Sometimes, after two rounds, it trades the integral for itself. That looks like going round in a circle, but it is not: the integral reappears with a different coefficient, so you get an equation that you can solve for it.
Example 1: an exponential times a sine
Find
Integrate by parts, differentiating the sine and integrating the exponential:
The new integral is no simpler, so do the same again, still differentiating the trigonometric factor:
Substituting back,
Now appears on both sides with different coefficients, so collect it:
Why it works, and how it fails
The exponential integrates to itself, and the sine differentiates to a cosine and then back to minus a sine. After two steps, both factors are back where they started, apart from a sign. That sign is what makes the coefficient of change, so that the equation can be solved.
The one way to go wrong is to swap roles in the second step. If you integrate the trigonometric factor and differentiate the exponential the second time, you simply undo the first step and arrive at the true but useless statement . Keep the same choice both times.
Example 2: the cube of secant
Find
Write , and integrate (to ) while differentiating (to ):
The loop closes through an identity rather than a second integration by parts. Using ,
So
and
When to reach for it
- A product of an exponential with a sine or cosine.
- Odd powers of , where an identity brings the original integral back.
- Any integration by parts that leaves an integral "of the same kind" as the one you started with. Before giving up, check whether it is a multiple of the original.
Try this
Show that
Hint
Integrate by parts twice, differentiating the cosine each time and integrating . You should reach an equation of the form .
Solution
Let be the integral. Integrating to each time,
Again,
So
which gives , and .
Want more like this? STEP 2 Pure: Practice Paper 1 teaches ideas of this kind in depth, with exercises and a full STEP question. The STEP Starter Pack has all four modules and three practice papers. Or start free with the STEP sample question.