Source:  http://en.wikipedia.org/wiki/Kepler%27s_laws_of_planetary_motion

# Kepler's laws of planetary motion

Johannes Kepler's primary contributions to astronomy/astrophysics were his three laws of planetary motion. Kepler, a German mathematician, derived these laws, in part, by studying the observations of the legendarily precise Danish astronomer Tycho Brahe. The article on Johannes Kepler gives a less mathematical description of the laws, as well as a treatment of their historical and intellectual context.

Kepler's work was vital to the later acceptance of Sir Isaac Newton's three laws of motion and his law of universal gravitation. Newton was able to deduce Kepler's laws using his invention of calculus. It is possible to see from this argument that other models of gravitation would give empirically false results.

## Kepler's First Law

The first law says: "The orbit of every planet is an ellipse with the sun at one of the foci."

The mathematics of the ellipse is as follows.

The equation is

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

where (r,θ) are heliocentric polar coordinates for the planet, p is the semi latus rectum, and ε is the eccentricity, which is less than one.

For θ=0 the planet is at the perihelion at minimum distance:

$r_\mathrm{min}=\frac{p}{1+\epsilon}$

for θ=90°: r=p, and for θ=180° the planet is at the aphelion at maximum distance:

$r_\mathrm{max}=\frac{p}{1-\epsilon}$

The semi-major axis is the arithmetic mean between rmin and rmax:

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

The semi-minor axis is the geometric mean between rmin and rmax:

$b=\frac p{\sqrt{1-\epsilon^2}}$

and it is also the geometric mean between the semimajor axis and the semi latus rectum:

$\frac a b=\frac b p$

## Kepler's second law

The second law: "A line joining a planet and the sun sweeps out equal areas during equal intervals of time."

This is also known as the law of equal areas.

Suppose a planet takes one day to travel from points A to B. The lines from the Sun to A and B, together with the planet orbit, will define a (roughly triangular) area. This same amount of area will be formed every day regardless of where in its orbit the planet is. So the planet moves faster when it is closer to the sun.

This is because the sun's gravity accelerates the planet as it falls toward the sun, and decelerates it on the way back out, but Kepler did not know that reason.

The two laws permitted Kepler to calculate the position of the planet, based on the time since perihelion, t, and the orbital period, P. The calculation is done in four steps.

1. Compute the mean anomaly M from the formula
$M=\frac{2\pi t}{P}$
2. Compute the eccentric anomaly E by numerically solving Kepler's equation:
$\ M=E-\epsilon\cdot\sin E$
3. Compute the true anomaly θ by the equation:
$\tan\frac \theta 2 = \sqrt{\frac{1+\epsilon}{1-\epsilon}}\cdot\tan\frac E 2$
4. Compute the heliocentric distance r from the first law:
$r=\frac p {1+\epsilon\cdot\cos\theta}$

The proof of this procedure is shown below.

## Kepler's third law

The third law : "The squares of the orbital periods of planets are directly proportional to the cubes of the semi-major axis of the orbits."

$P^2 \propto a^3$
P = orbital period of planet
a = semimajor axis of orbit

So the expression P2a–3 has the same value for all planets in the Solar System as it has for Earth. When certain units are chosen, namely P is measured in sidereal years and a in astronomical units, P2a–3 has the value 1 for all planets in the Solar System.

With P in seconds and a in meters: $3.00\times 10^{-19} \frac{s^{2}}{m^{3}} \pm \ 0.7%\,$.

Thus, not only does the length of the orbit increase with distance, the orbital speed decreases, so that the increase of the orbital period is more than proportional.

The law, when applied to circular orbits where the acceleration is proportional to a·P−2, shows that the acceleration is proportional to a·a−3 = a-2, in accordance with Newton's law of gravitation.

The general equation, which Kepler did not know, is

$\left({\frac{P}{2\pi}}\right)^2 = {a^3 \over G (M+m)}.$
G = gravitational constant
M = mass of sun
m = mass of planet

Note that P is time per orbit and P/2π is time per radian.

See the actual figures: attributes of major planets.

This law is also known as the harmonic law.

## Position as a function of time

The Keplerian problem assumes an elliptical orbit and the four points:

• s the sun (at one focus of ellipse);
• z the perihelion
• c the center of the ellipse
• p the planet

and

$\ a=|cz|,$ distance from center to perihelion, the semimajor axis,
$\ \varepsilon={|cs|\over a},$ the eccentricity,
$\ b=a\sqrt{1-\varepsilon^2},$ the semiminor axis,
$\ r=|sp| ,$ the distance from sun to planet.

