Physics Library
 An open source physics library
Encyclopedia | Forums | Docs | Random |  
Login
create new user
Username:
Password:
forget your password?
Main Menu
Sections

Meta

Talkback

Downloads

Information
Celestial Mechanics: Newton's Law of Universal Gravitation (Topic)

Celestial Mechanics: Newton’s Law of Universal Gravitation

Celestial mechanics begins with a force law. Before discussing ellipses, orbital elements, Kepler’s equation, perturbations, or three-body motion, we first need a precise mathematical statement of how two masses attract one another.

Newton’s law of universal gravitation says that two point masses m1 and m2, separated by distance r, attract each other with force magnitude

|--------------|
|       m1m2-- |
|F =  G   r2  .|
---------------
(1)

This compact expression contains several distinct pieces of physics:

  • the interaction is proportional to each mass;
  • it becomes weaker with the square of separation;
  • the force acts along the line joining the masses;
  • the force is attractive;
  • the two bodies exert equal and opposite forces on one another.

The purpose of CM01 is to unpack those statements carefully and express them in the vector language needed for later celestial mechanics. The lesson also introduces The Gravitational Field, superposition, continuous mass distributions, the gravitational parameter, and the first astronomical-scale calculations. The potential formulation is previewed here and developed systematically in CM02 [6231].

1 From a scalar force magnitude to a vector law

The scalar expression

       m1m2
F  = G ---2--
         r
(2)

tells us the size of the force but not its direction. Orbital motion requires a vector equation.

Let the inertial positions of the masses be

r1    and      r2.
(3)

Define the relative displacement from body 1 to body 2 by

-------------
|r = r2 − r1.|
-------------|
(4)

Its magnitude is

r = |r|,
(5)

and the corresponding unit vector is

     r-
^r = r.
(6)

The force on body 2 due to body 1 must point from body 2 back toward body 1, opposite to r. Therefore

|------------m--m----|
|F2←1  = − G --122-^r.|
---------------r-----|
(7)

Using

     r
^r = r,
(8)

we obtain the form used throughout celestial mechanics:

|------------m--m----|
|F2←1  = − G --1-2-r.|
---------------r3----|
(9)

The factor r3 in the denominator sometimes looks surprising because the familiar scalar law contains r2. There is no contradiction. The vector r contributes one factor of length:

||r ||    r    1
|-3| = -3 =  -2.
 r     r     r
(10)

2 Attraction and the minus sign

The minus sign is geometric, not decorative.

By definition,

r = r  − r
     2    1
(11)

points from body 1 toward body 2. Gravity on body 2 points the opposite way, toward body 1. Therefore its direction is

− ^r.
(12)

If instead one defines the relative vector in the opposite direction, the algebraic sign in the force law changes accordingly. What is physically invariant is that the gravitational force points toward the attracting mass.

This is why defining the relative position vector explicitly is essential before writing a vector force law.

3 Newton’s third law for the pair

The force on body 1 due to body 2 points from body 1 toward body 2:

|--------------------|
|            m1m2--  |
-F1←2--=-+G----r3--r.|
(13)

Thus

|----------------|
-F1←2--=-−-F2←1.-|
(14)

This is Newton’s third law for the isolated gravitational pair.

PIC

Figure. With r = r2 r1, gravity pulls each body toward the other. The two internal forces have equal magnitude and opposite direction.

The third-law structure becomes important in CM08, where the exact two-body problem is separated into center-of-mass motion and relative motion.

4 The gravitational constant G

The constant G sets the strength of Newtonian gravitation. In SI units,

                 −11-m3--
G ≈  6.67430 ×  10   kg s2.
(15)

Unlike the speed of light in SI, G is not fixed by definition; it is determined experimentally.

Its dimensions can be recovered from the force law. Since

[F ] = kgm ∕s2,
(16)

we require

[G] = [F ][r]2
-------
 [m ]2 (17)
= (kgm ∕s2)(m2 )
-------2------
     kg (18)
= -m3--
kgs2 . (19)

This dimensional check is useful because celestial-mechanics formulas often contain the combination GM, whose units are

           3
[GM  ] = m--.
          s2
(20)

That combination will soon become so common that it receives its own symbol.

5 The gravitational parameter

For a dominant central mass M, define the gravitational parameter

|----------|
|μ = GM.   |
-----------
(21)

Then the gravitational acceleration due to a point mass can be written compactly as

      μ-
g = − r3r.
(22)

In the exact relative two-body problem, the corresponding parameter becomes

