3.2.17 · D1Orbital Mechanics & Astrodynamics

Foundations — Converting between orbital elements and state vectors (r, v)

3,686 words17 min readBack to topic

This page defines every symbol the parent note Converting between orbital elements and state vectors (r, v) leans on, in an order where each idea rests on the one before it. If a symbol below feels obvious, read it anyway — the conversion recipes break the instant one meaning is fuzzy.


0. The stage: a body orbiting a big mass

Everything happens around one heavy object (Earth, the Sun). We treat it as a fixed point at the origin, and a tiny body (a satellite) moves around it.

Figure — Converting between orbital elements and state vectors (r, v)

1. A vector: an arrow with length and direction

Before "position vector" means anything, "vector" must.

We will soon lay down three perpendicular measuring sticks (section 2). Once those exist, a vector can also be written as three numbers — how far the arrow reaches along each stick. Until then, just picture the arrow itself.


2. The reference frame: three axes

Figure — Converting between orbital elements and state vectors (r, v)

Why the topic needs it: the tilt is measured from the plane spanned by , and the node vector uses directly (). Without a fixed frame, "tilted" and "swivelled" have no meaning. This particular frame is the ECI frame; a second, orbit-hugging frame (PQW) appears later — see Reference frames — perifocal (PQW) vs ECI.


3. Position and velocity — the state vectors


4. Angles and trig: , , ,

We need to talk about "the angle between two arrows" before the dot product, because the dot product's meaning is built on it.


5. Multiplying vectors: dot and cross

The conversions live and die on two ways to combine two arrows. Both use the angle we just defined.

Figure — Converting between orbital elements and state vectors (r, v)

Why the topic needs it: is perpendicular to the orbit plane — so the cross product literally manufactures the axis the orbit spins about. That is how one operation fixes both the tilt and the swivel .


6. Angular momentum — the "sweep" arrow

Why the topic needs it: is conserved (constant), so it is a rock-solid signpost. Its direction fixes the orbit plane; its magnitude sets the parameter .


7. The gravitational parameter


8. Specific energy

The sign of decides the shape of path entirely: negative = bound ellipse, zero = escape (parabola), positive = flyby (hyperbola).


9. The ellipse and its shape numbers: , ,

Now we meet the geometry itself. Follow figure s04 as you read — it labels every quantity below on one drawing.

Figure — Converting between orbital elements and state vectors (r, v)

10. Orientation vectors and angles: , , , ,

Two more arrows must be built before the orientation angles have anything to grab onto.


11. Degenerate cases — when angles lose their meaning

The definitions in section 10 quietly assume the arrows and are non-zero. When they shrink to zero, some angles become undefined — this is not a bug, it is geometry running out of landmarks.

Figure — Converting between orbital elements and state vectors (r, v)

How it all feeds the conversion

vectors and magnitude

components x y z

reference frame x y z

position r and velocity v

angle cos sin arccos

dot product

cross product

sign checks for quadrants

angular momentum h

node vector n

gravity parameter mu

specific energy epsilon

eccentricity vector e

orbit plane i and Omega

semi major axis a

ellipse a e p omega nu

degenerate cases

rotation matrices

Convert elements and state vectors


12. Rotation matrices

Why the topic needs it: Direction B first builds in the easy perifocal frame, then applies to swivel–tilt–spin the arrows into the real inertial frame — three simple turns instead of one messy formula. Notice leaves the -row untouched (it turns only in the -plane) and leaves the -row untouched (it turns only in the -plane) — exactly the "spin about that axis" behaviour their names promise. To turn the fixed elements into a time you additionally need Kepler's equation and time-of-flight.


Equipment checklist

Cover each answer and test yourself — if any is shaky, re-read its section before the parent note.

What is the difference between and ?
is the arrow (position, 3 numbers); is just its length (distance), one positive number.
Why is the plain letter not a vector magnitude on this page?
Because is reserved for the semi-major axis; a generic arrow's length is always written , never bare .
What is the dot product formula in terms of , and why is there?
; measures how much the two arrows point the same way (1 aligned, 0 perpendicular, −1 opposite).
What does the sign of tell you?
Positive → moving away from the central body (); negative → moving toward it ().
What does the cross product give you geometrically?
A new arrow () perpendicular to the orbit plane; its length is twice the areal sweep rate.
Why is useful for finding orientation?
It is constant and perpendicular to the plane, so it fixes both inclination and node swivel .
What does the eccentricity vector encode, and what is its length?
It points toward periapsis and its length is exactly the eccentricity, ; its formula is .
What is the correct quadrant test for ?
The sign of ; if negative, (the shortcut only works for equatorial-referenced prograde orbits).
What does specific energy determine, and via what formula?
The orbit size: .
What is and why use it instead of and separately?
, the pull strength; only the product appears in orbit maths and it is measured more precisely than or alone.
Define , , and in one line each.
= half the longest diameter (size); = squish (0 circle → 1 cigar); = orbit width used in .
Why does the orbit equation give smallest at ?
Because makes the denominator largest, so (periapsis).
Which companion sign fixes each angle's quadrant?
for , for , for ; needs none.
When do and become undefined, and what replaces them?
undefined when (use argument of latitude ); undefined when (use true longitude); equinoctial elements cure both.
Write and .
has (untouched ); has (untouched ).