← Fleet Monad · Mike's Variable-Exhaust Rocket Lab
Read-only render · NEW

Rocket Equations — Mike's Notebook

Static, verbatim render of rocket equations.ipynb (69 cells), preserving Mike's original prose, math, code, outputs, and cell order. Nothing here is summarized or reinterpreted — that reading lives in the adjacent interactive reverie instead.

Source notebook last modified 2026-07-30T23:27:59+00:00 (last committed fc60b1eced467e36178e29da4d7549fc4a2ea0dd 2026-07-29T05:05:14+00:00). Repo commit fc60b1eced46 (working tree has uncommitted changes to this file). This page rendered 2026-07-30T23:54:50+00:00. Download the .ipynb

Abstract

Question. For a rocket with a fixed total chemical energy budget (not a fixed exhaust velocity), what schedule of exhaust velocity $v_e(m)$, as a function of remaining spacecraft mass $m$, maximizes total $\Delta v$ — and how much does that theoretical optimum actually buy you over an ordinary, constant-$v_e$ chemical rocket once real engine efficiency and energy-storage constraints are accounted for?

What this notebook derives. A closed-form optimal exhaust-velocity schedule $v_e(m) = k/m$ under a fixed-energy constraint (cells above); its closed-form $\Delta v$ compared against the classical constant-$v_e$ case; the energy that must be stored in the remaining propellant mass at each point along an optimal-schedule burn, including a worst-case figure of roughly 12–13 MJ/kg; and how adding free inert mass (in principle, from outside the rocket's own fuel budget) affects each schedule differently.

What it does not claim. This is not a proposal for a buildable engine. The optimal-schedule result is an exact consequence of the stated mathematical constraint; whether any mechanism can actually vary exhaust velocity continuously along $k/m$ and supply energy on that schedule is a separate, open engineering question, addressed directly in the Energy-Density Analysis and Limitations sections below.

Sections marked ▸ Captain were added or completed after Mike's original notebook stalled at a set of `TODO` markers; everything else is Mike's own derivation and code, preserved as written (two small corrections logged in the adjacent read-only render's diff). See Limitations & Open Questions at the end for exactly what's provisional.

Contents

  1. Rocket equations
  2. Abstract and precise question ▸
  3. Notation ▸
  4. Energy density of fuel
  5. Tying it together
  6. What if
  7. Let's solve it!!!
  8. Expression for constant exhaust velocity rocket
  9. Worked examples ▸
  10. How *much* energy does this require storing?
  11. Inverting our view
  12. Energy-Density Analysis — the ~12,000 J/g figure, expanded ▸
  13. A simpler view
  14. Is free extra mass useful?
  15. Potential mission profiles — Future work ▸
  16. Relativistic analog — idealized kinematics (completed) ▸
  17. Reading the comparison ▸
  18. Limitations — relativistic section ▸
  19. Interstellar travel — Future work ▸
  20. Results summary ▸
  21. Limitations & open questions ▸

Assumptions summary

Re = 1.576e+07 J/kg
m_i_sv = 5.99e+05 kg, m_f_sv = 1.19e+05 kg
J2 v_e = 4129 m/s (Isp 421 s)

Full editable assumptions block is in the notebook body below.

Key results

Open questions

Modeling simplifications, stated explicitly:

  1. Every worked example here treats the entire Saturn V S-II stage mass shed during the burn as propulsively-ejected reaction mass, including the stage's own dry structure jettisoned at staging. A real rocket doesn't eject its dry structure through the nozzle at $v_e$. This overstates the effective propellant mass fraction and isn't corrected — doing so needs a proper multi-stage vehicle model, out of scope here.
  2. $R_e$ uses hydrogen's higher heating value (141.8 MJ/kg), which includes water-vapor condensation energy not normally recovered in a propulsion context. The lower heating value (~120 MJ/kg) would shrink every $\Delta v$ figure in this notebook by a factor of $\sqrt{120/141.8}\approx0.92$. Not corrected; flagged as a choice, not an error.
  3. The J-2-vs-idealized efficiency figure ($\eta_E\approx0.54$) is a real engine's efficiency, reused in the Energy-Density section as an illustrative benchmark — it is not a measured efficiency for any proposed energy-storage mechanism, which doesn't exist yet to measure.
  4. Kernel/environment note: this pass was verified with a scripted re-execution of every code cell's logic (stubbing out `matplotlib.pyplot` for a math-only check), not a literal Jupyter kernel restart with matplotlib installed — no plotting environment was available in the environment this pass was done in. No cell's code or numeric inputs changed in a way that would alter any existing plot's pixel content, so saved images from the last real Jupyter run were kept rather than regenerated.

Explicitly unresolved questions, not attempted this pass:

Rocket equations

So, the well known rocket equation, relating the $\Delta v$ induced by a rocket burn as a function of the exhaust velocity, $v_e$, and the initial and final masses of the rocket (including any remaining fuel and payload), $m_f$ and $m_i$, comes from observing that

$$\Delta v = \int_{m_f}^{m_i} \frac{v_e}{m} dm = v_e \ln{\frac{m_i}{m_f}} $$

▸ Captain

Abstract and precise question — ▸ Captain

Question. For a rocket with a fixed total chemical energy budget (not a fixed exhaust velocity), what schedule of exhaust velocity $v_e(m)$, as a function of remaining spacecraft mass $m$, maximizes total $\Delta v$ — and how much does that theoretical optimum actually buy you over an ordinary, constant-$v_e$ chemical rocket once real engine efficiency and energy-storage constraints are accounted for?

What this notebook derives. A closed-form optimal exhaust-velocity schedule $v_e(m) = k/m$ under a fixed-energy constraint (cells above); its closed-form $\Delta v$ compared against the classical constant-$v_e$ case; the energy that must be stored in the remaining propellant mass at each point along an optimal-schedule burn, including a worst-case figure of roughly 12–13 MJ/kg; and how adding free inert mass (in principle, from outside the rocket's own fuel budget) affects each schedule differently.

What it does not claim. This is not a proposal for a buildable engine. The optimal-schedule result is an exact consequence of the stated mathematical constraint; whether any mechanism can actually vary exhaust velocity continuously along $k/m$ and supply energy on that schedule is a separate, open engineering question, addressed directly in the Energy-Density Analysis and Limitations sections below.

Sections marked ▸ Captain were added or completed after Mike's original notebook stalled at a set of `TODO` markers; everything else is Mike's own derivation and code, preserved as written (two small corrections logged in the adjacent read-only render's diff). See Limitations & Open Questions at the end for exactly what's provisional.

▸ Captain

Notation — ▸ Captain

SymbolMeaning
$m_i$Initial (pre-burn) spacecraft mass
$m_f$Final (post-burn) spacecraft mass, i.e. payload + dry structure remaining
$m$, $m_r$, $m_{curr}$Mass remaining at some point during the burn, $m_f \le m \le m_i$
$v_e(m)$Exhaust velocity as a function of remaining mass (rocket-frame)
$\Delta v$Net velocity change imparted to the rocket over the whole burn
$R_e$Specific energy of the propellant: chemical energy released per unit mass of propellant burned (J/kg)
$k$Constant in the optimal schedule $v_e(m) = k/m$
$m_{extra}$Extra inert mass added to the vehicle, not counted against the fuel's own energy budget
$\eta$Efficiency: fraction of nominal chemical energy actually converted to directed exhaust kinetic energy
$I_{sp}$Specific impulse, $v_e = I_{sp}\, g_0$, with $g_0 = 9.80665\ \mathrm{m/s^2}$

All masses are in kg, velocities in m/s, energy in J unless stated otherwise. $R_e$ throughout this notebook is defined per kg of total propellant (fuel + oxidizer where applicable), matching how it's used in the mass-ratio integrals below — see the Assumptions block for exactly how the numeric value of $R_e$ used in this notebook's examples is built up.

Energy density of fuel

This means that for fixed $v_e$, the initial mass of a rocket grows exponentially with the $\Delta v$ desired. Which is an undesirable state of things.

A natural inclination is to try to get around this by increasing $v_e$.

But that has limitations as well.

Every imaginable fuel (even matter-antimatter) has some ratio of energy stored per unit mass. Call this $R_e$

Once the energy is extracted from a piece of fuel, the remaining mass of the burnt fuel has little use except to shoot it out the back of the rocket as reaction mass (or, worse, carry along with the rocket as dead weight).

This gives us, at least for non-relativistic exhaust speeds, and negligible loss of mass through conversion to energy

$$ R_e (m_i - m_f) = \int_{m_f}^{m_i} \frac{1}{2} v_e^2 dm $$

Tying it together

This is all well and good, and gives us an upper bound for $v_e$ for chemical rockets that have a constant exhaust velocity. You can work it all out, tie it together, and figure out why constant $v_e$ chemical rockets have to be giant (and mostly consist of fuel) to achieve spaceflight $\Delta v$

But one can do more interesting things with these equations.

What if

What if we could independently schedule the release of spent fuel mass and spent fuel energy? What if we could store part of the energy from burning a piece of fuel, and use it, later, to send a different piece of exhaust at a higher $v_e$ when it is more optimal to do so? Conversely, what if we could save some of the spent fuel exhaust from burning a piece of fuel, impart all the energy onto a smaller piece of fuel exhaust, and launch that reaction mass later?

In short, what if we could make $v_e(m)$ a function of the mass remaining ($m$) ?

Those equations then become

$$ R_e (m_i - m_f) = \int_{m_f}^{m_i} \frac{1}{2} v_e^2(m) dm $$

which, if you notice, for fixed $m_i$, $m_f$ and $R_e$, constrain the inner product of $v_e(m)$ with itself.

And, subject to that, you, ideally, want to maximize

$$\Delta v = \int_{m_f}^{m_i} \frac{v_e(m)}{m} dm $$

But that's just the inner product of $v_e(m)$ with $\frac{1}{m}$ !

In short, the optimal schedule for $v_e$ as a function of the mass remaining, $m$, is to make $v_e$ proportional to the reciprocal of the total spacecraft remaining mass.

Let's solve it!!!

Start with the first equation,

$$ R_e (m_i - m_f) = \int_{m_f}^{m_i} \frac{1}{2} v_e^2(m) dm $$

And assume $v_e(m) = \frac{k}{m}$ for some unknown $k$ that we're trying to solve for

$$ R_e (m_i - m_f) = \int_{m_f}^{m_i} \frac{1}{2} \frac{k^2}{m^2} dm = \frac{k^2}{2} ( \frac{1}{m_f} - \frac{1}{m_i})$$

Or

$$k = \sqrt{ \frac{2 R_e (m_i - m_f)}{\frac{1}{m_f} - \frac{1}{m_i}}}$$

Which simplifies to $k = \sqrt{ 2 R_e m_i m_f}$

Now we want to solve

$$\Delta v = \int_{m_f}^{m_i} \frac{v_e(m)}{m} dm $$

with $v_e(m) = \frac{k}{m}$, which gets us

$$\Delta v = \int_{m_f}^{m_i} \frac{k}{m^2} dm = k ( \frac{1}{m_f} - \frac{1}{m_i})$$

$$\Delta v = k ( \frac{1}{m_f} - \frac{1}{m_i}) = k \frac{m_i - m_f}{m_i m_f}$$

$$ \Delta v = \sqrt{2 R_e m_i m_f} \frac{m_i - m_f}{m_i m_f} = (m_i - m_f) \sqrt{\frac{2 R_e} {m_i m_f}}$$

This looks comforting because we could multiply all the masses by, say, 10, and the $\Delta v$ would remain the same, just as it does with the classic rocket equation for constant $v_e$. Lets work that one out next

In [1]:
from math import sqrt, log, exp
In [2]:
## Just for the heck of it, let's write a python function that computes delta v
## for an ideal-scheduled rocket as a function of m_f, m_i and Re

def deltav_optimal(m_i, m_f, Re, m_curr = None):
    """
    m_curr allows us to plan a burn schedule for a certain amount of fuel, and calculate velocity
    at any point along that burn trajectory
    """
    if m_curr is None:
        m_curr = m_f
    k = sqrt(2.0 * Re * m_i * m_f)
    return k * (1 / m_curr - 1/m_i)

Expression for constant exhaust velocity rocket

Let's work this out for a constant velocity exhaust rocket.

Recall from earlier that

$$ \Delta v = v_e \log{(\frac{m_i}{m_f})} $$

Now we just need to find $v_e$

We have

$$ R_e (m_i - m_f) = \int_{m_f}^{m_i} \frac{1}{2} v_e^2(m) dm $$

and, since $v_e$ is a constant, we just have

$$ R_e (m_i - m_f) = \frac{1}{2} v_e^2 (m_i - m_f) $$

or

$$ v_e = \sqrt{2 R_e} $$

That gives us

$$ \Delta v = (\sqrt{2 R_e}) \log{(\frac{m_i}{m_f})} $$

In [3]:
## And we can calculate that in python too

def deltav_constant(m_i, m_f, Re, m_curr = None):
    """
    m_curr allows us to plan a burn schedule for a certain amount of fuel, and calculate velocity
    at any point along that burn trajectory
    """
    if m_curr is None:
        m_curr = m_f
    v_e = sqrt(2.0 * Re)
    return v_e * log(m_i / m_curr)
In [4]:
# Now that we have those calculations, let's plot velocity vs mass spent for both kinds of rockets
from matplotlib import pyplot as plt
In [5]:
plt.plot([0.1 * i for i in range(91)], [deltav_optimal(10.0, 1.0, 1.0, 10.0 - 0.1 * i) for i in range(91)], 'r-')
plt.plot([0.1 * i for i in range(91)], [deltav_constant(10.0, 1.0, 1.0, 10.0 - 0.1 * i) for i in range(91)], 'b-')
plt.xlabel("Total mass of fuel expended")
plt.ylabel("Delta v")
Out[5]:
Text(0, 0.5, 'Delta v')
notebook output figure
In [6]:
## That's for a fuel-payload ratio of 10 to 1.  What happens when it's 100 to 1?

plt.plot([0.1 * i for i in range(991)], [deltav_optimal(100.0, 1.0, 1.0, 100.0 - 0.1 * i) for i in range(991)], 'r-')
plt.plot([0.1 * i for i in range(991)], [deltav_constant(100.0, 1.0, 1.0, 100.0 - 0.1 * i) for i in range(991)], 'b-')
plt.xlabel("Total mass of fuel expended")
plt.ylabel("Delta v")
Out[6]:
Text(0, 0.5, 'Delta v')
notebook output figure
▸ Captain
In [7]:
## Assumptions block ▸ Captain
## Every mission/vehicle constant used more than once in this notebook is
## defined exactly once, here. Downstream cells reference these names rather
## than redefining them (redefinition in two places was flagged and removed
## as an accidental-duplicate-calculation risk, see cells below).
## Edit this block, and only this block, to explore a different vehicle.

g0 = 9.80665  # standard gravity, m/s^2, exact by definition

# --- Propellant specific energy -------------------------------------------
# 141.8 MJ/kg is the higher heating value (HHV) of hydrogen combustion.
# Verified 2026-07-30 against multiple independent sources (h2tools.org,
# SFC Energy AG's hydrogen reference, and general combustion-chemistry
# references); Mike's original comment cited only "wikipedia" with no
# pinned URL, so the specific page is unresolved even though the *value*
# checks out. Using HHV (rather than the ~120 MJ/kg lower heating value,
# which excludes the heat of water-vapor condensation) is itself a modeling
# choice worth flagging: HHV is an upper bound on recoverable combustion
# energy, not what most propulsion literature reports. See the
# Energy-Density Analysis section for the consequences of that choice.
h2_hhv_J_per_kg = 141.8e6

# Dividing by 9 accounts for carrying stoichiometric oxidizer (O2) along
# with the H2: 2 H2 + O2 -> 2 H2O by mass is 4 g H2 : 32 g O2, i.e. 16 g O2
# per 2 g H2, for 18 g total propellant per 2 g H2 -> factor of 9.
h_energy_density = h2_hhv_J_per_kg / 9  # J per kg of *total* H2+O2 propellant
Re = h_energy_density  # alias matching this notebook's R_e notation

# --- Saturn V S-II stage (Mike's chosen real-world anchor throughout) -----
# Wet stage mass and the mass of everything stacked above it (S-IVB + LM +
# CSM stand-in, here just "stage 3") are used as a stand-in for m_i / m_f.
# CAVEAT (see Limitations): this treats the *entire* stage-2 mass shed
# during the burn -- propellant AND inert stage structure jettisoned at
# staging -- as if it were all ejected propulsively at v_e(m). Real
# staging jettisons dry structure at close to zero relative velocity, not
# through the nozzle. This overstates the effective propellant mass
# fraction; flagged, not corrected, since fixing it would need a proper
# multi-body staged-vehicle model outside this notebook's scope.
saturn_v_booster_mass = 2.3e6
saturn_v_stage_2_mass = 0.48e6
saturn_v_stage_3_mass = 0.119e6

m_i_sv = saturn_v_stage_3_mass + saturn_v_stage_2_mass
m_f_sv = saturn_v_stage_3_mass

# --- Real engine, for the conventional baseline ----------------------------
# Rocketdyne J-2, five of which powered the S-II stage. Vacuum Isp verified
# 2026-07-30 (Wikipedia "Rocketdyne J-2"; astronautix.com "J-2"): 421 s.
J2_Isp_s = 421.0
J2_v_e = J2_Isp_s * g0  # m/s

print("Re = %.4g J/kg" % Re)
print("m_i_sv = %.4g kg, m_f_sv = %.4g kg" % (m_i_sv, m_f_sv))
print("J2 v_e = %.4g m/s (Isp %.0f s)" % (J2_v_e, J2_Isp_s))
Re = 1.576e+07 J/kg
m_i_sv = 5.99e+05 kg, m_f_sv = 1.19e+05 kg
J2 v_e = 4129 m/s (Isp 421 s)
In [8]:
## Let's try with some physically plausible numbers
## (h_energy_density, m_i_sv, m_f_sv now come from the Assumptions block above)

masses_sv = [m_f_sv + 0.001 * i * saturn_v_stage_2_mass for i in range(1001)]

plt.plot(masses_sv, [deltav_optimal(m_i_sv, m_f_sv, h_energy_density, m) for m in masses_sv], 'r-')
plt.plot(masses_sv, [deltav_constant(m_i_sv, m_f_sv, h_energy_density, m) for m in masses_sv], 'b-')
plt.xlabel("Mass remaining")
plt.ylabel("Delta v")
print(str([deltav_optimal(m_i_sv, m_f_sv, h_energy_density), deltav_constant(m_i_sv, m_f_sv, h_energy_density)]))
[10092.208262381673, 9072.152221635844]
notebook output figure

So under real-world plausible mass ratios, optimal vs constant $v_e$ doesn't matter that much!

But an extra $km/s$ would still be useful if it could be achieved.

Later we'll look into how feasible that might be, and how much energy we'd need to store in a rocketry scenario like this.

But first we'll compare these simulation numbers to the actual $\Delta v$ from the rocket this example was based on.

In [9]:
# Let's compare to the actual Saturn-V second stage delta v
vf_kmh = 25181
vi_ms = 2756
delta_v_m_per_s = (1000/3600) * vf_kmh - vi_ms
print("Achieved delta v from actual Saturn V stage 2 was " + str(delta_v_m_per_s))
Achieved delta v from actual Saturn V stage 2 was 4238.722222222223

Huh, so our upper bound from the raw Tsiolkovsky equation wasn't that bad.

▸ Captain

Worked examples — ▸ Captain

Two complete examples, both built on the same real vehicle (the Saturn V S-II stage already used above) so they're directly comparable: one ordinary constant-exhaust-velocity rocket using a real engine's catalog performance, and one applying this notebook's distinctive optimal-schedule model to the same vehicle.

▸ Captain

Worked Example 1 — Conventional baseline — ▸ Captain

An ordinary Tsiolkovsky rocket-equation treatment of the S-II stage, using the real J-2 engine's published vacuum specific impulse rather than any value derived from this notebook's energy model.

▸ Captain
In [10]:
## Worked Example 1 -- Conventional baseline ▸ Captain

propellant_fraction = (m_i_sv - m_f_sv) / m_i_sv
dv_conventional_idealized = J2_v_e * log(m_i_sv / m_f_sv)
energy_estimate_J = Re * (m_i_sv - m_f_sv)

print("Payload (m_f):            %.4g kg" % m_f_sv)
print("Initial mass (m_i):       %.4g kg" % m_i_sv)
print("Mass shed (m_i - m_f):    %.4g kg  (propellant + jettisoned dry structure, see caveat)" % (m_i_sv - m_f_sv))
print("Propellant/stage fraction: %.4f" % propellant_fraction)
print("Exhaust velocity (J-2):   %.1f m/s  (Isp %.0f s)" % (J2_v_e, J2_Isp_s))
print("Idealized conventional dv: %.1f m/s" % dv_conventional_idealized)
print("Actual achieved dv (S-II, from cell above): 4238.7 m/s")
print("Energy estimate:          %.3e J  (%.3f x 10^12 J)" % (energy_estimate_J, energy_estimate_J/1e12))
Payload (m_f):            1.19e+05 kg
Initial mass (m_i):       5.99e+05 kg
Mass shed (m_i - m_f):    4.8e+05 kg  (propellant + jettisoned dry structure, see caveat)
Propellant/stage fraction: 0.8013
Exhaust velocity (J-2):   4128.6 m/s  (Isp 421 s)
Idealized conventional dv: 6672.4 m/s
Actual achieved dv (S-II, from cell above): 4238.7 m/s
Energy estimate:          7.563e+12 J  (7.563 x 10^12 J)

Reading the gap. The idealized conventional figure (~6672 m/s) is noticeably larger than the actual achieved S-II delta-v already computed above (4238.7 m/s). That's expected and not a bug: the idealized number assumes the full stage-mass ratio converts to $\Delta v$ at the catalog vacuum $I_{sp}$ with no losses, while the real burn carries gravity losses, a finite thrust arc, residual propellant, and the stage-mass-as-propellant simplification noted above. This notebook does not attempt to quantify that gap further — it's flagged as an open item in Limitations, not modeled.

▸ Captain

Worked Example 2 — Proposed model (optimal exhaust schedule) — ▸ Captain

Definitions. As derived above: for a fixed energy budget $R_e(m_i-m_f)$, the $\Delta v$-maximizing schedule is $v_e(m) = k/m$ with $k=\sqrt{2 R_e m_i m_f}$, giving $\Delta v_{opt} = (m_i-m_f)\sqrt{2R_e/(m_i m_f)}$.

Derivation. Already carried out in full above (the Cauchy–Schwarz / inner-product argument, cells near the top of this notebook) — not repeated here.

Numerical example. Same S-II vehicle and the same $R_e$ used throughout.

Comparison with the conventional baseline. The ratio $\Delta v_{opt}/\Delta v_{const}$ depends only on the mass ratio $r=m_i/m_f$, not on $R_e$ (both formulas share the same $\sqrt{R_e}$ factor, which cancels in the ratio) — so overall engine efficiency changes the absolute $\Delta v$ figures but never the relative advantage of the optimal schedule over the constant-$v_e$ schedule for a given vehicle. This matches the $G(r)=(r-1)/(\sqrt r \ln r)$ gain function already named in this project's own reference notes.

What's merely mathematical vs. what needs a physical mechanism. The $v_e(m)=k/m$ schedule and its $\Delta v$ are exact, rigorous consequences of the stated energy constraint — pure mathematics, not an engineering claim. Two separate physical questions are not answered by this derivation: (1) whether an engine can continuously vary exhaust velocity along $k/m$ in real time, and (2) whether energy can actually be stored and released on that schedule. Question (2) is addressed directly in the Energy-Density Analysis section below; question (1) is not addressed anywhere in this notebook and is listed as open in Limitations.

▸ Captain
In [11]:
## Worked Example 2 -- Proposed model, same vehicle ▸ Captain

dv_opt = deltav_optimal(m_i_sv, m_f_sv, Re)
dv_const_ideal = deltav_constant(m_i_sv, m_f_sv, Re)
r = m_i_sv / m_f_sv
gain_ratio = dv_opt / dv_const_ideal
G_r = (r - 1) / (sqrt(r) * log(r))

print("Optimal-schedule dv:              %.1f m/s" % dv_opt)
print("Constant-v_e (same Re) dv:         %.1f m/s" % dv_const_ideal)
print("Conventional baseline dv (WE1):    %.1f m/s" % dv_conventional_idealized)
print("Actual achieved dv:                4238.7 m/s")
print("Mass ratio r = m_i/m_f:            %.4f" % r)
print("dv_opt / dv_const ratio:           %.6f" % gain_ratio)
print("G(r) = (r-1)/(sqrt(r) ln r):       %.6f  (should match the ratio above)" % G_r)
Optimal-schedule dv:              10092.2 m/s
Constant-v_e (same Re) dv:         9072.2 m/s
Conventional baseline dv (WE1):    6672.4 m/s
Actual achieved dv:                4238.7 m/s
Mass ratio r = m_i/m_f:            5.0336
dv_opt / dv_const ratio:           1.112438
G(r) = (r-1)/(sqrt(r) ln r):       1.112438  (should match the ratio above)

Comparison to billiard style collisions

A natural question that might arise now is how this "optimal" schedule for $v_e(m)$ as a function of the mass remaining compares to a hypothetical "billiard ball" collision, in which the entire exhaust is ejected at once as a rigid body in a way that preserves total system momentum, and adds a kinetic energy of $R_e (m_i - m_f)$.

We calculate that below.

Here we let $v_r$ be the final velocity magnitude of the rocket, and abuse notation to use $v_e$ to denote the final velocity magnitude of the ejected exhaust (as if it were a rigid body)

Total energy in terms of $R_e$ and masses

$$ E = R_e (m_i - m_f) $$

Momentum balance

$$ m_f v_r = (m_i - m_f) v_e $$

Kinetic energy equals total energy

$$ \frac{1}{2} (m_i - m_f) v_e^2 + \frac{1}{2} m_f v_r^2 = R_e (m_i - m_f) $$

Gather terms by masses

$$ m_f v_r^2 = (m_i - m_f) (2 R_e - v_e^2) $$

$$ v_r = \sqrt{\frac{m_i - m_f}{m_f}} \sqrt{ 2 R_e - v_e^2} $$

which we can plug back in to the momentum balance equation for

$$ (m_i - m_f) v_e = m_f \sqrt{\frac{m_i - m_f}{m_f}} \sqrt{ 2 R_e - v_e^2} $$

$$ \sqrt{\frac{m_i - m_f}{m_f}} v_e = \sqrt{ 2 R_e - v_e^2} $$

Well, now we have to square things again to get anything done

$$ (\frac{m_i - m_f}{m_f}) v_e^2 + v_e^2 = 2 R_e $$

$$ (\frac{m_i}{m_f}) v_e^2 = 2 R_e $$

$$ v_e = \sqrt{\frac{2 R_e m_f}{m_i}} $$

$$ v_r = \frac{m_i - m_f}{m_f} \sqrt{\frac{2 R_e m_f}{m_i}} $$

$$ v_r = (m_i - m_f) \sqrt{\frac{2 R_e }{m_i m_f}} $$

which is exactly what our optimal schedule of releasing mass and energy gave us.

Well, that's both relieving, and somewhat disappointing. It ties everything together in a satisfying way, but raises the question of whether starting from the billiard style collision would have been a better way to reach this optimal schedule

We also have an expression for $v_e(m)$ in terms of the remaining mass amd $v_r(m)$. What happens if we subtract these?

Recall

$$ v_e(m) = \frac{\sqrt{ 2 R_e m_i m_f}}{m} $$

$$ v_r(m) = \sqrt{ 2 R_e m_i m_f} (\frac{1}{m} - \frac{1}{m_i} ) $$

If we subtract these we get

$$ v_e(m) - v_r(m) = \frac{\sqrt{2 R_e m_i m_f}}{m_i} = \sqrt{\frac{2 R_e m_f}{m_i}} $$

which is exactly the exhaust velocity from our rigid-body billiard collision thought experiment.

This, also, makes perfect sense.

How much energy does this require storing?

Well, the amount of energy released when the mass remaining is $m_r$ is $ R_e (m_i - m_r) $

At the same time, the amount released via exhaust is

$$ \int_{m_r}^{m_i} \frac{1}{2} v_e(m)^2 dm $$

where

$$ v_e(m) = \frac{\sqrt{ 2 R_e m_i m_f}}{m} $$

which gives us

$$ \int_{m_r}^{m_i} \frac{1}{2} \frac{2 R_e m_i m_f}{m^2} = \int_{m_r}^{m_i} \frac{R_e m_i m_f}{m^2} dm $$

or

$$ (R_e m_i m_f) ( \frac{1}{m_r} - \frac{1}{m_i}) $$

This makes the difference between energy released and energy expended

$$ R_e ( (m_i - m_r) - m_i m_f ( \frac{1}{m_r} - \frac{1}{m_i})) $$

or

$$ R_e ( (m_i - m_r) - (\frac{m_i m_f}{m_r} - m_f) = R_e (m_i + m_f - m_r - \frac{m_i m_f}{m_r}) $$

In [12]:
def energy_stored_optimal(m_i, m_f, Re, m_curr = None):
    """
    m_curr allows us to plan a burn schedule for a certain amount of fuel, and calculate velocity
    at any point along that burn trajectory
    """
    if m_curr is None:
        m_curr = m_f
    return Re * (m_i + m_f - m_curr - (m_i * m_f) / m_curr)
In [13]:
### Now let's plot this for our saturn V second stage


plt.plot(masses_sv, [energy_stored_optimal(m_i_sv, m_f_sv, h_energy_density, m) for m in masses_sv], 'r-')
plt.xlabel("Mass remaining (kg)")
plt.ylabel("Energy stored (Joules)")
Out[13]:
Text(0, 0.5, 'Energy stored (Joules)')
notebook output figure

Wow, that's a lot of energy! What happens if we assume all of it is stored as heat in the remaining fuel?

We can look at what the resulting Joules/g stored heat energy would be (bearing in mind that Oxygen has a specific heat of very close to 1 Joule / (g degree Kelvin), although I am completely unsure of what kind of range that number holds over).

In [14]:
### Now let's plot joules / g for our saturn V second stage


plt.plot(masses_sv, [energy_stored_optimal(m_i_sv, m_f_sv, h_energy_density, m)/(1000.0 * m) for m in masses_sv], 'r-')
plt.xlabel("Mass remaining")
plt.ylabel("Joules / g stored energy per unit remaining mass")
Out[14]:
Text(0, 0.5, 'Joules / g stored energy per unit remaining mass')
notebook output figure

12000 huh? I have no idea how plausible that is. If those Joules / g translate 1-to-1 into degrees Kelvin, that would be twice as hot as the surface of the sun. That's pretty hot.

Inverting our view

So far, we've been looking at how much more $\Delta v$ we could get from a fixed amount of fuel by changing the schedule at which we release mass and energy.

What if we look at the problem the other way around : what if we want to look at how little fuel we can get away with for a fixed $\Delta v$ and payload mass?

To do this we'll first write a crude numerical method to help us numerically invert our `delta_v_optimal` and `delta_v_constant` functions that we defined above.

In [15]:
def find_zero(f, low, hi):
    if f(low) > 0:
        return find_zero(lambda x: -f(x), low, hi)
    while f(hi) < 0.0:
        hi = low + 2.0 * (hi - low)
    while abs(hi - low) > 1.0e-6 * abs(max(hi, low)):
        mid = 0.5 * (hi + low)
        if f(mid) < 0.0:
            low = mid
        else:
            hi = mid
    return 0.5 * (hi + low)

def inverse(f, val):
    return find_zero(lambda x: f(x) - val, 0.0, val)
In [16]:
inverse(exp, 1.5)
Out[16]:
0.4054650664329529
In [17]:
exp(inverse(exp, 1.5))
Out[17]:
1.499999937487184
In [18]:
delta_vs = [4000 + 20.0 * i for i in range(1000)]

const_v_e_masses = [inverse(lambda m: deltav_constant(m + m_f_sv, m_f_sv, h_energy_density), v) for v in delta_vs]
opt_v_e_masses = [inverse(lambda m: deltav_optimal(m + m_f_sv, m_f_sv, h_energy_density), v) for v in delta_vs]

plt.plot(delta_vs, const_v_e_masses, 'r-')
plt.plot(delta_vs, opt_v_e_masses, 'k-')

plt.xlabel("Delta v desired, m/s")
plt.ylabel("Fuel required, kg")
Out[18]:
Text(0, 0.5, 'Fuel required, kg')
notebook output figure
In [19]:
# Or, if you're more interested in fuel to payload mass ratios

delta_vs = [4000 + 20.0 * i for i in range(1000)]

const_v_e_mass_ratios = [m/m_f_sv for m in const_v_e_masses]
opt_v_e_mass_ratios = [m/m_f_sv for m in opt_v_e_masses]

plt.plot(delta_vs, const_v_e_mass_ratios, 'r-')
plt.plot(delta_vs, opt_v_e_mass_ratios, 'k-')

plt.xlabel("Delta v desired, m/s")
plt.ylabel("Fuel to payload mass ratio, (dimensionless)")
Out[19]:
Text(0, 0.5, 'Fuel to payload mass ratio, (dimensionless)')
notebook output figure

As a computer programmer, having been trained to care about the asymptotic efficiency of processes, I naturally find these plots intriguing. But am I right to do so?

For one thing, asymptotics tend to only matter when analyzing functions of variables along which one expects to scale. And these two functions start to peel away at $\Delta v$ beyond that required for most interplanetary travel within the solar system.

More importantly, though, the stored energy requirements for savings at the more extreme end might be increasingly prohibitive. Let's analyze them!

Recall that stored energy, when $m_r$ kg of mass remains, can be expressed as

$$ R_e (m_i + m_f - m_r - \frac{m_i m_f}{m_r}) $$

We want to find where the derivative of this over mass remaining reaches zero for $m_f < m_r < m_i$

$$ \frac{d}{dm} \frac{1}{m_r} ( m_i + m_f - m_r - \frac{m_i m_f}{m_r}) = 0 $$

$$ \frac{d}{dm} \frac{m_i + m_f}{m_r} - 1 - \frac{m_i m_f}{m_r^2} = 0 $$

$$ \frac{-m_i - m_f}{m_r^2} + \frac{2 m_i m_f}{m_r^3} = 0 $$

$$ \frac{2 m_i m_f}{m_r} = m_i + m_f $$

$$ m_r = \frac{2 m_i m_f}{m_i + m_f} $$

In [20]:
# So, let's write a method to compute this worst-case point

def mass_of_worst_case_energy(m_i, m_f):
    return (2.0 * m_i * m_f)/(m_i + m_f)

def worst_case_energy_density(m_i, m_f, R_e):
    """ returns answer in Joules / g """
    m = mass_of_worst_case_energy(m_i, m_f)
    return energy_stored_optimal(m_i, m_f, R_e, m) / (1000.0 * m)
In [21]:
# energy_stored_optimal(m_i_sv, m_f_sv, h_energy_density, m)/(1000.0 * m)

# Now let's check it with our Saturn V second stage example

worst_case_energy_density(m_i_sv, m_f_sv, h_energy_density)
Out[21]:
12731.58345141062
In [22]:
# That checks out, let's plot it!

delta_vs = [4000 + 20.0 * i for i in range(1000)]

densities = [worst_case_energy_density(m + m_f_sv, m_f_sv, h_energy_density) for m in opt_v_e_masses]
plt.plot(delta_vs, densities, 'k-')

plt.xlabel("Delta v desired, m/s")
plt.ylabel("Worst stored energy density, J/g")
Out[22]:
Text(0, 0.5, 'Worst stored energy density, J/g')
notebook output figure

Those are some pretty steep energy densities required near the end. Probably not achievable by merely adding heat to the remaining fuel.

▸ Captain

Energy-Density Analysis — the ~12,000 J/g figure, expanded — ▸ Captain

Mike's own eyeballed eaerlier plot read off "12000 huh?"; the exact worst-case point derived a few cells above (harmonic-mean mass remaining) lets that be computed precisely rather than read off a chart, and stated with the distinctions this kind of figure needs to be evaluated honestly.

Unit conversion. ~12,000 J/g = ~1.2 × 10<sup>7</sup> J/kg = 12 MJ/kg.

What this quantity actually is. It is the worst-case instantaneous stored-energy density required in the remaining propellant mass, at the single point along an optimal-schedule burn (mass remaining $m_r = \frac{2m_im_f}{m_i+m_f}$, the harmonic mean of $m_i$ and $m_f$) where the gap between energy already released and energy already expended via exhaust is largest. It is not an average over the whole burn, and it is not the propellant's own combustion energy density (though see below — those two numbers turn out to be closer than the "twice as hot as the sun" framing suggests).

Theoretical vs. stored vs. delivered vs. usable energy.

Efficiency parameter. Define $\eta$ as the fraction of stored energy that reaches exhaust kinetic energy. Worked Example 1 gives an independently-derived estimate: comparing the real J-2 exhaust velocity to this notebook's idealized 100%-efficient ceiling ($v_{e,ideal}=\sqrt{2R_e}$) gives $\eta_v = v_{e,J2}/v_{e,ideal} \approx 0.735$, hence $\eta_E = \eta_v^2 \approx 0.54$ (energy scales as $v_e^2$). This is a real engine's efficiency, not this notebook's storage mechanism's efficiency — the two are conceptually different — but it's the only grounded efficiency number available here, so it's used below as an illustrative, clearly-labeled benchmark rather than a measured value for the storage problem itself.

Ideal velocity-scale consequence. The full optimal-schedule $\Delta v$ (~10,092 m/s for this vehicle) is only reachable if the storage mechanism sustains the full ~12 MJ/kg peak. Any storage mechanism capped below that peak effectively caps the achievable schedule near that mass point; this notebook does not derive a general formula for partially-capped storage, and that derivation is left as future work.

Thermal implication (Mike's original framing, made precise). If this energy were stored purely as sensible heat in the remaining propellant using a specific heat near $c\approx 1\,\mathrm{J/(g\cdot K)}$ (roughly right for many candidate propellants), the implied temperature rise is $\Delta T = 12{,}732\,\mathrm{K}$ — consistent with Mike's "twice the surface of the sun" comparison (solar photosphere ≈ 5778 K).

The distinction that actually matters. In absolute terms, ~12.7 MJ/kg is not an outlandish energy density — it is about 81% of the propellant's own combustion energy density ($R_e\approx15.8$ MJ/kg used throughout this notebook), i.e. comparable to ordinary chemical energy storage, not orders of magnitude beyond it. The implausibility Mike originally flagged is specific to the mechanism proposed (dumping it as sensible heat into the same small remaining propellant mass via ordinary specific heat), not to the raw magnitude. A distinct, dedicated energy-storage medium — a second, more energy-dense chemical species, a phase-change or electrochemical store, anything not relying on ordinary $c\approx1\,\mathrm{J/(g\cdot K)}$ sensible heat in the same mass — remains an open, unquantified possibility rather than something this notebook can rule out. Flagged as unresolved, not claimed either way.

▸ Captain
In [23]:
## Energy-Density Analysis -- expanded treatment ▸ Captain

m_worst = mass_of_worst_case_energy(m_i_sv, m_f_sv)
density_worst_J_per_g = worst_case_energy_density(m_i_sv, m_f_sv, Re)
density_worst_J_per_kg = density_worst_J_per_g * 1000.0

eta_v = J2_v_e / sqrt(2 * Re)
eta_E = eta_v ** 2

c_specific_heat_J_per_g_K = 1.0
delta_T_K = density_worst_J_per_g / c_specific_heat_J_per_g_K

fraction_of_Re = density_worst_J_per_kg / Re

print("Worst-case mass remaining:         %.1f kg" % m_worst)
print("Worst-case stored-energy density:  %.1f J/g  =  %.3e J/kg" % (density_worst_J_per_g, density_worst_J_per_kg))
print("As a fraction of the propellant's own R_e: %.1f%%" % (fraction_of_Re * 100))
print("Implied sensible-heat delta-T (c=1 J/(g K)): %.0f K  (Sun's photosphere: ~5778 K)" % delta_T_K)
print("Engine efficiency benchmark eta_v (J-2 vs ideal): %.4f" % eta_v)
print("Engine efficiency benchmark eta_E (v_e^2 scaling): %.4f" % eta_E)
Worst-case mass remaining:         198554.3 kg
Worst-case stored-energy density:  12731.6 J/g  =  1.273e+07 J/kg
As a fraction of the propellant's own R_e: 80.8%
Implied sensible-heat delta-T (c=1 J/(g K)): 12732 K  (Sun's photosphere: ~5778 K)
Engine efficiency benchmark eta_v (J-2 vs ideal): 0.7355
Engine efficiency benchmark eta_E (v_e^2 scaling): 0.5409

A simpler view

Before we move on to potential practical applications, here's another, and much simpler, way to look at these findings.

Let's go back to high school physics.

Suppose there are $N$ particles, with velocities $v_i$ for $i \in (1 ... N)$ and masses $m_i$ for $i \in (1 ... N)$

The center of mass of this system of particles moves with velocity $v_{cm} = \frac{\sum_{i=1}^N v_i m_i}{\sum_{i=1}^N m_i}$

Denote the velocity of each particle with respect to the center of mass as $v_{rel,i} = v_i - v_{cm}$

The total kinetic energy of the system is

$$ \sum_{i=1}^N \frac{1}{2} m_i v_i^2 = \sum_{i=1}^N \frac{1}{2} m_i (v_{cm} + v_{rel,i})^2 = \sum_{i=1}^N \frac{1}{2} m_i v_{cm}^2 + \sum_{i=1}^N m_i v_{rel,i} v_{cm} + \sum_{i=1}^N \frac{1}{2} m_i v_{rel,i}^2$$

and we can pull terms out that don't depend on $i$ to get

$$ = \frac{1}{2} v_{cm}^2 \sum_{i=1}^N m_i + v_{cm} \sum_{i=1}^N m_i v_{rel,i} + \sum_{i=1}^N \frac{1}{2} m_i v_{rel,i}^2 $$

But we know that $\sum_{i=1}^N m_i v_{rel,i} = 0$, we can define $m_{total} = \sum_{i=1}^N m_i$, and our equation becomes

$$ \frac{1}{2} m_{tot} v_{cm}^2 + \sum_{i=1}^N \frac{1}{2} m_i v_{rel,i} ^2 $$

So the total kinetic energy of the system of particles is the sum of $\frac{1}{2} m_{tot} v_{cm}^2$ and $\sum_{i=1}^N \frac{1}{2} m_i v_{rel,i}^2$

And the total momentum of the system is simply $m_{tot} v_{cm}$

So, what does this mean for rockets?

It means that, if a rocket imparts a total energy, $E$, into expelling exhaust of total mass $m_{tot}$, the way to maximize the total momentum of the exhaust is to minimize the $\sum_{i=1}^N \frac{1}{2} m_i v_{rel,i}^2$ term. The only way to do this is to set $v_{rel,i}=0$ for all $i$, in other words, to impart the same final velocity to all exhuast (in some inertial reference frame).

This is the same conclusion we reached above, but with a much simpler path of reasoning.

What else can we do with this?

This approach may allow us to easily work out the relativistic equivalent of the above equations, without resorting to attempting calculus of variations in Minkowski space.

This is potentially important, because even rockets that don't reach relativistic speeds may have relativistic exhaust, especially with various exotic deep space propulsion systems

Is free extra mass useful?

There are several mechanisms by which an existing spacecraft might encounter a chunk of mass that it can accelerate along with conventional rocket exhaust.

Scheduling how much of this mass to inject per unit fuel consumed can allow an otherwise conventional rocket to more closely approximate the exhaust schedule prescribed by this work.

Because of this, it's worth asking under which conditions it's worthwhile to pick up the extra mass.

Optimal exhuast schedule with extra mass

Recall that the $ \Delta v $ for a rocket with optimal exhaust schedule is

$$ (m_i - m_f) \sqrt{\frac{2 R_e} {m_i m_f}} $$

Suppose we add an extra $ m_{extra} $ of inert mass to the fuel.

Our new $ R_e $ becomes $ \frac{R_e (m_i - m_f)}{m_{extra} + m_i - m_f} $ and our new $ m_i $ becomes $ m_i + m_{extra} $

We can plug these in to get

$$ (m_{extra} + m_i - m_f) \sqrt{\frac{2 R_e (m_i - m_f)} {(m_{extra} + m_i - m_f) (m_i + m_{extra}) m_f}} $$

or

$$ \sqrt{\frac{2 R_e (m_i - m_f) (m_i + m_{extra} - m_f) } {(m_i + m_{extra}) m_f}} $$

which can be re-arranged to

$$ \sqrt{\frac{2 R_e (m_i - m_f) (m_i + m_{extra}) } {(m_i + m_{extra}) m_f} - \frac{2 R_e (m_i - m_f) m_f}{(m_i + m_{extra}) m_f} } $$

or

$$ \sqrt{\frac{2 R_e (m_i - m_f) } { m_f} - \frac{2 R_e (m_i - m_f)}{m_i + m_{extra}} } $$

and, with apologies for spelling out too many intermediate steps with too many terms,

$$ \sqrt{(2 R_e (m_i - m_f)) ( \frac{1 } { m_f} - \frac{1}{m_i + m_{extra}}) } $$

Since $ \frac{1}{m_i + m_{extra}} $ decreases with increasing $ m_{extra} $ , adding extra mass does always increase the final spacecraft velocity, albeit with diminishing returns, as an infinite value for $ m_{extra} $ gives a final velocity of

$$ \sqrt{(2 R_e (m_i - m_f)) ( \frac{1 } { m_f}) } $$

In [24]:
# Let's try imagining if the 2nd stage of a Saturn V had used an optimal exhaust velocity schedule
# with infinite free extra mass
# (h_energy_density, m_i_sv, m_f_sv come from the Assumptions block above)

print("With infinite inert extra mass, final velocity is " +
      str(sqrt((2.0 * h_energy_density * (m_i_sv - m_f_sv))/m_f_sv)))

# and compare to

print("With zero inert extra mass, final velocity is " +
      str(sqrt((2.0 * h_energy_density * (m_i_sv - m_f_sv)) * (1.0/m_f_sv - 1.0/m_i_sv))))
With infinite inert extra mass, final velocity is 11274.025077876253
With zero inert extra mass, final velocity is 10092.208262381673

So, hardly a significant change.

But there is some promise here -- perhaps adding inert mass could allow us to follow an optimal exhaust velocity schedule without having to store ludicrous energy densities?

▸ Captain

Constant exhaust velocity with extra mass — ▸ Captain (completed)

Same substitution as the optimal-schedule case above ($R_e' = \frac{R_e(m_i-m_f)}{m_{extra}+m_i-m_f}$, $m_i'=m_i+m_{extra}$), plugged into the original constant-$v_e$ result instead:

$$\Delta v_{const}(m_{extra}) = \sqrt{\frac{2R_e(m_i-m_f)}{m_{extra}+m_i-m_f}}\;\ln\!\left(\frac{m_i+m_{extra}}{m_f}\right)$$

As $m_{extra}\to\infty$, the square-root factor falls off like $1/\sqrt{m_{extra}}$ while the logarithm only grows like $\ln(m_{extra})$ — so $\Delta v_{const}\to 0$. This is the opposite of the optimal-schedule case, which approaches a finite, nonzero ceiling as $m_{extra}\to\infty$ (already derived above).

▸ Captain
In [25]:
## Constant-v_e with extra mass -- completed ▸ Captain

def deltav_constant_extra(m_i, m_f, Re, m_extra):
    Re_p = Re * (m_i - m_f) / (m_extra + m_i - m_f)
    m_i_p = m_i + m_extra
    v_e_p = sqrt(2.0 * Re_p)
    return v_e_p * log(m_i_p / m_f)

def deltav_optimal_extra(m_i, m_f, Re, m_extra):
    Re_p = Re * (m_i - m_f) / (m_extra + m_i - m_f)
    m_i_p = m_i + m_extra
    return (m_i_p - m_f) * sqrt(2.0 * Re_p / (m_i_p * m_f))

print("m_extra        constant dv     optimal dv")
for m_extra in [0.0, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e12]:
    print("%.0e     %12.2f     %12.2f" % (
        m_extra,
        deltav_constant_extra(m_i_sv, m_f_sv, Re, m_extra) if m_extra > 0 else dv_const_ideal,
        deltav_optimal_extra(m_i_sv, m_f_sv, Re, m_extra) if m_extra > 0 else dv_opt,
    ))
m_extra        constant dv     optimal dv
0e+00          9072.15         10092.21
1e+04          9071.09         10112.73
1e+05          9041.51         10269.62
1e+06          8305.44         10846.40
1e+07          5393.36         11210.56
1e+08          2614.92         11267.36
1e+09          1111.15         11273.35
1e+10           440.98         11273.96
1e+12            62.01         11274.02
▸ Captain

Mass launched to rendezvous point via space gun — Future work — ▸ Captain

Not completed. This is a physical mechanism for the "free extra mass" already modeled above (a ground-based gun delivers inert mass, or fuel, to a rendezvous point outside the rocket's own onboard energy budget), not new mathematics — the formulas above already cover the "extra mass helps/hurts which schedule, by how much" question once a value of $m_{extra}$ is specified. What's actually missing before this can be turned into a real worked example, and needs Mike's judgment rather than a provisional guess:

Given a value for $m_{extra}$ and an explicit ruling on the three points above, this reduces immediately to the `deltav_*_extra` functions already defined above.

▸ Captain

Potential mission profiles — Future work — ▸ Captain

Not completed, deliberately out of scope for this pass. Filling this in responsibly means naming specific missions (e.g. LEO insertion, a Mars transfer window, Earth escape) and their accepted $\Delta v$ budgets, which means either Mike naming the profiles he had in mind, or an explicit go-ahead to research and cite public figures — this notebook does not invent mission parameters. Once budgets are named, they plug directly into `deltav_optimal` / `deltav_constant` / the extra-mass variants above with no new derivation required.

▸ Captain

Relativistic analog — idealized kinematics — ▸ Captain (completed)

Scope, stated explicitly. This section works out the idealized relativistic kinematics and energy consequences of reaching a given speed — what $v$ costs in energy, and what it does to elapsed time. It is not a propulsion-system or vehicle design: no engine, no reaction mass, no mission is specified here. See Reading the comparison and Limitations below for exactly what is and isn't claimed.

The split from Mike's original note, preserved. This still splits into two very different-difficulty pieces:

What this pass does complete is the piece both cases need regardless of schedule: given a cruise speed $v$, what does relativity say about its energy cost and its time-dilation consequence. That's a closed, self-contained calculation, unlike the optimal-schedule generalization above.

Definitions, used consistently below:

▸ Captain
In [26]:
## Relativistic analog -- worked comparison ▸ Captain

c = 299792458.0  # m/s, exact by SI definition

def lorentz_gamma(beta):
    return 1.0 / sqrt(1.0 - beta ** 2)

def relativistic_ke_per_kg(beta):
    # (gamma - 1) * c^2, in J/kg
    return (lorentz_gamma(beta) - 1.0) * c ** 2

def newtonian_ke_per_kg(beta):
    # 1/2 v^2, in J/kg -- the estimate you'd (wrongly) use ignoring relativity
    return 0.5 * (beta * c) ** 2

def traveler_time_factor(beta):
    # proper time elapsed per unit of coordinate/external time: tau / t = 1 / gamma
    return 1.0 / lorentz_gamma(beta)

betas = [0.1, 0.5, 0.9, 0.99]

print(f"{'beta':>6}  {'gamma':>10}  {'KE_rel J/kg':>14}  {'KE_newt J/kg':>14}  {'KE_rel/KE_newt':>15}  {'tau/t':>8}")
for beta in betas:
    gamma = lorentz_gamma(beta)
    ke_rel = relativistic_ke_per_kg(beta)
    ke_newt = newtonian_ke_per_kg(beta)
    ratio = ke_rel / ke_newt
    tau_over_t = traveler_time_factor(beta)
    print(f"{beta:6.2f}  {gamma:10.4f}  {ke_rel:14.4e}  {ke_newt:14.4e}  {ratio:15.3f}  {tau_over_t:8.4f}")

# One simple plot: how far the Newtonian estimate diverges from the
# relativistic figure as beta approaches 1, with the four table points marked.
betas_fine = [0.001 * i for i in range(1, 991)]
ratios_fine = [relativistic_ke_per_kg(b) / newtonian_ke_per_kg(b) for b in betas_fine]
plt.plot(betas_fine, ratios_fine)
plt.scatter(betas, [relativistic_ke_per_kg(b) / newtonian_ke_per_kg(b) for b in betas], zorder=5)
plt.xlabel("beta = v / c")
plt.ylabel("KE_rel / KE_newt")
plt.title("Relativistic vs. Newtonian kinetic-energy estimate, per kg")
plt.show()
  beta       gamma     KE_rel J/kg    KE_newt J/kg   KE_rel/KE_newt     tau/t
  0.10      1.0050      4.5278e+14      4.4938e+14            1.008    0.9950
  0.50      1.1547      1.3904e+16      1.1234e+16            1.238    0.8660
  0.90      2.2942      1.1631e+17      3.6400e+16            3.195    0.4359
  0.99      7.0888      5.4724e+17      4.4043e+16           12.425    0.1411
notebook output figure
▸ Captain

Reading the comparison — ▸ Captain

What the table shows. Even at $\beta = 0.5$ the Newtonian estimate already understates the true energy cost by a double-digit percentage; by $\beta = 0.99$ it is off by roughly an order of magnitude, and $\gamma$ is climbing toward infinity as $\beta \to 1$. The $\tau/t$ column shows the same regime shift from the traveler's side: at $\beta = 0.99$ the traveler's own clock runs at about $1/7$ of the external rate. Both columns are the same statement — the energy cost and the time-dilation payoff both accelerate together as $v \to c$ — read from two different directions.

Reaching cruise speed is only half a rendezvous mission. Everything above is a kinematic snapshot at a single constant $\beta$. A real rendezvous mission still needs, at minimum: an acceleration phase up to that cruise $\beta$, and a braking phase back down at the destination — neither is modeled here, and the outbound energy/propellant cost and the arrival (braking) energy/propellant cost must not be silently merged into one number. This section gives the cruise-speed energy and time-dilation figures only; it does not give a mission $\Delta v$ or propellant budget.

Three layers of claim, kept separate:

  1. Exact relativistic mathematics — $\gamma$, $\mathrm{KE}_{\mathrm{rel}}$, and $\tau/t$ as defined above are exact consequences of special relativity, not approximations or assumptions.
  2. Illustrative mission assumptions — the four $\beta$ values (0.1, 0.5, 0.9, 0.99) are chosen only to span the regime where Newtonian intuition breaks down; they name no real mission, distance, or vehicle.
  3. Unresolved engineering feasibility — whether any propulsion mechanism could deliver a payload to these speeds, and brake it back down, is not addressed by (1) or (2) and is not claimed here. See Limitations immediately below.
▸ Captain

Limitations — relativistic section — ▸ Captain

This section establishes kinematics and energy bookkeeping only. It does not address, and this pass does not attempt to resolve:

Conclusion. The relativistic mathematics establishes the rapidly increasing energy and time-dilation consequences of high velocity. It does not, by itself, establish a feasible propulsion architecture. Further development requires an explicit engine model, efficiency assumptions, acceleration and braking profiles, and complete system-mass accounting.

▸ Captain

Interstellar travel — Future work — ▸ Captain

Not completed; depends on the relativistic optimal-exhaust-schedule generalization above, which remains unstarted. (The idealized relativistic kinematics added in this pass — energy cost and time dilation at a given cruise speed — is not by itself a mission profile or a propulsion architecture; see that section's own Limitations.) Beyond that dependency, a real worked example here needs Mike to name concrete parameters this notebook won't guess at: target distance (e.g. Alpha Centauri ≈ 4.24 ly), crewed vs. uncrewed (which sets acceptable acceleration/g-limits), and cruise-and-brake vs. constant-acceleration mission profile.

▸ Captain

Results summary — ▸ Captain

▸ Captain

Limitations & open questions — ▸ Captain

Modeling simplifications, stated explicitly:

  1. Every worked example here treats the entire Saturn V S-II stage mass shed during the burn as propulsively-ejected reaction mass, including the stage's own dry structure jettisoned at staging. A real rocket doesn't eject its dry structure through the nozzle at $v_e$. This overstates the effective propellant mass fraction and isn't corrected — doing so needs a proper multi-stage vehicle model, out of scope here.
  2. $R_e$ uses hydrogen's higher heating value (141.8 MJ/kg), which includes water-vapor condensation energy not normally recovered in a propulsion context. The lower heating value (~120 MJ/kg) would shrink every $\Delta v$ figure in this notebook by a factor of $\sqrt{120/141.8}\approx0.92$. Not corrected; flagged as a choice, not an error.
  3. The J-2-vs-idealized efficiency figure ($\eta_E\approx0.54$) is a real engine's efficiency, reused in the Energy-Density section as an illustrative benchmark — it is not a measured efficiency for any proposed energy-storage mechanism, which doesn't exist yet to measure.
  4. Kernel/environment note: this pass was verified with a scripted re-execution of every code cell's logic (stubbing out `matplotlib.pyplot` for a math-only check), not a literal Jupyter kernel restart with matplotlib installed — no plotting environment was available in the environment this pass was done in. No cell's code or numeric inputs changed in a way that would alter any existing plot's pixel content, so saved images from the last real Jupyter run were kept rather than regenerated.

Explicitly unresolved questions, not attempted this pass: