Skip to main content

Physics I course sequence · Interactive lesson

Piecewise & Inverse Motion

Real trips come in pieces: a launch, a cruise, a brake, a bounce. This lesson is about the seams: where to cut a motion, what must carry across each cut, and how to run the reasoning backwards when all you have is an incomplete record and a few constraints.

UPI-02.08 · Lesson 8 of 8 in this unit. Position is not a completion score.
Starting model: Piecewise & Inverse MotionVelocity (top) and position (bottom) against time for a train timetabled to cover 900 m in 100 s, speeding up at 0.8 m s⁻² and braking at 1.2 m s⁻², leaving 79.1 s of cruise. Position pieces join without kinks at the dashed breakpoints, where velocity has corners. Below the shortest trip time no root exists and the dot falls short of the platform.velocity v (m s⁻¹)position x (m)platform D = 900 mtop speed 10.1T = 100 s
Start with a picture. Change the model in the lab below.
1

Build the model

Every seam in a motion is an equation you can use.

The key idea

A piecewise motion model splits a trip into time intervals, each with its own known acceleration, and joins them with matching conditions (position always continuous, velocity continuous unless an impulse acts) so that each interval starts exactly where the last one ended.

Example. A cart accelerates from rest at 2.0 m s⁻² for 3.0 s, then brakes at 1.5 m s⁻². The braking interval starts at x = 9.0 m with v = 6.0 m s⁻¹, not from rest, and the cart stops 4.0 s later at x = 21.0 m.

The complete physical model and assumptions

The constant-acceleration equations are local: they hold only on a stretch of time where the acceleration follows one rule, unlike the slope-and-area rules for motion graphs, which hold over any interval at all. A realistic motion is a chain of such stretches separated by breakpoints, the instants at which that rule changes. The piecewise model gives every interval its own clock and starting state, and joins neighbours with matching conditions: position is always continuous, velocity is continuous whenever the acceleration stays finite, and the acceleration may jump. Run forwards, those conditions turn a complicated trip into a march in which each interval's final state is the next one's initial state. Run backwards, they turn an inverse problem, such as the cruise speed that meets a timetable or the missing stretch of a sensor log, into equations for the unknown parameters. Counting unknowns against conditions says in advance whether the data fix one motion, leave a family, or over-determine it and become a check; the algebra, often a quadratic, then offers roots that must be tested against the interval each was assumed to lie in. The model breaks at its own idealizations: no real acceleration switches in zero time, and a bounce that seems to reverse the velocity instantly is a brief interval of enormous acceleration. When those short times matter, the breakpoint itself needs resolving into an interval.

1Cut the motion wherever the acceleration rule changes

A breakpoint is any instant at which the rule for the acceleration changes: a motor cuts out, a brake engages, a speed limiter starts holding the speed, a rope goes slack, a ball leaves a hand. Between breakpoints, use the constant-acceleration equations with a local clock τ = t − tᵢ and the state at the start of that interval. The classic slip is reusing global time. A car accelerates from rest at 2.5 m s⁻² for 4.0 s, reaching 10.0 m s⁻¹ at x = 20.0 m, then brakes at 1.5 m s⁻². At t = 6.0 s it has braked for τ = 2.0 s, so v = 10.0 − 1.5 × 2.0 = 7.0 m s⁻¹ and x = 20.0 + 10.0 × 2.0 − ½ × 1.5 × 2.0² = 37.0 m. Feed t = 6.0 s into the braking equation instead and you get v = 1.0 m s⁻¹ and x = 53.0 m: a car that has braked for six seconds when it has braked for two.

2What carries across a breakpoint, and what may jump

