Back to the Electrical Engineering roadmap

Mechanics and Dynamics · Units, coordinates, and one-dimensional motion

Prerequisites: signed arithmetic, equations and graph slopes; review derivatives and definite integrals using the shared Calculus I lessons below. Linear Algebra I is not required for this first mechanics unit. Goals: convert SI units, test dimensions, define motion on a stated axis, distinguish velocity from speed and displacement from distance, derive constant-acceleration equations, identify reversals, and check a numerical time-step estimate against an exact calculation.

Review rates and graph slopes · Review signed accumulation

Units and dimensional consistency

A physical quantity includes a numerical value and a unit. In this unit position is measured in metres (m), time in seconds (s), velocity in m/s and acceleration in m/s². Their dimensions are L, T, LT⁻¹ and LT⁻². Mass will enter dynamics in kilograms (kg); it is not needed for the present motion model. Dimension and unit are different: metres and kilometres have the same dimension but different scale factors. Convert before substituting into a formula that assumes SI values.

Multiply by conversion factors equal to one: 72 km/h × (1000 m/1 km) × (1 h/3600 s)=20 m/s. Every term added in an equation must have the same dimension. In x=x₀+v₀t+½at² all terms have dimension L. The expression x=x₀+v₀+a t is invalid because the last two terms have dimension LT⁻¹. However x=x₀+v₀t+at² passes the dimension test while still having the wrong numerical coefficient for constant acceleration. Dimensional consistency is necessary, not a proof that the model or coefficient is correct.

Choose the axis before interpreting a sign

Model the object as a point moving along a fixed straight axis. State its origin, positive direction and clock; take the initial time as 0. Position x(t) is a signed coordinate, not a distance traveled. Displacement from t₁ to t₂ is Δx=x(t₂)−x(t₁). A negative position means the point lies on the negative side of the chosen origin; it does not by itself say which way the point is moving. A negative displacement means the final coordinate is smaller than the initial one.

Moving only the fixed origin by c gives x′=x−c, leaving Δx, velocity and acceleration unchanged. Reversing the axis gives y=−x, so displacement, velocity and acceleration change sign, while distance and speed stay unchanged. These statements concern a fixed origin shift or an axis reversal; a moving reference frame needs a separate transformation, not this shortcut. In one dimension a signed component represents the vector’s direction along the axis.

Velocity, speed and acceleration

For Δt=t₂−t₁>0, average velocity is Δx/Δt. When x is differentiable, instantaneous velocity is v=dx/dt, the slope of the position graph. Speed is |v| and cannot be negative. Average acceleration is Δv/Δt; when v is differentiable, a=dv/dt=d²x/dt². The slope of a velocity graph is acceleration; its signed area gives displacement. The slope and the area answer different questions.

Negative acceleration is not synonymous with slowing down. Where v≠0, d|v|/dt=sign(v)a, so speed increases when v and a have the same sign and decreases when they have opposite signs. At a reversal v=0 while a may be nonzero; inspect the signs on both sides. A zero slope at one instant need not imply a reversal: x=t³ has v=3t²≥0 on both sides of zero. A zero velocity at an interval endpoint is not an interior change of direction.

Derive the constant-acceleration equations

Assume a is the same constant throughout 0≤t≤T in the chosen frame. Integrating dv/dt=a with v(0)=v₀ gives v(t)=v₀+at. Integrating dx/dt=v₀+at with x(0)=x₀ gives x(t)=x₀+v₀t+½at². Thus Δx=½(v₀+v(T))T. Also (v₀+aT)²−v₀²=2a(v₀T+½aT²), proving v(T)²=v₀²+2aΔx without dividing by v or by a. This squared relation alone loses the sign of v(T); select the sign from the motion, not an automatic positive square root.

Do not replace a variable acceleration by its average and then assume these position formulas remain valid. If the acceleration changes, integrate its actual time dependence or use separate intervals with matching endpoint positions and velocities. In a braking model that specifies staying at rest after stopping, constant negative acceleration must end at the stop; otherwise extending the formula predicts a reversal. Kinematics describes prescribed motion; it has not yet explained which forces produce it.

