Perturbation theory and the oblateness of the Earth
Osculating elements, Gauss and Lagrange planetary equations, averaged disturbing function of the J₂ harmonic and its consequences: nodal regression, critical inclination and sun-synchronous orbits, with values verified for the ISS, GPS, Landsat 8 and Sentinel-2.
⏱ 180 minvariational equationsaveraging over an orbitzonal harmonics and Legendre polynomialspartial derivatives with respect to the elementsRK4revision
By the end you will be able to:
Formulate the variation of the osculating elements under a perturbing acceleration (Gauss equations) and under a disturbing function (Lagrange equations).
Average the J₂ disturbing function over an orbit and derive the secular rates of Ω, ω and M.
Compute the nodal regression of real satellites and design a sun-synchronous orbit.
Explain the critical inclination (Molniya) and the precession of Mercury's perihelion due to the solar J₂.
Compare first-order secular theory with a numerical integration and bound its errors.
1. Motivation
The orbital plane of the International Space Station rotates westward by about 5° every day; the Landsat and
Sentinel-2 satellites pass over each place always at the same solar time; the Molniya satellites keep their apogee over
Russia for years. None of this happens in the two-body problem: these are consequences of the Earth not being
spherical. This lesson builds the general tool for treating any small perturbation (the
planetary equations) and applies it to the dominant term of the terrestrial field, the zonal harmonic J2.
2. Osculating elements and disturbing function
We write the equation of motion as the two-body problem plus a small acceleration:
r¨=−r3μr+f,∥f∥≪r2μ.
At each instant we define the osculating elements(a,e,i,Ω,ω,M) as those of the conic the body would
follow if f vanished from that moment on (lesson 2). If f=0 they are constant; in general
they vary slowly, and the idea of perturbation theory is to write differential equations for them. When
f=∇R derives from a potential, R is called the disturbing function (with the sign such that
U=−μ/r−R).
3. Gauss equations
We decompose f=Rr^+Tθ^+Nh^ into the radial, transverse (in the orbital
plane, in the direction of motion) and normal components. Let us derive the first two equations; the rest follow the same
method (Problem 1).
Semi-major axis. The osculating energy ε=−μ/(2a) changes according to the power of f:
ε˙=v⋅f=r˙R+rθ˙T. With r˙=(μ/h)esinν and rθ˙=h/r=(μ/h)(1+ecosν) (lesson 0):
dtda=μ2a2ε˙=h2a2[esinνR+rpT].
Angular momentum and eccentricity.h˙=r×f, whose component along h^ is rT: h˙=rT.
Since h2=μa(1−e2), 2hh˙=μa˙(1−e2)−2μaee˙; solving for e˙ and substituting a˙ and h˙:
dtde=h1[psinνR+((p+r)cosν+re)T].
The components of h˙ perpendicular to h^ (only N produces them) tilt the orbital plane and give i˙ and Ω˙;
ω˙ and M˙ are obtained from the rotation of A. The complete system (Murray & Dermott, eqs. 2.145–2.150) is
Physical reading: only N changes the orientation of the plane (i, Ω); T is the effective component for changing a (the basis of
the Hohmann transfer, lesson 6); the denominators e and sini are the same singularities as in lesson 2.
4. Lagrange equations
When f=∇R, it is convenient to express the variations through the partial derivatives of R with respect to the
elements themselves. Lagrange (1808) obtained, with n=μ/a3:
Their structure is Hamiltonian: the pairs (a,M), (e,ω), (i,Ω) appear crosswise with opposite signs (even
cleaner in the Delaunay variables L=μa, G=L1−e2, H=Gcosi, conjugate to M, ω, Ω).
The decisive advantage: if Rdoes not depend on an angle, its conjugate is conserved. And if we averageR over
M (one orbit), ∂⟨R⟩/∂M=0 and therefore ⟨a˙⟩=0: the semi-major axis undergoes no
secular variation to first order for any conservative perturbation. This is the Laplace–Lagrange theorem
on the stability of the semi-major axes.
5. Oblateness: the potential with J2
The exterior potential of an axially symmetric body is expanded in zonal harmonics:
U(r,ϕ)=−rμ[1−k≥2∑Jk(rR)kPk(sinϕ)],
with R the equatorial radius, ϕ the latitude and Pk the Legendre polynomials. For the Earth J2=1.08262545×10−3 (IERS 2010,
via JPL Horizons) and all the others are a thousand times smaller (J3≈−2.5×10−6), so we keep only
P2(x)=(3x2−1)/2:
RJ2=−2r3μJ2R2(3sin2ϕ−1),sinϕ=sinisin(ω+ν),
where the last equality is spherical trigonometry in the node–body–equator triangle. J2>0 means that there is
extra mass at the equator: a satellite feels an additional pull toward the equatorial plane.
5.1 Averaging over an orbit
We need ⟨r−3⟩ and ⟨r−3sin2(ω+ν)⟩ with ⟨⋅⟩=T1∫0T(⋅)dt. With dt=r2dν/h (law of
areas) and r=p/(1+ecosν):
These are the formulas of Kozai (1959) and Brouwer (1959) to first order in J2 (implemented in src/lib/math/perturbaciones.ts).
Three consequences:
Nodal regression. For prograde orbits (cosi>0) the node regresses westward; for retrograde ones it advances; for polar ones it does not move. The effect is largest in low equatorial orbits.
Critical inclination.ω˙=0 when 5cos2i=1, that is, i=63.435° or 116.565°. A Molniya satellite (a≈26600 km, e≈0.74, i=63.4°, T=12 h) thereby freezes its apogee over high latitudes of the northern hemisphere.
Sun-synchronous orbit. If we choose Ω˙=+2π/tropical year=0.98565°/day (positive, hence cosi<0: retrograde), the orbital plane rotates at the same rate as the Earth–Sun direction and the satellite always crosses the equator at the same local solar time. For a circular orbit:
cosiss=−3nJ22Ω˙ss(Ra)2=−3J2R2μ2Ω˙ssa7/2.
6. Results with real data
With μ=398600.435436 km³/s², J2=1.08262545×10−3, R=6378.137 km (JPL Horizons, IERS 2010) and a tropical year of
365.2422 d, the formulas of section 5.2 give:
Satellite / orbit
a (km)
e
i (°)
Ω˙ (°/day)
ω˙ (°/day)
T (min)
ISS
6 798
0.0005
51.64
−4.95
+3.69
93.0
GPS
26 560
0.01
55
−0.039
+0.022
718
Landsat 8
7 083
0
98.2
+0.985
−3.10
98.9
Sentinel-2
7 164
0
98.62
+0.994
−2.94
100.6
Molniya
26 600
0.74
63.4
−0.147
+0.0004
720
GEO
42 164
0
0
−0.013
+0.027
1 436
The ISS loses 0.32° of node per orbit: in 73 days its plane completes a full turn, which sets the launch windows from each cosmodrome.
Landsat 8 (USGS: 705 km, i=98.2°, 16-day cycle): the sun-synchronous formula gives iss=98.21°. Agreement to the hundredth.
Sentinel-2 (ESA: 786 km, i=98.62°, 100.6 min, 10-day cycle): the formula gives 98.54°, 0.08° below the ESA value. The sensitivity is diss/dh=0.0042°/km, so the discrepancy is equivalent to 18 km of altitude; it comes from the real orbit being designed with the full field model (more harmonics, “frozen” eccentricity e≈10−3) and from “786 km” being a mean altitude above the geoid, not a−Req. First-order J2 theory is accurate to ∼0.1°; the rest is detailed engineering. With 100.6 min, Sentinel-2 completes 143.14 orbits in 10 days, so it repeats its ground track every 143 revolutions.
Sun-synchronous inclination versus altitude (circular orbit): 400 km → 97.03°; 600 km → 97.79°; 800 km → 98.60°; 1 000 km → 99.48°; 1 500 km → 101.96°. The limit is cosi=−1: no circular sun-synchronous orbits exist above 5 970 km of altitude.
On Mars (J2=1.96045×10−3, R=3396.2 km, μ=42828.376 km³/s², year of 686.98 d) the same formula gives, at 400 km, iss=92.9°: the Martian J2 is larger, but its year is almost twice as long and the result is a nearly polar orbit.
The Sun’s J2 and Mercury. For a planet, the relevant angle is the longitude of perihelion ϖ=Ω+ω (with i=0 relative to the solar equator, ϖ˙=Ω˙+ω˙=23nJ2(R/p)2). With J2⊙=2.25×10−7 (Park et al. 2017), R⊙=695700 km, a=0.38710 au and e=0.2056, the advance is 3πJ2(R⊙/a)2/(1−e2)2=3.34×10−10 rad per orbit: 0.029′′ per century, versus the relativistic 42.98′′. This is why the measurement of J2⊙ and the test of general relativity with Mercury go together.
7. Numerical and error analysis
Theory versus integration. The test perturbaciones.test.ts integrates with RK4 the full equation r¨=−μr/r3+fJ2,
with the Cartesian acceleration
over 30 orbits of a satellite at 800 km with i=98.6° (400 steps per orbit) and compares the change of the osculating Ω with
Ω˙sect: they agree to 1 %. The difference has three sources, of different sizes:
Periodic terms omitted in the averaging: the osculating Ω oscillates with amplitude ∼23J2(R/a)2≈1.3×10−3 rad around the secular drift. This is the bound of the instantaneous comparison; averaging over an orbit it disappears.
Second order in J2: Brouwer’s theory (1959) adds terms ∝J22≈10−6, which for the ISS amount to ∼10−3°/day. Negligible for design, not for predicting a year ahead.
Integrator error: RK4 with h=T/400 has a global error ∝h4∼10−10 relative per orbit, far below the previous ones; with h=T/50 the integrator error is already comparable to the periodic terms. Check it in Problem 6.
What J2 does not include. For low satellites, atmospheric drag does change a secularly (the ISS loses ∼2 km/month
and needs reboosts); J3 produces a long-period oscillation of e coupled to ω; the Sun and the Moon dominate the
nodal precession above ∼20000 km (in GEO their effect is comparable to that of J2: the inclination of an uncontrolled
geostationary satellite drifts by ∼0.85°/year). Every figure in the table is therefore ”J2 only, first order”.
8. Simulator
Period T = 1.000 years · t = 0.000 years · r = 0.000 au · v = 0.00 km/s
The simulator integrates only the two-body problem, so the periapsis does not precess. Use it to fix the reference
magnitudes: with a=1 and e=0.74 (Molniya to scale) measure the fraction of the period the body spends in the half of the
orbit farthest from the focus (it should be ≈0.9, Problem 5) and understand why freezing the apogee with i=63.4° is worth
so much for communications at high latitudes.
Problems
(Proof) Derive di/dt and dΩ/dt of Gauss. Hint:h˙=r×f=rTh^−rNθ^; decompose θ^ in the basis of the line of nodes and project the change of h^ onto the directions that change i and Ω.
Show solution
r×f=rr^×(Rr^+Tθ^+Nh^)=rTh^−rNθ^. The change of the unit vector is
h^˙=(h˙−h˙h^)/h=−(rN/h)θ^. Let u=ω+ν be the argument of latitude; in the basis (node n^,
h^×n^, h^) one has θ^=−sinun^+cosu(h^×n^). A rotation δi about n^
moves h^ by −δi(h^×n^) and a rotation δΩ about z^ moves it by δΩsinin^. Equating components:
i˙=(rN/h)cosu and Ω˙sini=(rN/h)sinu.
(Proof) Compute ⟨r−3sin2(ω+ν)⟩ and complete the derivation of ⟨RJ2⟩.
Show solution
⟨r−3sin2u⟩=Thp1∫02π(1+ecosν)sin2(ω+ν)dν. The term with 1 gives π; the term with ecosνsin2(ω+ν)
integrates to zero (it is a sum of harmonics cosν, cos(2ω+ν), cos(2ω+3ν) with no constant term). Result: 21⟨r−3⟩.
Then ⟨R⟩=−21μJ2R2⟨r−3⟩(3sin2i⋅21−1)=41μJ2R2a−3(1−e2)−3/2(2−3sin2i), and μ/a3=n2.
(Critical inclination) Show that ω˙=0 exactly at i=arccos(1/5)=63.435° and that in that case Ω˙=0. How long does the node of a Molniya take to complete one turn?
Show solution
5cos2i=1⇒cosi=±1/5, i=63.435° or 116.565°. With cosi=1/5, Ω˙=−23nJ2(R/p)2/5=0. For
a=26600 km, e=0.74: p=12034 km, n=1.455×10−4 rad/s and Ω˙=−0.147°/day: one turn in 6.7 years.
(Sun-synchronous) Derive the maximum altitude of a circular sun-synchronous orbit and compute iss for a circular orbit at 600 km. What happens to iss if a is kept but e=0.1?
Show solution
cosi=−1 gives amax=(23μJ2R2/Ω˙ss)2/7=12348 km, that is, 5970 km of altitude. At 600 km: cosi=−0.1355,
i=97.79°. With e=0.1, p=a(1−e2) is smaller and (R/p)2 larger: less ∣cosi∣ is needed, i moves closer to 90° (for a=6978 km: 97.79°→97.63°).
(Molniya) Compute, using the eccentric anomaly, the fraction of the period a body spends with ν∈[π/2,3π/2] (the “far” half of the orbit, beyond the latus rectum) and evaluate it for e=0.74.
Show solution
ν=π/2 corresponds to cosE=e, that is, E1=arccose; by symmetry the far half is E∈[E1,2π−E1]. The time is
M=E−esinE: fraction =[(2π−2E1)+2esinE1]/(2π)=1−πE1+πe1−e2. For e=0.74: E1=0.7377 rad and the fraction is
1−0.2348+0.1584=0.924: the satellite spends 92 % of the time in the half of the orbit containing the apogee.
(Computational) Integrate with RK4 the motion of a satellite at 800 km, i=98.6°, e=0, with the acceleration fJ2 of section 7 (or use campoJ2 from src/lib/math/perturbaciones.ts), convert each state to osculating elements and plot Ω(t), ω(t), a(t) over 30 orbits. Fit a straight line to Ω(t) and compare its slope with Ω˙sec. Repeat with 400, 100 and 50 steps per orbit and explain what changes.
Show solution
import numpy as npmu, J2, R = 3.98600435436e14, 1.08262545e-3, 6378137.0def f(s): x, y, z, vx, vy, vz = s; r2 = x*x+y*y+z*z; r = np.sqrt(r2) k = 1.5*J2*mu*R*R/(r2*r2*r); z2 = 5*z*z/r2 ax = -mu*x/r**3 + k*x*(z2-1); ay = -mu*y/r**3 + k*y*(z2-1); az = -mu*z/r**3 + k*z*(z2-3) return np.array([vx, vy, vz, ax, ay, az])def rk4(s, h): k1 = f(s); k2 = f(s+h/2*k1); k3 = f(s+h/2*k2); k4 = f(s+h*k3) return s + h/6*(k1+2*k2+2*k3+k4)# initial state from elements (lesson 2), loop, state_to_elements at each step, np.polyfit(t, Omega, 1)
With 400 steps/orbit the fitted slope agrees with Ω˙sec=0.986°/day to 0.1 % (the residual scatter is the periodic
terms); a(t) oscillates with amplitude ∼J2(R/a)2a≈6 km but without drift. With 50 steps/orbit a spurious drift
of a appears (RK4 error ∝h4, 4 096 times larger) and Ω deviates visibly: one is no longer measuring physics but the integrator.
(Mercury) Reproduce the calculation of 0.029′′/century for the precession of Mercury’s perihelion due to J2⊙ and determine with what relative precision J2⊙ would have to be known for its uncertainty to be below 10−4 of the relativistic effect (42.98′′/century).
Show solution
Per orbit: Δϖ=3πJ2(R⊙/a)2/(1−e2)2=3π⋅2.25×10−7⋅1.444×10−4/0.9173=3.34×10−10 rad =6.88×10−5′′.
Orbits per Julian century: 36525/87.969=415.2. Total: 0.0286′′/century. 10−4 of 42.98′′ is 0.0043′′, 15 % of the J2 effect:
it suffices to know J2⊙ to 15 %. MESSENGER determined it to ∼4 % (Park et al. 2017), so Mercury tests general relativity
to better than 10−4 … provided that J2⊙ and the precession are fitted simultaneously, because both have the same secular signature.
Self-assessment
✦ Self-assessment
Answer all the questions to check.
Further reading
Murray & Dermott (1999), §2.9 and ch. 6: Gauss and Lagrange equations with complete derivation; §6.11 treats oblateness with the same averaged disturbing function.
Vallado (2013), ch. 9: the engineering reference for J2, sun-synchronous orbits, Molniya and the Brouwer/Kozai theories; §8.7 gives the Cartesian acceleration.
Curtis (2020), ch. 10: elementary derivation of the nodal regression and numerical examples with real satellites.
Kozai (1959), DOI 10.1086/107957, and Brouwer (1959), DOI 10.1086/107958: the two original artificial-satellite theories, to first and second order in J2.
Park et al. (2017), DOI 10.3847/1538-3881/aa5be2: J2⊙ and the precession of Mercury’s perihelion measured with MESSENGER.
IERS Conventions (2010), Technical Note 36: reference constants of the terrestrial field.
🍎 Teacher guide
Time
2 classes of 90 min
Learning outcome
By the end, the student formulates the Gauss and Lagrange planetary equations, averages the J₂ disturbing function, derives the secular rates of Ω, ω and M, designs a sun-synchronous orbit and contrasts the theory with a numerical integration, identifying the orders of magnitude of each error source.
Evidence of learning
Submission of computational problem 6 (plots of Ω(t), ω(t), a(t), slope fit and discussion of the dependence on the step) and of proof 2 or 3.
Materials
Python 3 with NumPy and Matplotlib
Table of constants of the terrestrial field (JPL Horizons / IERS 2010)
Mission sheets of Landsat 8 (USGS) and Sentinel-2 (ESA) for comparison
Simulator "Keplerian orbit"
Suggested sequence
Class 1. Show the ground track of the ISS rotating day by day (10 min). Osculating elements and derivation of a˙ and e˙ of Gauss on the board; present the complete system and the Lagrange equations, with emphasis on the conjugate structure and on the Laplace–Lagrange theorem (50 min). Potential with J2 and averaging over the orbit (30 min).
Class 2. Secular rates and their three consequences; each group fills in one row of the table in section 6 with the calculator and compares it with the mission sheet (40 min). Design of a sun-synchronous orbit at 600 km and discussion of the 5 970 km limit (20 min). Guided start of computational problem 6 and discussion of the three orders of error (30 min).
Common mistakes
Thinking that J₂ changes the semi-major axis: insist on the Laplace–Lagrange theorem (⟨ȧ⟩ = 0 for every conservative perturbation to first order).
Sign of the nodal regression: westward for prograde orbits. Have students compute the ISS and compare with the visible rotation of its ground track in an online tracker.
Using the altitude above the mean radius (6371 km) instead of a − R_eq and mixing up "altitude" with "semi-major axis"; discuss the Sentinel-2 case and the sensitivity 0.0042°/km.
Comparing the instantaneous osculating Ω with the secular theory and attributing the difference to an error: these are the short-period terms.
Key terms in this lesson (12)
Glossary terms that appear in the text. Each one links to its full entry.
PerturbationAny small "nudge" that pulls an orbit away from a perfect ellipse: the attraction of other planets, Earth's flattening, air drag. That is how Neptune was discovered, through the perturbations of Uranus.
OrbitThe path one body follows around another because of gravity: the Moon around Earth, Earth around the Sun. Almost all are ellipses, slightly flattened ovals.
Orbital elementsThe six numbers that fully describe an orbit: its size, its shape, how it is tilted and oriented, and where the body is at a given moment.
Semi-major axisHalf the length of the ellipse: the planet's "average" distance from the Sun. It is the number that rules Kepler's third law: the larger it is, the slower the planet.
Linear regressionDrawing the line that best passes "through the middle" of a cloud of points. That is how Hubble found that the velocity of galaxies grows with their distance, and the slope of that line is his famous constant.
Orbital nodesThe two points where the Moon's orbit crosses the plane of Earth's orbit. There are eclipses only when the new or full moon happens near a node; that is why there are not eclipses every month.
PerihelionThe point of the orbit closest to the Sun; there the planet moves fastest. Earth passes through it in early January. For the Moon around Earth it is called perigee.
PrecessionEarth's axis wobbles very slowly, like a spinning top, and takes about 26 000 years to complete one turn. That is why the star marking north changes over the millennia.
EccentricityA number between 0 and 1 that says how flattened an orbit is: 0 is a perfect circle, and the closer to 1, the more elongated. Earth's is 0.017, almost a circle; Halley's comet's, 0.97.
Two-body problemWorking out how two bodies move when they attract only each other, like the Sun and a planet. It has an exact solution: Kepler's ellipses. With three bodies there is no longer a closed formula.
Perihelion precessionMercury's orbit turns slowly, like a flower drawn with a spirograph. Newton explained almost all of the turning, but a little bit was missing (43 arcseconds per century) that only general relativity explained.
AphelionThe point of the orbit farthest from the Sun; there the planet moves slowest. For the Moon around Earth it is called apogee.
Murray, C. D. & Dermott, S. F. (1999). Solar System Dynamics. Cambridge University Press, §2.9 (Gauss equations), ch. 6 (disturbing function and Lagrange equations) and §6.11 (oblateness).
Vallado, D. A. (2013). Fundamentals of Astrodynamics and Applications, 4th ed. Microcosm Press, ch. 9 (§9.3–9.6) and §8.7.
Curtis, H. D. (2020). Orbital Mechanics for Engineering Students, 4th ed. Butterworth-Heinemann, ch. 10 (§10.3–10.5).
Danby, J. M. A. (1988). Fundamentals of Celestial Mechanics, 2nd ed. Willmann-Bell, ch. 11.
Kozai, Y. (1959). The motion of a close earth satellite. The Astronomical Journal 64, 367–377. DOI 10.1086/107957
Brouwer, D. (1959). Solution of the problem of artificial satellite theory without drag. The Astronomical Journal 64, 378–396. DOI 10.1086/107958
Park, R. S. et al. (2017). Precession of Mercury's perihelion from ranging to the MESSENGER spacecraft. The Astronomical Journal 153, 121. DOI 10.3847/1538-3881/aa5be2
Petit, G. & Luzum, B. (eds.) (2010). IERS Conventions (2010). IERS Technical Note 36, ch. 6 (Earth gravity field model).
JPL Horizons, physical data sheet of the Earth (GM = 398600.435436 km³/s², J₂ = 0.00108262545, R = 6378.137 km) and of Mars (J₂ = 1960.45e-6); queried 2026-10-29.
USGS, Landsat 8 fact sheet (705 km, 98.2°, 16 days); ESA, Sentinel-2 orbit description (786 km, 98.62°, 100.6 min, 10-day cycle).