and the angle

$T=\angle zsp,$ the planet as seen from the sun, the true anomaly.

The problem is to compute the polar coordinates (r,T) of the planet from the time since perihelion, t.

It is solved in steps. Kepler began by adding the orbit's auxiliary circle (that with the major axis as a diameter) and defined these points:

• x is the projection of the planet to the auxiliary circle; then the area $|zsx|=\frac a b \cdot|zsp|$
• y is a point on the auxiliary circle such that the area $\ |zcy|=|zsx|$

and

$M=\angle zcy$, y as seen from the centre, the mean anomaly.

The area of the circular sector $\ |zcy| = \frac{a^2 M}2$, and the area swept since perihelion,

$|zsp|=\frac b a \cdot|zsx|=\frac b a \cdot|zcy|=\frac b a\cdot\frac{a^2 M}2 = \frac {a b M}{2}$ ,

is by Kepler's second law proportional to time since perihelion. So the mean anomaly, M, is proportional to time since perihelion, t.

$M={2 \pi t \over P},$

where P is the orbital period.

The mean anomaly M is first computed. The goal is to compute the true anomaly T. The function T=f(M) is, however, not elementary. Kepler's solution is to use

$E=\angle zcx$, x as seen from the centre, the eccentric anomaly

as an intermediate variable, and first compute E as a function of M by solving Kepler's equation below, and then compute the true anomaly T from the eccentric anomaly E. Here are the details.

$\ |zcy|=|zsx|=|zcx|-|scx|$
$\frac{a^2 M}2=\frac{a^2 E}2-\frac {a\varepsilon\cdot a\sin E}2$

Division by a2/2 gives Kepler's equation

$M=E-\varepsilon\cdot\sin E$.

The catch is that Kepler's equation cannot be rearranged to isolate E. The function E=f(M) is not an elementary formula. Kepler's equation is solved either iteratively by a root-finding algorithm or, as derived in the article on eccentric anomaly, by an infinite series

$E\approx M+\left(\varepsilon-\frac18\varepsilon^3\right)\sin M+\frac12\varepsilon^2\sin 2M+\frac38\varepsilon^3\sin 3M+ \cdots$

For the small ε typical of the planets (except Pluto), such series are quite accurate with only a few terms.

Having computed the eccentric anomaly E from Kepler's equation, the next step is to calculate the true anomaly T from the eccentric anomaly E.

Note from the geometry of the problem that

$a\cdot\cos E=a\cdot\varepsilon+r\cdot\cos T.$

Dividing by a and inserting from Kepler's first law

$\ \frac r a =\frac{1-\varepsilon^2}{1+\varepsilon\cdot\cos T}$

to get

$\cos E =\varepsilon+\frac{1-\varepsilon^2}{1+\varepsilon\cdot\cos T}\cdot\cos T =\frac{\varepsilon\cdot(1+\varepsilon\cdot\cos T)+(1-\varepsilon^2)\cdot\cos T}{1+\varepsilon\cdot\cos T} =\frac{\varepsilon +\cos T}{1+\varepsilon\cdot\cos T}.$

The result is a usable relationship between the eccentric anomaly E and the true anomaly T.

A computationally more convenient form follows by substituting into the trigonometric identity:

$\tan^2\frac{x}{2}=\frac{1-\cos x}{1+\cos x}.$

Get

$\tan^2\frac{E}{2} =\frac{1-\cos E}{1+\cos E} =\frac{1-\frac{\varepsilon+\cos T}{1+\varepsilon\cdot\cos T}}{1+\frac{\varepsilon+\cos T}{1+\varepsilon\cdot\cos T}} =\frac{(1+\varepsilon\cdot\cos T)-(\varepsilon+\cos T)}{(1+\varepsilon\cdot\cos T)+(\varepsilon+\cos T)} =\frac{1-\varepsilon}{1+\varepsilon}\cdot\frac{1-\cos T}{1+\cos T}=\frac{1-\varepsilon}{1+\varepsilon}\cdot\tan^2\frac{T}{2}.$

Multiplying by (1+ε)/(1−ε) and taking the square root gives the result

$\tan\frac T2=\sqrt\frac{1+\varepsilon}{1-\varepsilon}\cdot\tan\frac E2.$

We have now completed the third step in the connection between time and position in the orbit.

One could even develop a series computing T directly from M. [1]

The fourth step is to compute the heliocentric distance r from the true anomaly T by Kepler's first law:

$\ r=a\cdot\frac{1-\varepsilon^2}{1+\varepsilon\cdot\cos T}.$

## Derivation from Newton's laws