μ = G (m1 +  m2 ),
(23)

which will be derived later rather than assumed.

Using μ is often preferable in practical orbital work because planetary and stellar gravitational parameters can be determined very accurately from dynamical observations.

6 Why an inverse-square dependence?

Newtonian gravity has the radial dependence

     1-
F ∝  r2.
(24)

There is an important geometrical reason that inverse-square laws appear naturally in three-dimensional space.

The area of a sphere of radius r is

           2
A (r) = 4πr .
(25)

If some conserved radial flux is distributed uniformly across spherical surfaces, then the flux per unit area must scale as

  1
-----.
4πr2
(26)

At twice the radius,

A (2r) = 4π(2r)2 = 4A (r),
(27)

so the same total flux is spread over four times the area.

PIC

Figure. The area of a sphere grows as r2, so any conserved spherically symmetric radial flux has a density proportional to 1∕r2. This explains the geometry associated with an inverse-square field, but does not by itself derive Newton’s gravitational law.

That last distinction matters. Geometry explains why a conserved radial flux has inverse-square behavior. It does not prove that gravity must be such a flux or determine the coupling strength G. Newtonian gravitation is a physical law supported by observation; the spherical-area argument helps us understand its spatial structure.

7 A simple scaling consequence

If the separation changes from r to 2r, the force changes from

         m1m2--
F (r ) = G  r2
(28)

to

F(2r) = Gm1m2--
(2r)2 (29)
= 1
--
4F(r). (30)

Thus

|------------------------|
|                     F- |
r →  2r   =⇒     F →   4 .
--------------------------
(31)

If the separation triples,

         1
F (3r) = -F (r).
         9
(32)

This rapid weakening with distance is central to nearly every approximation used later in celestial mechanics.

8 From force to gravitational field

It is often useful to separate the property of the source from the mass of the object used to probe it.

Suppose a source mass M is located at the origin and a test mass m is at position r. The gravitational force on the test mass is

F  = − G M-m-r.
          r3
(33)

Define the gravitational field as force per unit test mass:

|--------|
|     F  |
|g = -- .|
-----m---
(34)

Therefore

|----------------|
|           M--  |
|g(r) = − G r3 r.|
-----------------
(35)

Equivalently,

|----------------|
|g(r) = − GM--^r.|
-----------r2----|
(36)

Its units are

          2
[g] = m/s .
(37)

Thus the gravitational field is also an acceleration field.

9 Why the test mass cancels

Newton’s second law gives

F  = ma.
(38)

But gravitational force is

F  = mg.
(39)

Therefore

ma =  mg.
(40)

For nonzero m,

|a =-g.|
--------
(41)

In Newtonian gravity, the acceleration produced by a given external gravitational field is independent of the test body’s mass.

PIC

Figure. The source mass creates the gravitational field. Multiplying the field by a test mass gives the force, and Newton’s second law then cancels that test mass, leaving a = g.

This cancellation is the Newtonian manifestation of the equivalence between inertial and gravitational mass. General relativity later elevates this observation into a much deeper geometrical principle, but Newtonian celestial mechanics only requires the result a = g.

10 Example 1: gravitational acceleration at Earth’s surface

Treat Earth as spherically symmetric and use

                  24
ME  ≈  5.9722 × 10  kg,
(42)

                6
RE ≈  6.371 ×  10 m.
(43)

The Newtonian surface gravitational acceleration is

       ME
gE = G --2-.
       R E
(44)

Substituting,

gE = (6.67430 × 1011)5.9722-×-1024-
(6.371 × 106)2 (45)
9.82 m/s2. (46)

Thus

|--------------2-|
-gE-≈-9.82-m/s--.|
(47)

The familiar near-surface value of g is therefore not a separate law. It is the local value of Earth’s gravitational field.

Real measured surface gravity varies because Earth rotates, is oblate rather than perfectly spherical, has altitude variations, and possesses nonuniform mass distribution. Those refinements belong to gravitational-field modeling rather than the ideal point-mass law.

11 Example 2: the Sun’s gravitational acceleration at Earth

Let

M ⊙ ≈  1.98847 ×  1030kg
(48)

and take one astronomical unit as

                         11
1AU  ≈  1.495978707 × 10   m.
(49)

The Sun’s gravitational field magnitude at Earth’s orbital distance is

g(1 AU) = GM-⊙-
 r2 (50)
5.93 × 103 m/s2. (51)

Therefore

|------------------------------|
|g⊙ (1 AU ) ≈ 5.93 × 10−3 m/s2. |
-------------------------------
(52)

