3.2.18 · D4Orbital Mechanics & Astrodynamics

Exercises — Orbit determination — Gauss's method, Gibbs method

3,714 words17 min readBack to topic

Throughout, is the gravitational parameter (a fixed number for the central body; for Earth ). A vector like is an arrow with three components ; its magnitude is just its length — a plain number, no direction. Notation convention used everywhere below: a symbol with an arrow () is the full vector; the same letter without an arrow () always means its magnitude . A unit vector is an arrow of length exactly that only carries direction. Earth's mean radius is — we will need this to reject unphysical roots. (Two derived helper vectors and their magnitudes are built from scratch in Exercise 2.3; we hold off on using them until then.)


Level 1 — Recognition

Exercise 1.1

You are handed a table of three position vectors (in km, in the ECI frame) and nothing else — no times, no angles. Which method finds the orbit, and which single vector are you missing to write the full state?

Recall Solution

Method: Gibbs. Gibbs's input is exactly three position vectors, and it needs no time information (see the parent-note mistake box "I need the times for Gibbs"). The full state of an orbiting body is six numbers: position (which you already have at the middle point) plus velocity . So the single vector you are missing is the velocity at the middle point. Gibbs's whole job is to produce .

Exercise 1.2

Match each input data type to its method: (a) three lines-of-sight from a telescope (right ascension , declination ) plus observer positions ; (b) three radar position fixes .

Recall Solution
  • (a) → Gauss. Angles alone give direction but not distance (the slant range ). Gauss's cleverness is finding those unknown ranges so that becomes fully known.
  • (b) → Gibbs. The positions are already known, so you skip straight to the velocity-recovery step. Pipeline mnemonic: Angles → Gauss → Positions → Gibbs → Velocity.

Exercise 1.3

In Gauss's method the algebra collapses to one scalar equation What physical quantity does its physically-valid root give you, and what are the two rules for picking that root among all eight?

Recall Solution

