# 9.8: Orbital Elements and Velocity Vector

- Page ID
- 8185

In two dimensions, an orbit can be completely specified by *four orbital elements*. Three of them give the size, shape and orientation of the orbit. They are, respectively, \(a\), \(e\) and \(ω\). We are familiar with the semi major axis \(a\) and the eccentricity \(e\). The angle \(ω\), the argument of perihelion, was illustrated in figure \(\text{II.19}\), which is reproduced here as figure \(\text{IX.7}\). It is the angle that the major axis makes with the initial line of the polar coordinates. Figure \(\text{II.19}\) reminds us of the relation between the argument of perihelion \(ω\), the argument of latitude \(θ\) and the true anomaly \(v\). We remind ourselves here of the Equation to a conic section

\[r = \frac{l}{1 + e \cos v} = \frac{l}{1 + e \cos (θ-ω)}, \label{9.9.1} \tag{9.9.1}\]

where the semi latus rectum \(l\) is \(a(1 − e^2 )\) for an ellipse, and \(a(e^2 − 1)\) for a hyperbola. For a hyperbola, the parameter a is usually called the semi transverse axis. For a parabola, the size is generally described by the perihelion distance \(q\), and \(l = 2q\).

The fourth element is needed to give information about where the planet is in its orbit at a particular time. Usually this is \(T\), the time of perihelion passage. In the case of a circular orbit this cannot be used. One could instead give the time when \(θ = 0\), or the value of \(θ\) at some specified time.

Refer now to figure IX.8.

We’ll suppose that at some time \(t\) we know the coordinates \((x , \ y)\) or \((r , \ θ)\) of the planet, and also the velocity – that is to say the speed and direction, or the \(x\)- and \(y\)- or the radial and transverse components of the velocity. That is, we know four quantities. The subsequent path of the planet is then determined. In other words, given the four quantities (two components of the position vector and two components of the velocity vector), we should be able to determine the four elements \(a\), \(e\), \(ω\) and \(T\). Let us try.

The semi major axis is easy. It’s determined from Equation \ref{9.5.31}:

\[V^2 = G \textbf{M} \left( \frac{2}{r} - \frac{1}{a} \right) . \label{9.5.31} \tag{9.5.31}\]

If distances are expressed in \(\text{AU}\) and if the speed is expressed in units of \(29.7846917 \ \text{km s}^{−1}\), \(G \textbf{M} = 1\), so that the semi major axis in \(\text{AU}\) is given by

\[a = \frac{r}{2 - rV^2}. \label{9.9.2} \tag{9.9.2}\]

In other words, if we know the speed and the heliocentric distance, the semi major axis is known. If \(a\) turns out to be infinite - in other words, if \(V^2 = 2/r\) - the orbit is a parabola; and if \(a\) is negative, it is a hyperbola. For an ellipse, of course, the period in sidereal years is given by \(P^2 = a^3\).

From the geometry of figure \(\text{IX.8}\), the transverse component of \(\textbf{V}\) is \(\text{V} \sin (ψ − θ)\), which is known, the magnitude and direction of \(\textbf{V}\) being presumed known. Therefore the angular momentum per unit mass is \(r\) times this, and, for an elliptic orbit, this is related to \(a\) and \(e\) by Equation \ref{9.5.27a}:

\[h = \sqrt{G \textbf{M} a(1 - e^2)}. \label{9.5.27a} \tag{9.5.27a}\]

\[r V \sin (ψ - θ) = \sqrt{G \textbf{M} a(1-e^2)} . \label{9.9.3} \tag{9.9.3}\]

Again, if distances are expressed in \(\text{AU}\) and \(\text{V}\) in units of \(29.7846917 \ \text{km s}^{−1}\), \(G \textbf{M} = 1\), and so

\[r V \sin (ψ - θ) = \sqrt{a(1 - e^2)}. \label{9.9.4} \tag{9.9.4}\]

Thus \(e\) is determined.

The Equation to an ellipse is

\[ r = \frac{a(1 - e^2)}{1 + e \cos (θ - ω)}, \label{9.9.5} \tag{9.9.5}\]

so, provided the usual care is take in choosing the quadrant, \(ω\) is now known.

From there we proceed:

\[v = θ - ω, \quad \cos E = \frac{e + \cos v}{1 + e \cos v}, \quad \mathcal{M} = E - e \sin E = \frac{2π}{P}(t - T), \]

and \(T\) is found. The procedure for a parabola or a hyperbola is similar.

Example \(\PageIndex{1}\)

At time \(t = 0\), a comet is at \(x = +3.0\), \(y = +6.0 \ \text{AU}\) and it has a velocity with components \(\dot{x} = -0.2\), \(\dot{y}=+0.4\) times \(29.7846917 \ \text{km s}^{−1}\). Find the orbital elements \(a\), \(e\), \(ω\) and \(T\). (In case you are wondering, a particle of negligible mass moving around the Sun in an unperturbed circular orbit of radius one astronomical unit, moves with a speed of \(29.7846917 \ \text{km s}^{−1}\). This follows from the definition of the astronomical unit of length.)

**Solution**

Note in what follows that, although I am quoting numbers to only a few significant figures, the calculation at all times carries all ten figures that my hand calculator allows. You will not get exactly the same results unless you do likewise. Do not prematurely round off. I am using astronomical units of distance, sidereal years for time and speed in units of \(29.8 \ \text{km s}^{−1}\).