This is much smaller than Earth’s surface gravity, but it acts continuously over astronomical distances and is sufficient to curve Earth’s motion around the Sun.

Multiplying by Earth’s mass gives the approximate Sun–Earth force magnitude:

                         22
F⊙E  = MEg  ⊙ ≈ 3.54 × 10  N.
(53)

The enormous force is accompanied by an enormous planetary mass, so the resulting acceleration remains only a few millimeters per second squared.

12 Superposition

Newtonian gravity is linear in the source masses. If several masses are present, the net gravitational force is the vector sum of the individual forces.

For a test mass m at position r and source masses Mi at positions ri,

|-----------------|
F (r) = ∑  F  (r ). |
|            i    |
---------i---------
(54)

The contribution from source i is

                  r − r
Fi(r) = − GmMi   ------i-.
                 |r − ri|3
(55)

Therefore

|----------------------------|
|             ∑     -r-−-ri- |
F (r) = − Gm     Mi |r − ri|3.|
---------------i--------------
(56)

Dividing by the test mass gives the gravitational field:

|--------------------------|
|          ∑      -r-−-ri- |
g (r) = − G    Mi |r − ri|3.|
-------------i--------------
(57)

PIC

Figure. For several gravitating sources, each mass contributes a vector field at the observation point. The net Newtonian gravitational field is their vector sum.

This superposition principle is the starting point for the Newtonian N-body equations developed much later in the series.

13 A two-source example on one line

Consider two equal source masses M fixed at

x = − a     and     x = +a.
(58)

At the midpoint x = 0, the left mass produces a field of magnitude

GM---
 a2
(59)

pointing left, while the right mass produces the same magnitude pointing right. Therefore

|----------|
-g(0)-=-0.-|
(60)

Zero net field does not mean gravity is absent. It means the individual contributions cancel at that point.

The same distinction becomes important in multi-body celestial mechanics, where equilibrium points arise from balances among several gravitational and inertial terms.

14 From discrete masses to a continuous mass distribution

If matter is described by a mass density

ρ(r′),
(61)

then a small source volume dV contains mass

dm  = ρ(r′)dV ′.
(62)

The field contribution at observation point r is

                   ′
            ′-r-−-r--   ′
dg = − G ρ(r)|r − r′|3 dV .
(63)

Integrating over the source gives

---------------------------------
|          ∫             ′      |
g (r) = − G    ρ(r′)-r −-r--dV ′. |
-------------------|r-−-r′|3-------
(64)

This equation extends the point-mass law to planets, stars, gas clouds, stellar systems, and galaxies within Newtonian gravity.

Its direct evaluation can be difficult, but symmetry can simplify it dramatically.

15 Preview: spherical symmetry and the shell theorem

For a spherically symmetric body, Newton’s shell theorem gives two powerful results:

  1. outside a spherical shell, the gravitational field is exactly the same as if the shell’s mass were concentrated at its center;
  2. inside an ideal thin spherical shell, the net gravitational field is zero.

Consequently, outside any spherically symmetric body of total mass M,

|------------|
|        M-- |
g-=--−-G-r3 r,
(65)

provided r lies outside the mass distribution.

This is why planets and stars can often be treated as point masses when studying external orbital motion, even though they are physically extended objects.

The shell theorem and extended spherical distributions will be developed more fully in CM02E1 when gravitational potential provides a particularly efficient route to the calculation.

16 What the point-mass approximation really means

A body does not have to be physically tiny to behave gravitationally like a point mass.

For a spherically symmetric object, the external field is exactly equivalent to that of a point mass at the center. For a nearly spherical body, the point-mass model is often the dominant term in a more detailed gravitational-field expansion.

Thus the approximation

        M--
g ≈ − G r3 r
(66)

can be excellent even when the body’s physical radius is large, provided the observer is outside the body and departures from spherical symmetry are unimportant for the required accuracy.

Later perturbation theory will explicitly add nonspherical gravitational effects rather than hiding them inside the ideal law.

17 Example 3: Earth acting on the Moon

Take the mean Earth–Moon separation as approximately

rEM  = 3.844 × 108 m.
(67)

The acceleration produced by Earth at that distance is

gE(rEM) = GME---
r2EM (68)
2.70 × 103 m/s2. (69)

Thus

|--------------------------2-|
gE-(rEM-) ≈-2.70 ×-10−3m/s--.-
(70)

Using a lunar mass of approximately