The root is , the magnitude of the middle position vector (its distance from Earth's centre). Pick the root that is (1) positive and real (a distance cannot be negative or imaginary) and (2) larger than the central body's radius — for Earth, larger than — and that yields positive slant ranges (the satellite must be above the surface and in front of the telescope, not behind it). Complex, negative, or sub-surface roots (any ) are unphysical and discarded.


Level 2 — Application

Use the parent-note dataset (Earth, ):

Exercise 2.1

Compute the three magnitudes .

Recall Solution

The magnitude is (a scalar length). All three exceed km ✓ (these are genuine above-surface positions). These scalars are the weights that appear inside and , so they must come first.

Exercise 2.2

Verify the three points are coplanar using the sign of the triple product and, more sharply, the angle test on unit vectors.

Recall Solution

Why this test: is a vector perpendicular to the plane containing and . If lies in that same plane, it is perpendicular to that normal, so the dot product is (near) zero. See the figure below.

Figure s01 — coplanarity test. Axes are arbitrary in-plane coordinates . The mint parallelogram is the orbit plane; the three coloured arrows (lavender , coral , butter ) all start at the focus and lie in that plane; the slate arrow is the normal . Coplanarity = all three coloured arrows perpendicular to the slate one. Getting the numbers straight (units matter). The cross product of two vectors in km has units km·km = km². Carrying out component by component: Dotting with (km) gives a triple product in km³. Each of its three product-terms is of order , yet they nearly cancel: So the relative size of the leftover is — one part in a million. The clean way to read this is the angle test on unit vectors: , whose arcsine is an out-of-plane angle . Coplanar ✓ — a single orbit can thread all three.

Exercise 2.3

Assemble the helper vectors and then , and report .

Recall Solution

(Here each without an arrow is the scalar magnitude weight.) Carrying out the arithmetic: Semi-latus rectum . (That is close to tells you point 2 is near the semi-latus-rectum crossing — a good sanity feel, not a requirement.)

Exercise 2.4

Finish the recipe: compute .

Recall Solution

The prefactor: . The bracket has two pieces — the transverse part (velocity along the motion) and the radial part (velocity changing the distance). Adding and scaling: matching the parent note. Now is the complete state.


Level 3 — Analysis

Exercise 3.1

Show why Gibbs uses the middle point and not or . Give a concrete algebraic sketch of the cancellation, not just a slogan.

Recall Solution

Setup — write everything in the orbit plane. Put a 2-D polar frame in the orbit plane with the focus at the origin and the polar axis along perigee. A point at true anomaly then has the vector Cross products become sines. Any two of these vectors satisfy because the cross product of two planar vectors is (product of lengths)×(sine of the angle between them) along the normal . Write the three anomaly gaps as , , . The two bracket pieces at index 2. Using the above, the transverse term is Each inner cross product is an vector ; crossing with rotates by inside the plane, so this term is a planar vector whose and components carry the tag "". Meanwhile also expands into pieces. The cancellation: substitute into both. The and tags appear in multiplied by factors and that are exactly the same sine factors produced by the transverse term at index 2 — but with the opposite sign (one comes from , the other from , which differ in orientation). Adding the two brackets, the -tagged pieces annihilate the -tagged pieces and likewise for ; only terms tagged with the middle anomaly , together with the pure constants and , survive. The result is a clean multiple of along the transverse and radial directions — i.e. exactly . Why index 1 fails. Repeat with instead. Now the transverse term is tagged "", but still supplies pieces. The would-be partner for the tag is missing (there is no term that produces a matching ), so a residual survives and pollutes the answer. The symmetric sums are literally centred so the books balance only at the middle index.

Exercise 3.2

Interpret the two bracket terms geometrically. In the figure, one term is drawn tangent to the orbit and one along the radius — which is which, and why must velocity be a sum of exactly these two?

Recall Solution

Figure s02 — velocity decomposition. Axes are arbitrary in-plane . The lavender curve is the orbit, the slate dot the focus, the coral arrow the radius to the middle point. At the tip, the mint arrow is the transverse direction (perpendicular to , along the motion) from ; the butter arrow is the radial direction (along ) from ; the slate arrow is their sum, the true velocity . On any conic, the velocity at a point decomposes into two perpendicular directions:

  • Transverse (perpendicular to the radius, along the motion) — supplied by . Since is (near) the orbit-normal direction, crossing it with rotates by within the plane, giving the along-track direction.
  • Radial (along , changing the distance) — supplied by , which carries the part. Velocity in a plane needs exactly two independent directions; radial + transverse is the natural pair for orbits, so the sum is complete — nothing is missing.

Exercise 3.3

The parent note says coplanarity is checked first. What goes catastrophically wrong in the rest of Gibbs if the three points are not coplanar (say, noisy data pushing them out of plane)? Separately, what breaks if the three points are nearly collinear?

Recall Solution

Non-coplanar case. Gibbs assumes a single planar conic threads all three points. If they are genuinely non-coplanar, no such orbit exists, so the formula still returns a number for but that number is meaningless: the reconstructed and don't correspond to any real orbit through the points. Symptoms: the resulting orbit misses points 1 and 3 badly, and derived elements (eccentricity, inclination) come out inconsistent with a re-propagation. That is why the gate is a hard prerequisite. Collinear (singular) case — the other failure mode. Look at . Each cross product is proportional to the sine of the angle between two position vectors. If the three points are nearly collinear (all bunched along one line — a very short arc with tiny angular separation between the radius vectors), every cross product shrinks toward zero, so and . The prefactor then blows up () while the bracket — a indeterminate form that is catastrophically noise-sensitive: any measurement jitter in the tiny cross products gets amplified enormously, so the recovered is dominated by noise rather than signal. Rule of thumb: Gibbs needs the three points to be spread out in true anomaly (well-separated angles). For short, tightly-spaced arcs, prefer Gauss's series treatment or gather more widely-spaced observations.


Level 4 — Synthesis

Exercise 4.1

Starting from the state you found, km and km/s, compute the specific angular momentum , its magnitude , and confirm the relation — but recompute from the state itself, not from the crude . Links: Angular Momentum & Eccentricity Vector.

Recall Solution

The conservation check done correctly. The authoritative semi-latus rectum comes from the state via : Then ✓ — the relation closes to the last digit because both sides now use the same . Why the earlier differed: that was assembled from hand-carried, rounded helper vectors ; small rounding in each component propagates into . The lesson: once you have , derive conserved quantities from the state, which is internally consistent, rather than from intermediate scratch values.

Exercise 4.2

Compute the eccentricity vector and its magnitude . What does tell you about the orbit's shape? Links: Classical Orbital Elements.

Recall Solution

With and from 4.1: Because , the orbit is an ellipse (bound). is mildly elliptical — nearly circular but clearly not a perfect circle. The direction of points toward perigee (closest approach), fixing the orbit's orientation inside its plane.

Exercise 4.3

The full Gauss→Gibbs pipeline. Draw (as a flow) the order of operations if you are given three angle pairs and must end with the six Classical Orbital Elements — including the iteration loop and the quadrant care needed when solving Kepler's Equation.

Recall Solution
flowchart TD
  A["Three angle pairs alpha delta plus observer R_i"] --> B["Line of sight unit vectors rho hat"]
  B --> C["Gauss f and g series about middle time"]
  C --> D["Eighth degree polynomial in r_2"]
  D --> E["Pick positive real root above Earth radius"]
  E --> F["Back out slant ranges rho_i positive"]
  F --> G["Positions r_i equals R_i plus rho_i rho hat"]
  G --> H["Gibbs helper vectors N D S"]
  H --> I["Velocity v_2 from state"]
  I --> J["State r_2 and v_2"]
  J --> K["Compute h and e vectors"]
  K --> L["Six classical elements a e i RAAN arg perigee"]
  L --> M["True anomaly then eccentric then mean anomaly"]
  M --> N["Kepler equation for time since perigee"]
  E --> P["Refine f and g exact then re solve"]
  P --> D

Quadrant / sign care (the part beginners skip):

  • Inclination lands in cleanly — already covers it, no ambiguity.
  • RAAN and argument of perigee come from of a ratio, which only returns . Resolve the other half using a sign test: if the node vector's -component then ; if then .
  • True anomaly : if the body is moving inward (past apogee, heading to perigee), so .
  • Kepler's equation then relates eccentric anomaly to mean anomaly (hence time). Solve for from numerically (Newton's method), keeping in the same revolution as . The iterate loop (right branch) is the key subtlety: Gauss's first come from truncated Lagrange series, so refine them with exact Lagrange Coefficients (f and g) and re-solve the polynomial until stops moving.

