Build mathematical modelsLesson 38 of 48 · 8 min
Derive motion from an acceleration
Integrate a constant acceleration model and verify its initial conditions.
Maths refresher: Position, velocity and acceleration
Velocity is the derivative of position with respect to time. Acceleration is the derivative of velocity.
At the formulas give and . Differentiating position twice returns .
A model relates mathematical quantities under explicit assumptions. Constant acceleration means velocity changes linearly with time and position changes quadratically. Integrating introduces constants that are fixed by initial velocity and position.
Use separate symbols for time, acceleration and initial conditions. The derivation below constructs velocity and position, then checks both the second derivative and values at time zero. Those checks establish the mathematical consistency of the chosen model.
Units remain part of the interpretation: time in seconds, position in metres, velocity in metres per second and acceleration in metres per second squared. Plain symbols do not enforce dimensional consistency automatically. Changing acceleration, drag, collisions or coordinate conventions would change the model.
Does integrating an acceleration determine the initial position without extra information?
Write a prediction (optional)
Exact derivation of an authored motion model
Select Run Python with the code unchanged.
Your saved draft is open. To use the published code, select Restore example in Tools. Use Recover draft to bring back your code.
Tools
About Python
Python and the course packages can load while you read. Each run starts with fresh user variables; imported modules stay loaded. Stop replaces the worker. Runtime details ↗
Ctrl+Enter or ⌘+Enter runs Python.
Execution error
Technical error details
Your result
Python text output
Compare with the worked example
Executed from the published Python during the site build. Your own run appears above. Build environment ↗
Worked text output
Time when example velocity is zero: [5/2] Velocity: a*t + v0 Position: a*t**2/2 + s0 + t*v0 Acceleration residual: 0 Initial velocity: v0 Initial position: s0
Read the starter result
Acceleration residual checks the derived position. Compare Initial velocity and Initial position with the symbolic conditions, then read the separate zero-velocity time for the invented parameters.
Edit and compare
Replace the invented inputs parameters = {s0:0, v0:5, a:-2} with parameters = {s0:0, v0:6, a:-3}. Select Run Python and compare Time when example velocity is zero across runs. Which result describes a time after the model starts?
Scope. The model assumes constant acceleration and consistent units. The symbolic checks do not establish that a real trajectory follows it.
Try a fresh case
Which information fixes both constants for this second-order position model?
Need a hint?
Hint 1
Count how many integrations occur.
Hint 2
Each independent constant needs a corresponding condition.