Distance requires checking every reversal

For continuous motion with piecewise continuous velocity on a finite interval, displacement is ∫v dt while distance is S=∫|v| dt. On an interval with fixed velocity sign, this distance is the absolute endpoint displacement. Split at every interior sign change of v and add those nonnegative lengths; this proves S≥|Δx|. Average speed is S/T, which generally differs from |average velocity|. For the constant-acceleration model with a≠0, test t*=−v₀/a: it is an interior reversal only if 0

Position x (m)x=9/4 mx=−4 m01.54t (s)Velocity v (m/s)+9/4 m−25/4 m01.54t (s)Δx=−4 m · S=17/2 m
Original position–velocity diagram for worked example 2. The horizontal position tangent occurs where v=0. Add signed velocity areas for displacement; add their magnitudes for distance. All axes carry SI units.

Worked examples

  1. Units and a stopping interval: 72 km/h is 20 m/s. With a=−4 m/s² and x₀=0, v=0 occurs at 5 s and x=20·5−2·25=50 m. The velocity stays nonnegative on [0,5], so displacement and distance both equal 50 m. If the same acceleration were explicitly maintained until 6 s, v=−4 m/s and x=48 m, with distance 50+2=52 m. A model that instead stays at rest after 5 s has x=50 m afterward; do not silently extend its braking phase.
  2. Reversal and graph areas: x₀=0, v₀=3 m/s, a=−2 m/s², T=4 s give v(t)=3−2t and numerical SI position x(t)=3t−t². The reversal is t*=3/2 s at x*=9/4 m. The endpoint is −4 m and v(T)=−5 m/s. Distance is 9/4+|−4−9/4|=17/2 m, not 4 m. Average velocity is −1 m/s and average speed is 17/8 m/s. The velocity triangles have signed areas +9/4 m and −25/4 m, exactly matching displacement −4 m.
  3. Variable acceleration needs separate intervals: begin at x₀=−1 m, with v(t)=t m/s for numerical time 0≤t≤2 s, then v=2 m/s for 2≤t≤4 s. The first phase has a=1 m/s², the second a=0; velocity is continuous at 2 s. The velocity area is ½·2·2+2·2=6 m, giving x(4)=5 m. Average velocity is 1.5 m/s. The average acceleration (2−0)/4=0.5 m/s² does not justify a globally constant-acceleration displacement ½·0.5·4²=4 m. The actual area is 6 m.
  4. Signs describe coordinates: at an instant let x=2 m, v=−3 m/s, a=−2 m/s². A fixed origin shift x′=x−10 m gives position −8 m with the same velocity and acceleration. Reversing the original axis to y=−x gives y=−2 m, velocity +3 m/s and acceleration +2 m/s². Speed is 3 m/s in either axis and is increasing, because velocity and acceleration have the same sign. Negative acceleration in the original axis was not slowing down.

Common mistakes and model checks

Keep position, displacement and distance separate. Convert km/h before using seconds. Do not label a signed velocity as a negative speed. Find reversals from a change of sign, not every root alone. Do not use |x(T)−x₀| as distance when direction reverses. Check that average speed ≥ |average velocity| and that every equation is dimensionally homogeneous. Differentiate x to recover v, differentiate v to recover a, and substitute the initial conditions. Endpoint agreement alone does not validate a whole trajectory or constant acceleration.

Practice

  1. Convert 90 km/h to m/s. Explain the units of a t² and why x=v+a t cannot be a position formula.
  2. For x₀=−2 m, v₀=−1 m/s, a=0 and T=4 s, find endpoint, displacement, distance and both averages.
  3. For x₀=0, v₀=2 m/s, a=−1 m/s² and T=5 s, identify any reversal and find distance and average speed.
  4. For x₀=1 m, v₀=−2 m/s, a=1 m/s² and T=4 s, show that returning to the starting position need not mean zero distance.