MM  ≈  7.342 × 1022 kg,
(71)

the mutual force magnitude is approximately

|----------------------|
|FEM  ≈  1.98 × 1020 N. |
-----------------------
(72)

Earth experiences exactly the same force magnitude in the opposite direction. Because Earth’s mass is much larger, Earth’s acceleration toward the Moon is much smaller than the Moon’s acceleration toward Earth.

This observation is the first hint that saying “the Moon orbits Earth” is an approximation. In the exact two-body problem, both bodies move around their common center of mass.

18 Gravitational force is central

For a source at the origin,

         M m
F  = − G --3-r.
          r
(73)

The force is parallel or antiparallel to r. Therefore it is a central force.

The torque about the force center is

τ = r × F (74)
= r ×(          )
      M-m--
  − G  r3 r (75)
= 0. (76)

Thus

dL
---=  0.
dt
(77)

We will derive the consequences carefully later, but already we can preview one of the deepest structural facts of celestial mechanics:

|------------------------------------------------------------------------------------|
central-gravity-=-⇒-zero-torque-about--the center-=⇒-angular--momentum----conservation.-
(78)

From that conservation law will come planar motion and Kepler’s equal-area law.

19 Preview: gravity is conservative

The Newtonian point-mass force also has the special property that it can be derived from a scalar potential energy.

For two point masses,

|------------------|
|         Gm1m2--- |
|U(r) = −    r    ,|
--------------------
(79)

with the conventional choice

U (∞ ) = 0.
(80)

The radial force is recovered from

       dU
Fr = − --- .
        dr
(81)

Indeed,

 d
---
dr(   Gm1m2   )
  − --------
       r = Gm1m2
----2---
   r. (82)

CM02 will develop gravitational potential and potential energy in detail, including the relation

|----------|
g =  − ∇Φ. |
------------
(83)

For now, the important preview is that Newtonian gravity conserves mechanical energy for an isolated system.

20 Why the potential is negative

With the reference choice

U (∞ ) = 0,
(84)

two attracting masses at finite separation have

U (r) < 0.
(85)

The negative sign encodes the fact that positive work must be supplied to separate a bound pair from finite separation to infinity.

This sign will later become central to orbital classification:

negative total orbital energy =⇒  bound  Kepler orbit.
(86)

That result belongs later in the sequence, after the kinetic and potential terms have been combined correctly.

21 Astrophysical scale invariance of the same law

One of the remarkable features of Newtonian gravity is that the same mathematical law describes systems across an enormous range of scale.

The same expression

       m1m2
F  = G --r2--
(87)

is used to model, at the appropriate approximation level:

  • a falling laboratory mass near Earth;
  • the Earth–Moon interaction;
  • planets orbiting the Sun;
  • binary stars;
  • stars orbiting a compact central mass;
  • the pairwise forces in an N-body star-cluster calculation.

The objects and distances change by many orders of magnitude, but the Newtonian force law keeps the same structure until relativistic or extended-mass effects become important.

This universality is one reason celestial mechanics provides such a powerful bridge between classical mechanics and astrophysics.

22 When Newtonian point-mass gravity is not enough

The simple law is foundational, but it is not universally sufficient.

Corrections or more detailed models may be required when:

  • the source is significantly nonspherical and its multipole gravity matters;
  • several bodies produce comparable gravitational accelerations;
  • tidal effects depend on the spatial gradient of gravity across an extended body;
  • mass distributions are continuous rather than point-like;
  • velocities or gravitational fields become relativistically strong;
  • nongravitational forces such as radiation pressure, drag, or thrust are important.

Celestial mechanics is therefore not about using the most complicated force model possible. It is about selecting the simplest model that contains the physics relevant to the question.

23 A compact vector summary

For two point masses with

r = r2 − r1,
(88)

the gravitational force on body 2 due to body 1 is

|-----------------r--|
F2 ←1 = − Gm1m2   -3.|
------------------r---
(89)

The force on body 1 due to body 2 is

|--------------------|
|                 r- |
F1-←2-=-+Gm1m2----r3.-
(90)

For a source mass M at the origin, the gravitational field is

|-------------r--|
|g(r) = − GM  -3.|
--------------r---
(91)

The force on a test mass m is

|--------|
F  = mg. |
----------
(92)

For many point sources,

|--------------------------|
|          ∑      -r-−-ri- |
g (r) = − G    Mi |r − r|3.|
-------------i----------i---
(93)

For a continuous density distribution,

