Sub topic 16
Variable Acceleration with Differentiation and Integration
This chapter covers motion where acceleration changes with time, position or velocity. It assumes you know the three equations of uniformly accelerated motion, the slope and area rules for motion graphs, and the basic derivative and integral of a power of t. Those rules are enough for NEET.
Why the standard equations fail
The equations v = u + at, s = ut + ½at² and v² = u² + 2as are derived by assuming a is constant. If a changes, they give wrong answers. Calculus replaces them with two operations that you already know from graphs.
- Slope of a graph becomes a derivative.
- Area under a graph becomes a definite integral.
| Quantity | Obtained by differentiating | Obtained by integrating |
|---|---|---|
| Velocity v | v = dx/dt | v = ∫ a dt |
| Acceleration a | a = dv/dt = d²x/dt² | a = ∫ j dt (j is the rate of change of acceleration) |
| Position x | not applicable | x = ∫ v dt |
Case 1: position given as a function of time
When x(t) is given, differentiate. Suppose x = 2t³ − 9t² + 12t + 5, with x 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. Then t² − 3t + 2 = 0, so t = 1 s or t = 2 s.
- Acceleration is zero when 12t − 18 = 0, so t = 1.5 s. At that instant the velocity is 6(2.25) − 27 + 12 = −1.5 m/s. Zero acceleration does not mean zero velocity.
The particle moves forward until t = 1 s, reverses, and moves backward between t = 1 s and t = 2 s. It then moves forward again.
import sympy as sp
t = sp.symbols("t")
x = 2*t**3 - 9*t**2 + 12*t + 5
v = sp.diff(x, t)
a = sp.diff(v, t)
print(v) # 6*t**2 - 18*t + 12
print(a) # 12*t - 18
print(sp.solve(v, t)) # [1, 2]
print(sp.solve(a, t)) # [3/2]
print(v.subs(t, sp.Rational(3, 2))) # -3/2Case 2: acceleration given as a function of time
When a(t) is given, integrate. You also need initial conditions, because an indefinite integral leaves an unknown constant.
Suppose a = 6t m/s², with v = 2 m/s and x = 0 at t = 0.
- v = ∫ 6t dt = 3t² + C₁. Since v(0) = 2, C₁ = 2, so v = 3t² + 2.
- x = ∫ (3t² + 2) dt = t³ + 2t + C₂. Since x(0) = 0, C₂ = 0, so x = t³ + 2t.
Using definite integrals avoids the constants. The change in velocity from t₁ to t₂ is ∫ a dt between those limits, which is the area under the a-t graph.
import sympy as sp
t = sp.symbols("t")
a = 6*t
u = 2 # velocity at t = 0 in m/s
v = u + sp.integrate(a, (t, 0, t))
x = sp.integrate(v, (t, 0, t))
print(v) # 3*t**2 + 2
print(x) # t**3 + 2*tCase 3: acceleration given as a function of position
Here a depends on x, so you cannot integrate with respect to t directly. Use the chain rule:
a = dv/dt = (dv/dx)(dx/dt) = v dv/dx
Rearrange to v dv = a dx and integrate both sides:
∫ v dv = ∫ a(x) dx, so ½v² − ½u² = ∫ a dx
This is the work-energy idea in kinematic form. For constant a it reduces to v² = u² + 2as.
Example: a = −kx with k = 4 s⁻², and the particle has v = 0 at x = 3 m. Then ½v² = ∫ from 3 to x of (−4x) dx = −2(x² − 9), so v² = 4(9 − x²). At x = 0 the speed is √36 = 6 m/s.
import math
k = 4.0
x0 = 3.0 # starting position, at rest
v_at_origin = math.sqrt(k * (x0**2 - 0**2))
print(v_at_origin) # 6.0Case 4: acceleration given as a function of velocity
Use a = dv/dt directly when a depends on v and time is wanted. If distance is wanted, use a = v dv/dx.
Example: a = −kv with k = 0.5 s⁻¹ and initial speed 10 m/s.
- Velocity against time: dv/v = −k dt, so v = 10e^(−0.5t).
- Velocity against distance: v dv/dx = −kv, so dv = −k dx. Then v = 10 − 0.5x, and the particle stops after 20 m.
The particle takes infinite time to stop, yet it covers a finite distance. Both results are correct.
Average values over a variable motion
Average velocity is total displacement divided by total time. For variable motion it is not the mean of the initial and final velocities. Average velocity is:
v_avg = (∫ v dt) / (t₂ − t₁)
Average speed uses the total path length. If the velocity changes sign, split the integral at the turning point and add the absolute values.
For the particle in Case 1, between t = 0 and t = 2 s:
- x(0) = 5 m, x(1) = 10 m, x(2) = 9 m.
- Displacement = 9 − 5 = 4 m, so average velocity = 2 m/s.
- Distance = 5 + 1 = 6 m, so average speed = 3 m/s.
import sympy as sp
t = sp.symbols("t")
x = 2*t**3 - 9*t**2 + 12*t + 5
x0, x1, x2 = (x.subs(t, n) for n in (0, 1, 2))
displacement = x2 - x0
distance = abs(x1 - x0) + abs(x2 - x1) # turning point at t = 1
print(displacement / 2) # 2
print(distance / 2) # 3Which method to use
| Given | Want | Method |
|---|---|---|
| x(t) | v or a | Differentiate |
| a(t) | v or x | Integrate, apply initial conditions |
| a(x) | v at a position | v dv = a dx, integrate over x |
| a(v) | v at a time | dv/dt = a(v), separate variables |
| a(v) | distance | v dv/dx = a(v), separate variables |
Common errors
- Forgetting the constant of integration, or using the wrong initial condition.
- Applying v = u + at when a depends on t.
- Treating the integral of v as distance. It is displacement. Split at every point where v = 0.
- Substituting a value of t before differentiating.
- Confusing a = 0 with v = 0, or the maximum of x with the maximum of v. The maximum of x occurs where v = 0. The maximum of v occurs where a = 0 and a changes sign.
Exercise
A particle moves with v = 3t² − 12t + 9 (SI units) and starts at x = 0 at t = 0. Find the displacement and the distance travelled between t = 0 and t = 4 s.
Show answer
Integrate v to get x = t³ − 6t² + 9t. Then v = 3(t − 1)(t − 3), so the velocity is zero at t = 1 s and t = 3 s. The positions are x(0) = 0, x(1) = 4 m, x(3) = 0 and x(4) = 4 m. The displacement is 4 m. The distance is 4 + 4 + 4 = 12 m.
Exercise
A particle has a = 2x (SI units) and v = 0 at x = 0... What does v² = ∫2a dx predict if it starts at rest at x = 1 m and moves to x = 3 m?
Show answer
Use ½v² = ∫ a dx from 1 to 3 = ∫ 2x dx = [x²] from 1 to 3 = 9 − 1 = 8. So v² = 16 and v = 4 m/s.