Skip to main content
Sandbox Physics

M006 · Observers & invariants

Galilean Frame Switcher

Which quantities of motion change when the observer changes? Coordinates, momentum and energy depend on the observer; relative motion stays the same. Kinetic energy is least in the mass-centre frame.

Switch between platform, train and mass-centre observers. Drag the gliders, compare relative motion and find the observer with the least kinetic energy.

Interactive modelGalilean Frame Switcher
Nearest valid window time00
Estimated horizontal momentum00
Estimated kinetic energy00
Motion state00
Selected time00
Observer horizontal speed00
Horizontal velocity of A1 m s−11\,\mathrm{m\,s^{-1}}
A transverse velocity00
Horizontal velocity of B−1 m s−1-1\,\mathrm{m\,s^{-1}}
B transverse velocity00
Total horizontal momentum−1 kg m s−1-1\,\mathrm{kg\,m\,s^{-1}}
Total transverse momentum00
Frame kinetic energy1.5 J1.5\,\mathrm{J}
Relative-motion energy1.33 J1.33\,\mathrm{J}
Mass-centre kinetic energy in frame00
Energy lost in impact0 J0\,\mathrm{J}
Energy decomposition residual00
Frame transformation residual00
Raw position frames00
Available slope estimates00

Physics tutorial

Subtract the observer’s velocity

BackgroundA glider moving past a platform can be still beside a train moving at the same speed. Both observers describe the same motion.

Why it mattersThe velocity arrow changes when you board a different observer. The gap between the two gliders changes in exactly the same way for everyone.

Start with the essentials

Focus question
Which observer sees A at rest, and which sees zero total momentum?
One-sentence intuition
Riding alongside one glider removes its velocity from your view. Riding with the mass centre removes the momentum of the whole system; these are generally different choices.

Core mathematical model

Translate the coordinates

xi′=xi−Ut,vx,i′=vx,i−U.\begin{aligned}x_i^\prime&=x_i-Ut,\\ v_{x,i}^\prime&=v_{x,i}-U.\end{aligned}

The coordinate origins coincide at the initial time. The observer moves horizontally at a constant velocity; time and the transverse coordinate stay the same.

Add both momenta

Px′=Px−MU,Py′=Py.\begin{aligned}P_x^\prime&=P_x-MU,\\ P_y^\prime&=P_y.\end{aligned}

Total mass is the sum of the two glider masses. Subtracting the observer velocity from each body changes the total momentum by total mass times that velocity.

Find the energy minimum

K′=K−UPx+12MU2,K′=KCM′+Krel,KCM′=∥P′∥22M.\begin{aligned}K^\prime&=K-UP_x+\tfrac12MU^2,\\ K^\prime&=K_{\mathrm{CM}}^\prime+K_{\mathrm{rel}},\\ K_{\mathrm{CM}}^\prime&=\frac{\lVert\mathbf P^\prime\rVert^2}{2M}.\end{aligned}

The relative-motion energy uses velocities measured from the mass centre. It stays when the momentum of the whole system is zero. This minimum does not select an absolute rest frame.

Compare one glider with the other

rBA′=rBA,vBA′=vBA.\begin{aligned}\mathbf r_{BA}^\prime&=\mathbf r_{BA},\\ \mathbf v_{BA}^\prime&=\mathbf v_{BA}.\end{aligned}

The subscript means the position or velocity of B minus that of A. The observer correction cancels. Parallel tracks keep the gliders apart even when their horizontal coordinates coincide.

Common difficulties

Being still beside A is not the same as following the whole system

Typical misconceptionIf A stands still, the total momentum and kinetic energy must both vanish.

Better mental modelB can still move in that frame. The mass-centre observer balances both momenta. Its kinetic energy vanishes only when there is no relative motion.

Run the experiment

  1. 01

    Ride alongside one glider

    Choose Ride alongside A, then switch between Platform and Train.

    What to observe: A’s velocity arrow disappears in the matching train frame. The laboratory ruler moves past it.
  2. 02

    Find the lowest energy

    Drag across the observer-energy curve, then choose Mass centre.

    What to observe: The marker reaches the minimum when the total momentum vanishes. The relative-motion part of the energy bar usually remains.
  3. 03

    Keep the same position samples

    Open Position recording and inference, record positions and switch observers.

    What to observe: The raw laboratory rows and their error are unchanged. Estimated velocities subtract the new observer velocity from slopes of those same rows.
Physical model, position data and sources

The two physical coordinates are horizontal; the vertical axis points up. Position is in metres, velocity in metres per second, mass in kilograms and energy in joules. Observer origins coincide at the initial time and move at constant horizontal velocities. Train and conveyor name observers; they exert no drive or friction on the bodies.

The gliders do not interact and follow separate parallel ideal guides. Gravity and vertical support balance; their horizontal accelerations are zero. Propulsion, air resistance and collisions with the track ends are omitted.

All apparatus lengths share one scale. The camera frames the selected run and can change its framing between observers; the numerical coordinates and ruler set the length reference. Velocity arrows start above the bodies for visibility and show one quarter-second of travel. The green cross is the mass-weighted centre, not a third particle.

On entry, position recording loads a simulated run. The CSV contains only timestamps, frame indices and laboratory positions with deterministic bounded coordinate error. Its noise is not a calibrated confidence model. Model curves and recorded dots are labelled separately. Changing the motion, masses or recording settings clears the rows; changing observer, time or slope window preserves them.

The inference uses only those rows, supplied masses, observer velocity and an odd centred least-squares window. Endpoints and gaps have no estimates. A window spanning contact averages the velocity jump and can underestimate instantaneous kinetic energy. The estimator never reads the model event time; it reports the time of the window’s centre sample.

FeedbackSomething broken, confusing, or missing on this page?Tell us
What kind of feedback?

Sent with this page’s address, its Lab ID, the site language and your device type. Please leave out personal details. Feedback is kept for up to 12 months.Privacy policy