A6 · Lesson 1 · Integration by parts
The product rule, run backwards
How much charge does a current pulse deliver? What's the energy in a decaying oscillation? Integrals of products, a polynomial times an exponential, an exponential times a sine, show up in every transient. Substitution doesn't crack them. Integration by parts does: it trades the integral you have for one that's easier, by running the product rule in reverse.
- The curve is the pulse with = 1. The shaded area up to is the charge delivered so far.
- Move out to large values. What total does the area approach?
- Compare the readout with the formula from integration by parts, .
Predict
What is ?
- By parts with and : . From 0 to ∞ that's . A pulse that rises and falls this way delivers exactly of charge, the same as a current held for one time constant.
Name it
The formula
From the product rule, . Integrate both sides and rearrange:
and for definite integrals, .
Choosing . Pick to be the factor that gets simpler when differentiated, and the factor you can integrate. A common guide, in order of preference for : logarithms, inverse trig, algebraic (powers of ), trig, exponentials.
Patterns
A power times an exponential or a sine: = the power. Each round lowers the power by one. needs two rounds: .
Logarithms: , . So .
An exponential times a sine (the "boomerang"): parts twice brings the original integral back, and you solve for it:
With complex exponentials (A3, and lesson 43 here) it takes one line: it's the real part of .
Tabular shortcut: for times something you can integrate repeatedly, list derivatives of down one column and integrals of the other down the next, then multiply diagonally with alternating signs.
Worked example
Find .
Show the solution
- First round of parts. Take and :
- Second round, on . Take :
- Put them together.
- Check by differentiating.
Answer .
Worked example
Find .
Show the solution
- Choose the parts. Take and , so and :
- Evaluate both parts.
Answer .
Worked example
Find .
Show the solution
- Integrate by parts twice. Use the exponential as both times, and call the integral :
- Solve for . The integral comes back on the right, so solve for it:
- Evaluate from 0 to .
Answer .
Check
Find (constant zero).
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Check
A current pulse is mA with = 2 ms. How much charge does it deliver in all, in µC?
Write units the way you normally would: 1.5 µC, 1500 nC and 0.0015 mC are the same answer.
Check
Evaluate .
Check
Evaluate .
Check
Find (constant zero).
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Check
Integrate by parts.
(a)
(b)
Check
Integrate by parts with and .
Step 1
What is ?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
. Finish: what is ?
Explain why
How do you decide which factor to call in integration by parts?
Choose so that differentiating it makes the problem simpler, and choose as something you can integrate. A power of makes a good because each derivative lowers the power until it disappears, while exponentials and sines are easy to integrate and don't get worse. A logarithm is a good because its derivative, , is simpler than any antiderivative of it. If the new integral is harder than the old one, swap the choice.
Practice
Keep practicing
8 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.