# Gauss's method

In orbital mechanics (subfield of celestial mechanics), Gauss's method is used for preliminary orbit determination from at least three observations (more observations increases the accuracy of the determined orbit) of the orbiting body of interest at three different times. The required information are the times of observations, the position vectors of the observation points (in Equatorial Coordinate System), the direction cosine vector of the orbiting body from the observation points (from Topocentric Equatorial Coordinate System) and general physical data.

Carl Friedrich Gauss developed important mathematical techniques (summed up in Gauss's methods) which were specifically used to determine the orbit of Ceres. The method shown following is the orbit determination of an orbiting body about the focal body where the observations were taken from, whereas the method for determining Ceres' orbit requires a bit more effort because the observations were taken from Earth while Ceres orbits the Sun.

## Observer position vector

The observer position vector (in Equatorial coordinate system) of the observation points can be determined from the latitude and local sidereal time (from Topocentric coordinate system) at the surface of the focal body of the orbiting body (for example, the Earth) via either:

${\displaystyle \mathbf {R_{n}} =\left[{R_{e} \over {\sqrt {1-(2f-f^{2})\sin ^{2}\phi _{n}}}}+H_{n}\right]\cos \phi _{n}(\cos \theta _{n}\ \mathbf {\hat {I}} +\sin \theta _{n}\ \mathbf {\hat {J}} )+\left[{R_{e}(1-f)^{2} \over {\sqrt {1-(2f-f^{2})\sin ^{2}\phi _{n}}}}+H_{n}\right]\sin \phi _{n}\ \mathbf {\hat {K}} }$
Geodetic latitude
Geocentric latitude
or
${\displaystyle \mathbf {R_{n}} =R_{e}\cos \phi '_{n}\cos \theta _{n}\ \mathbf {\hat {I}} +R_{e}\cos \phi '_{n}\sin \theta _{n}\ \mathbf {\hat {J}} +R_{e}\sin \phi '_{n}\ \mathbf {\hat {K}} }$
where,
• ${\displaystyle \mathbf {R_{n}} }$ is the respective observer position vector (in Equatorial Coordinate System)
• ${\displaystyle R_{e}}$ is the equatorial radius of the body (e.g., 6,378 km for Earth)
• ${\displaystyle f}$ is the oblateness (or flattening) of the body (e.g., 0.003353 for Earth)
• ${\displaystyle \phi _{n}}$ is the geodetic latitude (the angle between the normal plane and the equatorial plane)
• ${\displaystyle \phi '_{n}}$ is the geocentric latitude (the angle between the radius and the equatorial plane)
• ${\displaystyle H_{n}}$ is the altitude
• ${\displaystyle \theta _{n}}$ is the local sidereal time

## Orbiting body direction cosine vector

Right ascension (blue) and declination (green) as seen from outside the celestial sphere

The orbiting body direction cosine vector can be determined from the right ascension and declination (from Topocentric Equatorial Coordinate System) of the orbiting body from the observation points via:

${\displaystyle \mathbf {{\hat {\rho }}_{n}} =\cos \delta _{n}\cos \alpha _{n}\ \mathbf {\hat {I}} +\cos \delta _{n}\sin \alpha _{n}\ \mathbf {\hat {J}} +\sin \delta _{n}\ \mathbf {\hat {K}} }$
where,
• ${\displaystyle \mathbf {{\hat {\rho }}_{n}} }$ is the respective unit vector in the direction of the position vector ${\displaystyle \rho }$ (from observation point to orbiting body in Topocentric Equatorial Coordinate System)
• ${\displaystyle \delta _{n}}$ is the respective declination
• ${\displaystyle \alpha _{n}}$ is the respective right ascension

## Gauss's method of preliminary orbit determinations algorithm

The following equations are shown without derivation because a basic background understanding is necessary. However, a brief explanation will be given to provide an idea of the derivation process.

The initial derivation begins with vector addition to determine the orbiting body's position vector. Then based on the conservation of angular momentum and Keplerian orbit principles (which states that an orbit lies in a two dimensional plane in three dimensional space), a linear combination of said position vectors is established. Also, the relation between a body's position and velocity vector by Lagrange coefficients is used which results in the use of said coefficients. Then with vector manipulation and algebra, the following equations were derived. For detailed derivation, refer to Curtis.[1]

NOTE: Gauss's method is a preliminary orbit determination, with emphasis on preliminary. The approximation of the Lagrange coefficients and the limitations of the required observation conditions (i.e., insignificant curvature in the arc between observations, refer to Gronchi[2] for more details) causes inaccuracies. There are ways of increasing the accuracy of Gauss's method such as increasing the accuracy of the Lagrange coefficients. This can be done by solving the universal Kepler's equation. Another way to increase the accuracy is through more observations. There are techniques/methods available that can be used but why not use Gauss's own method, least squares method (still popularly used today).

### Step 1

Calculate time intervals, subtract the times between observations:

${\displaystyle \tau _{1}=t_{1}-t_{2}}$
${\displaystyle \tau _{3}=t_{3}-t_{2}}$
${\displaystyle \tau =t_{3}-t_{1}}$
where
• ${\displaystyle \tau _{n}}$ is the time interval
• ${\displaystyle t_{n}}$ is the respective observation time

### Step 2

The cross product in respect to a right-handed coordinate system

Calculate cross products, take the cross products of the observational unit direction (order matters):

${\displaystyle \mathbf {p_{1}} =\mathbf {{\hat {\rho }}_{2}} \times \mathbf {{\hat {\rho }}_{3}} }$
${\displaystyle \mathbf {p_{2}} =\mathbf {{\hat {\rho }}_{1}} \times \mathbf {{\hat {\rho }}_{3}} }$
${\displaystyle \mathbf {p_{3}} =\mathbf {{\hat {\rho }}_{1}} \times \mathbf {{\hat {\rho }}_{2}} }$
where
• ${\displaystyle \mathbf {a} \times \mathbf {b} }$ is the cross product of vectors ${\displaystyle \mathbf {a} {\text{ and }}\mathbf {b} }$
• ${\displaystyle \mathbf {p_{n}} }$ is the respective cross product vector
• ${\displaystyle \mathbf {{\hat {\rho }}_{n}} }$ is the respective unit vector

### Step 3

Three vectors defining a parallelepiped. The magnitude of the triple product, ${\displaystyle |\mathbf {a} \cdot (\mathbf {b} \times \mathbf {c} )|}$, describes the volume.

Calculate common scalar quantity (scalar triple product), take the dot product of the first observational unit vector with the cross product of the second and third observational unit vector:

${\displaystyle D_{0}=\mathbf {{\hat {\rho }}_{1}} \cdot \mathbf {p_{1}} =\mathbf {{\hat {\rho }}_{1}} \cdot (\mathbf {{\hat {\rho }}_{2}} \times \mathbf {{\hat {\rho }}_{3}} )}$
where
• ${\displaystyle \mathbf {a} \cdot \mathbf {b} }$ is the dot product of vectors ${\displaystyle \mathbf {a} {\text{ and }}\mathbf {b} }$
• ${\displaystyle D_{0}}$ is the common scalar triple product
• ${\displaystyle \mathbf {p_{n}} }$ is the respective cross product vector
• ${\displaystyle \mathbf {{\hat {\rho }}_{n}} }$ is the respective unit vector

### Step 4

Calculate nine scalar quantities (similar to step 3):

${\displaystyle D_{11}=\mathbf {R_{1}} \cdot \mathbf {p_{1}} \qquad D_{12}=\mathbf {R_{1}} \cdot \mathbf {p_{2}} \qquad D_{13}=\mathbf {R_{1}} \cdot \mathbf {p_{3}} }$
${\displaystyle D_{21}=\mathbf {R_{2}} \cdot \mathbf {p_{1}} \qquad D_{22}=\mathbf {R_{2}} \cdot \mathbf {p_{2}} \qquad D_{23}=\mathbf {R_{2}} \cdot \mathbf {p_{3}} }$
${\displaystyle D_{31}=\mathbf {R_{3}} \cdot \mathbf {p_{1}} \qquad D_{32}=\mathbf {R_{3}} \cdot \mathbf {p_{2}} \qquad D_{33}=\mathbf {R_{3}} \cdot \mathbf {p_{3}} }$
where
• ${\displaystyle D_{mn}}$ is the respective scalar quantities
• ${\displaystyle \mathbf {R_{m}} }$ is the respective observer position vector
• ${\displaystyle \mathbf {p_{n}} }$ is the respective cross product vector

### Step 5

Calculate scalar position coefficients:

${\displaystyle A={\frac {1}{D_{0}}}\left(-D_{12}{\frac {\tau _{3}}{\tau }}+D_{22}+D_{32}{\frac {\tau _{1}}{\tau }}\right)}$
${\displaystyle B={\frac {1}{6D_{0}}}\left[D_{12}\left(\tau _{3}^{2}-\tau ^{2}\right){\frac {\tau _{3}}{\tau }}+D_{32}\left(\tau ^{2}-\tau _{1}^{2}\right){\frac {\tau _{1}}{\tau }}\right]}$
${\displaystyle E=\mathbf {R_{2}} \cdot \mathbf {{\hat {\rho }}_{2}} }$
where
• ${\displaystyle A{\text{, }}B{\text{, and }}E}$ are scalar position coefficients
• ${\displaystyle D_{0}}$ is the common scalar quantity
• ${\displaystyle D_{mn}}$ is the respective scalar quantities
• ${\displaystyle \tau _{n}}$ is the time interval
• ${\displaystyle R_{n}}$ is the respective observer position vector
• ${\displaystyle \mathbf {{\hat {\rho }}_{n}} }$ is the respective unit vector

### Step 6

Calculate the squared scalar distance of the second observation, by taking the dot product of the position vector of the second observation:

${\displaystyle {R_{2}}^{2}=\mathbf {R_{2}} \cdot \mathbf {R_{2}} }$
where
• ${\displaystyle {R_{2}}^{2}}$ is the squared distance of the second observation
• ${\displaystyle \mathbf {R_{2}} }$ is the position vector of the second observation

### Step 7

Calculate the coefficients of the scalar distance polynomial for the second observation of the orbiting body:

${\displaystyle a=-\left(A^{2}+2AE+{R_{2}}^{2}\right)}$
${\displaystyle b=-2\mu B(A+E)}$
${\displaystyle c=-\mu ^{2}B^{2}}$
where
• ${\displaystyle a{\text{, }}b{\text{, and }}c}$ are coefficients of the scalar distance polynomial for the second observation of the orbiting body
• ${\displaystyle A{\text{, }}B{\text{, and }}E}$ are scalar position coefficients
• ${\displaystyle \mu }$ is the gravitational parameter of the focal body of the orbiting body

### Step 8

Find the root of the scalar distance polynomial for the second observation of the orbiting body:

${\displaystyle {r_{2}}^{8}+a{r_{2}}^{6}+b{r_{2}}^{3}+c=0}$
where
• ${\displaystyle r_{2}}$ is the scalar distance for the second observation of the orbiting body (it and its vector, r2, are in the Equatorial Coordinate System)
• ${\displaystyle a{\text{, }}b{\text{, and }}c}$ are coefficients as previously stated

Various methods can be used to find the root, a suggested method is the Newton-Raphson method. The root must be physically possible (i.e., not negative nor complex) and if multiple roots are suitable, each must be evaluated and compared to any available data to confirm their validity.

### Step 9

Calculate the slant range, the distance from the observer point to the orbiting body at their respective time:

${\displaystyle \rho _{1}={\frac {1}{D_{0}}}\left[{\frac {6\left(D_{31}{\dfrac {\tau _{1}}{\tau _{3}}}+D_{21}{\dfrac {\tau }{\tau _{3}}}\right){r_{2}}^{3}+\mu D_{31}\left(\tau ^{2}-{\tau _{1}}^{2}\right){\dfrac {\tau _{1}}{\tau _{3}}}}{6{r_{2}}^{3}+\mu \left(\tau ^{2}-{\tau _{3}}^{2}\right)}}-D_{11}\right]}$
${\displaystyle \rho _{2}=A+{\frac {\mu B}{{r_{2}}^{3}}}}$
${\displaystyle \rho _{3}={\frac {1}{D_{0}}}\left[{\frac {6\left(D_{13}{\dfrac {\tau _{3}}{\tau _{1}}}-D_{23}{\dfrac {\tau }{\tau _{1}}}\right){r_{2}}^{3}+\mu D_{13}\left(\tau ^{2}-{\tau _{3}}^{2}\right){\dfrac {\tau _{3}}{\tau _{1}}}}{6{r_{2}}^{3}+\mu \left(\tau ^{2}-{\tau _{1}}^{2}\right)}}-D_{33}\right]}$
where
• ${\displaystyle \rho _{n}}$ is the respective slant range (it and its vector, ${\displaystyle \mathbf {\rho _{n}} }$, are in the Topocentric Equatorial Coordinate System)
• ${\displaystyle D_{0}}$ is the common scalar quantity
• ${\displaystyle D_{mn}}$ is the respective scalar quantities
• ${\displaystyle \tau _{(n)}}$ is the time interval
• ${\displaystyle r_{2}}$ is the scalar distance for the second observation of the orbiting body
• ${\displaystyle \mu }$ is the gravitational parameter of the focal body of the orbiting body

### Step 10

Calculate the orbiting body position vectors, by adding the observer position vector to the slant direction vector (which is the slant distance multiplied by the slant direction vector):

${\displaystyle \mathbf {r_{1}} =\mathbf {R_{1}} +\rho _{1}\mathbf {{\hat {\rho }}_{1}} }$
${\displaystyle \mathbf {r_{2}} =\mathbf {R_{2}} +\rho _{2}\mathbf {{\hat {\rho }}_{2}} }$
${\displaystyle \mathbf {r_{3}} =\mathbf {R_{3}} +\rho _{3}\mathbf {{\hat {\rho }}_{3}} }$
where
• ${\displaystyle \mathbf {r_{n}} }$ is the respective orbiting body position vector (in Equatorial Coordinate System)
• ${\displaystyle \mathbf {R_{n}} }$ is the respective observer position vector
• ${\displaystyle \rho _{n}}$ is the respective slant range
• ${\displaystyle \mathbf {{\hat {\rho }}_{n}} }$ is the respective unit vector

### Step 11

Calculate the Lagrange coefficients:

${\displaystyle f_{1}\approx 1-{\frac {1}{2}}{\frac {\mu }{{r_{2}}^{3}}}{\tau _{1}}^{2}}$
${\displaystyle f_{3}\approx 1-{\frac {1}{2}}{\frac {\mu }{{r_{2}}^{3}}}{\tau _{3}}^{2}}$
${\displaystyle g_{1}\approx \tau _{1}-{\frac {1}{6}}{\frac {\mu }{{r_{2}}^{3}}}{\tau _{1}}^{3}}$
${\displaystyle g_{3}\approx \tau _{3}-{\frac {1}{6}}{\frac {\mu }{{r_{2}}^{3}}}{\tau _{3}}^{3}}$
where,
• ${\displaystyle f_{1}}$, ${\displaystyle f_{3}}$, ${\displaystyle g_{1}}$ and ${\displaystyle g_{3}}$ are the Lagrange coefficients (these are just the first two terms of the series expression based on the assumption of small time interval)
• ${\displaystyle \mu }$ is the gravitational parameter of the focal body of the orbiting body
• ${\displaystyle r_{2}}$ is the scalar distance for the second observation of the orbiting body
• ${\displaystyle \tau _{(n)}}$ is the time interval

### Step 12

Calculate the velocity vector for the second observation of the orbiting body:

${\displaystyle \mathbf {v_{2}} ={\frac {1}{f_{1}g_{3}-f_{3}g_{1}}}\left(-f_{3}\mathbf {r_{1}} +f_{1}\mathbf {r_{3}} \right)}$
where
• ${\displaystyle \mathbf {v_{2}} }$ is the velocity vector for the second observation of the orbiting body (in Equatorial Coordinate System)
• ${\displaystyle f_{1}}$, ${\displaystyle f_{3}}$, ${\displaystyle g_{1}}$ and ${\displaystyle g_{3}}$ are the Lagrange coefficients
• ${\displaystyle \mathbf {r_{n}} }$ is the respective orbiting body position vector

### Step 13

The orbital state vectors have now been found, the position (r2) and velocity (v2) vector for the second observation of the orbiting body. With these two vectors, the orbital elements can be found and the orbit determined.

## References

• Der, Gim J.. "New Angles-only Algorithms for Initial Orbit Determination." Advanced Maui Optical and Space Surveillance Technologies Conference. (2012). Print.