Lite / Engineering Complex Systems / Week 7
Work, charge and energy as integrals
Stretching a spring gets harder the further you go. How much energy have you stored when it is 30 cm long? Force times distance fails: the force keeps changing.
Why should I care?
Product formulas (W = F·d, Q = I·t, E = P·t) only work when the rate is constant. Real springs, discharging capacitors and varying motor loads need the integral, and the integral is what sizing a battery, a spring or a fuse actually rests on.
- Compute work as W = ∫F dx for a varying force.
- Compute charge as Q = ∫I dt and energy as E = ∫P dt, with units.
- Recognise when a simple product suffices and when an integral is needed.
Predict
A spring with k = 200 N/m is stretched from 0 to 0.3 m. The final force is 60 N. How much work is done?
- 18 J (60 N × 0.3 m)
- 9 J
- 60 J
- 0.3 J
Guess first, then reveal
The force rises from 0 to 60 N, so the area under F = 200x is a triangle: ½ × 0.3 × 60 = 9 J. As an integral, ∫₀^0.3 200x dx = [100x²] = 9 J. Using the final force overcounts by double.
Discover
Choose the spring force with the trapezoid rule and n = 1: why is even one trapezoid exact? Then choose the discharge current I = 3e^(−t/2) and slide b to the end: how much charge has flowed by 6 s, and how close is it to the 6 C total for all time?
What the interactive shows (text version)
In the accumulator, the spring force 200x is a straight line, so one trapezoid gives the exact work of 9 J at 0.3 m. For the discharge current 3e^(−t/2), the running charge total rises steeply then levels off towards 6 C, reaching about 5.70 C by 6 s.
Understand
Work from a varying force
W = ∫ F dx: force times a small displacement, added up. For a spring F = kx, W = ½kx², the energy stored. A product W = F·d is only right if F is constant; otherwise use the area under the force–displacement graph, in N × m = J.
Charge from a varying current
Q = ∫ I dt. A discharging capacitor's current I = I₀e^(−t/τ) delivers Q = I₀τ(1 − e^(−t/τ)), approaching I₀τ in total. For I₀ = 3 A and τ = 2 s that is 6 C, of which 95% has flowed by t = 3τ = 6 s.
Energy from a varying power
E = ∫ P dt. A motor drawing 20 + 15·sin t watts for 6 s uses [20t − 15cos t]₀⁶ = 120 − 15cos 6 + 15 ≈ 120.6 J. Units: W × s = J; W × h = Wh = 3600 J. Battery capacities are given in Wh or mAh (charge, which becomes energy when multiplied by voltage).
Explain it another way
Intuitive
Anything whose rate changes is totalled the same way: chop into small pieces where the rate is nearly constant, multiply, add. Spring work, battery drain and water through a meter are one idea.
Technical
W = ∫F·dx, Q = ∫I dt, E = ∫P dt = ∫V·I dt. For exponentials, ∫₀ᵗ e^(−s/τ) ds = τ(1 − e^(−t/τ)).
Mathematical
Spring: ∫₀ˣ ks ds = ½kx². The quadratic grows faster than the force, which is why doubling a spring's stretch stores four times the energy.
Applied
A catapult or bow is a spring energy store: ½kx² at full draw. Robot designers use the same integral to size the spring in a jumping robot's legs.
Worked example 1
A capacitor current I = 3e^(−t/2) A. How much charge flows in the first 2 s?
Q = ∫₀² 3e^(−t/2) dt = 3 × 2 × (1 − e⁻¹) = 6 × 0.632 = 3.79 C.
Common mix-ups
Work = final force × distance.
✓ Only for a constant force. A varying force needs the area under its graph.mAh measures energy.
✓ mAh measures charge. Multiply by the voltage to get energy in mWh.
Practice
Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.
Apply it
A robot's jumping leg uses a spring of k = 800 N/m compressed 0.1 m. How much energy is stored? If all of it lifted a 0.5 kg robot, how high could it jump (E = mgh)? Name two reasons the real jump will be lower.
Reflect
When can you use 'rate × time' directly, and when do you need an integral?
Write your answer on paper or in your own notes. Lite never stores what you write.
Go further
- OpenStax Calculus Volume 1 (free, open textbook)
A complete first-year calculus text with worked examples and exercises, free to read online.