A5 · Lesson 45 · Integration techniques
Undoing the chain rule and the product rule
Differentiating is mechanical: the rules always work. Integrating is harder, because not every formula has an antiderivative you can write down, and the ones that do often need a trick. For electrical engineering a small toolkit covers nearly everything: substitution, integration by parts, and a couple of identities. Here's that toolkit, each trick tied to the derivative rule it undoes.
Predict
Without integrating, which of these is an antiderivative of ?
. Differentiate it with the chain rule: , exactly the integrand. Recognizing "a function times the derivative of its inside" is the substitution trick, and checking an antiderivative by differentiating it is always allowed and always wise.
Name it
The toolkit
Substitution undoes the chain rule. If the integrand is some times , set equal to the inside:
For , let , so , and the integral is . The most common case in circuits is a linear inside, : .
Integration by parts undoes the product rule. From ,
Choose to be the factor that gets simpler when differentiated. For , take and : the result is .
Identities turn awkward powers into easy terms. The one you'll use most, from A2:
That's why the average of over a cycle is ½, the heart of RMS.
Definite integrals of exponential decays come up in every transient. Two to know:
When nothing works. Many integrals, like , have no formula in ordinary functions. Then you integrate numerically, with the trapezoid rule or better (A6 and A13), or use a named function: is where the error function, erf, comes from.
Energy check. A capacitor charged to discharging through delivers power . Integrating to infinity gives , exactly the energy it stored. Lesson 52 finds the same energy from the work done charging it.
Worked example
Find .
Show the solution
- Substitute. Let , so :
- Check.
Answer .
Worked example
Find .
Show the solution
- Integrate by parts. Take and :
- Check.
Answer .
Worked example
Find .
Show the solution
- Choose the parts. Take and , so and .
- Integrate by parts.
- Evaluate from 0 to .
- Check. Differentiating gives back , which confirms it.
Answer the integral is .
Check
Find an antiderivative of (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
Find an antiderivative of (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
Evaluate .
Check
A 1.5 µF capacitor charged to 12 V discharges through a resistor. Integrating the resistor's power from 0 to ∞, how much energy does the resistor absorb?
Write units the way you normally would: 1.5 J, 1500 mJ and 0.0015 kJ are the same answer.
Check
Evaluate these integrals.
(a)
(b)
(c)
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
Write and finish the integral.
Explain why
Why is it always a good idea to differentiate an antiderivative you've found?
Differentiating is mechanical and reliable, while finding antiderivatives involves choices and tricks where it's easy to slip, like a missing constant factor from a substitution. Since an antiderivative is defined as a function whose derivative is the integrand, differentiating your answer and getting the integrand back proves it right, and getting something else shows exactly what went wrong.
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.