Sub topic 16
Variable acceleration with differentiation and integration
This chapter assumes you know the three equations of uniformly accelerated motion, the slope and area rules for motion graphs, and the basic idea of a derivative as a slope. You also need the power rule for polynomials.
Why the usual equations fail
The equations v = u + at and s = ut + ½at² need constant acceleration. If acceleration changes with time, position or velocity, you go back to the definitions:
- v = dx/dt (velocity is the slope of the position-time graph)
- a = dv/dt = d²x/dt² (acceleration is the slope of the velocity-time graph)
- a = v dv/dx (useful when acceleration is given as a function of position)
Going the other way uses integration. Displacement is the area under the v-t graph, and change in velocity is the area under the a-t graph.
Worked example: position given as a function of time
A particle moves along a line with x = 2t³ − 9t² + 12t + 1, where x is in metres and t in seconds.
- Velocity: v = dx/dt = 6t² − 18t + 12.
- Acceleration: a = dv/dt = 12t − 18.
- The particle is momentarily at rest when v = 0. This gives t² − 3t + 2 = 0, so t = 1 s or t = 2 s.
- At t = 1 s, a = −6 m/s². At t = 2 s, a = +6 m/s².
The particle reverses direction at both instants, so the distance travelled differs from the displacement. Always check for a sign change in v before finding distance.
Worked example: acceleration given as a function of time
Let a = 6t m/s², with v = 0 and x = 0 at t = 0. Integrate once for velocity, then again for position. The constants of integration come from the initial conditions.
import sympy as sp
t = sp.symbols("t")
a = 6 * t
v = sp.integrate(a, t) # constant is 0 because v(0) = 0
x = sp.integrate(v, t) # constant is 0 because x(0) = 0
print(v, x) # 3*t**2 t**3
print(x.subs(t, 2)) # 8
print(sp.integrate(a, (t, 0, 2))) # 12, the change in velocity from 0 to 2 sHand calculation agrees: v = 3t², x = t³, so at t = 2 s the position is 8 m and the velocity is 12 m/s.
Acceleration as a function of position
If a = −kx, you cannot integrate with respect to t directly. Use a = v dv/dx and separate the variables:
∫ v dv = ∫ −kx dx, which gives v²/2 = −kx²/2 + C.
Find C from a known point, for example v = v₀ at x = 0.
Common errors
- Forgetting the constant of integration, or setting it to zero when the initial velocity or position is not zero.
- Using s = ut + ½at² with an acceleration that depends on t.
- Treating the integral of v over time as distance. It gives displacement, so split the integral where v changes sign and add the absolute values.
- Mixing up the variable: a = dv/dt, not dv/dx.
Exercise
A particle has velocity v = 3t² − 12t + 9 m/s and starts at x = 0. Find the time(s) at which it is at rest and its acceleration at the later of those times.
Show answer
Set v = 0: t² − 4t + 3 = 0, so t = 1 s and t = 3 s. Acceleration is a = dv/dt = 6t − 12. At t = 3 s, a = 6 m/s².