Level 5 — Mastery

Exercise 5.1

Derive the coplanarity scalar as a determinant. Show that equals the determinant and explain geometrically why its vanishing means coplanarity.

Recall Solution

The scalar triple product is the determinant of the three vectors stacked as rows — a standard identity. Expand into its components and dot with ; the resulting sum of signed products is exactly the cofactor expansion of that determinant. Geometry: is the volume of the parallelepiped spanned by the three vectors. Three vectors lie in a common plane iff that box is flat — zero volume. Hence determinant coplanar. This is why the test is exact in principle and near-zero (relative to term size) in noisy practice.

Exercise 5.2

Build a mini-Gibbs check by hand-verifying scale. Given only and from Exercise 2.3, show that has units of length and estimate ; then confirm has units of so that the whole velocity formula lands in km/s.

Recall Solution

Units: is (km)(km²)=km³, so is km³. is km², so is km². Thus has units ✓, and km. Prefactor: has units , so is ✓. The bracket has units . Multiply: ✓. Dimensional analysis alone forces the formula's shape — a powerful sanity net.

Exercise 5.3

Limiting/degenerate case. Suppose two of the three position vectors coincide, . Show that Gibbs breaks down, and explain physically why three distinct, well-separated points are required. Connect this to the collinear failure of Exercise 3.3.

Recall Solution

If , then several building blocks collapse: , and the pair contributes nothing new to or ; the sums degenerate as if you had only two distinct points. Two points on a conic do not determine it uniquely (infinitely many conics of different eccentricities pass through two given points sharing one focus), so the reconstructed is undetermined/ill-conditioned. Physically: you need three genuinely different samples of the curve to pin the scale (), the plane ( direction), and the shape/orientation (). This is the same pathology as the collinear case in Exercise 3.3 — coincident points are just the extreme of "not spread out": when the angular spread between samples vanishes, the cross-product sums vanish and diverges.