Kepler's laws are about the motion of the planets around the sun, while Newton's laws more generally are about the motion of point particles attracting each other by the force of gravitation. In the special case where there are only two particles, and one of them is much lighter than the other, and the distance between the particles remains limited, then the light particle moves around the heavy particle as a planet around the sun according to Kepler's laws, as shown below. Newton's laws however also admit other solutions, where the orbit of the light particle is a parabola or a hyperbola, thus violating Kepler's first law that it should be an ellipse. In the case where one particle is not much lighter than the other, it turns out that each particle moves around their common centre of mass, so that the general two body problem is reduced to the special case where one particle is much lighter than the other. While Kepler's laws are expressed either in geometrical language or as equations connecting the coordinates of the planet and the time variable with the orbital elements, Newton's second law is a differential equation. So the derivations below involve the art of solving differential equations.

The second law is derived first, as the derivation of the first law depends on the derivation of the second law.

### Deriving Kepler's second law

Newton's law of gravitation says that "every object in the universe attracts every other object along a line of the centres of the objects, proportional to each object's mass, and inversely proportional to the square of the distance between the objects," and his second law of motion says that "the mass times the acceleration is equal to the force." So the mass of the planet times the acceleration vector of the planet equals the mass of the sun times the mass of the planet, divided by the square of the distance, times minus the radial unit vector, times a constant of proportionality. This is written:

$m\ddot\mathbf{r} = \frac{Mm}{r^2}(-\hat{\mathbf{r}})G$

where a dot on top of the variable signifies differentiation with respect to time.

Assume that the planet is so much lighter than the sun that the acceleration of the sun can be neglected.

In heliocentric polar coordinates $\ (r,\theta)$,

$\dot\hat{\mathbf{r}} = \dot\theta \hat{\boldsymbol\theta}$

where $\hat{\boldsymbol\theta}$ is the tangential unit vector, and

$\dot\hat{\boldsymbol\theta} = -\dot\theta \hat{\mathbf{r}}.$

So the position vector

$\mathbf{r} = r\hat{\mathbf{r}}$

is differentiated twice to give the velocity vector and the acceleration vector

$\dot\mathbf{r} =\dot r \hat\mathbf{r} + r \dot\hat\mathbf{r} =\dot r \hat{\mathbf{r}} + r\dot\theta \hat{\boldsymbol\theta},$
$\ddot\mathbf{r} = (\ddot r \hat{\mathbf{r}} +\dot r \dot\hat{\mathbf{r}} ) + (\dot r\dot\theta \hat{\boldsymbol\theta} + r\ddot\theta \hat{\boldsymbol\theta} + r\dot\theta \dot\hat{\boldsymbol\theta}) = (\ddot r - r\dot\theta^2) \hat{\mathbf{r}} + (r\ddot\theta + 2\dot r \dot\theta) \hat{\boldsymbol\theta}.$

Note that for constant distance, $\ r$, the planet is subject to the centripetal acceleration, $r\dot\theta^2$, and for constant angular speed, $\dot\theta$, the planet is subject to the coriolis acceleration, $2\dot r \dot\theta$.

Inserting the acceleration vector into Newton's laws, and dividing by m, gives the vector equation of motion

$(\ddot r - r\dot\theta^2) \hat{\mathbf{r}} + (r\ddot\theta + 2\dot r \dot\theta) \hat{\boldsymbol\theta}= -GMr^{-2}\hat{\mathbf{r}}$

Equating component, we get the two ordinary differential equations of motion, one for the radial acceleration and one for the tangential acceleration:

$\ddot r - r\dot\theta^2 = -GMr^{-2},$
$r\ddot\theta + 2\dot r\dot\theta = 0.$

In order to derive Kepler's second law only the tangential acceleration equation is needed. Divide it by $\ r \dot\theta:$

$\frac{\ddot\theta}{\dot\theta} +2\frac{\dot r}{r}=0$

and integrate:

$\log\dot\theta +2\log r = \log\ell,$

where $\log\ell$ is a constant of integration, and exponentiate:

$r^2\dot \theta =\ell .$

This says that the specific angular momentum $r^2 \dot \theta$ is a constant of motion, even if both the distance $\ r$ and the angular speed $\dot\theta$ vary.

The area swept out from time t1 to time t2,

$\ \int_{t_1}^{t_2}\frac 1 2 r\cdot r\dot \theta dt=\frac 1 2 \ell \cdot(t_2-t_1)$

depends only on the duration t2t1. This is Kepler's second law.

### Deriving Kepler's first law

The expression

$p=\ell ^2 G^{-1}M^{-1}$

