Polynomials and Planets

A couple days ago I wrote about how the force of gravity varies over the surface of an oblate planet. Earth is slightly oblate, i.e., it has an equatorial bulge, and this oblateness has a significant effect on satellite orbits. More on that here.

The fictional planet Mesklin in Hal Clement’s novel Mission of Gravity is extremely oblate due to its rapid rotation, and apparent gravity varies by two orders of magnitude between the equator and the poles. As science fiction authors often do, Clement took some aspect of familiar experience and exaggerated it to make it easier to appreciate.

The gravitational potential of an oblate spheroid as a function of the polar angle θ is proportional to

1 − J2 P2(cos θ)

where P2 is the second Legendre polynomial. There are more terms of the form

J2n P2n(cos θ)

but the most significant term is the one with coefficient J2, hence the J2 effect.

I learned about Legendre polynomials long before I learned about gravity calculations, and so my first reaction when seeing the result above would be that gravitational calculations are another example of places where Legendre polynomials pop up. While this is true, it’s historically backward. Legendre discovered the polynomials that now bear his name because they came up in his gravitational calculations.

It would be more historically informed to say that the polynomials falling out of Legendre’s exploration of gravity have found applications elsewhere, and often for the same reasons: because they fall out of calculations involving radial symmetry. That’s why they appear in E&M, acoustics, and quantum mechanics.

Legendre polynomials also appear in applications that have nothing to do with radial symmetry. For example, the most common form of Gaussian quadrature is based on Legendre polynomials. More on that here.

Gravity on an oblate planet

A spherical planet is not a point mass, but the gravity on the surface is the same as if the mass were concentrated at a point in the center. If a planet is not spherical but rather an oblate spheroid, the point-mass approximation doesn’t work.

Suppose a planet has equatorial radius a and polar radius b, with a significantly larger than b. We’ll compare the point-mass model with the uniform density model.

Oblate spheroid

If the surface of the planet were a massless shell, with all the mass concentrated at a point in the center, the force of gravity would be inversely proportional to the square of the distance to the center. Gravity at the poles would be proportional to 1/b² and gravity on the equator would be proportional to 1/a². The ratio of the polar gravity to equatorial gravity would be (a/b)².

The model above grossly overestimates the variation in gravity. It’s not even useful for moderately oblate planets, such as the one we live on.

It’s true that if a/b is nearly 1 then the gravity ratio is also near 1, but the approximation overestimates the effect of flattening by an order of magnitude.

Flattening is defined to be

ε = 1 − b/a.

Assuming the planet has uniform density, the ratio of polar gravity to equatorial gravity has the following expansion in ε:

1 + ε/5 + (9/175) ε² + …

Now a/b = 1/(1 − ε) and so

(a/b)² = 1/(1 − ε)² = 1 + 2ε + 3ε² + …

To first order approximation, the effect of flattening is ε/5, but the point-mass approximation estimates the effect as 2ε, off by a factor of 10.

I became interested in this problem because I started reading a novel that takes place on an oblate spheroidal planet Mesklin with enormous variation in gravitational strength from pole to equator [1]. On a more nearly spherical planet like Earth, oblateness still matters a great deal when calculating satellite orbits. This is called the J2 effect.

Update: Here is a plot of gravity and apparent gravity on Mesklin as functions of latitude. Apparent gravity varies from 3 g at the equator to 665 g at the poles.


[1] Hal Clement, Mission of Gravity, serialized in 1953, published as a book in 1954. The planet in the novel rotates every 18 minutes, which explains why it is so oblate. The rotation also increases the ratio of apparent gravity because centrifugal force decreases the apparent gravity at the equator.

 

Orbital footnote

A couple days ago I wrote a post about the orbit of a new dwarf planet candidate. The article says the newly discovered object, ED138, has an orbital period of 281.1 years and is “46 times farther from the sun than Earth is.”

The earlier post showed that we can infer from Kepler’s third law that the orbit must be elliptical, and that therefore the phrase “46 times farther from the sun” is ambiguous. The post worked out the orbit of ED138 under the assumption that the object is 46 AU from the sun at its aphelion, the point in its orbit furthest from the sun.

But what if is “46 times farther from the sun” refers to the average distance from the sun? I added a footnote to the post to explore this possibility. I wanted to expand that footnote into its own post because there’s something I find interesting about it.

If the maximum distance of ED138 from the sun is 46 AU, then the orbit is an ellipse with eccentricity e =  0.072. My intuition was that if we assumed the average distance from ED138 to the sun is 46 AU it wouldn’t make much difference. But it does. In this case the eccentricity becomes e = 0.38, about five times larger.

