# Kepler orbit

An elliptic Kepler orbit with an eccentricity of 0.7, a parabolic Kepler orbit and a hyperbolic Kepler orbit with an eccentricity of 1.3. The distance to the focal point is a function of the polar angle relative to the horizontal line as given by the equation (13)

In celestial mechanics, a Kepler orbit (or Keplerian orbit) is the motion of one body relative to another, as an ellipse, parabola, or hyperbola, which forms a two-dimensional orbital plane in three-dimensional space. A Kepler orbit can also form a straight line. It considers only the point-like gravitational attraction of two bodies, neglecting perturbations due to gravitational interactions with other objects, atmospheric drag, solar radiation pressure, a non-spherical central body, and so on. It is thus said to be a solution of a special case of the two-body problem, known as the Kepler problem. As a theory in classical mechanics, it also does not take into account the effects of general relativity. Keplerian orbits can be parametrized into six orbital elements in various ways.

In most applications, there is a large central body, the center of mass of which is assumed to be the center of mass of the entire system. By decomposition, the orbits of two objects of similar mass can be described as Kepler orbits around their common center of mass, their barycenter.

## Introduction

From ancient times until the 16th and 17th centuries, the motions of the planets were believed to follow perfectly circular geocentric paths as taught by the ancient Greek philosophers Aristotle and Ptolemy. Variations in the motions of the planets were explained by smaller circular paths overlaid on the larger path (see epicycle). As measurements of the planets became increasingly accurate, revisions to the theory were proposed. In 1543, Nicolaus Copernicus published a heliocentric model of the Solar System, although he still believed that the planets traveled in perfectly circular paths centered on the Sun.[1]

### History of Kepler and the telescope

Kepler moved to Prague and started working with Tycho Brahe. After inheriting Tycho's work in 1601, Kepler discovered the orbit of Mars was in fact an ellipse. This let him to publish Astronomia Nova. He suggested that the Sun rotates on its own axis as well. Kepler's book Astronomia Nova also contained information about treatises on the nature of light and a “new star.” Kepler first noticed the star in October 1604. This sighting of the new star was called a supernova. New questions came to Kepler's mind as he studied space. He questioned how light from the region of the heavenly bodies could reflect into the atmosphere of Earth and be seen with the human eye.

Kepler questioned how the light could be pinpoint against a single point on the retina and how images were conveyed upside down. Galileo built a telescope in 1609 and sent Kepler his account of the skies in Siderius Nunicus. Kepler responded to Galileo with three treatises:[2]

1. Conversation with the Sidereal Messenger which speculates on the distance of the newly discovered Jupiter's moons.
2. The theoretical work of the new telescope using two convex lenses instead of one. This allowed the image to be seen right side up.
3. That the observations of Jupiter in Narration Concerning the Jovian Satellites and how the work had strong support of Galileo's discoveries.

Replying to the treatises, Galileo wrote to Kepler saying, “I thank you because you were the first one, and practically the only one, to have complete faith in my assertions.”

When Kepler started working with Tycho Brahe around 1600, Tycho gave him the task of reviewing all the information Tycho had on Mars. Kepler noted that the position of Mars was subject to much error and created problems for many models. This led Kepler to configure 3 Laws of Planetary Motion.

First Law: Planets move in ellipses with the Sun at one focus

The law would change an eccentricity of 0.0. and focus more of an eccentricity of 0.8. which show that Circular and Elliptical orbits have the same period and focus, but different sweeps of area defined by the Sun.

This leads to the Second Law: The radius vector describes equal areas in equal times.

These two laws were published in Kepler's book Astronomia Nova in 1609.

For a circles motion is uniform, however for the elliptical to sweep the area in a uniform rate, the object moves quickly when the radius vector is short and moves slower when the radius vector is long.

Kepler published his Third Law of Planetary Motion in 1619, in his book Harmonices Mundi. Newton used the Third Law to define his laws of gravitation.

The Third Law: The squares of the periodic times are to each other as the cubes of the mean distances.[3]

## Development of the laws

In 1601, Johannes Kepler acquired the extensive, meticulous observations of the planets made by Tycho Brahe. Kepler would spend the next five years trying to fit the observations of the planet Mars to various curves. In 1609, Kepler published the first two of his three laws of planetary motion. The first law states:

"The orbit of every planet is an ellipse with the sun at a focus."

More generally, the path of an object undergoing Keplerian motion may also follow a parabola or a hyperbola, which, along with ellipses, belong to a group of curves known as conic sections. Mathematically, the distance between a central body and an orbiting body can be expressed as:

${\displaystyle r(\theta )={\frac {a(1-e^{2})}{1+e\cos(\theta )}}}$

where:

• ${\displaystyle r}$  is the distance
• ${\displaystyle a}$  is the semi-major axis, which defines the size of the orbit
• ${\displaystyle e}$  is the eccentricity, which defines the shape of the orbit
• ${\displaystyle \theta }$  is the true anomaly, which is the angle between the current position of the orbiting object and the location in the orbit at which it is closest to the central body (called the periapsis).

Alternately, the equation can be expressed as:

${\displaystyle r(\theta )={\frac {p}{1+e\cos(\theta )}}}$

Where ${\displaystyle p}$  is called the semi-latus rectum of the curve. This form of the equation is particularly useful when dealing with parabolic trajectories, for which the semi-major axis is infinite.

Despite developing these laws from observations, Kepler was never able to develop a theory to explain these motions.[4]

### Isaac Newton

Between 1665 and 1666, Isaac Newton developed several concepts related to motion, gravitation and differential calculus. However, these concepts were not published until 1687 in the Principia, in which he outlined his laws of motion and his law of universal gravitation. His second of his three laws of motion states:

The acceleration of a body is parallel and directly proportional to the net force acting on the body, is in the direction of the net force, and is inversely proportional to the mass of the body:

${\displaystyle \mathbf {F} =m\mathbf {a} =m{\frac {d^{2}\mathbf {r} }{dt^{2}}}}$

Where:

• ${\displaystyle \mathbf {F} }$  is the force vector
• ${\displaystyle m}$  is the mass of the body on which the force is acting
• ${\displaystyle \mathbf {a} }$  is the acceleration vector, the second time derivative of the position vector ${\displaystyle \mathbf {r} }$

Strictly speaking, this form of the equation only applies to an object of constant mass, which holds true based on the simplifying assumptions made below.

The mechanisms of Newton's law of universal gravitation; a point mass m1 attracts another point mass m2 by a force F2 which is proportional to the product of the two masses and inversely proportional to the square of the distance (r) between them. Regardless of masses or distance, the magnitudes of |F1| and |F2| will always be equal. G is the gravitational constant.

Newton's law of gravitation states:

Every point mass attracts every other point mass by a force pointing along the line intersecting both points. The force is proportional to the product of the two masses and inversely proportional to the square of the distance between the point masses:

${\displaystyle F=G{\frac {m_{1}m_{2}}{r^{2}}}}$

where:

• ${\displaystyle F}$  is the magnitude of the gravitational force between the two point masses
• ${\displaystyle G}$  is the gravitational constant
• ${\displaystyle m_{1}}$  is the mass of the first point mass
• ${\displaystyle m_{2}}$  is the mass of the second point mass
• ${\displaystyle r}$  is the distance between the two point masses

From the laws of motion and the law of universal gravitation, Newton was able to derive Kepler's laws, which are specific to orbital motion in astronomy. Since Kepler's laws were well-supported by observation data, this consistency provided strong support of the validity of Newton's generalized theory, and unified celestial and ordinary mechanics. These laws of motion formed the basis of modern celestial mechanics until Albert Einstein introduced the concepts of special and general relativity in the early 20th century. For most applications, Keplerian motion approximates the motions of planets and satellites to relatively high degrees of accuracy and is used extensively in astronomy and astrodynamics.

### Simplified two body problem

To solve for the motion of an object in a two body system, two simplifying assumptions can be made:

1. The bodies are spherically symmetric and can be treated as point masses.
2. There are no external or internal forces acting upon the bodies other than their mutual gravitation.

The shapes of large celestial bodies are close to spheres. By symmetry, the net gravitational force attracting a mass point towards a homogeneous sphere must be directed towards its centre. The shell theorem (also proven by Isaac Newton) states that the magnitude of this force is the same as if all mass was concentrated in the middle of the sphere, even if the density of the sphere varies with depth (as it does for most celestial bodies). From this immediately follows that the attraction between two homogeneous spheres is as if both had its mass concentrated to its center.

Smaller objects, like asteroids or spacecraft often have a shape strongly deviating from a sphere. But the gravitational forces produced by these irregularities are generally small compared to the gravity of the central body. The difference between an irregular shape and a perfect sphere also diminishes with distances, and most orbital distances are very large when compared with the diameter of a small orbiting body. Thus for some applications, shape irregularity can be neglected without significant impact on accuracy.

Planets rotate at varying rates and thus may take a slightly oblate shape because of the centrifugal force. With such an oblate shape, the gravitational attraction will deviate somewhat from that of a homogeneous sphere. This phenomenon is quite noticeable for artificial Earth satellites, especially those in low orbits. At larger distances the effect of this oblateness becomes negligible. Planetary motions in the Solar System can be computed with sufficient precision if they are treated as point masses.

Two point mass objects with masses ${\displaystyle m_{1}}$  and ${\displaystyle m_{2}}$  and position vectors ${\displaystyle \mathbf {r} _{1}}$  and ${\displaystyle \mathbf {r} _{2}}$  relative to some inertial reference frame experience gravitational forces:

${\displaystyle m_{1}{\ddot {\mathbf {r} }}_{1}={\frac {-Gm_{1}m_{2}}{r^{2}}}\mathbf {\hat {r}} }$
${\displaystyle m_{2}{\ddot {\mathbf {r} }}_{2}={\frac {Gm_{1}m_{2}}{r^{2}}}\mathbf {\hat {r}} }$

where ${\displaystyle \mathbf {r} }$  is the relative position vector of mass 1 with respect to mass 2, expressed as:

${\displaystyle \mathbf {r} =\mathbf {r} _{1}-\mathbf {r} _{2}}$

and ${\displaystyle \mathbf {\hat {r}} }$  is the unit vector in that direction and ${\displaystyle r}$  is the length of that vector.

Dividing by their respective masses and subtracting the second equation from the first yields the equation of motion for the acceleration of the first object with respect to the second:

${\displaystyle {\ddot {\mathbf {r} }}=-{\frac {\mu }{r^{2}}}\mathbf {\hat {r}} }$

(1)

where ${\displaystyle \mu }$  is the gravitational parameter and is equal to

${\displaystyle \mu =G(m_{1}+m_{2})}$

In many applications, a third simplifying assumption can be made:

3. When compared to the central body, the mass of the orbiting body is insignificant. Mathematically, m1 >> m2, so μ = G (m1 + m2) ≈ Gm1.

This assumption is not necessary to solve the simplified two body problem, but it simplifies calculations, particularly with Earth-orbiting satellites and planets orbiting the Sun. Even Jupiter's mass is less than the Sun's by a factor of 1047,[5] which would constitute an error of 0.096% in the value of μ. Notable exceptions include the Earth-Moon system (mass ratio of 81.3), the Pluto-Charon system (mass ratio of 8.9) and binary star systems.