has the dimension of length and is used to make the equations of motion dimensionless. We define

$\ u =pr^{-1}$

and get

$-GMr^{-2}=-\ell^2 p^{-3}u^{2}$

and

$\ \dot \theta =\ell r^{-2}=\ell p^{-2}u^2.$

Differentiation with respect to time is transformed into differentiation with respect to angle:

$\ \dot X=\frac {dX}{d \theta}\cdot \dot\theta=\frac {dX}{d \theta}\cdot\ell p^{-2}u^2.$

Differentiate

$\ r =pu^{-1}$

twice:

$\dot r = \frac{d(pu^{-1})}{d\theta}\cdot\ell p^{-2}u^{2} = -pu^{-2}\frac{du}{d\theta}\cdot\ell p^{-2}u^{2}= -\ell p^{-1}\frac{du}{d\theta}$
$\ddot r = \frac{d\dot r}{d\theta}\cdot\ell p^{-2}u^{2}= \frac{d}{d\theta}(-\ell p^{-1}\frac{du}{d\theta})\cdot\ell p^{-2}u^{2}= -\ell^2 p^{-3}u^{2}\frac{d^2 u}{d\theta^2}$

Substitute into the radial equation of motion

$\ddot r - r\dot\theta^2 = -GMr^{-2}$

and get

$(-\ell^2 p^{-3}u^2\frac{d^2u}{d\theta^2}) - (pu^{-1})(\ell p^{-2}u^2)^2 = -\ell ^2 p^{-3} u^2$

Divide by $-\ell^2 p^{-3}u^2$ to get a simple non-homogeneous linear differential equation for the orbit of the planet:

$\frac{d^2u}{d\theta^2} + u = 1 .$

An obvious solution to this equation is the circular orbit

$\ u = 1.$

Other solutions are obtained by adding solutions to the homogeneous linear differential equation with constant coefficients

$\frac{d^2u}{d\theta^2} + u = 0$

These solutions are

$\ u = \epsilon\cdot\cos(\theta-A)$

where $\ \epsilon$ and $\ A$ are arbitrary constants of integration. So the result is

$\ u = 1+ \epsilon\cdot\cos(\theta-A)$

Choosing the axis of the coordinate system such that $\ A=0$, and inserting $\ u=pr^{-1}$, gives:

$\ pr^{-1 } = 1+ \epsilon\cdot\cos\theta .$

If $\ \epsilon<1 ,$ this is Kepler's first law.

### Kepler's third law

Newton used the third law as one of the pieces of evidence used to build the conceptual and mathematical framework supporting his law of gravity. If we take Newton's laws of motion as given, and consider a hypothetical planet that happens to be in a perfectly circular orbit of radius r, then we have F = mv2 / r for the sun's force on the planet. The velocity is proportional to r/T, which by Kepler's third law varies as one over the square root of r. Substituting this into the equation for the force, we find that the gravitational force is proportional to one over r squared. (Newton's actual historical chain of reasoning is not known with certainty, because in his writing he tended to erase any traces of how he had reached his conclusions.) Reversing the direction of reasoning, we can consider this as a proof of Kepler's third law based on Newton's law of gravity, and taking care of the proportionality factors that were neglected in the argument above, we have:

$T^2 = \frac{4\pi^2}{GM} \cdot r^3$

where:

The same arguments can be applied to any object orbiting any other object. This discussion implicitly assumed that the planet orbits around the stationary sun, although in reality both the planet and the sun revolve around their common center of mass. Newton recognized this, and modified this third law, noting that the period is also affected by the orbiting body's mass. However typically the central body is so much more massive that the orbiting body's mass may be ignored. Newton also proved that in the case of an elliptical orbit, the semimajor axis could be substituted for the radius. The most general result is:

$T^2 = \frac{4\pi^2}{G(M + m)} \cdot a^3$

where:

For objects orbiting the sun, it can be convenient to use units of years, AU, and solar masses, so that G, 4π2 and the various conversion factors cancel out. Also with m<<M we can set m+M = M, so we have simply T2 = a3. Note that the values of G and planetary masses are not known with good accuracy; however, the products GM (the Keplerian attraction) are known to extremely high precision.

Define point A to be the periapsis, and point B as the apoapsis of the planet when orbiting the sun.

Kepler's second law states that the orbiting body will sweep out equal areas in equal quantities of time. If we now look at a very small periods of time at the moments when the planet is at points A and B, then we can approximate the area swept out as a triangle with an altitude equal to the distance between the planet and the sun, and the base equal to the time times the speed of the planet.