Fully worked solutions
  1. 90×1000/3600=25 m/s. Since [a]=LT⁻², [at²]=L. Both v and a t have dimension LT⁻¹, so their sum cannot equal a length. A position formula needs appropriate time factors and initial data.
  2. x(4)=−2−4=−6 m; Δx=−4 m. Velocity never changes sign, so S=4 m. Average velocity is −1 m/s and average speed is +1 m/s.
  3. v=2−t vanishes at 2 s inside the interval; x(2)=2 m and x(5)=10−25/2=−5/2 m. Distance is 2+|−5/2−2|=13/2 m. Average speed is (13/2)/5=13/10 m/s, while average velocity is −1/2 m/s.
  4. v=−2+t reverses at 2 s. x(2)=−1 m and x(4)=1 m. Thus Δx=0 but S=|−1−1|+|1−(−1)|=4 m. Average velocity is zero and average speed is 1 m/s. At the turning point acceleration is still 1 m/s² despite zero velocity.

Assessment · Open book · 18 points

Open book: use books, lesson notes, cited readings, calculators, and relevant free software. Explain your own reasoning, assumptions, units, and checks; identify references or software you use. Attempt the questions before opening the answer key. Suggested study time: 40–60 minutes; this is a self-study guide, not a timed restriction.

Use books, notes and relevant free software, but explain your own method, units, model assumptions and checks. The application problem adds 6 points to these 12. Unless explicitly stated otherwise, numerical time is in seconds, position in metres, and polynomial coefficients carry the corresponding SI units. Attempt the questions before revealing the key.

  1. Convert 72 km/h to m/s. Does x=x₀+v₀t+at² pass dimensional analysis, and does that make it the correct constant-acceleration formula? Give a derivation or countercheck. (3)
  2. For x(t)=1+4t−t² on 0≤t≤3, calculate v,a, the reversal, endpoint positions, displacement, distance and both average velocity and average speed. Show the split that makes the distance valid. (6)
  3. Explain the effects of a fixed origin shift x′=x−10 m and an axis reversal y=−x on velocity and speed. Is a negative acceleration necessarily a reduction in speed? Give a signed example. (3)

Application and reasoning · 6 points

An ideal cart has x₀=0, v₀=2 m/s and constant a=−1 m/s² throughout 0≤t≤6 s. A report calls |x(6)−x(0)| its distance and calls its average velocity its average speed. Diagnose both claims using the reversal (2). Compute the correct distance and both averages with units (2). Using only the same two endpoint positions, construct a different trajectory with a different distance and explain why it does not replace the original model when its initial velocity is also known (2).

Complete answer key and scoring rubric
  1. 72 km/h=20 m/s with the conversion factors shown (1). The proposed terms all have dimension L, so the dimension test passes (1). But differentiating gives v=v₀+2at and acceleration 2a; integrating the specified a instead gives the coefficient 1/2, so the proposed formula is generally wrong (1).
  2. v=4−2t m/s and a=−2 m/s² (1). The sign changes at t=2 s (1). Positions are x(0)=1, x(2)=5, x(3)=4 m (1). Displacement is 4−1=3 m (1). Distance is |5−1|+|4−5|=5 m (1). Average velocity is 1 m/s and average speed is 5/3 m/s (1 for both).
  3. A fixed origin shift leaves v and speed unchanged (1). Reversal changes v to −v but leaves |v| unchanged (1). For v=−3 m/s and a=−2 m/s², d|v|/dt=+2 m/s², so speed increases; negative acceleration alone does not imply slowing (1).

Application and reasoning · 6 points

v=2−t changes sign at 2 s; x(2)=2 m, while x(6)=−6 m (1). Thus 6 m is only the magnitude of net displacement, not the full traveled path; a signed average velocity can be negative but average speed cannot (1). Distance is |2−0|+|−6−2|=10 m (1). Average velocity is −6/6=−1 m/s; average speed is 10/6=5/3 m/s (1 for both). The alternative xalt(t)=−t in numerical SI has the same x(0)=0 and x(6)=−6 but constant v=−1 m/s and distance 6 m (1). It contradicts the original initial velocity +2 m/s, so it only shows that endpoints alone are insufficient; it is not a replacement satisfying all of the original data (1).

Scoring: existing questions 12 + application problem 6 = 18 points. Award the stated method and reasoning marks, not only final answers.

Download the one-dimensional motion lab

Download the exact-fraction Python lab

