Explore two-body orbital mechanics: both bodies orbit the barycenter
This view connects the orbit to what a spectrograph measures. The star’s line-of-sight velocity produces a Doppler shift in a spectral line. Tracking that shift over time produces an RV curve.
Convention: Δλ = λobs − λ0. Positive RV means receding (redshift).
These are relative-orbit specific quantities (per unit reduced mass). Kinetic and potential terms change around the orbit, but their sum stays constant. Angular momentum sets the areal sweep rate.
Both bodies orbit their common center of mass (barycenter). Neither body is truly "fixed" - even the Sun wobbles due to Jupiter!
Orbit sizes are inversely proportional to masses. The heavier body has the smaller orbit.
Drag the bodies or use sliders to explore. Watch how changing masses shifts the barycenter!