3.2.29Orbital Mechanics & Astrodynamics

Gauss's method for Lambert's problem

1,998 words9 min readdifficulty · medium

WHAT is Lambert's problem?

  • WHY it matters: every interplanetary transfer, rendezvous, and orbit-determination-from-two-observations reduces to this. It's the workhorse of mission design (porkchop plots come from solving Lambert millions of times).

The geometric quantities we need

Let θ=Δν\theta = \Delta\nu be the transfer angle (change in true anomaly between the two points).


Deriving Gauss's key ratio yy

Kepler's 2nd law says the radius vector sweeps equal areas in equal times, so Δt=2(area of elliptic sector swept)h,h=μp.\Delta t = \frac{2\,(\text{area of elliptic sector swept})}{h}, \qquad h=\sqrt{\mu p}.

The two radii and the chord also enclose a triangle of area A=12r1r2sinθ.A_{\triangle} = \tfrac12 r_1 r_2 \sin\theta.

Gauss expressed the sector-to-triangle ratio through the semi-latus rectum pp. Working through the sector area for an ellipse gives the two fundamental relations:

Why two equations? One (y2=m+xy^2=\frac{m}{\ell+x}) is geometry ↔ auxiliary variable; the other (y2(y1)=y^2(y-1)=\dots) is time ↔ auxiliary variable via Kepler's equation. The true orbit satisfies both simultaneously → solve the coupled pair.


HOW to solve — the iteration

Once yy is known, recover the orbit:

Figure — Gauss's method for Lambert's problem

Worked example


Steel-manned mistakes


Active recall

Recall Test yourself (hide the answers)
  • What are the inputs and outputs of Lambert's problem?
  • What does the ratio yy physically compare?
  • Why does Gauss's method need two equations?
  • Where does the method fail, and why?
  • How do you get v1\mathbf v_1 once yy is found?
Recall Feynman: explain to a 12-year-old

Imagine a stone thrown so it lands on a far hill in exactly 3 seconds. If I tell you where it started, where it landed, and how long it took, there's exactly one curved path (for a chosen curve direction) that fits. Gauss's trick: he compares the "pie slice" the planet sweeps to the flat "triangle" between the two spots. He guesses their ratio is about 1, checks whether that guess would take the right amount of time, and nudges the guess until the clock matches. When it matches, he's found the path — and from the path he knows how fast it was going.


Flashcards

What does Lambert's problem take as input and produce as output?
Input: r1,r2\mathbf r_1,\mathbf r_2 and time-of-flight Δt\Delta t. Output: the connecting Kepler orbit, i.e. v1,v2\mathbf v_1,\mathbf v_2.
In Gauss's method, what does the ratio yy represent?
The ratio of the swept elliptic sector area to the triangle area between the two radii and the chord.
Why does Gauss's method use two coupled equations?
One links geometry to the auxiliary variable (y2=m/(+x)y^2=m/(\ell+x)); the other links time-of-flight to it (y2(y1)=m(x12+X)y^2(y-1)=m(x-\tfrac12+X)). The true orbit satisfies both.
What is the correct iteration update for yy?
y=1+(+x)(x12+X(x))y = 1 + (\ell+x)(x-\tfrac12+X(x)), obtained by dividing the 2nd Gauss equation by y2y^2 and using the 1st.
What is the chord length formula for the transfer?
c2=r12+r222r1r2cosθc^2=r_1^2+r_2^2-2r_1r_2\cos\theta (law of cosines).
How does Δt\Delta t enter Gauss's constant mm?
As Δt2\Delta t^2: m=μΔt2/(2r1r2cos(θ/2))3m=\mu\Delta t^2/(2\sqrt{r_1r_2}\cos(\theta/2))^3 (Kepler-3 scaling).
Where does Gauss's method break down?
Near θ=180°\theta=180° (antipodal), since cos(θ/2)0\cos(\theta/2)\to0 makes ,m\ell,m blow up and iteration fails.
Once yy (hence pp) is known, how are velocities recovered?
Via Lagrange coefficients: v1=(r2fr1)/g\mathbf v_1=(\mathbf r_2-f\mathbf r_1)/g, v2=(g˙r2r1)/g\mathbf v_2=(\dot g\mathbf r_2-\mathbf r_1)/g.
What is a good starting guess for the iteration and why?
y=1y=1, because for modest transfer angles the sector ≈ triangle, and yy stays near 1.

