Exercises — Converting between orbital elements and state vectors (r, v)
We reuse one master recipe throughout. Keep it in view:
Level 1 — Recognition
L1.1 Which single orbital element tells you the size of the orbit, and which conserved quantity fixes it during a state→element conversion?
Recall Solution
WHAT: We are matching an element to the quantity that pins it. The ==semi-major axis sets the size. It is fixed by the specific energy == via . WHY: Energy depends only on how big the ellipse is (vis-viva), not on where the body sits — so one energy number is enough to recover .
L1.2 In the state→element recipe, what is the node vector , and what does it point at?
Recall Solution
. Since is perpendicular to the orbit plane and is the reference-frame vertical, their cross product lies along the line where the orbit plane cuts the reference plane — the line of nodes. By convention points to the ascending node (where the body crosses upward). If the orbit is equatorial and is undefined.
L1.3 True or false: the eccentricity vector points toward apoapsis.
Recall Solution
False. points toward periapsis (closest approach). Its magnitude is the scalar .
Level 2 — Application
L2.1 A satellite has speed at distance . Find the semi-major axis .
Recall Solution
WHAT: energy → size, one plug-in. WHY : means a bound (elliptical) orbit, and the minus signs cancel to give a positive size.
L2.2 Given and , find and the inclination .
Recall Solution
WHAT: cross product then a cosine. WHY: is the axle of the orbit; its tilt away from is the inclination.
L2.3 For km, , compute the periapsis and apoapsis distances.
Recall Solution
; . WHY: periapsis and apoapsis are the two endpoints of the major axis; is the midpoint, is the offset of the focus.
Level 3 — Analysis
L3.1 Given , (km, km/s), find the full eccentricity vector and confirm the orbit is nearly circular. State whether the body is at periapsis or apoapsis.
Recall Solution
WHAT: build from the recipe, read its geometry. , , . So — nearly circular. Sign check: means the body is at an apse (radial velocity zero). Since points along and is also along , and are parallel → → the body sits at periapsis (). WHY the parallel test: is the angle between periapsis () and current position (); parallel ⇒ zero angle ⇒ periapsis.
L3.2 An orbit has with , . Compute , applying the correct quadrant fix.
Recall Solution
WHAT: cosine gives a raw angle; the companion sign disambiguates. . . Quadrant fix: , so . WHY: only returns . The node here points into the third quadrant (), which lives beyond ; the rule reflects it below the -axis. The figure below shows the raw and corrected angles as mirror images across the -axis.

Read it as: same -projection, opposite -sign — so the cosine can't tell them apart, but can.
Level 4 — Synthesis
L4.1 Full state→element conversion. Given Find , , and .
Recall Solution
Step 1 — magnitudes. WHY first: every downstream formula (, , ) needs the scalar lengths and , so we compute them once up front. Step 2 — energy → . WHY energy: the specific energy depends only on orbit size, so it is the cleanest single quantity that hands us (via ) without needing any angles. Step 3 — and . WHY : the angular-momentum vector is the axle perpendicular to the orbit plane, so its tilt from is the inclination — one cosine reads it off. Step 4 — then . WHY : the eccentricity vector is the only quantity carrying shape () and the periapsis direction at once, so it finishes the shape half of the conversion (and would seed if asked). We first need , the radial-motion indicator: . . Then So this is a highly eccentric, near-polar orbit with km, , .
Level 5 — Mastery
L5.1 Elements→state, full pipeline. Given Find in the inertial (ECI) frame.
Recall Solution
Step 1 — perifocal position. WHY the semi-latus rectum and orbit equation: in the perifocal frame periapsis lies on the axis, so position is trivially — but we first need the scalar distance at this true anomaly. The orbit equation is exactly the conic written from the focus, and is its natural size-scale (the width at ). Using converts our given size element into that scale: Step 2 — rotate PQW → ECI. Apply the composite matrix displayed at the top of this page. Since , only the first two columns act, giving (with ): WHY these exact cosine–sine combinations? is three stacked rotations, read innermost→outermost:
- first swings periapsis (the axis) forward by inside the orbit plane — this is why appear paired with the in-plane coordinates.
- then tips the whole plane up by the inclination about the node line — this is why every term that "leaves the plane" is multiplied by or (the , factors).
- finally swivels the node line to its sky longitude about — the source of the factors. Each entry is a product of one factor from each rotation, so a term like literally reads "swivelled by , spun by , tilted by ." The negatives live inside because we transform components from PQW into ECI, the inverse of turning the frame.
Numbers: . Row 1 coefficients: ; . Row 2 coefficients: ; . Row 3 coefficients: ; . Answer: . Check: = ✓ (rotations preserve length).
L5.2 Singularity reasoning — equatorial case. An orbit is perfectly equatorial () and eccentric (). Explain which classical element becomes undefined and give a well-defined substitute.
Recall Solution
WHAT breaks: With the orbit plane is the reference plane, so it never "cuts up through" it — the line of nodes vanishes: . Then is → is undefined, and since is measured from the (missing) node, is undefined too. The fix: eccentricity direction is still perfectly good (), so use the true longitude of periapsis measured directly from the axis, computed from : (quadrant by ). More generally, equinoctial elements remove all such cases. WHY this works: the combination stays observable even when each piece individually is not — the ambiguity is only in where you split the angle, not in the total.
L5.3 Singularity reasoning — circular case. An orbit is perfectly circular () but inclined (). Explain which classical elements become undefined and give the well-defined substitute.
Recall Solution
WHAT breaks: With the eccentricity vector collapses, . There is now no periapsis direction, so:
- (measured to periapsis from the node) is undefined — is .
- (measured from periapsis) is undefined too — is . The node still exists ( ⇒ ), so is fine. The fix: measure position from the node instead of from the missing periapsis. Use the argument of latitude , computed directly from the node and position vectors: WHY this works: the sum is the angle from the node to the body, which is perfectly well-defined regardless of where periapsis "would" be. Only the split into and is ambiguous. (If the orbit is both circular and equatorial, even dies and you fall back on the true longitude , or on equinoctial elements.)
Recall One-line self-test before you leave
State the companion sign for each quadrant-ambiguous element.