The outer ellipse, plotted in blue, is the orbit assuming 46 AU is the maximum distance. It’s nearly circular. The blue dot is the position of the sun, near the center of the ellipse.

The inner ellipse, plotted in orange, is the orbit assuming 46 AU is the mean distance. It’s noticeably more elliptical. The orange dot is the position of the sun, further away from the center of the ellipse.

Update: Someone pointed out an error in my original post, and I updated the plot. Now I’m back to the difference between the two orbits not being so big. As always, the change in eccentricity makes more of a difference to the position of the sun in the orbit than to the shape of the orbit.

Related posts

Kepler and the dwarf

ED138

Kepler’s third law

A recent article from Smithsonian magazine says a new dwarf planet candidate is 46 times further from the sun as earth is, and it takes 281.1 years to orbit the sun.

I did a back-of-the-envelope calculation and thought something was wrong. Kepler’s third law says

T² = c a³.

Here T is the orbital period and a is the semimajor axis. If T is measured in years and a is measured in astronomical units (AU) then the proportionality constant c equals 1.

If T = 281.1 years, then a = 42.91 AU, not 46 AU.

Eccentricity

The difference between 46 AU and 42.91 AU is only a contradiction if we assume the dwarf planet is in a circular orbit. The semimajor axis a is the the maximum distance to the center of the orbit, not the distance to the sun. In an elliptical orbit, the focus of the ellipse where the sun sits is not at the center. The orbit is eccentric, meaning off-center.

Assume the dwarf planet candidate ED138 is in an orbit with semimajor axis 42.91 AU. What does the article mean when it says ED138 is “46 times farther from the sun than Earth is”? Does is mean that it is currently 46 AU from the sun, or that its maximum distance from the sun at aphelion is 46 AU? Presumably the latter [1].

If the distance to the dwarf at aphelion is 46 AU and the semimajor axis is 42.91 AU, then the distance between the sun and the center of the dwarf’s elliptical orbit is c = 3.09 AU. The eccentricity is then

e = c/a = 3.09/42.91 = 0.072

making the orbit more eccentric than that of Saturn but less than that of Mars. This would make the semiminor axis, the minimum distance to the center of the orbit,

b = a √(1 – e²) = 42.8.

The orbit isn’t far from circular, but far enough to account for the substantial difference between the distance to the sun and the distance to the center of the ellipse.

This touches on something that has come up before, and that is eccentricity doesn’t affect the shape of an orbit so much as the position of the sun in that orbit. The orbit of ED138 isn’t far from being circular, but the sun is significantly off-center in that orbit.

Related posts

[1] Another possibility is that the article has in mind the mean distance to the sun, in which case

a(1 + ½e²) = 46

as explained here. This would make the eccentricity much larger, e = 0.38, and the semimajor axis much smaller, b = 39.7.

Image credit: NSF-DOE Vera C. Rubin Observatory / NOIRLab / SLAC /AURA / R. Proctor

Monoliths and Lagrange Points

This post began as a thread on X last night. I’ve edited the thread to turn it into a blog post, making some additions and corrections.


I’m watching 2010: The Year We Make Contact. The movie opens saying the monolith is located at the Lagrange point between Jupiter and Io. I got nerd sniped and wondered where that was.

MISSION ANALYSIS: COMPOSITION OF SECOND MONOLITY ... UNKNOWN. POSITION OF SECOND MONOLITH ... LA GRANGE POINT BETWEEN JUPITER AND IO. POSSITION OF U.S.S. DISCOVERY ... ORBIT AROUND IO. CONDITION OF U.S.S. DISCOVERY ... UNKNOWN.

There are five Lagrange points, but presumably the movie refers to L1 or L2 because these are near Io. Lagrange points L3, L4, and L5 are essentially in the orbit of Io, but 60, 180, and 300 degrees out of phase, all far from Io. (The book says the monolith is at L1.)

Lagrange points L1 and L2 are unstable. Maybe this is a plot hole in the movie, unless there’s an explanation coming.

(In general L1, L2, and L3 are unstable. If the ratio of the masses is large enough, L4 and L5 will be stable. More on that here. The Lagrange points L4 and L5 are indeed stable for the Jupiter-Io system. For the Sun-Earth system L1 is moderately stable over a short time span, but L1 is far less stable for the Jupiter-Io system.)

Here’s a plot of the Lagrange points.

Note that L1 and L2 are very close to Io, about 10,000 km from the moon. The L1 and L2 Lagrange points for the Earth-Sun system are not so close to Earth.

(That’s half true. Yes, Io’s L1 point is closer to it than Earth’s L1 point, in absolute distance. But in relative terms, Io’s L1 point is actually further away. I had been misled by seeing an illustration that exaggerated the distance from Earth to L1.)