Under these assumptions the differential equation for the two body case can be completely solved mathematically and the resulting orbit which follows Kepler's laws of planetary motion is called a "Kepler orbit". The orbits of all planets are to high accuracy Kepler orbits around the Sun. The small deviations are due to the much weaker gravitational attractions between the planets, and in the case of Mercury, due to general relativity. The orbits of the artificial satellites around the Earth are, with a fair approximation, Kepler orbits with small perturbations due to the gravitational attraction of the Sun, the Moon and the oblateness of the Earth. In high accuracy applications for which the equation of motion must be integrated numerically with all gravitational and non-gravitational forces (such as solar radiation pressure and atmospheric drag) being taken into account, the Kepler orbit concepts are of paramount importance and heavily used.

### Keplerian elements

Keplerian orbital elements.

Any Keplerian trajectory can be defined by six parameters. The motion of an object moving in three-dimensional space is characterized by a position vector and a velocity vector. Each vector has three components, so the total number of values needed to define a trajectory through space is six. An orbit is generally defined by six elements (known as Keplerian elements) that can be computed from position and velocity, three of which have already been discussed. These elements are convenient in that of the six, five are unchanging for an unperturbed orbit (a stark contrast to two constantly changing vectors). The future location of an object within its orbit can be predicted and its new position and velocity can be easily obtained from the orbital elements.

Two define the size and shape of the trajectory:

• Semimajor axis (${\displaystyle a}$ )
• Eccentricity (${\displaystyle e}$ )

Three define the orientation of the orbital plane:

• Inclination (${\displaystyle i}$ ) defines the angle between the orbital plane and the reference plane.
• Longitude of the ascending node (${\displaystyle \Omega }$ ) defines the angle between the reference direction and the upward crossing of the orbit on the reference plane (the ascending node).
• Argument of periapsis (${\displaystyle \omega }$ ) defines the angle between the ascending node and the periapsis.

And finally:

• True anomaly (${\displaystyle \nu }$ ) defines the position of the orbiting body along the trajectory, measured from periapsis. Several alternate values can be used instead of true anomaly, the most common being ${\displaystyle M}$  the mean anomaly and ${\displaystyle T}$ , the time since periapsis.

Because ${\displaystyle i}$ , ${\displaystyle \Omega }$  and ${\displaystyle \omega }$  are simply angular measurements defining the orientation of the trajectory in the reference frame, they are not strictly necessary when discussing the motion of the object within the orbital plane. They have been mentioned here for completeness, but are not required for the proofs below.

### Mathematical solution of the differential equation (1) above

For movement under any central force, i.e. a force parallel to r, the specific relative angular momentum ${\displaystyle \mathbf {H} =\mathbf {r} \times {\dot {\mathbf {r} }}}$  stays constant:

${\displaystyle {\dot {\mathbf {H} }}={\frac {d}{dt}}\left(\mathbf {r} \times {\dot {\mathbf {r} }}\right)={\dot {\mathbf {r} }}\times {\dot {\mathbf {r} }}+\mathbf {r} \times {\ddot {\mathbf {r} }}=\mathbf {0} +\mathbf {0} =\mathbf {0} }$

Since the cross product of the position vector and its velocity stays constant, they must lie in the same plane, orthogonal to ${\displaystyle \mathbf {H} }$ . This implies the vector function is a plane curve.

Because the equation has symmetry around its origin, it is easier to solve in polar coordinates. However, it is important to note that equation (1) refers to linear acceleration ${\displaystyle \left({\ddot {\mathbf {r} }}\right),}$  as opposed to angular ${\displaystyle \left({\ddot {\theta }}\right)}$  or radial ${\displaystyle \left({\ddot {r}}\right)}$  acceleration. Therefore, one must be cautious when transforming the equation. Introducing a cartesian coordinate system ${\displaystyle ({\hat {\mathbf {x} }},{\hat {\mathbf {y} }})}$  and polar unit vectors ${\displaystyle ({\hat {\mathbf {r} }},{\hat {\boldsymbol {\theta }}})}$  in the plane orthogonal to ${\displaystyle \mathbf {H} }$ :

${\displaystyle {\hat {\mathbf {r} }}=\cos(\theta ){\hat {\mathbf {x} }}+\sin(\theta ){\hat {\mathbf {y} }}}$
${\displaystyle {\hat {\boldsymbol {\theta }}}=-\sin(\theta ){\hat {\mathbf {x} }}+\cos(\theta ){\hat {\mathbf {y} }}}$

We can now rewrite the vector function ${\displaystyle \mathbf {r} }$  and its derivatives as:

${\displaystyle \mathbf {r} =r(\cos \theta {\hat {\mathbf {x} }}+\sin \theta {\hat {\mathbf {y} }})=r{\hat {\mathbf {r} }}}$
${\displaystyle {\dot {\mathbf {r} }}={\dot {r}}{\hat {\mathbf {r} }}+r{\dot {\theta }}{\hat {\boldsymbol {\theta }}}}$
${\displaystyle {\ddot {\mathbf {r} }}=({\ddot {r}}-r{\dot {\theta }}^{2}){\hat {\mathbf {r} }}+(r{\ddot {\theta }}+2{\dot {r}}{\dot {\theta }}){\hat {\boldsymbol {\theta }}}}$

(see "Vector calculus"). Substituting these into (1), we find:

${\displaystyle ({\ddot {r}}-r{\dot {\theta }}^{2}){\hat {\mathbf {r} }}+(r{\ddot {\theta }}+2{\dot {r}}{\dot {\theta }}){\hat {\boldsymbol {\theta }}}=\left(-{\frac {\mu }{r^{2}}}\right){\hat {\mathbf {r} }}+(0){\hat {\boldsymbol {\theta }}}}$

This gives the non-ordinary polar differential equation:

${\displaystyle {\ddot {r}}-r{\dot {\theta }}^{2}=-{\frac {\mu }{r^{2}}}}$

(2)

In order to solve this equation, all time derivatives must be eliminated.This brings:

${\displaystyle H=|\mathbf {r} \times {\dot {\mathbf {r} }}|=|(r\cos(\theta ),r\sin(\theta ),0)\times ({\dot {r}}\cos(\theta )-r\sin(\theta ){\dot {\theta }},{\dot {r}}\sin(\theta )+r\cos(\theta ){\dot {\theta }},0)|=|(0,0,r^{2}{\dot {\theta }})|=r^{2}{\dot {\theta }}}$

${\displaystyle {\dot {\theta }}={\frac {H}{r^{2}}}}$

(3)

Taking the time derivative of (3) gets

${\displaystyle {\ddot {\theta }}=-{\frac {2\cdot H\cdot {\dot {r}}}{r^{3}}}}$

(4)

Equations (3) and (4) allow us to eliminate the time derivatives of ${\displaystyle \theta }$ . In order to eliminate the time derivatives of ${\displaystyle r}$ , the chain rule is used to find appropriate substitutions:

${\displaystyle {\dot {r}}={\frac {dr}{d\theta }}\cdot {\dot {\theta }}}$

(5)

${\displaystyle {\ddot {r}}={\frac {d^{2}r}{d\theta ^{2}}}\cdot {\dot {\theta }}^{2}+{\frac {dr}{d\theta }}\cdot {\ddot {\theta }}}$

(6)

Using these four substitutions, all time derivatives in (2) can be eliminated, yielding an ordinary differential equation for ${\displaystyle r}$  as function of ${\displaystyle \theta .}$

${\displaystyle {\ddot {r}}-r{\dot {\theta }}^{2}=-{\frac {\mu }{r^{2}}}}$
${\displaystyle {\frac {d^{2}r}{d\theta ^{2}}}\cdot {\dot {\theta }}^{2}+{\frac {dr}{d\theta }}\cdot {\ddot {\theta }}-r{\dot {\theta }}^{2}=-{\frac {\mu }{r^{2}}}}$
${\displaystyle {\frac {d^{2}r}{d\theta ^{2}}}\cdot \left({\frac {H}{r^{2}}}\right)^{2}+{\frac {dr}{d\theta }}\cdot \left(-{\frac {2\cdot H\cdot {\dot {r}}}{r^{3}}}\right)-r\left({\frac {H}{r^{2}}}\right)^{2}=-{\frac {\mu }{r^{2}}}}$

${\displaystyle {\frac {H^{2}}{r^{4}}}\cdot \left({\frac {d^{2}r}{d\theta ^{2}}}-2\cdot {\frac {\left({\frac {dr}{d\theta }}\right)^{2}}{r}}-r\right)=-{\frac {\mu }{r^{2}}}}$

(7)

The differential equation (7) can be solved analytically by the variable substitution

${\displaystyle r={\frac {1}{s}}}$

(8)

Using the chain rule for differentiation gets:

${\displaystyle {\frac {dr}{d\theta }}=-{\frac {1}{s^{2}}}\cdot {\frac {ds}{d\theta }}}$

(9)

${\displaystyle {\frac {d^{2}r}{d\theta ^{2}}}={\frac {2}{s^{3}}}\cdot \left({\frac {ds}{d\theta }}\right)^{2}-{\frac {1}{s^{2}}}\cdot {\frac {d^{2}s}{d\theta ^{2}}}}$

(10)

Using the expressions (10) and (9) for ${\displaystyle {\frac {d^{2}r}{d\theta ^{2}}}}$  and ${\displaystyle {\frac {dr}{d\theta }}}$  gets

${\displaystyle H^{2}\cdot \left({\frac {d^{2}s}{d\theta ^{2}}}+s\right)=\mu }$

(11)

with the general solution

${\displaystyle s={\frac {\mu }{H^{2}}}\cdot \left(1+e\cdot \cos(\theta -\theta _{0})\right)}$

(12)

where e and ${\displaystyle \theta _{0}}$  are constants of integration depending on the initial values for s and ${\displaystyle {\tfrac {ds}{d\theta }}.}$

Instead of using the constant of integration ${\displaystyle \theta _{0}}$  explicitly one introduces the convention that the unit vectors ${\displaystyle {\hat {x}},{\hat {y}}}$  defining the coordinate system in the orbital plane are selected such that ${\displaystyle \theta _{0}}$  takes the value zero and e is positive. This then means that ${\displaystyle \theta }$  is zero at the point where ${\displaystyle s}$  is maximal and therefore ${\displaystyle r={\tfrac {1}{s}}}$  is minimal. Defining the parameter p as ${\displaystyle {\tfrac {H^{2}}{\mu }}}$  one has that

${\displaystyle r={\frac {1}{s}}={\frac {p}{1+e\cdot \cos \theta }}}$

#### Alternate derivation

Another way to solve this equation without the use of polar differential equations is as follows:

Define a unit vector ${\displaystyle \mathbf {u} }$  such that ${\displaystyle \mathbf {r} =r\mathbf {u} }$  and ${\displaystyle {\ddot {\mathbf {r} }}=-{\tfrac {\mu }{r^{2}}}\mathbf {u} }$ . It follows that