|----------∫-------------′------|
g (r) = − G    ρ(r′)-r −-r--dV ′. |
-------------------|r-−-r′|3-------
(94)

These equations are the gravitational foundation for the rest of the celestial-mechanics series.

24 Common mistakes

  • Writing 1∕r3 in the vector law and concluding that gravity is an inverse-cube force. The numerator contains the vector r, so the magnitude still scales as 1∕r2.
  • Using a minus sign without defining the relative-position vector. The sign only has meaning relative to a coordinate convention.
  • Treating G and g as the same quantity. G is the universal gravitational constant; g is a gravitational field or acceleration.
  • Treating one body as fixed without checking the mass ratio. The exact two-body problem allows both masses to move.
  • Adding gravitational magnitudes instead of vectors when more than one source is present.
  • Assuming the inverse-square geometry alone proves Newton’s gravitational law. It explains the spherical spreading structure but not the existence or strength of the interaction.
  • Applying the point-mass law inside an arbitrary extended body. The external point-mass equivalence requires spherical symmetry; interior fields require integrating the mass distribution or using symmetry results.
  • Forgetting that a = g follows after dividing by the test mass. The gravitational force itself is still proportional to the test mass.

25 What CM01 adds to the series

CM00 gave the roadmap. CM01 supplies the first dynamical law on which that roadmap rests.

The main chain is

|-----------------------------------------------------------------------------------------------|
-source-masses--−→--Newtonian--gravitational force-−→-gravitational-field-−→--equations-of-motion.--
(95)

The key result for a point source is

|----------------|
|         GM---  |
|g(r) = −  r3  r.|
-----------------
(96)

The next companion entry, CM01E1, should turn this law into worked calculations involving force ratios, surface gravity, two-body force pairs, vector superposition, and astronomical scaling.

The next main theory article, CM02, will develop gravitational potential and potential energy from the same inverse-square force and establish the conservative-field structure

|----------|
g =  − ∇Φ. |
------------
(97)

References

[1]   Bradley W. Carroll and Dale A. Ostlie, An Introduction to Modern Astrophysics, 2nd ed., Pearson/Addison-Wesley, 2007.

[2]   Herbert Goldstein, Charles Poole, and John Safko, Classical Mechanics, 3rd ed., Addison-Wesley, 2001.

[3]   J. M. A. Danby, Fundamentals of Celestial Mechanics, 2nd ed., Willmann-Bell, 1988.

[4]   Roger R. Bate, Donald D. Mueller, and Jerry E. White, Fundamentals of Astrodynamics, Dover Publications, 1971.

[5]   Carl D. Murray and Stanley F. Dermott, Solar System Dynamics, Cambridge University Press, 1999.

[6]   Isaac Newton, The Principia: Mathematical Principles of Natural Philosophy, trans. I. Bernard Cohen and Anne Whitman, University of California Press, 1999.


"Celestial Mechanics: Newton's Law of Universal Gravitation" is owned by bloftin.
(view preamble)
View style:

Computational Resources

Other names:  CM01
Keywords:  Newtonian gravity, universal gravitation, inverse square law, gravitational field, superposition, gravitational constant, point mass, spherical symmetry, gravitational parameter, two-body force, celestial mechanics, astrophysics

Attachments:
Celestial Mechanics: Newtonian Gravitation - Worked Problems and Complete Solutions (Example) by bloftin

Cross-references: CM01E1, drag, radiation, velocities, gradient, relation, energy, center of mass, theorem, systems, volume, equilibrium, vector field, Earth's gravitational field, general relativity, gravitational mass, physical law, field, flux, work, acceleration, formulas, speed of light, relative motion, internal forces, position vector, algebraic, unit vector, positions, scalar, parameter, The Gravitational Field, vector, square, magnitude, Newton's law of universal gravitation, masses, motion, force, mechanics
There are 2 references to this object.

This is version 2 of Celestial Mechanics: Newton's Law of Universal Gravitation, born on 2026-09-20, modified 2026-09-20.
Object id is 1249, canonical name is CelestialMechanicsNewtonsLawOfUniversalGravitation.
Accessed 9 times total.

Classification:
Physics Classification45.50.Pk (Celestial mechanics )
 95.10.Ce (Celestial mechanics )
 95.30.Sf (Relativity and gravitation (see also section 04 General relativity and gravitation; 98.80.Jk Mathematical and relativistic aspects of)
Pending Errata and Addenda
None.
Discussion
Style: Expand: Order:

No messages.

Interact
rate | post | correct | update request | add example | add (any)