Related posts

Servers in dawn-dusk orbit

Despite the predictions that no one would ever put build data centers in space, Google is starting on Thursday. Google’s prototype satellite will be one of 130 payloads on SpaceX’s Transporter 18 mission on October 1.

The server will follow a dawn-dusk orbit, a special case of a sun-synchronous orbit (SSO), following the terminator line between daylight on dark on the earth below. A dawn-dusk orbit allows the satellite’s solar panels to stay in nearly continuous daylight, while also being in a relatively inexpensive low earth orbit (LEO). Geostationary orbit (GEO) would allow solar panels to always receive sunlight, but launching a satellite into GEO requires more fuel and so is more expensive.

Another advantage of LEO is that radiation levels are a couple orders of magnitude less than at GEO. Lower radiation means electronics do not need to be as hardened against radiation.

A dawn-dusk orbit would not be possible if the earth were perfectly spherical. The earth’s equatorial bulge makes it possible to design an orbit that precesses once per year. David Hammen explains this in an answer to a question on the Space Exploration Stack Exchange site.

If the Earth had a spherically distributed gravitational field, a satellite’s right ascension of ascending node would be constant. … Fortunately, the Earth’s gravitational field is not spherical. The Earth’s rotation results in an equatorial bulge. This equatorial bulge causes RAAN to precess (or recess). …

Sun synchronous orbits are chosen so that RAAN precesses by 360 degrees per year, or a bit less than one degree per day. …

A dawn-dusk satellite is a special case of a sun synchronous orbit. … A dawn-dusk orbit typically does not quite follow the terminator. Following the terminator would require a rather high orbit.

Related posts

Nathaniel Bowditch

A couple days ago a friend told me about the book Carry On, Mr. Bowditch, a fictional account of the life of Nathaniel Bowditch (1773–1838). I’ve been listening to the book on Audible, and apparently it’s only lightly fictionalized.

Bowditch was a self-educated mathematician and astronomer, best known for his book The American Practical Navigator, first published in 1801. The book has been continually revised over the last two centuries and is still in print, available for download from the National Geospatial-Intelligence Agency. The latest edition begins with a brief account of Bowditch’s life, confirming the essential details of the fictional biography.

Two things stand out about Bowditch: his attention to detail and his desire to make ideas accessible. He taught himself Latin in order to read Newton’s Principia and followed the text so closely that he found a number of errors.

Bowditch’s navigation book grew out of the numerous corrections he made to error he found in John Hamilton Moore’s The Practical Navigator, the leading navigation text of the time.

At the beginning of the 19th century it was theoretically possible to determine time, and hence longitude, from lunar observation. However, the method required ideal observation conditions and laborious calculation. Bowditch developed a way to make the necessary measurements under more general conditions, and simplified the necessary calculations. According to the biographical preface mentioned above,

Bowditch vowed while writing this edition [of his navigation text] to “put down in the book nothing I can’t teach the crew,” and it is said that every member of his crew including the cook could take a lunar observation and plot the ship’s position.

After completing The American Practical Navigator, Bowditch began an English translation of Pierre Laplace’s encyclopedic Mecanique Celeste, filling in details to make the work accessible to a wider audience. He was able to translate four out of the five volumes by the end of his life.

Related posts

The difference orbit inclination makes

Suppose you wanted to find the distance between Earth and Mars over time. To first approximation, both planets orbit the sun in elliptic orbits in the same plane.

If you wanted to be more accurate, you’d need to take into account the fact that the orbit of Mars is tilted about 1.85° relative to the Earth’s orbit. How much difference does that make?

To simplify things, let’s assume the Earth orbits the sun in a circle of radius 1 and Mars orbits the sun in a circle of radius 1.5. The distance between Earth and Mars over time would be basically sinusoidal.

How much does inclination contribute to this distance? In other words, what is the difference between the distance accounting for the inclination of Mars’ orbit and the distance if we assume the two orbits are in the same plane?

This plot gives the answer.

The effect is not large, about three orders of magnitude smaller than the main effect, but it’s interesting how erratic it is.

The plots were made with the following code.

from numpy import *

R = 1.5
T = R**1.5 # Kepler's third law

def f(t, theta):
    return sqrt(
        (cos(t) - R*cos(t/T)*cos(theta))**2 +
        (sin(t) - R*sin(t/T))**2 +
        (R*sin(theta)*cos(t/T))**2
    )

The first plot graphs f(t, θ) and the second graphs f(t, θ) − f(t, 0).

Mean distance to the sun