Objective: predict a reversal, compare displacement with distance, and examine time-step error. Install free Python 3 for Windows, macOS or Linux from the official link below. Save the file and open a terminal in its folder. Run the commands below; on Windows use py -3 if python3 is unavailable. No account, institution login, paid license or extra package is needed; it runs offline after installation. Inputs are x₀ in m, v₀ in m/s, a in m/s², T in s. The first three inputs are half-unit values from −4 to 6; T is 0.5 to 6 in half-second steps. Fractions such as -1/2 are accepted.

python3 ee-motion-1d.py 0 2 0 3
python3 ee-motion-1d.py 0 3 -2 4
python3 ee-motion-1d.py 0 1 -1 3
python3 ee-motion-1d.py 2 0 2 2
python3 ee-motion-1d.py 0 0 0 2
python3 ee-motion-1d.py -1/2 1/2 -1/2 3/2

Procedure: state a positive axis and assume the specified constant acceleration throughout [0,T]. Predict the endpoint, velocity sign and any interior t*=−v₀/a before running; handle a=0 separately. Split the distance at an interior reversal. Next compare the 8-step and 16-step midpoint estimates Sₙ=Σ|v((i+1/2)T/n)|T/n with the exact distance. Their signed counterparts Σv(midpoint)T/n equal displacement exactly for this affine velocity. Repeat in the browser alternative below and compare the same outputs.

Expected observations and worked lab answers

The six exact distances are 6,17/2,5/2,4,0,5/16 m. The third run reverses at 1 s at x=1/2 m, ends at −3/2 m with v=−2 m/s, and has average velocity −1/2 m/s but average speed 5/6 m/s. Its 8/16-step distances are 159/64 and 639/256 m, underestimating 5/2 m by 1/64 and 1/256 m. Why can a midpoint estimate miss distance? A time cell straddling v=0 contains both directions, and one midpoint cannot represent both triangular speed areas. Why do some reversing cases have zero error? The reversal may coincide with a cell boundary; |v| is linear within each cell. These errors concern numerical integration, not sensor uncertainty.

Model limits: a point on a straight fixed axis, prescribed acceleration and an ideal clock. There is no force, drag, sensor-noise or measurement-uncertainty model here. Python uses exact fractions and independently checks distance using an antiderivative of |v|; the browser uses floating point, six-decimal display and scaled checks at 1e−9. A real experiment additionally needs instrument calibration, sampling and uncertainty analysis. No physical equipment is required for this virtual activity.

Precise free readings and the next step

Read OpenStax §1.4 first, then §§3.1–3.4 in order: position/displacement, velocity/speed, acceleration and the constant-acceleration model. Use MIT Week 1 Lessons 1–2 for another explanation and worked examples; its Lesson 3 introduces the next topic, motion in two dimensions. The readings and videos are public without an institutional account or paid textbook. Next in this independent EE sequence is two-dimensional vector motion before forces and free-body diagrams. The rest of Mechanics and Dynamics and EE Year 1 remain in progress.

Motion lab · Displacement is not distance

Use SI inputs to predict a reversal and compare signed displacement, path length and two time-step estimates.

Free tool built into this page. Use it in your browser without an account or download.

Procedure

Try (x0,v0,a,T)=(0,2,0,3),(0,3,−2,4),(0,1,−1,3),(2,0,2,2),(0,0,0,2),(−0.5,0.5,−0.5,1.5). State the positive direction, predict any interior reversal, and calculate distance before running. Compare the 8/16-step estimates with the exact value and the downloadable Python lab. The acceleration remains constant for the whole interval, including after a reversal.

Expected results and answer check

The six exact distances are 6,17/2,5/2,4,0,5/16 m. The third run has displacement −3/2 m and reversal at 1 s; its 8/16-step estimates are 159/64 and 639/256 m, below 5/2 m. A zero velocity at an endpoint is not an interior reversal.

Point-particle motion on a fixed straight axis, prescribed constant acceleration, no forces, drag, sensor noise or uncertainty model. Python uses exact fractions; browser uses floating point with rounded displays. A modeled reversal does not prove a real cart would reverse.