Checking two motion segments with different accelerations
When acceleration changes partway through a motion, split it into segments and pass the final velocity of each one to the next. This guide does that for a two-segment case.
Why one formula is not enough
The relations v = u + a t and s = u t + a t squared divided by 2 assume a single constant acceleration. A motion that speeds up for a while and then holds steady has two accelerations, so one application of the formulas across the whole interval gives the wrong answer. The fix is to cut the interval where the acceleration changes, apply the Displacement Calculator once for each piece and join the pieces at their boundary. At the joint, the position and the velocity must both be continuous, which in practice means that the final velocity of one segment becomes the initial velocity of the next, and the displacements add. A velocity-time graph shows the joint clearly: the first segment is a sloped line, the second is a flat line that starts at the height where the first one stopped, and the displacement of each piece is the area under its line. Any gap or jump at the boundary would mean a velocity was dropped in the handoff.
Segment one: rest to 6 in three seconds
Start from rest with acceleration 2 for 3 seconds. The final velocity is 0 + 2 x 3 = 6, and the displacement is 2 x 3 x 3 / 2 = 9. These are the two numbers the next segment needs. The velocity 6 is carried forward as the new initial velocity. The displacement 9 is stored for the total. Skipping the velocity handoff is the most frequent mistake: restarting the second segment from rest would ignore that the object is already moving at 6 when the acceleration changes. With u = 0 and a = 0 for 2 seconds, the displacement would be 0, and the total would drop to 9. The handoff matters because it carries the whole history of the first segment into the second in a single number.
Segment two: coasting for two seconds
For the next 2 seconds the acceleration is zero and the initial velocity is 6. The final velocity stays 6, since nothing changes it, and the displacement is 6 x 2 + 0 = 12. With zero acceleration the formula reduces to distance equals velocity times time. The segment adds 12 to the total. The result of this step is 6 for the velocity and 12 for the displacement, matching the calculator output when u = 6, a = 0 and t = 2. A steady segment is the simplest to check by eye: 6 length units per time unit for 2 time units is 12. If the second segment instead had a small positive acceleration, say 1, the displacement would be 12 + 2 = 14 and the final velocity would be 8, so a coasting phase is a modeling statement that the acceleration is exactly zero.
Adding the segments
Total displacement is 9 + 12 = 21, and the total time is 3 + 2 = 5. The Basic calculator confirms the sum. The average velocity over the whole motion is 21 / 5 = 4.2, which sits between the starting velocity 0 and the final 6, though the endpoint mean would be 3 and does not apply here because the acceleration was not constant. The Average Velocity Calculator returns 4.2 for a position change of 21 over 5 seconds. This shows why a single shortcut across two segments can fail even when each segment would follow it separately.
What a single segment would give instead
Applying the first acceleration across all five seconds, with u = 0 and a = 2, gives a final velocity of 10 and a displacement of 2 x 5 x 5 / 2 = 25. That is a different motion: the object keeps accelerating and covers 25 instead of 21, finishing at velocity 10 instead of 6. The comparison makes the point that the second segment is a statement about the model, not a detail. When someone describes an acceleration phase followed by a steady phase, the segmented answer of 21 is the one that matches the description, and the 25 describes a different story.
A deceleration phase after the cruise
Add a third piece to see the pattern continue. From the velocity of 6, apply acceleration negative 3 for 2 seconds. The final velocity is 6 - 6 = 0, and the displacement is 12 - 6 = 6. The total displacement over 7 seconds is 9 + 12 + 6 = 27, and the object ends at rest. Each new segment uses the previous final velocity, and each displacement adds. The Basic calculator can sum the three pieces, 21 plus 6, to 27. The pattern extends to any number of segments, as long as the transition times are given.
Sign conventions across segments
Displacements add algebraically, with signs. If a later segment moves back toward the start, its displacement is negative, and the total can be smaller than the sum of the magnitudes. The traveled distance would add the magnitudes instead, which is the subject of the turning-point guide. In this guide all segments share one direction, so the signed sum and the path length coincide. Check the sign of the carried velocity before starting the next piece, and keep the axis direction the same throughout so that no segment is entered with a reversed convention. A backward segment is a good test. Starting from velocity 6 with acceleration negative 3 for 4 seconds gives a final velocity of negative 6 and a displacement of 24 - 24 = 0, so the object ends the segment where it began that segment, moving the other way.
Where the transition times come from
The worked case supplies the time of the change, 3 seconds. The calculation does not estimate it. If you have only an endpoint velocity and an endpoint position, the transition time cannot be found without extra information, such as the acceleration of the first phase or the total distance of the second. In problems this extra information is usually stated, for instance a speed reached after the acceleration phase and a duration of the steady phase. Without it there are many combinations of segment lengths that end at the same final state. For example, reaching velocity 6 from rest at acceleration 2 takes 3 seconds only; but if the first-phase acceleration were 3, it would take 2 seconds and cover 6 instead of 9. The segment boundaries and the accelerations are inputs, and the displacement follows from them.
Limits of the piecewise model
Real motion rarely changes acceleration in a single instant. The piecewise model treats the change as sudden, which is a convenient idealization for worksheets. It ignores drag, friction and any limit on how fast an actuator or driver can change the acceleration. The numbers here are abstract practice values, not predictions for a vehicle or machine. For real systems, use recorded positions or velocities and treat the segment model as an approximation whose quality depends on how well each piece matches the data.
Reproduce the checks
Accelerating segment
Open the Displacement Calculator and enter:
- Initial velocity
0- Constant acceleration
2- Elapsed time
3
Expected output:
Displacement
9Final velocity
6The final six becomes the next initial velocity.
Constant-velocity segment
Open the Displacement Calculator and enter:
- Initial velocity
6- Constant acceleration
0- Elapsed time
2
Expected output:
Displacement
12Final velocity
6The second segment adds twelve length units.
Total signed displacement
Open the Basic calculator and enter:
- First number
9- Operation
add- Second number
12
Expected output:
Result
21The segments share one coordinate direction.
References and implementation scope
The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.
Sources
- OpenStax ↗ · 2026-10-08