Suppose you have a planet in an elliptical orbit around a star. The math is identical for any light object orbiting a heavy object, such as a moon or satellite orbiting a planet, but we’ll call the heavy object a star and the light object a planet.

The center of the star is not quite the center of the orbit. The planet moves along an ellipse with the star at one focus of that ellipse.

Let a be the semi-major axis of planet’s orbit, the maximum distance from the center of the ellipse to a point on the ellipse. Then the distance of a focus to the center of the ellipse is ae where e is the eccentricity of the ellipse. This defines eccentricity. The center of earth’s orbit is between three and four solar radii away from the center of the sun [1].

The planet is farthest from the star when it is along the major axis of the ellipse on the opposite side as the star. The distance is then a + ae, the distance to the center plus the distance from the center to the star. On the opposite side of its orbit, the planet is closest to the star. There the distance is a − ae. In summary the maximum distance to the star is

a(1 + e)

and the minimum distance is

a(1 − e).

If you had to guess the average distance between the planet and its star, a would be a good guess since it’s the average of the maximum and minimum distance. And that’s a good approximation, provided e is small. The mean distance over time is

a(1 + ½e²).

See derivation. The average distance is greater than a because the planet moves faster when nearest the star and slower when further from the star.

The relative error in approximating the mean distance by a is then ½e². When e is small, ½e² is very small. For the earth’s orbit, e = 0.01671, and so the approximation is off by around 0.014%.

The eccentricity of Pluto’s orbit is 0.2488, and so in that case the approximation is off by about 3.1%. The eccentricity of a Molniya orbit, used by some Russian satellites, is 0.74 [2]. For such satellites the error in approximating the mean distance to earth as the semimajor axis is around 27%.

Related posts

[1] For earth’s orbit, e = 0.01671, a = 1.496×1011 m, and the sun’s radius is r = 6.957×108 m. And so ea / r = 3.59.

[2] An object in such a highly elliptical orbit will spend a long time at the far side of its orbit, i.e. over Russia. Sort of a poor man’s geostationary orbit.

The Laplace limit

An earlier post discussed how to solve Kepler’s equation

M = E − e sin(E)

using a sine series. You could also solve Kepler’s equation using a power series, which Lagrange did in 1771. Both approaches express E as a function of e and M, but from different perspectives. Bessel thought of his solution as a sum of sines in M, with coefficients that depend on e. Lagrange thought of his solution as a power series in e whose coefficients involve sines in M. You can rearrange the terms of either solution into the other.

The most interesting thing about the power series solution, in my opinion, is that it only converges for e less than roughly 2/3 while the sine series solution is valid for all e < 1. In astronomical terms, this means the power series solution works for the orbit of some planets but not others!

In our solar system, the planets all have eccentricity well below 2/3, but not all minor planets do. For example, the orbit of Eris has eccentricity 0.4407 but the orbit of Sedna has eccentricity 0.8549. And in other solar systems there are planets with eccentricity much greater than 2/3.

The Laplace limit

The radius of convergence for Lagrange’s power series solution is called the Laplace limit. Its value is eL = 0.6627…. There’s no obvious reason why there’s anything special about this value. There’s no astronomical reason for this value. It’s an artifact of the power series form of the solution.

If the series works for e = 0.66, you would reasonably think it works for e = 0.67, but that’s not the case. And if you’re observant, you might notice that although the series works for e = 0.66, it takes longer to converge than for smaller values of e; the rate of convergence is slowing down, warning you of danger ahead.

The exact value of eL is the unique real solution to the equation

x \exp\left(\sqrt{1 + x^2}\right) = 1 + \sqrt{1 + x^2}

There’s no obvious reason for this either. It has to do with finding the largest circle that can fit in a lens-shaped region of convergence. More on that here.

We can calculate eL with the following Python code.

from math import exp
from scipy.optimize import root_scalar

def f(x):
    t = (1 + x*x)**0.5
    return x*math.exp(t) - 1 - t

sol = root_scalar(f, bracket=[0, 1], method='brentq')
print(sol.root)

This prints 0.6627434193491817.

Series details

We can use the Lagrange inversion formula to find the series, just as Lagrange did two and a half centuries ago.

E = M+ \sum_{n=1}^{\infty} \frac{e^n}{n!} \frac{d^{\,n-1}}{dM^{\,n-1}} \left(\sin^n M\right)

The powers of sine can be expanded into the sum of sines of various frequencies and differentiated, leading to the equation

E = M+ \sum_{n=1}^{\infty} \frac{e^n}{2^{\,n-1}n!} \sum_{k=0}^{\lfloor n/2\rfloor} (-1)^k \binom{n}{k} (n-2k)^{n-1} \sin\!\big((n-2k)M\big)