A5 · Lesson 41 · Integrals as accumulation
Adding up a rate over time
Current is the rate at which charge flows. If you know the current at every moment while a capacitor charges, how much charge ended up on it? When the current is steady it's just current times time. When the current changes, which it almost always does, you need to add up the charge moment by moment. That adding up is an integral, and it turns out to be an area.
Play
- The yellow curve is the charging current , in mA. The shaded area under it, from 0 to , is the charge delivered so far.
- The blue curve records that area as moves: the accumulated charge , in µC.
- Slide out to the end. Does the charge keep growing forever, or level off? At what value?
Predict
The current starts at and decays with time constant . What total charge flows, from to forever?
, a finite amount. The current never reaches zero, but it shrinks so fast that the tail adds less and less. Read it off the sim: with 8 mA and 1 ms, the charge levels off at 8 µC. That's exactly what 8 mA flowing steadily for 1 ms would deliver, a neat property of the exponential.
Name it
The integral is the area under the curve
If a current is steady for a time , the charge is : on a graph of against , the area of a rectangle. When varies, chop the time into thin slices, treat the current as steady in each, and add up the rectangles:
The thinner the slices, the better the approximation, and in the limit the sum becomes the definite integral:
read "the integral of from 0 to ". The is a stretched S for "sum", and stands for the thin slice. Its value is the area under the curve between the limits.
Units multiply. Area on a graph of amps against seconds is in amp-seconds, which is coulombs. Every integral works this way:
| Integrate | over time, to get |
|---|---|
| current, A | charge, C |
| power, W | energy, J |
| velocity, m/s | distance, m |
Signed area. Area below the axis counts as negative: current flowing the other way removes charge. Over one full cycle, a sine wave's positive and negative halves cancel, so .
Estimating from data. Given readings at equal steps , add them and multiply by : the left-hand sum uses each slice's first reading. Averaging each slice's two ends, the trapezoid rule, is usually much more accurate.
Worked example
A current rises as mA for 2 s. How much charge passes?
Show the solution
- Find the shape. The area under is a triangle with base 2 s and height 6 mA.
- Area.
Answer 6 mC passes.
Worked example
Estimate with left and right sums of four slices.
Show the solution
- Left sum. With width 0.5, it uses :
- Right sum. It uses :
- Compare with the exact value. The exact value, , lies between them, as it must for a rising function.
Answer the left sum is 1.75 and the right sum is 3.75.
Worked example
A current ramps as A for 3 s and then holds at 6 A for 2 s. How much charge passes?
Show the solution
- The ramp. Charge is the area under , and the ramp is a triangle:
- The hold. It's a rectangle:
- Total. The total is 21 C, an average of A over the 5 s.
Answer 21 C passes.
Check
A steady current of 19 mA flows for 4 s. How much charge flows?
Write units the way you normally would: 1.5 C, 1500 mC and 0.0015 kC are the same answer.
Check
A current ramps steadily from 0 to 8 mA over 2 ms. How much charge flows in that time, in µC?
Write units the way you normally would: 1.5 µC, 1500 nC and 0.0015 mC are the same answer.
Check
Estimate with a left-hand sum of four slices of width 1.
Check
What is , over exactly one period?
Check
A current ramps steadily from 0 to 2 A over 1 s, then holds at 2 A for 4 s.
(a)
How much charge passes during the ramp?
Write units the way you normally would: 1.5 C, 1500 mC and 0.0015 kC are the same answer.
(b)
How much in total?
(c)
What is the average current over the whole time?
Check
A current rises as . Find the charge it delivers from 0 to .
Step 1
Write an antiderivative of in the variable . (Use as a variable.)
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
Evaluate it from 0 to .
Explain why
Why does the area under a graph of current against time equal the charge that flowed?
Over a very short time the current is nearly constant, so the charge in that moment is current times the short time, which is the area of a thin rectangle under the curve. The total charge is the sum of all those small amounts, which is the sum of all the thin rectangles, and as they get thinner that sum becomes exactly the area under the curve. The units agree: amps times seconds is coulombs.
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.