A14 · Lesson 18 · The fundamental theorem of calculus
Why integrating and differentiating undo each other
A capacitor's voltage is the running integral of its current divided by C; its current is C times the derivative of its voltage. That the two descriptions agree is the fundamental theorem of calculus, and with the Riemann integral now defined carefully it can be proved, with its conditions spelled out. The accumulated integral of any integrable function is continuous, even if the function jumps; it's differentiable wherever the function is continuous; and at such points its derivative gives the function back. A step in current makes a kink in voltage, never a jump.
- The solid curve is ; the dashed one is its running integral .
- At the marked x, the slope of F (readout) equals the height of f: .
- Raise k: f oscillates faster, and F gets smaller, since a fast oscillation cancels itself in the integral. Its slope is still exactly f.
Predict
, where u is the unit step at t = 1. What does F look like?
A ramp starting at x = 1: continuous everywhere, differentiable everywhere except at 1, where its slope jumps from 0 to 1. Integration smooths: a jump in f becomes a corner in F. A capacitor charged by a step of current shows exactly this.
Name it
The fundamental theorem
Let f be integrable on [a, b] and .
- F is continuous; in fact with .
- If f is continuous at c, then F is differentiable at c and .
- If G is any function with G′ = f on [a, b] (and f integrable), then
Tools that follow
- Substitution: .
- Integration by parts: .
- Variable limits (Leibniz): .
- Mean value for integrals: a continuous f takes its average value somewhere in [a, b].
In circuits
is continuous whenever the current is bounded: a capacitor's voltage can't jump unless an impulse of current flows. The same holds for an inductor's current.
Worked example
Find at x = 1.
Show the solution
- Use the Leibniz form. The derivative is
- Put in x = 1.
- Check directly. The integral is , whose derivative is , the same.
Answer the derivative at x = 1 is .
Worked example
A 10 µF capacitor at 0 V is charged by mA. What's its voltage at 1 ms?
Show the solution
- Integrate the current. With τ = 0.5 ms,
- Evaluate the integral.
- Put in the numbers.
Answer the capacitor is at 86.5 mV after 1 ms.
Worked example
Find at x = 1.
Show the solution
- Split at 0.
- Differentiate each piece. By the fundamental theorem and the chain rule, the derivative is
- Put in x = 1.
- Why this works. The integrand has no elementary antiderivative, yet the derivative of the integral is exact: the fundamental theorem only needs the integrand to be continuous.
Answer the derivative at x = 1 is .
Check
What's at x = 1.5?
Check
What's ?
Check
What's the average value of on [0, 3]?
Check
A 47 µF capacitor at 0 V is charged by mA with τ = 0.2 ms. What's its voltage at t = 1 ms?
Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.
Check
2 on the interval. How much can change when x moves by 0.01?
Check
f is the square wave that's 1 on [0, 1) and −1 on [1, 2). Where is differentiable on (0, 2)?
Check
.
(a)
What is F′(x) at x = 2?
(b)
What is F(x) itself?
Check
.
Step 1
What is it?
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
What is the average value of on [0, b]?
Explain why
Why can't a capacitor's voltage jump when a finite current flows, even if the current itself jumps?
The voltage is plus times the integral of the current. By the fundamental theorem, the running integral of a bounded function is continuous, indeed Lipschitz: over a time Δt it can change by at most , which goes to zero as Δt does. So however abruptly the current changes, the voltage changes continuously; a jump in current only puts a corner in the voltage, where its slope changes. A voltage jump would need the integral to change by a finite amount in zero time, which takes an infinite current: an impulse.
Practice
Keep practicing
9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.