$\begin{matrix}\frac{1}{2}\end{matrix} \cdot(1-\epsilon)a\cdot V_A\,dt= \begin{matrix}\frac{1}{2}\end{matrix} \cdot(1+\epsilon)a\cdot V_B\,dt$
$(1-\epsilon)\cdot V_A=(1+\epsilon)\cdot V_B$
$V_A=V_B\cdot\frac{1+\epsilon}{1-\epsilon}$

Using the law of conservation of energy for the total energy of the planet at points A and B,

$\frac{mV_A^2}{2}-\frac{GmM}{(1-\epsilon)a} =\frac{mV_B^2}{2}-\frac{GmM}{(1+\epsilon)a}$
$\frac{V_A^2}{2}-\frac{V_B^2}{2} =\frac{GM}{(1-\epsilon)a}-\frac{GM}{(1+\epsilon)a}$
$\frac{V_A^2-V_B^2}{2}=\frac{GM}{a}\cdot \left ( \frac{1}{(1-\epsilon)}-\frac{1}{(1+\epsilon)} \right )$
$\frac{\left ( V_B\cdot\frac{1+\epsilon}{1-\epsilon}\right ) ^2-V_B^2}{2}=\frac{GM}{a}\cdot \left ( \frac{1+\epsilon-1+\epsilon}{(1-\epsilon)(1+\epsilon)} \right )$
$V_B^2 \cdot \left ( \frac{1+\epsilon}{1-\epsilon}\right ) ^2-V_B^2=\frac{2GM}{a}\cdot \left ( \frac{2\epsilon}{(1-\epsilon)(1+\epsilon)} \right )$
$V_B^2 \cdot \left ( \frac{(1+\epsilon)^2-(1-\epsilon)^2}{(1-\epsilon)^2}\right )=\frac{4GM\epsilon}{a\cdot(1-\epsilon)(1+\epsilon)}$
$V_B^2 \cdot \left ( \frac{1+2\epsilon+\epsilon^2-1+2\epsilon-\epsilon^2}{(1-\epsilon)^2} \right) =\frac{4GM\epsilon}{a\cdot(1-\epsilon)(1+\epsilon)}$
$V_B^2 \cdot 4\epsilon =\frac{4GM\epsilon\cdot (1-\epsilon)^2}{a\cdot(1-\epsilon)(1+\epsilon)}$
$V_B =\sqrt{\frac{GM\cdot(1-\epsilon)}{a\cdot(1+\epsilon)}}.$

Now that we have VB, we can find the rate at which the planet is sweeping out area in the ellipse. This rate remains constant, so we can derive it from any point we want, specifically from point B.

$\frac{dA}{dt}=\frac{\frac{1}{2}\cdot(1+\epsilon)a\cdot V_B \,dt}{dt}= \begin{matrix}\frac{1}{2}\end{matrix} \cdot(1+\epsilon)a\cdot V_B$
$= \begin{matrix}\frac{1}{2}\end{matrix} \cdot(1+\epsilon)a\cdot \sqrt{\frac{GM\cdot(1-\epsilon)}{a\cdot(1+\epsilon)}} = \begin{matrix}\frac{1}{2}\end{matrix} \cdot\sqrt{GMa\cdot(1-\epsilon)(1+\epsilon)}$

However, the total area of the ellipse is equal to $\pi a \sqrt{(1-\epsilon^2)}a$. (That's the same as πab, because $b=\sqrt{(1-\epsilon^2)}a$). The time the planet take out to sweep out the entire area of the ellipse equals the ellipse's area, so,

$T\cdot \frac{dA}{dt}=\pi a \sqrt{(1-\epsilon^2)}a$
$T\cdot \begin{matrix}\frac{1}{2}\end{matrix} \cdot\sqrt{GMa\cdot(1-\epsilon)(1+\epsilon)}=\pi \sqrt{(1-\epsilon^2)}a^2$
$T=\frac{2\pi \sqrt{(1-\epsilon^2)}a^2}{\sqrt{GMa\cdot(1-\epsilon)(1+\epsilon)}} =\frac{2\pi a^2}{\sqrt{GMa}}= \frac{2\pi}{\sqrt{GM}}\sqrt{a^3}$
$T^2=\frac{4\pi^2}{GM}a^3.$

However, if the mass m is not negligible in relation to M, then the planet will orbit the sun with the exact same velocity and position as a very small body orbiting an object of mass M + m (see reduced mass). To integrate that in the above formula, M must be replaced with M + m, to give

$T^2=\frac{4\pi^2}{G(M+m)}a^3.$

Q.E.D.