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.

v(t)=v0+at,s(t)=s0+v0t+12at2v(t)=v_0+at,\qquad s(t)=s_0+v_0t+\frac12at^2
Worked example

At t=0t=0 the formulas give v0v_0 and s0s_0. Differentiating position twice returns aa.

Maths prerequisite map ↗

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.

See the mathematics
01234-0.52.886.259.6213t (s)s (m)
01234-0.52.886.259.6213t (s)s (m)
s(t)=t+12t2(a=1,  v0=1,  s0=0)s(t)=t+\frac12t^2\quad(a=1,\;v_0=1,\;s_0=0)
s(t)=t+12t2a=1,  v0=1,  s0=0\begin{gathered}s(t)=t+\frac12t^2\\a=1,\;v_0=1,\;s_0=0\end{gathered}
Starter reference. Illustrative motion with acceleration 1 m/s², initial velocity 1 m/s and initial position 0 m. Horizontal: time (s); vertical: position (m).

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.

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.

Compare with the worked example

Executed from the published Python during the site build. Your own run appears above. Build environment ↗

Time when example velocity is zero
[52]\left[ \frac{5}{2}\right]
Velocity
at+v0a t + v_{0}
Position
at22+s0+tv0\frac{a t^{2}}{2} + s_{0} + t v_{0}
Acceleration residual
00
Initial velocity
v0v_{0}
Initial position
s0s_{0}
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?

Return to the editor

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?

Choose an answer
Need a hint?
Hint 1

Count how many integrations occur.

Hint 2

Each independent constant needs a corresponding condition.

Your notesNotes save in this browser when storage is available.