Lite / Engineering Complex Systems / Week 6
Definite integrals, exactly
A thousand thin strips give 14.666 m. A million give 14.6666… Is there a way to get the exact answer without adding forever?
Why should I care?
Exact integrals are the benchmark for every numerical method and the fast route to totals when the rate is a formula: the distance a planned motion covers, the charge in a pulse, the work to stretch a spring.
- Find antiderivatives of polynomials with ∫tⁿ dt = tⁿ⁺¹/(n + 1).
- Evaluate definite integrals as F(b) − F(a), with units.
- Interpret negative area as a quantity flowing the other way.
Predict
What is ∫₀² 3t² dt?
- 6
- 8
- 12
- 24
Guess first, then reveal
An antiderivative of 3t² is t³ (check: d/dt t³ = 3t²). So the integral is 2³ − 0³ = 8.
Discover
Choose the spring force F(x) = 200x and the midpoint rule: compare the estimate with the exact value even for n = 1. Why is it exact? Then choose the drone climb rate with n = 64 and compare with the exact 14.667 m from the antiderivative x³/6 + x.
What the interactive shows (text version)
The accumulator shows sums converging to the exact integral. For the spring force 200x the midpoint rule is exact at any n because the curve is a straight line. For the drone, 64 midpoint strips give 14.6657 m against the exact 14.6667 m.
Understand
Antiderivatives
F is an antiderivative of f if F′ = f. Reverse the power rule: ∫tⁿ dt = tⁿ⁺¹/(n + 1) + C for n ≠ −1. Constants and sums carry through: ∫(4t³ + 2t + 5) dt = t⁴ + t² + 5t + C. Also ∫e^(kt) dt = e^(kt)/k and ∫cos t dt = sin t.
Evaluating F(b) − F(a)
∫ₐᵇ f(t) dt = F(b) − F(a), written [F(t)]ₐᵇ. The constant C cancels. For the drone: ∫₀⁴ (0.5t² + 1) dt = [t³/6 + t]₀⁴ = 64/6 + 4 = 14.667 m, the exact limit of last lesson's sums.
Signed area
Area below the axis counts as negative. ∫ of a velocity that goes negative gives displacement (net change in position), not total distance travelled. For distance, integrate |v| by splitting at the zeros. Units still multiply: A × s = C, W × s = J.
Explain it another way
Intuitive
Integrating undoes differentiating. If you know how fast something changes, the antiderivative is the 'total so far' function, and subtracting its value at the start from its value at the end gives what accumulated in between.
Technical
∫ₐᵇ f dt = F(b) − F(a) for any antiderivative F of a continuous f. ∫ₐᵇ = −∫ᵇₐ, and ∫ₐᵃ = 0.
Mathematical
Simpson's rule ((b − a)/6)·[f(a) + 4f((a + b)/2) + f(b)] is exact for every cubic, which makes it a handy independent check on polynomial integrals.
Applied
Motion profiles for robots are often planned as polynomials precisely because their integrals (distance) and derivatives (velocity, acceleration) are exact and cheap to evaluate on a microcontroller.
Derivation: ∫₀ᴮ t² dt from a Riemann sum
Right sum with n strips: Δt = B/n and tᵢ = iB/n for i = 1 … n.
Sum: Σ (iB/n)²·(B/n) = (B³/n³)·Σ i².
Use the formula Σᵢ₌₁ⁿ i² = n(n + 1)(2n + 1)/6.
So the sum = (B³/6)·(n + 1)(2n + 1)/n² = (B³/6)·(2 + 3/n + 1/n²).
As n → ∞ the 1/n terms vanish: ∫₀ᴮ t² dt = B³/3. That matches the antiderivative t³/3 evaluated from 0 to B.
Worked example 1
A current I(t) = 2t + 1 A flows from t = 1 s to t = 3 s. How much charge passes?
Q = ∫₁³ (2t + 1) dt = [t² + t]₁³ = (9 + 3) − (1 + 1) = 10 C.
Worked example 2
v(t) = 4 − 2t m/s from 0 to 3 s. Find the displacement and the distance travelled.
Displacement = [4t − t²]₀³ = 12 − 9 = 3 m. v changes sign at t = 2: 0–2 s gives 4 m forward, 2–3 s gives −1 m. Distance = 4 + 1 = 5 m.
Common mix-ups
∫ t² dt = 2t.
✓ That is the derivative. The antiderivative raises the power: t³/3.The integral of velocity is always the distance travelled.
✓ It is the displacement. For distance, integrate the speed |v|.
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 planned joint motion has angular velocity ω(t) = 6t − 3t² rad/s for 0 ≤ t ≤ 2 s. How far does the joint turn? Check with the Riemann lab idea (midpoint, 4 strips) by hand.
Reflect
Why does the constant C disappear in a definite 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. - MIT OpenCourseWare 18.01SC Single Variable Calculus
Free university course notes, lectures and problem sets for single-variable calculus.