Sub topic 7
Kinematics with calculus: derivatives and integrals
This chapter assumes you can differentiate and integrate powers of t, and that you know the definitions of velocity and acceleration from earlier chapters. Calculus lets you handle motion where acceleration is not constant, so the equations of constant acceleration no longer apply.
The working model
Velocity is the rate of change of position. Acceleration is the rate of change of velocity. Written with derivatives:
- v = dx/dt
- a = dv/dt = d²x/dt²
Going the other way uses integrals:
- Δx = ∫ v dt, the area under the v-t graph
- Δv = ∫ a dt, the area under the a-t graph
On a graph, the derivative is the slope and the integral is the area. This is why the graph chapter and this one describe the same ideas.
Worked example: from position to acceleration
A particle moves with x(t) = t³ − 6t² + 9t, with x in metres and t in seconds.
- Velocity: v = dx/dt = 3t² − 12t + 9.
- Acceleration: a = dv/dt = 6t − 12.
- The particle is momentarily at rest when v = 0. That gives t² − 4t + 3 = 0, so t = 1 s or t = 3 s.
- At t = 2 s the acceleration is zero, and the velocity is 3(4) − 24 + 9 = −3 m/s.
Velocity is negative between t = 1 s and t = 3 s, so the particle moves backward in that interval.
Worked example: from velocity to displacement
Suppose v(t) = 3t² m/s and x = 0 at t = 0. Then x(t) = ∫ 3t² dt = t³ + C, and C = 0 from the starting condition. At t = 2 s, x = 8 m.
The code below checks this by adding up thin strips under the v-t curve. Each strip has width dt and height v at its midpoint.
def v(t):
return 3 * t**2 # v(t) = 3t^2 in m/s
n = 1000
dt = 2 / n
# midpoint sum approximates the area under the v-t curve from t = 0 to t = 2
x = sum(v((i + 0.5) * dt) * dt for i in range(n))
print(round(x, 3)) # 8.0, matching the integral of 3t^2 from 0 to 2The numerical sum and the exact integral agree. An integral is the limit of such a sum as the strips become infinitely thin.
Displacement versus distance
A definite integral of v gives displacement, not distance. When v changes sign, the area below the axis counts as negative.
To find distance, split the integral at every time where v = 0 and add the absolute values of the pieces. For the first example, v changes sign at t = 1 s and t = 3 s, so distance over 0 to 4 s needs three separate integrals.
Constants of integration
An indefinite integral always leaves a constant. Fix it with a known condition, such as x = x₀ and v = v₀ at t = 0. Alternatively, use a definite integral with limits:
- v(t) = v₀ + ∫₀ᵗ a dt
- x(t) = x₀ + ∫₀ᵗ v dt
Skipping the initial condition gives an answer that is correct in shape but wrong in value.
Checks before you finish
- Units: the derivative of metres with respect to seconds is m/s, and the integral of m/s² over s is m/s.
- Sign: positive velocity means motion toward increasing x.
- Limiting case: set the acceleration to a constant and confirm that you recover v = u + at.
Exercise
A particle has v(t) = 4t − t² in m/s, and starts at x = 0. (a) Find its acceleration at t = 1 s. (b) Find its displacement from t = 0 to t = 6 s. (c) Find the distance travelled in the same interval.
Show answer
(a) a = dv/dt = 4 − 2t, so a(1) = 2 m/s². (b) x = ∫₀⁶ (4t − t²) dt = [2t² − t³/3] from 0 to 6 = 72 − 72 = 0 m. (c) v = 0 at t = 0 and t = 4, and v is negative after t = 4. From 0 to 4: 2(16) − 64/3 = 32/3 m. From 4 to 6: the integral is 0 − 32/3 = −32/3 m, so its size is 32/3 m. Distance = 32/3 + 32/3 = 64/3 ≈ 21.3 m.