Skip to main content
Sandbox Physics

M079 · Hyperbolic encounter / design

Gravity-Assist Mission Designer

Aim a hyperbolic encounter around an Earth or Jupiter reference. Drag the periapsis, reverse the turn and switch reference frames; connect the real trajectory to asymptotic velocity triangles, energy exchange and a safe outgoing-speed target.

Interactive modelGravity-Assist Mission Designer
Time from periapsisPending\text{Pending}
Body referencePending\text{Pending}
Asymptotic turn anglePending\text{Pending}
Hyperbolic eccentricityPending\text{Pending}
Planned periapsis altitudePending\text{Pending}
Impact parameter / body radiusPending\text{Pending}
Incoming inertial speedPending\text{Pending}
Outgoing inertial speedPending\text{Pending}
Signed inertial speed changePending\text{Pending}
Asymptotic energy exchangePending\text{Pending}
Current planet-frame speedPending\text{Pending}
Periapsis speedPending\text{Pending}
Safety checkPending\text{Pending}
Signed outgoing speed errorPending\text{Pending}
Speed target checkPending\text{Pending}
Sampled energy defectPending\text{Pending}
Sampled momentum defectPending\text{Pending}
Sampled propagation residualPending\text{Pending}

Physics tutorial

Energy exchange is visible in the velocity triangle

BackgroundA spacecraft falls toward a moving planet, turns around it and recedes. The local two-body encounter conserves its own energy, but that is an energy in the planet frame.

Why it mattersNASA trajectory-design references motivate the unpowered hyperbolic turn and patched-conic asymptotic construction. The finite local path, constant planet speed and chosen safety margin define the educational model here.

Start with the essentials

Focus question
Can one unpowered encounter gain or lose speed depending on which side it passes?
One-sentence intuition
Rotation preserves the planet-relative asymptotic speed. Adding a moving velocity to two differently directed vectors changes their inertial magnitudes and transfers orbital energy.

Core mathematical model

The same velocity in two frames

Vin=Vp+v∞,in,Vout=Vp+v∞,out\mathbf V_{\rm in}=\mathbf V_p+\mathbf v_{\infty,\rm in},\qquad\mathbf V_{\rm out}=\mathbf V_p+\mathbf v_{\infty,\rm out}

Capital velocities refer to inertial coordinates; excess vectors are planet-relative asymptotes. The planet velocity is prescribed constant throughout this local encounter.

A hyperbola fixes the turn

eh=1+rpv∞2μp,δ=2arcsin⁡1ehe_h=1+\frac{r_pv_\infty^2}{\mu_p},\qquad\delta=2\arcsin\frac{1}{e_h}

For fixed incoming excess speed, a closer periapsis gives a stronger deflection. The signed turn selects the side of the planet.

Aim with an impact parameter

b=rp1+2μprpv∞2,vp=v∞2+2μprpb=r_p\sqrt{1+\frac{2\mu_p}{r_pv_\infty^2}},\qquad v_p=\sqrt{v_\infty^2+\frac{2\mu_p}{r_p}}

The impact parameter is the incoming asymptote offset, not the closest distance. Local periapsis speed exceeds the asymptotic speed.

Unpowered excess speed is conserved

∣v∞,out∣=∣v∞,in∣,εp=v22−μpr=v∞22|\mathbf v_{\infty,\rm out}|=|\mathbf v_{\infty,\rm in}|,\qquad\varepsilon_p=\frac{v^2}{2}-\frac{\mu_p}{r}=\frac{v_\infty^2}{2}

Planet-frame speed rises then falls along the finite trajectory. Only its two asymptotic magnitudes are equal.

Where the exchanged energy comes from

Δεinertial=Vout2−Vin22=Vp⋅(v∞,out−v∞,in)\Delta\varepsilon_{\rm inertial}=\frac{V_{\rm out}^2-V_{\rm in}^2}{2}=\mathbf V_p\cdot(\mathbf v_{\infty,\rm out}-\mathbf v_{\infty,\rm in})

The moving planet supplies or absorbs orbital energy. Its recoil is negligible only because spacecraft mass is neglected; the turn can also reduce inertial speed.

Reach a safe scalar speed target

rp>Rp,rp≥rsafe≥Rp,∣Vout−Vtarget∣<0.25 km/sr_p>R_p,\quad r_p\ge r_{\rm safe}\ge R_p,\qquad |V_{\rm out}-V_{\rm target}|<0.25\,\mathrm{km/s}

This educational design checks one speed and a chosen margin. It does not solve a destination transfer. Contact at or within the body surface terminates propagation analytically.

Common difficulties

A faster exit needs a frame

Typical misconceptionGravity increases incoming and outgoing planet-relative speed.

Better mental modelThe two excess speeds are equal. Adding the moving planet velocity changes the inertial speed.

Closer is not always better

Typical misconceptionThe lowest allowable altitude always maximizes speed gain.

Better mental modelThe energy exchange is a vector dot product. Too much rotation can overshoot the direction that maximizes the outgoing speed.

Finite boundaries are not infinity

Typical misconceptionThe first plotted speed equals the excess speed.

Better mental modelGravity still affects both finite boundary states. The triangle uses asymptotes, while the history uses local speeds.

An impact has no valid outgoing flyby

Typical misconceptionA mathematical hyperbola can pass through the planet and still count as success.

Better mental modelThe first surface intersection stops the record and blocks outgoing results. A separate user-selected safety margin can reject a non-impacting path.

Run the experiment

  1. 01

    Compare frames

    Acquire the gain preset, then select inertial coordinates.

    What to observe: The same encounter retains its planet-frame energy while the moving planet changes inertial velocity.
  2. 02

    Reverse the exchange

    Compare the gain and loss presets at the same radius.

    What to observe: The excess speed is unchanged, but the outgoing inertial magnitude responds to turn direction.
  3. 03

    Design safely

    Drag periapsis and adjust the outgoing scalar speed target; inspect the trade chart.

    What to observe: Only safe non-impacting encounters may pass the speed target. The trade curve may have an interior maximum.
  4. 04

    Stop an impossible mission

    Compare the unsafe-margin and surface-interception presets.

    What to observe: One trajectory misses the chosen margin; the other stops at physical contact and has no valid outgoing result.