Lambert's Problem: Formulation and Geometry
The boundary-value problem, the transfer triangle, Lambert's theorem and Lagrange's time-of-flight equation
Pauca sed matura. (Few, but ripe.)
Below a_m the two circles do not meet and no ellipse can contain both points. The minimum-energy ellipse has the smallest |ε| = μ/2a of any bound transfer — but, careful, not necessarily the smallest Δv: Δv depends on the velocities you start and end with, not on the transfer energy alone.
Principal values α₀, β₀ in [0, π]. The branch rules below decide which multiple of them applies.
Lagrange's time-of-flight equation. Short way: β = β₀; long way (Δθ > 180°): β = −β₀. Fast arc (empty focus beyond the chord, Δt below the minimum-energy time): α = α₀; slow arc (Δt above it): α = 2π − α₀.
Minus sign for Δθ ≤ 180°, plus for Δθ > 180°. If the requested time is shorter than Δt_p, no ellipse can do it: the transfer is a hyperbola. You can classify the conic before solving anything.
Then v₁ = (r₂ − f r₁)/g and v₂ = (ġ r₂ − r₁)/g. Note the division by sin Δθ hidden in g: at exactly 180° it collapses, and that is not a numerical accident.