Integrate across a breakpoint to see what must match. The change in velocity over a short window of width ε around tᵢ is ∫a dt over that window. If the acceleration stays below some finite bound A, that change is at most Aε and vanishes as ε → 0, so v(tᵢ⁺) = v(tᵢ⁻). The same argument applied to ∫v dt makes position continuous whenever velocity is finite, which for a real object is always. Acceleration has no such protection: switch a force on and the a–t graph steps. So the graphs carry signatures. An a–t graph may have steps, a v–t graph may have corners but never gaps, and an x–t graph has neither. A corner in an x–t record therefore means a velocity jump, and a velocity jump means an impulse. A ball striking a wall at +6.0 m s⁻¹ and leaving at −4.0 m s⁻¹ after 5.0 ms of contact averages −10.0/0.0050 = −2.0 × 10³ m s⁻². Over a motion lasting seconds you may treat that as an instantaneous jump, provided you say so.

3Count unknowns before doing any algebra

A chain of N constant-acceleration intervals involves 4N + 2 quantities: an acceleration and a duration for each interval, plus a position and a velocity at each of the N + 1 breakpoints. The update rules supply 2N equations, so the problem itself must hand you 2N + 2 independent facts. A station-to-station run has N = 3 and needs eight: it starts at x = 0 from rest, ends at rest at x = D, has a known speeding-up rate, a known braking rate, zero acceleration while cruising, and a timetabled total time. Delete the timetable and a whole family of trips fits, one for every cruise speed. Add a measured top speed as a ninth fact and the data are over-determined: they agree, or they expose a mistake. The count is necessary but not sufficient. The equations are nonlinear in the unknowns, so even a correctly counted system can have two solutions or none, and choosing between them is a separate step.

4Solve for the parameter, then keep the root physics allows

With the count done, eliminate the breakpoint times. In an accelerate–cruise–brake trip the two ramps last vc/a₁ and vc/a₂, and adding the three areas under v–t gives D = vc T − (vc²/2)(1/a₁ + 1/a₂), a quadratic in vc. Take a lift that must rise 24.0 m in 12.0 s, speeding up and slowing down at 1.00 m s⁻². The quadratic is vc² − 12.0vc + 24.0 = 0, with roots 2.54 m s⁻¹ and 9.46 m s⁻¹. Both are real; only one can happen. The larger root spends 18.9 s on its ramps, more than the whole 12.0 s trip, leaving a cruise of −6.93 s. The smaller root leaves +6.93 s of cruising. The two cruise times are equal and opposite because each is ±√(T² − Tₘᵢₙ²), with Tₘᵢₙ = √(2 × 24.0 × 2.00) = 9.80 s. Squeeze the timetable below 9.80 s and the discriminant turns negative: no cruise speed exists, and the correct answer is that the lift cannot do it.

5Rebuild a sensor record that is missing pieces

Sensors report derivatives and leave out the constants. An accelerometer trace fixes velocity only up to v₀ and position only up to x₀, so it needs two anchors; a velocity log needs one; a position log needs none but is noisy to differentiate. An anchor need not sit at t = 0, because an integral runs backwards as happily as forwards. A cart's velocity log reads a steady 0.50 m s⁻¹ from 0 to 2.0 s, then rises linearly to 1.10 m s⁻¹ at 5.0 s. Areas give 1.0 m for the first stretch and ½(0.50 + 1.10)(3.0) = 2.4 m for the second, but not where the cart is. A photogate sees it pass x = 2.0 m at t = 2.0 s. Backwards, x(0) = 2.0 − 1.0 = 1.0 m; forwards, x(5.0 s) = 2.0 + 2.4 = 4.4 m. A gap in a log is bridged the same way: whatever happened inside it must carry the state at its start to the state at its end, and a single constant acceleration in the gap is fixed by the velocities on either side.

6Test every piece against its own assumptions

A candidate solution is finished only when each piece passes its own checks. Every event time must fall inside the interval whose equation produced it; a catch-up time found from the accelerating-phase equation that lands after the acceleration phase ended belongs to a parabola the object never followed. Stops are breakpoints too: x = x₀ + v₀τ − ½aτ² keeps going past τ = v₀/a and describes a braked car reversing, which friction brakes never do, so the model must switch to v = 0 there. Limits give quick tests: let a₁ and a₂ grow without bound in the trip formula and it becomes D = vc T, a constant-speed trip; set T = Tₘᵢₙ and the cruise time vanishes. Finally, name the idealization. Real controllers change acceleration over a finite jerk time, a fraction of a second in a lift. When the intervals themselves are that short, the corners in v–t round off, and the seam has to be modelled as a stretch of steadily changing acceleration.

2

Key equations

Read the units, assumptions and limits before substituting.

Local clock on interval i

x = xᵢ + vᵢτ + ½aᵢτ², v = vᵢ + aᵢτ, with τ = t − tᵢ

Resetting the clock lets the constant-acceleration equations run on every interval, each fed the state its predecessor left behind.

xᵢ (m) and vᵢ (m s⁻¹) are the state at breakpoint tᵢ (s); aᵢ (m s⁻²) applies only for 0 ≤ τ ≤ Δtᵢ

Matching conditions at a breakpoint

x(tᵢ⁺) = x(tᵢ⁻) · v(tᵢ⁺) = v(tᵢ⁻) · a(tᵢ⁺) may differ from a(tᵢ⁻)

These are the equations that tie intervals together. A velocity that refuses to match signals a collision the model has squeezed into zero time.

tᵢ⁻ and tᵢ⁺ are instants just before and after tᵢ; velocity matching needs a finite acceleration, so no impulse

Marching update

vᵢ₊₁ = vᵢ + aᵢΔtᵢ, xᵢ₊₁ = xᵢ + ½(vᵢ + vᵢ₊₁)Δtᵢ

Read an a–t record left to right and carry the state forward. Each position step is the trapezoid under that stretch of the v–t graph.

Δtᵢ (s) is the interval length; exact for constant aᵢ, because v is then linear in t

Well-posed count

independent facts needed = 2N + 2

Fewer facts leave a family of motions; extra facts must agree, which makes them a check. Nonlinear equations can still give two roots or none.

N constant-acceleration intervals: 4N + 2 quantities (aᵢ, Δtᵢ, and xᵢ, vᵢ at N + 1 breakpoints), 2N update equations

Accelerate, cruise, brake

D = vc T − (vc²/2)(1/a₁ + 1/a₂)

An inverse problem in one line: given D, T and the rates, solve the quadratic for vc. The smaller root is physical; the larger one needs a negative cruise time.

distance D (m) in trip time T (s), from rest to rest; cruise speed vc (m s⁻¹); rate magnitudes a₁, a₂ (m s⁻²)

Shortest trip and cruise time

Tₘᵢₙ = √(2D(1/a₁ + 1/a₂)) · tcruise = √(T² − Tₘᵢₙ²)

For T below Tₘᵢₙ the discriminant is negative: no cruise speed meets the timetable, which is what having no real root means for a moving object.

at T = Tₘᵢₙ the trapezoid becomes a triangle with peak speed Tₘᵢₙ/(1/a₁ + 1/a₂)
3

Interactive lab

Predict first. Explore the model. Compare the result.

Explore the model

0.8 m s⁻²
0.5 to 1.5 m s⁻²; steps of 0.1.
1.2 m s⁻²
0.5 to 1.5 m s⁻²; steps of 0.1.
100 s
60 to 150 s; steps of 5.

Try this. Drag T down from 100 s: the trapezoid grows taller and narrower while its area stays 900 m, until the cruise vanishes near Tₘᵢₙ = 61.2 s. Then set both rates to 0.5 m s⁻² and T to 60 s: no cruise speed exists, the profile collapses to a triangle and the train stops at 450 m.

Live results

TOP SPEED vc
10.1 m s⁻¹
CRUISE TIME
79.1 s
SHORTEST TRIP Tₘᵢₙ
61.2 s
DISTANCE COVERED IN T
900 m

Results follow this lesson’s model and assumptions. Displayed values are rounded.