\[r = 6.708, \ θ = 63^\circ 26^\prime, \ V = 0.4472, \ ψ = 116^\circ 34^\prime\]

Be sure to get the quadrants right!

\[\underline{a = 10.19 \ \text{AU}} \quad P = 32.5 \quad \underline{e = 0.6593} \quad \cos (θ − ω) = -0.21439\]

And now we are faced with a dilemma. \(θ − ω = 102^\circ \ 23^\prime\) or \(257^\circ \ 37^\prime\). Which is it? This is a typical “quadrant problem”, and it cannot be ignored. The two possible solutions give \(ω = 321^\circ \ 03^\prime\) or \(165^\circ \ 49^\prime\), and we have to decide which is correct.

The two solutions are drawn in Figure \(\text{IX.9}\). The continuous curve is the ellipse for \(ω = 321^\circ \ 03^\prime\) and the dashed curve is the curve for \(ω = 165^\circ \ 49^\prime\). I have also drawn in the velocity vector at \((r , \ θ)\), and it is clear from the drawing that the continuous curve with \(ω = 321^\circ \ 03^\prime\) is the correct ellipse. We now have

\[\underline{ω = 321^\circ \ 03^\prime}\]

Is there a way of deducing this from the Equations rather than going to the trouble of drawing the ellipses? I offer the following. I am going to find the slope (gradient) of each ellipse at the point \(\text{P}\). The correct ellipse is the one for which \(ψ = 116^\circ \ 34^\prime\), i.e. \(dy/dx = −2\). The Equation to the ellipse is

\[r = \frac{1}{1 + e \cos (θ − ω)} = \frac{a(1-e^2)}{1 + e \cos (θ − ω)}, \label{9.9.6} \tag{9.9.6}\]

from which \[\frac{dr}{dθ} = \frac{le \sin (θ − ω)}{[(1 + e \cos (θ − ω)]^2}. \label{9.9.7} \tag{9.9.7}\]

The expression for \(\frac{dx}{dy} (= tanψ)\) in polar coordinates is

\[\frac{dx}{dy} = \frac{\tan θ \frac{dr}{dθ} + r}{\frac{dr}{dθ} - r \tan θ}, \label{9.9.8} \tag{9.9.8}\]

and of course \[r = \sqrt{x^2 + y^2}. \label{9.9.9} \tag{9.9.9}\]

From these, I obtain, in our numerical example,

for \(ω = 165^\circ \ 49^\prime , \ ψ = 190^\circ\), and for \(ω = 321^\circ \ 03^\prime , \ ψ = 165^\circ 49^\prime\),

so clearly the latter is correct.

From this point we go:

\[v = 102^\circ \ 23^\prime, \quad \cos E = 0.51817,\]

and again we are presented with a dilemma, for this gives \(E = 58^\circ \ 47^\prime\) or \(301^\circ \ 13^\prime\), and we have to decide which one is correct. From the geometrical meaning of \(v\) and \(E\), we can understand that they are equal when each of them is either \(0^\circ\) or \(180^\circ\). Since \(v < 180^\circ\), \(E\) must also be less than \(180^\circ\), so the correct choice is \(E = 58^\circ \ 47^\prime = 1.0261 \ \text{rad}\). From there, we have

\[\mathcal{M} = 26^\circ \ 29^\prime = 0.46218 \ \text{rad}, \quad \underline{T = -2.392 \text{sidreal years},}\]

and the elements are now completely determined.

Exercise \(\PageIndex{1}\)

Write a computer program, in the language of your choice, in which the input data are \(x, \ y, \ \dot{x}, \ \dot{y}\), and the output is \(a, \ e, \ ω\) and \(T\). You will probably want to keep it simple at first, and deal only with ellipses. Therefore, if the program calculates that \(a\) is not positive, exit the program then. I’m not sure how you will solve the quadrant problems. That will be up to your ingenuity. Don’t forget that many languages have an \(\text{ARCTAN2}\) function. Later, you will want to expand the program and deal with *any* set of \(x, \ y, \ \dot{x}, \ \dot{y}\), with a resulting orbit that may be any of the conic sections. Particularly annoying cases may be those in which the planet is heading straight for the Sun, with no transverse component of velocity, so that it is moving in a straight line, or a circular orbit, in which case \(T\) is undefined.

Notice that the problem we have dealt with in this section is the opposite of the problem we dealt with in Sections 9.6, 9.7 and 9.8. In the latter, we were given the elements, and we calculated the position of the planet as a function of time. That is, we calculated an ephemeris. In the present section, we are given the position and velocity at some time and are asked to calculate the elements. Both problems are of comparable difficulty. Perhaps the latter is slightly easier than the former, since we don’t have to solve Kepler’s Equation. This might give the impression that calculating the orbital elements of a planet is of comparable difficulty to, or even slightly easier than, calculating an ephemeris from the elements. This is, in practice, very far from the case, and in fact calculating the elements from the observations is very much more difficult than generating an ephemeris. In this section, we have calculated the elements, given the position and velocity vectors. In real life, when a new planet swims into our ken, we have no idea of the distance or of the speed or the direction of motion. All we have is a set of positions against the starry background, and the most difficult part of the problem of determining the elements is to determine the distance.

The next chapter will deal with generating an ephemeris (right ascension and declination as a function of time) from the orbital elements in the real three-dimensional situation. Calculating the elements from the observations will come much later.