Intuition What this page is
The parent note handed you the boxed time-of-flight equation. Here we build it from nothing , one picture at a time. By the end you'll see why the transfer time secretly depends on only three lengths, and why two mysterious angles α and β appear. No symbol is used before it earns a picture.
Definition Scope of this walkthrough (and what's out of it)
We derive the elliptic case (a > 0 , a closed, bound transfer orbit) in full. Two cousins are out of scope here but signposted so you know where they live:
Parabolic transfer — the exact borderline (a → ∞ , escape energy). It's the single fastest direct trajectory and needs its own (limiting) formula.
Hyperbolic transfer — very fast, unbound (a < 0 ); the sines in Step 3 become hyperbolic sines. Same skeleton, different functions.
Everything below is the elliptic branch; the Universal Variable Formulation unifies all three into one equation so software needn't case-split.
We have a central body (call it the Sun) at a point F — this is the focus of every orbit we'll consider, because gravity always pulls straight toward it. From F we draw two arrows to two chosen locations: where the spacecraft starts and where it must arrive .
Definition The two endpoints
P 1 and P 2
P 1 — the start point : the exact place in space where the spacecraft begins the transfer (tip of the first arrow).
P 2 — the arrival point : the exact place it must reach at the end of the flight (tip of the second arrow).
These are fixed points in space , given to us by the mission. The arrows from F to them are the position vectors below.
Look at the figure. Three labelled things:
r 1 — the arrow from the Sun F to the start point P 1 . Its length is r 1 = ∣ r 1 ∣ .
r 2 — the arrow from F to the arrival point P 2 . Its length is r 2 = ∣ r 2 ∣ .
Δ θ — the angle at the Sun between those two arrows. This is the transfer angle : how far around the sky the spacecraft travels.
Definition Prograde vs retrograde (the "sense of travel")
A spacecraft can circle the Sun in one of two rotational senses:
Prograde — the same rotational direction as the planets' usual motion (counter-clockwise seen from the north).
Retrograde — the opposite sense (clockwise).
You must pick one before measuring Δ θ , because "how far around" only means something once you say which way around you're going.
Δ θ is measured (and how it exceeds π )
Δ θ is the angle swept in the chosen sense of travel , not the plain "smaller angle" between the arrows. If you fly the short way — the same side the small angle sits on — then 0 < Δ θ < π . If you fly the long way — around the far side — you sweep the reflex angle, so π < Δ θ < 2 π . Same two arrows, but Δ θ can be either the small angle or 2 π minus it, depending on which way you go around F .
Intuition WHY start with a triangle
The spacecraft flies a curved arc , but the three points F , P 1 , P 2 form a plain flat triangle. Everything Lambert needs turns out to live in that flat triangle — not in the curve. Getting the triangle right first is the whole trick.
The straight line from P 1 to P 2 is the chord — the shortcut across, not the path flown:
c = ∣ r 2 − r 1 ∣ = law of cosines on the triangle r 1 2 + r 2 2 − 2 r 1 r 2 cos Δ θ
Intuition WHY the law of cosines and not something fancier
We know two sides (r 1 , r 2 ) and the angle between them (Δ θ ). The one tool that turns "two sides + included angle" into the third side is the law of cosines . That's exactly the question we're asking, so that's the tool.
We now have three lengths: r 1 , r 2 , c . Lambert's Theorem (from the parent note) promises the time depends only on r 1 + r 2 and c . We package them into a single friendly length, the semiperimeter .
s = 2 1 ( r 1 + r 2 + c )
Intuition WHY bother with
s
The time formula we're heading toward involves 2 a s and 2 a s − c . These two combinations turn out to be perfect squares of sines (next step). s is simply the letter that makes the algebra fall into place — it is the natural "size" of the triangle.
Common mistake Chord is not arc — see it in the figure
c is the straight green line P 1 P 2 . The spacecraft flies the curved arc drawn above that green line. In our worked numbers (r 1 = 1 , r 2 = 1.5 , Δ θ = 9 0 ∘ ) the straight chord is c = 1.8028 , but the arc actually flown is longer — roughly 2.0 in the same units. Time depends on that curved arc, yet the whole timing is pinned down by the straight length c alone. That surprising gap between the green straight line and the curve above it is Lambert's Theorem, and the figure makes it visible.
Every candidate transfer is an ellipse with some semi-major axis a (half the ellipse's long width). For a chosen a , we define two angles α and β purely from the geometry:
sin 2 α = 2 a s , sin 2 β = 2 a s − c
Intuition WHERE these two equalities come from (the right-triangle picture)
These are not guessed — they fall out of the ellipse's own geometry. On any ellipse, the distance from a point to the focus is r = a ( 1 − e cos E ) , where E is that point's eccentric anomaly (its "clock angle"). Write this at both ends and also write the chord c using the coordinates ( a cos E , b sin E ) of the two points. Grinding the algebra (a standard half-angle regrouping) turns those into
r 1 + r 2 = 2 a ( 1 − cos 2 α cos 2 β ) , c = 2 a sin 2 α cos 2 β (short-way sign)
with α = E 2 + E 1 and β = E 2 − E 1 . Add and subtract these two:
s = 2 1 ( r 1 + r 2 + c ) = 2 a sin 2 2 α , s − c = 2 a sin 2 2 β ,
using 1 − cos x = 2 sin 2 2 x . Take square roots and you land exactly on the two boxed equalities. The figure draws each as a right triangle: vertical leg s (or s − c ), hypotenuse 2 a , so the enclosed angle is α /2 (or β /2 ) and its sine is s /2 a (or ( s − c ) /2 a ).
Intuition WHY sines specifically
The sine appears because eccentric anomaly is an angle on a circle , and projecting that circle onto the ellipse always brings a sine. We use arcsine (the "which angle has this sine?" question) to recover α , β from the ratios. See Kepler's Equation and Time of Flight for the eccentric-anomaly machinery.
Kepler's equation says: as time passes, a special angle called the mean anomaly M ticks forward at a perfectly steady rate. For each end of the arc it reads
M = E − e sin E ,
where E is the eccentric anomaly (the "clock angle") and e is the eccentricity. We evaluate this at the arrival end (E 2 ) and the start end (E 1 ) and subtract .
= n a 3 μ Δ t = ( E 2 − e sin E 2 ) − ( E 1 − e sin E 1 )
Intuition WHY subtract two copies of Kepler's equation
We don't care about the absolute clock reading, only the difference between arrival and start. Subtracting kills the reference point and leaves exactly n Δ t . This is the moment time enters the geometry.
First we rename the two clock-angle combinations. Define
α = E 2 + E 1 , β = E 2 − E 1
— the sum and the difference of the two eccentric anomalies. (Equivalently E 2 = 2 α + β , E 1 = 2 α − β .) Then substitute these into Step 4 and watch e disappear.
Intuition WHY the eccentricity cancels (the crucial algebra, shown)
Take Step 4's right side, ( E 2 − E 1 ) − e ( sin E 2 − sin E 1 ) . The first bracket is just β . For the second, use the sum-to-product identity sin E 2 − sin E 1 = 2 cos 2 E 2 + E 1 sin 2 E 2 − E 1 = 2 cos 2 α sin 2 β . Now we need the value of e cos 2 α — and Step 3's geometry hands it to us. From r 1 + r 2 = 2 a ( 1 − cos 2 α cos 2 β ) combined with r 1 r 2 relations, the ellipse identity reduces to
e cos 2 α = cos 2 β
— a clean, geometry-only value for e cos 2 α ; the eccentricity is pinned, not free. Substitute it:
e ( sin E 2 − sin E 1 ) = 2 ( e cos 2 α ) sin 2 β = 2 cos 2 β sin 2 β = sin β .
The e has vanished, swallowed into sin β . Doing the same bookkeeping on the α piece gives sin α , and the whole right side collapses to ( α − sin α ) − ( β − sin β ) .
a 3 μ Δ t = β ( E 2 − E 1 ) − = s i n β via e c o s 2 α = c o s 2 β e ( sin E 2 − sin E 1 ) ⟶ ( α − sin α ) − ( β − sin β )
Intuition WHY this is the whole game
Look at the boxed line: the only unknown on the right is a (α and β are functions of a via Step 3; s , c , μ are known geometry). We want the a that makes the right side equal the given Δ t . Lambert's problem has collapsed from "solve for a whole vector orbit" down to one scalar root-find . The figure shows the right side as a curve of time-vs-a ; we slide along it to hit our target Δ t .
There is a thinnest ellipse that can still reach both points. Any thinner and it physically can't span the chord. Find it from Step 3.
A sine can never exceed 1 . So in sin ( α /2 ) = s /2 a we need
2 a s ≤ 1 ⟹ a ≥ 2 s .
The smallest allowed value is the minimum-energy semi-major axis:
a m i n = 2 s , at which sin 2 α = 1 ⇒ α = π .
a m i n is the cheapest transfer (least energy — this is the idea behind a Hohmann Transfer when the geometry lines up). It's also the anchor for the root-find : for every a > a m i n there are two transfers (one faster, one slower than the minimum-time one), so knowing a m i n lets us bracket the correct branch and stops Newton's method jumping to the wrong ellipse.
The chord c is the same whether you fly the short way (Δ θ < 18 0 ∘ ) or the long way (Δ θ > 18 0 ∘ ) — the straight line doesn't know which arc you take. What distinguishes them is the sign of β , and separately, once a > a m i n , an α -branch choice — plus you can add whole extra loops.
Definition The exact boundary
Δ θ = π (transfer angle of 180°)
Right at Δ θ = 18 0 ∘ the two radii point in opposite directions , so P 1 , F , P 2 line up straight and the chord passes through the focus. Here:
c = r 1 + r 2 (the chord is the full straight span), so s − c = 2 1 ( r 1 + r 2 + c ) − c = 2 1 ( r 1 + r 2 − c ) = 0 .
Then sin ( β /2 ) = ( s − c ) /2 a = 0 ⇒ β = 0 , so the β -sign ambiguity vanishes — short and long way meet here, both giving β = 0 .
The transfer plane is undefined by the two radii alone (they're collinear, so infinitely many planes contain them). You must supply the plane (or the angular-momentum direction) separately. This is the classic 18 0 ∘ singularity — solvers detect ∣ s − c ∣ → 0 and switch to a user-chosen plane.
α -branch rule (two ellipses per a )
For a given a > a m i n , the equation sin 2 α = s /2 a has two solutions in [ 0 , 2 π ] : the principal one α 0 = 2 arcsin s /2 a (which lies in [ 0 , π ] ), and its supplement α = 2 π − α 0 .
Use α = α 0 when the transfer's swept angle keeps the arc's far point (relative to the focus geometry) on the near side — the lower -time solution.
Use α = 2 π − α 0 for the other ellipse (focus on the opposite side of the chord) — the higher -time solution.
WHY the switch happens: both ellipses have the same a and pass through both points, but their empty focus sits on opposite sides of the chord. arcsin only ever returns the principal value in [ 0 , π ] , so it can name only one of the two — the other is recovered as 2 π − α 0 . You choose based on which Δ t the two branches give: they bracket the minimum-time transfer at a m i n .
Definition Multi-revolution branches (
N ≥ 1 )
If the given Δ t is long enough, the spacecraft can loop the focus N complete extra times before arriving. Each whole revolution adds 2 π to the swept mean anomaly, so
μ Δ t = a 3/2 [ 2 π N + ( α − sin α ) − ( β − sin β ) ] , N = 0 , 1 , 2 , …
For each N ≥ 1 there are again two α -branches (the same α 0 vs 2 π − α 0 choice as above), so a given long Δ t can be met by several distinct orbits: the direct N = 0 pair, then two more for each of N = 1 , 2 , … up to the largest N whose minimum achievable time still fits inside Δ t . Beyond that N there are no more solutions. Multi-rev solutions matter for Porkchop Plots and Launch Windows and long station-keeping Orbital Rendezvous and Targeting .
The figure shows both arcs sharing one green chord, with the long-way arc bulging the opposite side and β marked negative.
Common mistake Same chord, forgotten sign or branch
Both directions give the same c and s . If you forget to flip β for the long way, you compute the short-way time and get a wildly wrong answer. Likewise, ignoring the α = 2 π − α 0 branch or the N ≥ 1 loops means you miss whole families of valid transfers. Always fix direction, α -branch, and N before solving.
Canonical units, μ = 1 : r 1 = 1 , r 2 = 1.5 , Δ θ = 9 0 ∘ .
Chord: c = 1 + 2.25 − 0 = 3.25 ≈ 1.8028 .
Semiperimeter: s = 2 1 ( 1 + 1.5 + 1.8028 ) = 2.1514 .
Minimum-energy: a m i n = s /2 = 1.0757 .
At a = 1.30 (principal α -branch): sin ( α /2 ) = 2.1514/2.6 = 0.9096 ⇒ α = 2.2810 rad; sin ( β /2 ) = 0.3486/2.6 = 0.3662 ⇒ β = 0.7503 rad. Then
Δ t = a 3/2 [ ( α − sin α ) − ( β − sin β ) ] ≈ 1.06.
So the direct short-way, principal-branch transfer at a = 1.30 gives Δ t ≈ 1.06 . To hit the parent note's target Δ t = 1.2 you nudge a (the root-find of Step 5); the value lands near a ≈ 1.25 . The point stands: one scalar a tunes the time . (The recovered v 1 , v 2 then follow from the Lagrange Coefficients (f and g functions) , feeding Orbital Rendezvous and Targeting and Porkchop Plots and Launch Windows .)
Recall Feynman retelling — say it back in plain words
I put the Sun at a point F and draw two arrows to where I start (P 1 ) and where I must end (P 2 ). Those two arrow-tips plus the Sun make a flat triangle. I measure the long sides (r 1 , r 2 ) and the shortcut across (c ), and I add them all up and halve it to get one tidy number s . Now I guess a size for the ellipse I'll fly — call its half-width a . From the ellipse's own geometry (distance-to-focus is a ( 1 − e cos E ) ) I build two angles: α , the sum of the two endpoint clock-angles E 1 + E 2 , and β , their difference E 2 − E 1 , and I find sin 2 α = s /2 a and sin 2 β = ( s − c ) /2 a . I then use Kepler's steady clock at both ends of the trip and subtract, so all that's left is the time difference — the actual flight time, equal to n Δ t . When I substitute the sum and difference angles and use sin E 2 − sin E 1 = 2 cos 2 α sin 2 β together with the geometry fact e cos 2 α = cos 2 β , the eccentricity cancels and I'm left with μ Δ t = a 3/2 [( α − sin α ) − ( β − sin β )] . The right side is just a number that depends on my guess a , so I keep adjusting a until the time comes out to the target. If I want the cheapest trip I use the thinnest legal ellipse, a = s /2 . If I fly the long way round I flip the sign of β ; if the transfer angle is exactly 18 0 ∘ then β = 0 and I must hand-pick the plane; if I want the other ellipse of the same size I swap α for 2 π − α ; and if I have loads of time I can add whole loops with 2 π N . This is all for a bound elliptic orbit — a parabola or hyperbola would swap those sines for their straight-line or hyperbolic cousins. Out pops the orbit — and from it the velocities and the fuel.
Which three scalars does Lambert's time of flight depend on? ::: a , the chord c , and r 1 + r 2 (equivalently s ) — never the eccentricity separately.
How do α , β relate to the eccentric anomalies? ::: α = E 2 + E 1 (the sum) and β = E 2 − E 1 (the difference).
What geometry fact makes e cancel? ::: e cos 2 α = cos 2 β , which turns e ( sin E 2 − sin E 1 ) into sin β .
Why does a ≥ s /2 ? ::: Because sin ( α /2 ) = s /2 a and a sine cannot exceed 1, forcing s /2 a ≤ 1 .
What tells short-way from long-way in the formula? ::: The sign of β : positive for Δ θ < π , flipped negative for Δ θ > π .
What happens at Δ θ = 18 0 ∘ ? ::: s − c = 0 , so β = 0 and the transfer plane becomes undefined — you must supply it.
How do multi-revolution solutions enter? ::: Add 2 π N inside the bracket for N extra full loops; each N has two α -branches.