Interactive Physics I modelVelocity (top) and position (bottom) against time for a train timetabled to cover 900 m in 100 s, speeding up at 0.8 m s⁻² and braking at 1.2 m s⁻², leaving 79.1 s of cruise. Position pieces join without kinks at the dashed breakpoints, where velocity has corners. Below the shortest trip time no root exists and the dot falls short of the platform.velocity v (m s⁻¹)position x (m)platform D = 900 mtop speed 10.1T = 100 s
Velocity (top) and position (bottom) against time for a train timetabled to cover 900 m in 100 s, speeding up at 0.8 m s⁻² and braking at 1.2 m s⁻², leaving 79.1 s of cruise. Position pieces join without kinks at the dashed breakpoints, where velocity has corners. Below the shortest trip time no root exists and the dot falls short of the platform.

Predict → change one variable → check

Plan a change before running it. Every other input stays at the saved baseline.

Saved baseline. Speeding-up rate a₁: 0.8 m s⁻²; Braking rate a₂: 1.2 m s⁻²; Timetabled trip time T: 100 s

Baseline 0.8; choose 0.5 to 1.5, in steps of 0.1.
4. Compared with the saved baseline, this result will…

This experiment is kept only while this page is open. It does not change saved course progress.

4

Catch the common trap

The tempting shortcut is to treat a multi-stage trip as one constant-acceleration motion, using an average acceleration or (u + v)/2 across the whole run. It fails because those equations come from integrating a single fixed a, and across a breakpoint the integral splits. The time-averaged acceleration does give the right net change in velocity, since Δv is just the area under a–t. It cannot give the displacement, which depends on when the acceleration acted. From rest, +3.0 m s⁻² for 2.0 s followed by −3.0 m s⁻² for 2.0 s has an average acceleration of zero and a displacement of +12.0 m; reverse the order and the displacement is −12.0 m. Same average, opposite outcomes. For the same reason (u + v)/2 predicts zero displacement for every train that starts and ends at rest.

5

Practice & worked examples

3 authored examples. Make an attempt, then reveal the reasoning one step at a time.

EasyExample 1

A warehouse shuttle on a straight rail starts from rest at x = 0. Its controller commands +0.60 m s⁻² for 5.0 s, holds that speed for 12.0 s, then brakes at 0.75 m s⁻² until the shuttle stops. Where and when does it stop, and at which instants does its v–t graph have corners?

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 5 steps revealed.

MediumExample 2

A cart starts from rest at x = 0 on a level track. Its accelerometer logs +0.60 m s⁻² for 2.0 s, then drops out for 3.0 s, then logs a steady −0.48 m s⁻² until the cart comes to rest. A rangefinder shows that it stopped 5.40 m from its start. Assuming one constant acceleration during the dropout, find the velocity when the log resumed, the acceleration during the dropout, and when the cart stopped.

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 5 steps revealed.

HardExample 3

A cyclist rides past a parked e-scooter at a steady 7.5 m s⁻¹. Exactly 3.0 s later the scooter sets off after her from rest, accelerating at 2.0 m s⁻² until its governor holds it at 10.0 m s⁻¹. When and where does the scooter draw level, and what is the largest lead the cyclist holds before then?

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 5 steps revealed.

6

Quick check

Select an answer and explain it before checking.

A cart starts from rest at x = 0 on a straight track. It accelerates at +1.5 m s⁻² for 4.0 s, then at −0.50 m s⁻² for the next 6.0 s. Where is it, and how fast is it moving, at t = 10.0 s?
7

Review & continue

A piecewise motion model splits a trip into time intervals, each with its own known acceleration, and joins them with matching conditions (position always continuous, velocity continuous unless an impulse acts) so that each interval starts exactly where the last one ended.

  • Explain the relationship without looking at the equation.
  • Check a sign, a unit and a model assumption in your working.
  • Return to the lab or worked example if a step is still unclear.

Optional supporting lessons

These chapter resources can help with earlier ideas; they are not additional required Physics I completion tasks.

Extra challenging questions

Connect several ideas, explore supplied data, and compare your reasoning with a worked solution.