${\displaystyle \mathbf {H} =\mathbf {r} \times {\dot {\mathbf {r} }}=r\mathbf {u} \times {\frac {d}{dt}}(r\mathbf {u} )=r\mathbf {u} \times (r{\dot {\mathbf {u} }}+{\dot {r}}\mathbf {u} )=r^{2}(\mathbf {u} \times {\dot {\mathbf {u} }})+r{\dot {r}}(\mathbf {u} \times \mathbf {u} )=r^{2}\mathbf {u} \times {\dot {\mathbf {u} }}}$

Now consider

${\displaystyle {\ddot {\mathbf {r} }}\times \mathbf {H} =-{\frac {\mu }{r^{2}}}\mathbf {u} \times (r^{2}\mathbf {u} \times {\dot {\mathbf {u} }})=-\mu \mathbf {u} \times (\mathbf {u} \times {\dot {\mathbf {u} }})=-\mu [(\mathbf {u} \cdot {\dot {\mathbf {u} }})\mathbf {u} -(\mathbf {u} \cdot \mathbf {u} ){\dot {\mathbf {u} }}]}$

(see Vector triple product). Notice that

${\displaystyle \mathbf {u} \cdot \mathbf {u} =|\mathbf {u} |^{2}=1}$
${\displaystyle \mathbf {u} \cdot {\dot {\mathbf {u} }}={\frac {1}{2}}(\mathbf {u} \cdot {\dot {\mathbf {u} }}+{\dot {\mathbf {u} }}\cdot \mathbf {u} )={\frac {1}{2}}{\frac {d}{dt}}(\mathbf {u} \cdot \mathbf {u} )=0}$

Substituting these values into the previous equation gives:

${\displaystyle {\ddot {\mathbf {r} }}\times \mathbf {H} =\mu {\dot {\mathbf {u} }}}$

Integrating both sides:

${\displaystyle {\dot {\mathbf {r} }}\times \mathbf {H} =\mu \mathbf {u} +\mathbf {c} }$

where c is a constant vector. Dotting this with r yields an interesting result:

${\displaystyle \mathbf {r} \cdot ({\dot {\mathbf {r} }}\times \mathbf {H} )=\mathbf {r} \cdot (\mu \mathbf {u} +\mathbf {c} )=\mu \mathbf {r} \cdot \mathbf {u} +\mathbf {r} \cdot \mathbf {c} =\mu r(\mathbf {u} \cdot \mathbf {u} )+rc\cos(\theta )=r(\mu +c\cos(\theta ))}$

where ${\displaystyle \theta }$  is the angle between ${\displaystyle \mathbf {r} }$  and ${\displaystyle \mathbf {c} }$ . Solving for r:

${\displaystyle r={\frac {\mathbf {r} \cdot ({\dot {\mathbf {r} }}\times \mathbf {H} )}{\mu +c\cos(\theta )}}={\frac {(\mathbf {r} \times {\dot {\mathbf {r} }})\cdot \mathbf {H} }{\mu +c\cos(\theta )}}={\frac {|\mathbf {H} |^{2}}{\mu +c\cos(\theta )}}.}$

Notice that ${\displaystyle (r,\theta )}$  are effectively the polar coordinates of the vector function. Making the substitutions ${\displaystyle p={\tfrac {|\mathbf {H} |^{2}}{\mu }}}$  and ${\displaystyle e={\tfrac {c}{\mu }}}$ , we again arrive at the equation

${\displaystyle r={\frac {p}{1+e\cdot \cos \theta }}}$

(13)

This is the equation in polar coordinates for a conic section with origin in a focal point. The argument ${\displaystyle \theta }$  is called "true anomaly".

### Properties of trajectory equation

For ${\displaystyle e=0}$  this is a circle with radius p.

