
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.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.
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 impulseMarching 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 tWell-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 equationsAccelerate, 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₂)Interactive lab
Predict first. Explore the model. Compare the result.
Explore the model
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.
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
This experiment is kept only while this page is open. It does not change saved course progress.
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.
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.
- Interval 1, 0 ≤ t ≤ 5.0 s: v = 0.60 × 5.0 = 3.0 m s⁻¹ and x = ½ × 0.60 × 5.0² = 7.5 m. This end state is the starting state of interval 2.
- Interval 2, 12.0 s at a = 0: the velocity stays 3.0 m s⁻¹ by continuity, and x = 7.5 + 3.0 × 12.0 = 43.5 m at t = 17.0 s.
- Interval 3 ends at a stop, which is itself a breakpoint: on the local clock, v = 3.0 − 0.75τ reaches zero at τ = 3.0/0.75 = 4.0 s, so at t = 21.0 s.
- The braking distance is the triangle under v–t, ½ × 3.0 × 4.0 = 6.0 m, so x = 43.5 + 6.0 = 49.5 m. Putting the global t = 21.0 s into the braking equation instead gives x = 43.5 + 3.0 × 21.0 − ½ × 0.75 × 21.0² = −58.9 m, a shuttle far behind its own start.
- The acceleration jumps at 5.0 s, 17.0 s and 21.0 s, so v–t has a corner at each; x–t has none, because v never jumps.
Answer. The shuttle stops at x = 49.5 m at t = 21.0 s. Its v–t graph has corners at 5.0 s, 17.0 s and 21.0 s; its x–t graph is smooth throughout.
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.
- Count first: three intervals need 2 × 3 + 2 = 8 facts. The data give x₀, v₀, a₁, Δt₁, Δt₂, a₃, the final rest and the final position, so the gap acceleration and the braking time are both fixed.
- Interval 1: v = 0.60 × 2.0 = 1.20 m s⁻¹ and x = ½ × 0.60 × 2.0² = 1.20 m at t = 2.0 s.
- Call the velocity at t = 5.0 s u. The gap covers ½(1.20 + u)(3.0) = 1.80 + 1.50u, and braking from u at 0.48 m s⁻² covers u²/(2 × 0.48) = u²/0.96.
- The position fix gives 1.20 + 1.80 + 1.50u + u²/0.96 = 5.40, so u² + 1.44u − 2.304 = 0 and u = (−1.44 ± 3.36)/2 = 0.96 m s⁻¹ or −2.40 m s⁻¹. Reject the negative root: a cart moving backwards under −0.48 m s⁻² speeds up and never comes to rest.
- Gap acceleration: (0.96 − 1.20)/3.0 = −0.080 m s⁻². Braking time: 0.96/0.48 = 2.0 s, so the stop is at t = 7.0 s. Check the distances: 1.20 + 3.24 + 0.96 = 5.40 m.
Answer. The cart was moving at 0.96 m s⁻¹ when the log resumed; the dropout hid an acceleration of −0.080 m s⁻²; the cart stopped at t = 7.0 s.
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.
- Take t = 0 as she passes and x = 0 at the scooter. Cyclist: xb = 7.5t. Scooter: at rest until 3.0 s, then accelerating for 10.0/2.0 = 5.0 s, so on 3.0 ≤ t ≤ 8.0 s, xₛ = ½ × 2.0 × (t − 3.0)² = (t − 3.0)²; after 8.0 s, xₛ = 25.0 + 10.0(t − 8.0).
- Try the accelerating interval: (t − 3.0)² = 7.5t gives t² − 13.5t + 9.0 = 0, so t = 0.70 s or 12.80 s. Neither lies in 3.0 ≤ t ≤ 8.0 s; the larger root would need a speed of 19.6 m s⁻¹, far past the governor. Both belong to a parabola the scooter never followed.
- Cruising interval: 25.0 + 10.0(t − 8.0) = 7.5t gives 2.5t = 55.0, so t = 22.0 s, which does lie in t ≥ 8.0 s. The position is 7.5 × 22.0 = 165 m.
- Largest lead: the gap d = xb − xₛ has dd/dt = 7.5 − vₛ, which is zero when the scooter reaches 7.5 m s⁻¹, at t = 3.0 + 7.5/2.0 = 6.75 s. That lies inside the accelerating interval, so its equation applies: d = 7.5 × 6.75 − 3.75² = 50.63 − 14.06 = 36.6 m.
- Boundary check: at t = 8.0 s the gap is 60.0 − 25.0 = 35.0 m, below the maximum, and it then closes at 2.5 m s⁻¹, reaching zero after 14.0 s, at t = 22.0 s, as found.
Answer. Level at t = 22.0 s, 165 m from the scooter's start and 19.0 s after it set off. The cyclist's largest lead is 36.6 m, at t = 6.75 s.
Quick check
Select an answer and explain it before checking.
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.