Motion graph maker: position, velocity and acceleration graphs
Describe a motion along a line as a few stretches of constant acceleration, and this tool draws its position-time, velocity-time and acceleration-time graphs stacked on one time axis. Move the time cursor to read all three at the same instant, download the graphs as a PNG or SVG, or copy a link that reopens the same motion.
- Segment 1
- Segment 2
- Segment 3
Play runs in real time. With the slider focused, the arrow keys step 0.05 s.
| Quantity | 0 to 6.00 s | Whole motion, 0 to 12.00 s |
|---|---|---|
| Displacement | 24.00 m | 51.00 m |
| Distance travelled | 24.00 m | 51.00 m |
| Average velocity | 4.00 m/s | 4.25 m/s |
| Average speed | 4.00 m/s | 4.25 m/s |
The object never reverses direction, so distance and the size of the displacement match.
Downloads have a white background and a caption listing x0, v0 and each segment. The cursor and any overlay you have switched on are included; switch all four off for plain graphs.
What this tool shows
The tool models one object moving along a straight line. You give it a starting position x0, a starting velocity v0 and up to six segments. Each segment has a duration and one constant acceleration. Inside a segment the tool uses the constant-acceleration equations, v = v0 + at and x = x0 + v0t + ½at², starting from wherever the previous segment ended. Position and velocity are continuous from one segment to the next. Acceleration is the only quantity that jumps.
That gives three graphs with fixed shapes. The acceleration graph is a set of flat steps. The velocity graph is a chain of straight lines whose slopes are those accelerations. The position graph is a chain of parabola arcs, or straight lines where the acceleration is zero. The four checkboxes show the two rules that connect the graphs: the slope of one graph is the value of the graph below it, and the area under one graph is the change in the graph above it.
Positive means to the right on the track, or upward for the thrown ball. The ball preset uses a = -9.8 m/s². The tool does not model air resistance, forces or motion in two dimensions. For a launched projectile, use the projectile launcher.
How to read it
- Presets. Six starting points: constant velocity, speeding up from rest, braking to a stop, a ball thrown straight up, out and back, and a cart that speeds up, cruises and brakes. The page opens on the cart. Editing any number switches you to your own motion.
- Start position and start velocity. x0 can be from -1000 to 1000 m and v0 from -100 to 100 m/s.
- Segments. Each row has a duration from 0 to 60 s and an acceleration from -50 to 50 m/s². Add segment appends a 2 s row with zero acceleration, up to six rows. Entries are rounded to two decimal places, and a row with a duration of 0 is skipped.
- The three graphs. Position in m on top, velocity in m/s in the middle and acceleration in m/s² at the bottom, all against time in seconds. The axes rescale to fit the motion. Faint dotted vertical lines mark where one segment hands over to the next.
- The time cursor. Drag sideways anywhere on the graphs, or use the Time slider. The row above the track shows t, x, v and a at the cursor to two decimal places. At the exact instant two segments meet, a is the value for the later segment.
- The track. The filled dot is the object and the small hollow circle is where it started. The teal arrow above the dot points the way the object is moving and gets longer as the speed rises.
- Play. Play moves the cursor forward from where it is, and the button changes to Pause, then to Replay at the end. Motions up to 12 s play in real time and longer ones are sped up to take 12 s. If your device is set to reduce motion, the Play button is not shown and the slider still works.
- The four checkboxes. Slope of the position graph draws a dashed tangent line at the cursor, and its slope is v. Slope of the velocity graph does the same one graph down, and its slope is a. Area under the velocity graph shades from 0 to the cursor, teal above the axis and red below, and the signed total is the displacement. Area under the acceleration graph is the change in velocity. Each value is printed beside its checkbox, and on the graph while the box is ticked.
- The table. Displacement, distance travelled, average velocity and average speed, once for 0 to the cursor and once for the whole motion. The line under it says when and where the object turns around, if it does.
- Download PNG and Download SVG. Both save the three graphs on a white background with a caption listing x0, v0 and each segment. The cursor and any overlay that is switched on are included. Clear all four checkboxes for plain graphs. The file is made in your browser.
- Copy link. The link stores x0, v0, the segments and the cursor time, so opening it shows the same motion. It does not store which checkboxes are ticked.
Things to try
- Read three graphs at one instant. The page opens on the cart with the cursor at 6.00 s, where x = 24.00 m, v = 6.00 m/s and a = 0.00 m/s². Drag to 2.00 s and the readout changes to x = 3.00 m, v = 3.00 m/s and a = 1.50 m/s². At 10.50 s it reads x = 48.75 m, v = 3.00 m/s and a = -2.00 m/s². The cart has the same velocity at 2.00 s and 10.50 s, once while speeding up and once while slowing down.
- Build the displacement out of areas. Stay on the cart with the velocity area box ticked. At 4.00 s the shaded triangle is +12.00 m, which is ½ × 4 × 6. At 9.00 s the cruise has added a 5 by 6 rectangle and the total is +42.00 m. At 12.00 s the braking triangle adds 9 more and the total is +51.00 m, the same number the table gives for displacement. The average velocity is 51 ÷ 12 = 4.25 m/s.
- Find the top of a throw. Choose the ball thrown straight up. It leaves the hand at 19.6 m/s. Drag to 2.00 s: v = 0.00 m/s, x = 19.60 m, and a is still -9.80 m/s². The velocity is zero at the top and the acceleration is not. For the whole 4 s the table reads displacement 0.00 m, distance 39.20 m, average velocity 0.00 m/s and average speed 9.80 m/s.
- Watch positive and negative area cancel. Choose out and back. The object turns around at t = 5.50 s, at x = 14.25 m. Drag the cursor to the end, 11.00 s, and the area under the velocity graph reads 0.00 m, because 14.25 m of teal area above the axis is cancelled by 14.25 m of red area below it. The distance travelled is 28.50 m and the average speed is 2.59 m/s.
- Double the speed before braking. Braking to a stop starts at 20 m/s with a = -5 m/s² and stops in 4 s after 40.00 m. Change v0 to 40 and the duration to 8. The car now needs 160.00 m, four times as far, because stopping distance grows with the square of the speed.
What-if questions
- What if the cart brakes at -3 m/s² for the same 3 s, in place of -2? It stops early and rolls backward. The velocity reaches zero at 11.00 s, at x = 48.00 m, and the cart ends at 46.50 m moving at -3.00 m/s. Displacement is 46.50 m but distance is 49.50 m, so the average velocity is 3.88 m/s and the average speed is 4.13 m/s.
- What if the ball is thrown twice as fast? Set v0 to 39.2 and the duration to 8. The peak moves from 2.00 s to 4.00 s, twice as late, and from 19.60 m to 78.40 m, four times as high. Time to the top is v0÷ 9.8 and peak height is v0² ÷ (2 × 9.8).
- What if the cart starts at x0 = 10 m? The position graph moves up by 10 m and nothing else changes. The cart ends at 61.00 m, its displacement is still 51.00 m, and the velocity and acceleration graphs are identical. A starting position shifts the position graph without changing its slope anywhere.
- What if the car sits still after braking? On braking to a stop, add a segment and leave it at 2 s with a = 0. The velocity is already zero, so it stays zero: the position graph is flat at 40.00 m and the velocity graph lies on the axis. Total time is now 6 s, so the average velocity falls from 10.00 m/s to 6.67 m/s.
The equations each segment uses are covered in the kinematic equations guide, and the graph rules are part of Topic 1.3, representing motion. Short definitions are under velocity-time graph and acceleration-time graph, and the table's two pairs of numbers are compared in distance vs displacement and speed vs velocity. To solve one segment for an unknown, use the kinematics calculator. For problems to work by hand, including graph reading, go to the kinematics practice problems.
Common questions
How do you find velocity from a position-time graph?
Velocity is the slope of the position-time graph. On a straight section, pick two points and divide the change in position by the change in time: from 12 m at 4 s to 42 m at 9 s, the slope is 30 ÷ 5 = 6 m/s. On a curved section, draw the tangent line at the instant you want and find its slope. A graph that slopes downward means a negative velocity.
What does the area under a velocity-time graph represent?
The area between a velocity-time graph and the time axis is the displacement during that time. Area above the axis counts as positive and area below it as negative. A cart that speeds up steadily from 0 to 6 m/s in 4 s traces a triangle of area ½ × 4 × 6 = 12 m, so it moves 12 m. For distance travelled, add the sizes of the areas and ignore their signs.
What does a curved position-time graph mean?
A curved position-time graph means the velocity is changing, so the object is accelerating. With constant acceleration the curve is a parabola, opening upward when the acceleration is positive and downward when it is negative. A ball thrown upward at 19.6 m/s has a = -9.8 m/s², so its graph is a downward-opening parabola that peaks at 2 s, 19.6 m above the hand.
How do you tell if an object is speeding up from a velocity-time graph?
The object is speeding up when the graph is moving away from the time axis and slowing down when it is moving toward the axis. Put another way, it speeds up when velocity and acceleration have the same sign. A line that falls from -2 m/s to -5 m/s over 3 s has a = -1 m/s², and the object is speeding up, because its speed rises from 2 to 5 m/s.
What is the difference between distance and displacement?
Displacement is the change in position, final minus initial, and it can be positive, negative or zero. Distance is the total length of the path and is never negative. A ball thrown upward at 19.6 m/s rises 19.6 m and is back at the hand after 4 s. Its displacement is 0 m and its distance is 39.2 m, so its average velocity is 0 m/s and its average speed is 9.8 m/s.
Embed this simulation on your class site, free
Paste this into any web page, LMS, or class site. The snippet ends with an optional credit line that the site owner may keep, edit or remove. The Motion Graph Maker widget page has a live preview.