Connections

  • Lambert's problem — parent problem
  • Kepler's equation — supplies the time↔eccentric-anomaly link
  • Lagrange f and g functions — used to extract velocities
  • Universal variable formulation — robust alternative near 180°180°
  • Battin's method and Izzo Lambert solver — modern replacements
  • Kepler's second law — equal-area basis of the sector/triangle ratio
  • Porkchop plot — application: mass Lambert solves for launch windows

Concept Map

inputs

law of cosines

goal

gives

triangle formula

ratio

ratio

shape constant

time constant

combine

combine

couples with

iterate y and x

guess and correct

yields

applied in

Lambert problem: find orbit

r1, r2 and delta t

Chord c and angle theta

Recover v1, v2

Kepler 2nd law: equal areas

Elliptic sector area

Triangle area

Key ratio y = sector / triangle

ell constant

m constant, holds delta t^2

Gauss eq 1: y^2 = m / ell + x

Gauss eq 2: y^2 y-1 = m x-1/2+X

Converge to orbit

Transfers and porkchop plots

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, Lambert's problem simple si baat hai: tumhe do positions pata hain — kahaan se object chala (r1\mathbf r_1) aur kahaan pahuncha (r2\mathbf r_2) — aur kitne time mein pahuncha (Δt\Delta t). Sawaal: konsi orbit in dono ko jodti hai? Gauss ne iska ek bahut clever tarika nikala. Usne kaha, do radii aur unke beech ki chord se ek triangle banta hai, aur planet jo area sweep karta hai woh ek sector (pie slice) hota hai. Inn dono ke ratio ko — sector ÷ triangle — usne yy naam diya.

Trick yeh hai: shuru mein maan lo y=1y=1 (matlab sector aur triangle almost barabar). Is guess se ek auxiliary variable xx nikaalo, phir ek chhoti si series X(x)X(x) se naya yy calculate karo. Sahi update formula hai y=1+(+x)(x12+X(x))y = 1 + (\ell+x)\,(x-\tfrac12+X(x)) — yeh dusri Gauss equation ko y2y^2 se divide karke aur pehli equation daal ke aata hai. Yeh loop 3-4 baar chalao aur yy settle ho jaata hai. Ismein do equations hain — ek geometry batati hai, doosri time-of-flight (Δt2\Delta t^2 ke through, Kepler ke third law jaisa). Dono jab ek saath satisfy ho jaayein, tab tumhe sahi orbit mil gayi.

yy mil gaya toh pp (semi-latus rectum) nikaalo, phir Lagrange f,gf, g functions use karke seedha v1\mathbf v_1 aur v2\mathbf v_2 nikaal lo — dobara Kepler solve karne ki zaroorat nahi. Yeh method mission design mein bahut kaam aata hai: Mars ya kisi bhi planet ka transfer, launch window (porkchop plot) — sab ismein Lambert solve karke banta hai.

Ek warning: agar transfer angle θ\theta 180° ke paas ho (dono points bilkul opposite side), toh cos(θ/2)\cos(\theta/2) zero ho jaata hai aur method fat jaata hai. Aise case mein universal-variable ya Izzo/Battin solver use karo. Aur haan, Δt\Delta t hamesha square karke aata hai (mΔt2m\propto\Delta t^2) — yeh mat bhoolna.

Go deeper — visual, from zero

Test yourself — Orbital Mechanics & Astrodynamics

Connections