For ${\displaystyle 0  this is an ellipse with

${\displaystyle a={\frac {p}{1-e^{2}}}}$

(14)

${\displaystyle b={\frac {p}{\sqrt {1-e^{2}}}}=a\cdot {\sqrt {1-e^{2}}}}$

(15)

For ${\displaystyle e=1}$  this is a parabola with focal length ${\displaystyle {\tfrac {p}{2}}}$

For ${\displaystyle e>1}$  this is a hyperbola with

${\displaystyle a={\frac {p}{e^{2}-1}}}$

(16)

${\displaystyle b={\frac {p}{\sqrt {e^{2}-1}}}=a\cdot {\sqrt {e^{2}-1}}}$

(17)

The following image illustrates a circle (grey), an ellipse (red), a parabola (green) and a hyperbola (blue)

A diagram of the various forms of the Kepler Orbit and their eccentricities. Blue is a hyperbolic trajectory (e > 1). Green is a parabolic trajectory (e = 1). Red is an elliptical orbit (0 < e < 1). Grey is a circular orbit (e = 0).

The point on the horizontal line going out to the right from the focal point is the point with ${\displaystyle \theta =0}$  for which the distance to the focus takes the minimal value ${\displaystyle {\tfrac {p}{1+e}},}$  the pericentre. For the ellipse there is also an apocentre for which the distance to the focus takes the maximal value ${\displaystyle {\tfrac {p}{1-e}}.}$  For the hyperbola the range for ${\displaystyle \theta }$  is

${\displaystyle \left[-\cos ^{-1}\left(-{\frac {1}{e}}\right)<\theta <\cos ^{-1}\left(-{\frac {1}{e}}\right)\right]}$

and for a parabola the range is

${\displaystyle \left[-\pi <\theta <\pi \right]}$

Using the chain rule for differentiation (5), the equation (2) and the definition of p as ${\displaystyle {\frac {H^{2}}{\mu }}}$  one gets that the radial velocity component is

${\displaystyle V_{r}={\dot {r}}={\frac {H}{p}}\cdot e\cdot \sin \theta ={\sqrt {\frac {\mu }{p}}}\cdot e\cdot \sin \theta }$

(18)

and that the tangential component (velocity component perpendicular to ${\displaystyle V_{r}}$ ) is

${\displaystyle V_{t}=r\cdot {\dot {\theta }}={\frac {H}{r}}={\sqrt {\frac {\mu }{p}}}\cdot (1+e\cdot \cos \theta )}$

(19)

The connection between the polar argument ${\displaystyle \theta }$  and time t is slightly different for elliptic and hyperbolic orbits.

For an elliptic orbit one switches to the "eccentric anomaly" E for which

${\displaystyle x=a\cdot (\cos E-e)}$

(20)

${\displaystyle y=b\cdot \sin E}$

(21)

and consequently

${\displaystyle {\dot {x}}=-a\cdot \sin E\cdot {\dot {E}}}$

(22)

${\displaystyle {\dot {y}}=b\cdot \cos E\cdot {\dot {E}}}$

(23)

and the angular momentum H is

${\displaystyle H=x\cdot {\dot {y}}-y\cdot {\dot {x}}=a\cdot b\cdot (1-e\cdot \cos E)\cdot {\dot {E}}}$

(24)

Integrating with respect to time t gives

${\displaystyle H\cdot t=a\cdot b\cdot (E-e\cdot \sin E)}$

(25)

under the assumption that time ${\displaystyle t=0}$  is selected such that the integration constant is zero.

As by definition of p one has

${\displaystyle H={\sqrt {\mu \cdot p}}}$

(26)

this can be written

${\displaystyle t=a\cdot {\sqrt {\frac {a}{\mu }}}(E-e\cdot \sin E)}$

(27)

For a hyperbolic orbit one uses the hyperbolic functions for the parameterisation

${\displaystyle x=a\cdot (e-\cosh E)}$

(28)

${\displaystyle y=b\cdot \sinh E}$

(29)

for which one has

${\displaystyle {\dot {x}}=-a\cdot \sinh E\cdot {\dot {E}}}$

(30)

${\displaystyle {\dot {y}}=b\cdot \cosh E\cdot {\dot {E}}}$

(31)

and the angular momentum H is

${\displaystyle H=x\cdot {\dot {y}}-y\cdot {\dot {x}}=a\cdot b\cdot (e\cdot \cosh E-1)\cdot {\dot {E}}}$

(32)

Integrating with respect to time t gets

${\displaystyle H\cdot t=a\cdot b\cdot (e\cdot \sinh E-E)}$

(33)

i.e.

${\displaystyle t=a\cdot {\sqrt {\frac {a}{\mu }}}(e\cdot \sinh E-E)}$

(34)

To find what time t that corresponds to a certain true anomaly ${\displaystyle \theta }$  one computes corresponding parameter E connected to time with relation (27) for an elliptic and with relation (34) for a hyperbolic orbit.

Note that the relations (27) and (34) define a mapping between the ranges

${\displaystyle \left[-\infty

For an elliptic orbit one gets from (20) and (21) that

${\displaystyle r=a\cdot (1-e\cdot \cos E)}$

(35)

and therefore that

${\displaystyle \cos \theta ={\frac {x}{r}}={\frac {\cos E-e}{1-e\cdot \cos E}}}$

(36)

From (36) then follows that

${\displaystyle \tan ^{2}{\frac {\theta }{2}}={\frac {1-\cos \theta }{1+\cos \theta }}={\frac {1-{\frac {\cos E-e}{1-e\cdot \cos E}}}{1+{\frac {\cos E-e}{1-e\cdot \cos E}}}}={\frac {1-e\cdot \cos E-\cos E+e}{1-e\cdot \cos E+\cos E-e}}={\frac {1+e}{1-e}}\cdot {\frac {1-\cos E}{1+\cos E}}={\frac {1+e}{1-e}}\cdot \tan ^{2}{\frac {E}{2}}}$

From the geometrical construction defining the eccentric anomaly it is clear that the vectors ${\displaystyle (\cos E,\sin E)}$  and ${\displaystyle (\cos \theta ,\sin \theta )}$  are on the same side of the x-axis. From this then follows that the vectors ${\displaystyle \left(\cos {\tfrac {E}{2}},\sin {\tfrac {E}{2}}\right)}$  and ${\displaystyle \left(\cos {\tfrac {\theta }{2}},\sin {\tfrac {\theta }{2}}\right)}$  are in the same quadrant. One therefore has that

${\displaystyle \tan {\frac {\theta }{2}}={\sqrt {\frac {1+e}{1-e}}}\cdot \tan {\frac {E}{2}}}$

(37)

and that

${\displaystyle \theta =2\cdot \arg \left({\sqrt {1-e}}\cdot \cos {\frac {E}{2}},{\sqrt {1+e}}\cdot \sin {\frac {E}{2}}\right)+n\cdot 2\pi }$

(38)

${\displaystyle E=2\cdot \arg \left({\sqrt {1+e}}\cdot \cos {\frac {\theta }{2}},{\sqrt {1-e}}\cdot \sin {\frac {\theta }{2}}\right)+n\cdot 2\pi }$

(39)

where "${\displaystyle \arg(x,y)}$ " is the polar argument of the vector ${\displaystyle (x,y)}$  and n is selected such that ${\displaystyle |E-\theta |<\pi }$

For the numerical computation of ${\displaystyle \arg(x,y)}$  the standard function ATAN2(y,x) (or in double precision DATAN2(y,x)) available in for example the programming language FORTRAN can be used.

Note that this is a mapping between the ranges

${\displaystyle \left[-\infty <\theta <\infty \right]\longleftrightarrow \left[-\infty

For a hyperbolic orbit one gets from (28) and (29) that

${\displaystyle r=a\cdot (e\cdot \cosh E-1)}$

(40)

and therefore that

${\displaystyle \cos \theta ={\frac {x}{r}}={\frac {e-\cosh E}{e\cdot \cosh E-1}}}$

(41)

As

${\displaystyle \tan ^{2}{\frac {\theta }{2}}={\frac {1-\cos \theta }{1+\cos \theta }}={\frac {1-{\frac {e-\cosh E}{e\cdot \cosh E-1}}}{1+{\frac {e-\cosh E}{e\cdot \cosh E-1}}}}={\frac {e\cdot \cosh E-e+\cosh E}{e\cdot \cosh E+e-\cosh E}}={\frac {e+1}{e-1}}\cdot {\frac {\cosh E-1}{\cosh E+1}}={\frac {e+1}{e-1}}\cdot \tanh ^{2}{\frac {E}{2}}}$

and as ${\displaystyle \tan {\frac {\theta }{2}}}$  and ${\displaystyle \tanh {\frac {E}{2}}}$  have the same sign it follows that

${\displaystyle \tan {\frac {\theta }{2}}={\sqrt {\frac {e+1}{e-1}}}\cdot \tanh {\frac {E}{2}}}$

(42)

This relation is convenient for passing between "true anomaly" and the parameter E, the latter being connected to time through relation (34). Note that this is a mapping between the ranges

${\displaystyle \left[-\cos ^{-1}\left(-{\frac {1}{e}}\right)<\theta <\cos ^{-1}\left(-{\frac {1}{e}}\right)\right]\longleftrightarrow \left[-\infty

and that ${\displaystyle {\tfrac {E}{2}}}$  can be computed using the relation

${\displaystyle \tanh ^{-1}x={\frac {1}{2}}\ln \left({\frac {1+x}{1-x}}\right)}$

From relation (27) follows that the orbital period P for an elliptic orbit is

${\displaystyle P=2\pi \cdot a\cdot {\sqrt {\frac {a}{\mu }}}}$

(43)

As the potential energy corresponding to the force field of relation (1) is

${\displaystyle -{\frac {\mu }{r}}}$

it follows from (13), (14), (18) and (19) that the sum of the kinetic and the potential energy

${\displaystyle {\frac {{V_{r}}^{2}+{V_{t}}^{2}}{2}}-{\frac {\mu }{r}}}$

for an elliptic orbit is

${\displaystyle -{\frac {\mu }{2\cdot a}}}$

(44)

and from (13), (16), (18) and (19) that the sum of the kinetic and the potential energy for a hyperbolic orbit is

${\displaystyle {\frac {\mu }{2\cdot a}}}$

(45)

Relative the inertial coordinate system

${\displaystyle {\hat {x}},{\hat {y}}}$

in the orbital plane with ${\displaystyle {\hat {x}}}$  towards pericentre one gets from (18) and (19) that the velocity components are

${\displaystyle V_{x}=\cos \theta \cdot V_{r}-\sin \theta \cdot V_{t}=-{\sqrt {\frac {\mu }{p}}}\cdot \sin \theta }$

(46)

${\displaystyle V_{y}=\sin \theta \cdot V_{r}+\cos \theta \cdot V_{t}={\sqrt {\frac {\mu }{p}}}\cdot (e+\cos \theta )}$

(47)

The Equation of the center relates mean anomaly to true anomaly for elliptical orbits, for small numerical eccentricity.

### Determination of the Kepler orbit that corresponds to a given initial state

This is the "initial value problem" for the differential equation (1) which is a first order equation for the 6-dimensional "state vector" ${\displaystyle ({\bar {r}},{\bar {v}})}$  when written as

${\displaystyle {\dot {\bar {v}}}=-\mu \cdot {\frac {\hat {r}}{r^{2}}}}$

(48)

${\displaystyle {\dot {\bar {r}}}={\bar {v}}}$

(49)

For any values for the initial "state vector" ${\displaystyle ({\bar {r_{0}}},{\bar {v_{0}}})}$  the Kepler orbit corresponding to the solution of this initial value problem can be found with the following algorithm:

Define the orthogonal unit vectors ${\displaystyle ({\hat {r}},{\hat {t}})}$  through

${\displaystyle {\bar {r_{0}}}=r\cdot {\hat {r}}}$

(50)

${\displaystyle {\bar {v_{0}}}=V_{r}\cdot {\hat {r}}+V_{t}\cdot {\hat {t}}}$

(51)

with ${\displaystyle r>0}$  and ${\displaystyle V_{t}>0}$

From (13), (18) and (19) follows that by setting

${\displaystyle p={\frac {{(r\cdot V_{t})}^{2}}{\mu }}}$

(52)

and by defining ${\displaystyle e\geq 0}$  and ${\displaystyle \theta }$  such that

${\displaystyle e\cdot \cos \theta ={\frac {V_{t}}{V_{0}}}-1}$

(53)

${\displaystyle e\cdot \sin \theta ={\frac {V_{r}}{V_{0}}}}$

(54)

where

${\displaystyle V_{0}={\sqrt {\frac {\mu }{p}}}}$

(55)

one gets a Kepler orbit that for true anomaly ${\displaystyle \theta }$  has the same r, ${\displaystyle V_{r}}$  and ${\displaystyle V_{t}}$  values as those defined by (50) and (51).

If this Kepler orbit then also has the same ${\displaystyle ({\hat {r}},{\hat {t}})}$  vectors for this true anomaly ${\displaystyle \theta }$  as the ones defined by (50) and (51) the state vector ${\displaystyle ({\bar {r}},{\bar {v}})}$  of the Kepler orbit takes the desired values ${\displaystyle ({\bar {r_{0}}},{\bar {v_{0}}})}$  for true anomaly ${\displaystyle \theta }$ .

The standard inertially fixed coordinate system ${\displaystyle ({\hat {x}},{\hat {y}})}$  in the orbital plane (with ${\displaystyle {\hat {x}}}$  directed from the centre of the homogeneous sphere to the pericentre) defining the orientation of the conical section (ellipse, parabola or hyperbola) can then be determined with the relation

${\displaystyle {\hat {x}}=\cos \theta \cdot {\hat {r}}-\sin \theta \cdot {\hat {t}}}$

(56)

${\displaystyle {\hat {y}}=\sin \theta \cdot {\hat {r}}+\cos \theta \cdot {\hat {t}}}$

(57)

Note that the relations (53) and (54) has a singularity when ${\displaystyle V_{r}=0}$  and

${\displaystyle V_{t}=V_{0}={\sqrt {\frac {\mu }{p}}}={\sqrt {\frac {\mu }{\frac {{(r\cdot V_{t})}^{2}}{\mu }}}}}$

i.e.

${\displaystyle V_{t}={\sqrt {\frac {\mu }{r}}}}$

(58)

which is the case that it is a circular orbit that is fitting the initial state ${\displaystyle ({\bar {r_{0}}},{\bar {v_{0}}})}$

### The osculating Kepler orbit

For any state vector ${\displaystyle ({\bar {r}},{\bar {v}})}$  the Kepler orbit corresponding to this state can be computed with the algorithm defined above. First the parameters ${\displaystyle p,e,\theta }$  are determined from ${\displaystyle r,V_{r},V_{t}}$  and then the orthogonal unit vectors in the orbital plane ${\displaystyle {\hat {x}},{\hat {y}}}$  using the relations (56) and (57).

If now the equation of motion is

${\displaystyle {\ddot {\bar {r}}}=\operatorname {\bar {F}} ({\bar {r}},{\dot {\bar {r}}},t)}$

(59)

where

${\displaystyle \operatorname {\bar {F}} ({\bar {r}},{\dot {\bar {r}}},t)}$

is a function other than

${\displaystyle -\mu \cdot {\frac {\hat {r}}{r^{2}}}}$

the resulting parameters

${\displaystyle p,e,\theta ,{\hat {x}},{\hat {y}}}$

defined by ${\displaystyle {\bar {r}},{\dot {\bar {r}}}}$  will all vary with time as opposed to the case of a Kepler orbit for which only the parameter ${\displaystyle \theta }$  will vary

The Kepler orbit computed in this way having the same "state vector" as the solution to the "equation of motion" (59) at time t is said to be "osculating" at this time.

This concept is for example useful in case

${\displaystyle \operatorname {\bar {F}} ({\bar {r}},{\dot {\bar {r}}},t)=-\mu \cdot {\frac {\hat {r}}{r^{2}}}+\operatorname {\bar {f}} ({\bar {r}},{\dot {\bar {r}}},t)}$

where

${\displaystyle \operatorname {\bar {f}} ({\bar {r}},{\dot {\bar {r}}},t)}$

is a small "perturbing force" due to for example a faint gravitational pull from other celestial bodies. The parameters of the osculating Kepler orbit will then only slowly change and the osculating Kepler orbit is a good approximation to the real orbit for a considerable time period before and after the time of osculation.

This concept can also be useful for a rocket during powered flight as it then tells which Kepler orbit the rocket would continue in case the thrust is switched off.

For a "close to circular" orbit the concept "eccentricity vector" defined as ${\displaystyle {\bar {e}}=e\cdot {\hat {x}}}$  is useful. From (53), (54) and (56) follows that

${\displaystyle {\bar {e}}={\frac {(V_{t}-V_{0})\cdot {\hat {r}}-V_{r}\cdot {\hat {t}}}{V_{0}}}}$

(60)

i.e. ${\displaystyle {\bar {e}}}$  is a smooth differentiable function of the state vector ${\displaystyle ({\bar {r}},{\bar {v}})}$  also if this state corresponds to a circular orbit.

## Citations

1. ^ Copernicus. pp 513–514
2. ^ "Johannes Kepler - Astronomical work". Encyclopedia Britannica. Retrieved 2018-12-03.
3. ^ Gould, Alan (2016-09-24). "Johannes Kepler: His Life, His Laws and Times". NASA. Retrieved 2018-12-03.
4. ^ Bate, Mueller, White. pp 177–181
5. ^ http://ssd.jpl.nasa.gov

## References

• El'Yasberg "Theory of flight of artificial earth satellites", Israel program for Scientific Translations (1967)
• Bate, Roger; Mueller, Donald; White, Jerry (1971). Fundamentals of Astrodynamics. Dover Publications, Inc., New York. ISBN 0-486-60061-0.
• Copernicus, Nicolaus (1952), "Book I, Chapter 4, The Movement of the Celestial Bodies Is Regular, Circular, and Everlasting-Or Else Compounded of Circular Movements", On the Revolutions of the Heavenly Spheres, Great Books of the Western World, 16, translated by Charles Glenn Wallis, Chicago: William Benton, pp. 497–838