Lecture 3:
Gravity and Orbits

From Patterns to Physics

Dr. Anna Rosen

January 27, 2026

Learning Objectives

By the end of this lecture, you will be able to:

  • Distinguish between empirical laws (patterns) and physical laws (mechanisms)
  • Describe how Newton derived the inverse-square law from Kepler’s observations
  • Apply Newton’s laws of motion to orbital problems using force balance
  • Calculate orbital velocity and escape velocity, and explain what each represents
  • Use energy and angular momentum conservation to predict orbital behavior
  • Explain the virial theorem for bound systems at equilibrium or time-averaged

Kepler told us what.

Newton told us why.

Part 1: Patterns Without Explanation

Kepler’s Empirical Laws

The Scene: 1600s

Imagine spending twenty years recording planet positions…

You discover three remarkable patterns:

  • Orbits are ellipses, not circles
  • Planets speed up near the Sun
  • Farther planets take longer to orbit

But you have no idea why.

Kepler’s First Law: Orbits Are Ellipses

Planets move in ellipses with the Sun at one focus.

Diagram of an elliptical orbit showing the Sun at one focus, with labels for semi-major axis a, perihelion, aphelion, and the geometric properties of the ellipse.
Credit: cococubed.com

Key terms:

  • Semi-major axis \(a\):
    average distance
  • Eccentricity \(0 \ge e < 1\):
    how “squashed”
    (0 = circle, 1 = line)

Kepler’s Second Law: Equal Areas

A line from planet to Sun sweeps equal areas in equal times.

Elliptical orbit with two shaded triangular sectors of equal area, demonstrating that a planet covers larger angular distance when closer to the Sun.
Credit: cococubed.com

Translation: Planets move faster near the Sun.

Kepler’s Third Law: The Scaling Relation

For orbits around a central mass: \(P^2 \propto a^3\)

What this means:

  • Move 2× farther → period increases by \(2^{3/2} \approx 2.83\)
  • It’s a proportionality, not an equality
  • The constant depends on the central mass

Kepler III: Ratio Method

  1. Start with Kepler III, take square root

\[P^2 \propto a^3 \;\Rightarrow\; P \propto a^{3/2}\]

  1. Write as equality (same central mass = same \(C\))

\[P = C \cdot a^{3/2}\]

  1. For two objects, divide to cancel \(C\)

\[\frac{P_2}{P_1} = \frac{\cancel{C} \cdot a_2^{3/2}}{\cancel{C} \cdot a_1^{3/2}} = \left(\frac{a_2}{a_1}\right)^{3/2}\]

Key: Proportionality hides an unknown constant. Dividing cancels it → true equality.

Kepler III: Ratio Formula

From the previous slide: \[\frac{P_2}{P_1} = \left(\frac{a_2}{a_1}\right)^{3/2}\]

Solve for \(P_2\): \[P_2 = P_1 \times \left(\frac{a_2}{a_1}\right)^{3/2}\]

This is the ratio method. If you know \(P_1\), \(a_1\), and \(a_2\), you can find \(P_2\) without knowing \(G\) or the central mass.

Kepler III: Mars Example

Given: \(a_\text{Mars} = 1.52\,\text{AU}\), \(a_\text{Earth} = 1\,\text{AU}\), \(P_\text{Earth} = 1\,\text{yr}\). Find: \(P_\text{Mars}\)

Start: \(P^2 \propto a^3\)\(P \propto a^{3/2}\)

Ratio formula: \[P_2 = P_1 \times \left(\dfrac{a_2}{a_1}\right)^{3/2}\]

Let: 1 = Earth, 2 = Mars

Substitute with units: \[P_\text{Mars} = 1\,\text{yr} \times \left(\dfrac{1.52\,\cancel{\text{AU}}}{1\,\cancel{\text{AU}}}\right)^{3/2}\]

Calculate: \(1\,\text{yr} \times (1.52)^{3/2} = 1\,\text{yr} \times 1.87\)

\[\boxed{P_\text{Mars} = 1.87\,\text{yr}}\]

Common Notation Trap

Avoid “\(P^2 = a^3\) — this hides units and mass dependence!

The full physical law (Newton’s version):

\[P^2 = \frac{4\pi^2}{G(M+m)} a^3\]

The “shortcut” only works for Solar System orbits with \(m \ll M\) measured in years and AU around a ~\(1\,M_\odot\) star.

Prediction Question 📊 Poll

If you move a planet to twice its orbital distance, by what factor does its period increase?

A. 2× (linear)

B. 4× (squared)

C. 2.83× (\(2^{3/2}\))

D. 8× (cubed)

Prediction Question — Answer

If you move a planet to twice its orbital distance, by what factor does its period increase?

From \(P^2 \propto a^3\): if \(a\) doubles, \(P^2 \to 2^3 = 8\), so \(P \to \sqrt{8} \approx 2.83\).

What Kepler Couldn’t Explain

  • Why ellipses and not some other shape?
  • What causes planets to speed up near the Sun?
  • Why exactly \(P^2 \propto a^3\)?
  • Does this work beyond our solar system?

Empirical laws summarize data. They don’t explain physics.

Part 2: The Physics of Motion

Newton’s Laws + Circular Motion

Newton’s Three Laws (Quick Review)

First Law: Objects in motion stay in motion (unless acted on by a force)

Second Law: \(\vec{F} = m\vec{a}\)

  • Force tells matter how to accelerate
  • Mass tells matter how to resist

Third Law: Every action has an equal and opposite reaction

Vectors: Direction Matters

\(\vec{F}\), \(\vec{v}\), \(\vec{a}\) have arrows because they’re vectors.

Speed: how fast

“30 km/s”

Velocity: how fast and which way

“30 km/s heading east”

Changing direction = changing velocity = acceleration

Even without speeding up!

The Key Insight: Circular Motion

An object moving in a circle at constant speed is accelerating.

Intuition: Faster motion → direction changes more rapidly. Tighter curve → direction changes more sharply. Both increase acceleration.

Ball moving in a circle with radial lines to center showing the inward centripetal force, with velocity vectors tangent to the circular path at multiple positions.
Credit: cococubed.com

Centripetal acceleration: \[\boxed{a_c = \dfrac{v^2}{r}}\] (points toward center)

Concept Check 📊 Poll

A car drives around a circular track at constant speedometer reading. Is the car accelerating?

  • A. Yes — direction is changing, so velocity is changing

  • B. No — speed is constant, so no acceleration

  • C. Only when the car speeds up or slows down

  • D. Only at certain points on the track

Concept Check — Answer

A car drives around a circular track at constant speedometer reading. Is the car accelerating?

Common misconception: confusing speed with velocity.

Centripetal Force

By \(F = ma\), if there’s acceleration, there must be a force:

\[F_c = ma_c = \frac{mv^2}{r}\]

Key insight: “Centripetal force” isn’t a new force—it’s the role played by whatever force pulls toward the center.

  • For planets: gravity
  • For a ball on a string: tension
  • For a car turning: friction

Part 3: Newton’s Law of Gravitation

From Patterns to Mechanism

The Universal Law of Gravity

Two masses m1 and m2 separated by distance r, with arrows showing equal and opposite gravitational forces between them.
Credit: cococubed.com

\[F_g = \frac{Gm_1 m_2}{r^2}\]

  • \(F_g\) — gravitational force (dynes)
  • \(G = 6.67 \times 10^{-8}\,\mathrm{cm^3\,g^{-1}\,s^{-2}}\)
  • \(m_1, m_2\) — the two masses (g)
  • \(r\) — distance between centers (cm)

“Every particle of matter in the universe attracts every other particle with a force that is proportional to the product of their masses and inversely proportional to the square of the distance between their centres.” — Newton, Principia (1687)

Physical Interpretation

\(Gm_1 m_2\) (numerator)

More mass → more pull

Product of masses (Newton III)

\(r^2\) (denominator)

Inverse-square law

Double distance → 1/4 the force

\(G\) is the same everywhere in the universe — on Earth, on Mars, in distant galaxies.

Prediction Question 📊 Poll

Using \(F_g = \dfrac{Gm_1 m_2}{r^2}\):

If you double the distance between two masses, by what factor does the force change?

A. Halves (1/2)

B. Quarters (1/4)

C. Doubles (2×)

D. Unchanged

Prediction Question — Answer

If you double the distance between two masses, by what factor does the force change?

Inverse-square: \((2r)^2 = 4r^2\), so force is 1/4.

How Did Newton Know It’s Inverse-Square?

He didn’t guess — he derived it from Kepler III.

The logic:

  1. Assume \(F \propto 1/r^n\) for unknown \(n\)
  2. Apply circular motion: gravity = centripetal force
  3. Connect to Kepler: \(P^2 \propto r^3\)
  4. Solve for \(n\)

The Derivation (Setup)

For circular orbit, gravity provides centripetal force:

\[k\frac{Mm}{r^n} = \frac{mv^2}{r}\]

Planet mass \(m\) cancels (same orbit speed regardless of mass!):

\[\frac{kM}{r^n} = \frac{v^2}{r}\]

The Derivation (Key Step)

Using \(v = \dfrac{2\pi r}{P}\) (circumference/period):

\[P^2 = \frac{4\pi^2}{kM} r^{n+1}\]

Compare to Kepler III: \(P^2 \propto r^3\)

\[n + 1 = 3 \quad \Rightarrow \quad \boxed{n = 2}\]

The inverse-square law is required by Kepler’s Third Law!

The Simplification We Made

Our derivation assumed the Sun stays fixed while the planet orbits.

Is that true?

Newton’s Third Law says no. If the Sun pulls the planet, the planet pulls the Sun.

Both bodies must move.

Two-Body Reality: Center of Mass

Two masses orbiting their common center of mass, showing that both bodies move in response to their mutual gravitational attraction.
Credit: cococubed.com

Both bodies orbit their common center of mass (barycenter).

Balance condition: \[m_1 \, r_1 = m_2 \, r_2\]

The more massive body orbits closer to the center of mass.

When \(M \gg m\): barycenter ≈ center of \(M\)

(Kepler’s approximation)

Deriving \((M+m)\): Setup

From center of mass:

\[m_1 r_1 = m_2 r_2\]

Total separation:

\[r = r_1 + r_2\]

Solve for each distance:

\[r_1 = \frac{m_2}{m_1 + m_2}\, r\]

\[r_2 = \frac{m_1}{m_1 + m_2}\, r\]

Each body’s orbital radius depends on both masses through the total \((m_1 + m_2)\).

Deriving \((M+m)\): The Math

Gravity on body 2: \[F = \frac{Gm_1 m_2}{r^2}\]

Centripetal force for body 2: \[F = \frac{4\pi^2 m_2 r_2}{P^2}\]

Substitute \(r_2 = \dfrac{m_1 r}{m_1 + m_2}\):

\[\frac{Gm_1 m_2}{r^2} = \frac{4\pi^2 m_2}{P^2} \cdot \frac{m_1 r}{m_1 + m_2}\]

Cancel \(m_1 m_2\), solve for \(P^2\):

\[\boxed{P^2 = \frac{4\pi^2}{G(m_1 + m_2)} r^3}\]

\((m_1 + m_2)\) emerges because each body’s orbital radius depends on how mass is distributed.

Newton’s Version of Kepler III

Accounting for both bodies’ motion, Newton derived:

\[P^2 = \frac{4\pi^2}{G(M + m)} a^3\]

What’s new compared to Kepler?

  • The “constant” varies by system (depends on total mass \((M+m)^{-1}\))
  • A planet at 1 AU around a \(2\,M_\odot\) star orbits faster than Earth (shorter \(P\))
  • We can solve for mass: \(M + m = \dfrac{4\pi^2 a^3}{G P^2}\)

Kepler didn’t notice because all his data came from one system — our Solar System.

Part 4: Orbital and Escape Velocity

How fast must you go?

Orbital Velocity

For a circular orbit at radius \(r\) around mass \(M\):

\[\frac{GMm}{r^2} = \frac{mv_{orb}^2}{r}\]

Mass \(m\) cancels (a feather and bowling ball orbit at the same speed!):

\[\boxed{v_{orb} = \sqrt{\frac{GM}{r}}}\]

Orbital Velocity: Physical Interpretation

\[v_{orb} = \sqrt{\frac{GM}{r}}\]

  • Larger \(M\) → stronger gravity → must orbit faster
  • Larger \(r\) → weaker gravity → can orbit slower
  • Orbiting mass doesn’t matter!

Earth’s orbital velocity: \(v_{orb} \approx 30\) km/s

Worked Example: Earth’s Orbit

Given: \(M_\odot = 2 \times 10^{33}\,\text{g}\), \(r = 1.5 \times 10^{13}\,\text{cm}\), \(G = 6.67 \times 10^{-8}\,\frac{\text{cm}^3}{\text{g}\cdot\text{s}^2}\)

\[v_{orb} = \sqrt{\frac{GM_\odot}{r}} = \sqrt{\frac{(6.67 \times 10^{-8}\,\frac{\text{cm}^3}{\text{g}\cdot\text{s}^2})(2 \times 10^{33}\,\text{g})}{1.5 \times 10^{13}\,\text{cm}}}\]

Units: \(\sqrt{\dfrac{\text{cm}^3 \cdot \cancel{\text{g}}}{\cancel{\text{g}} \cdot \text{s}^2 \cdot \text{cm}}} = \sqrt{\dfrac{\text{cm}^{\cancel{3}2}}{\text{s}^2}} = \dfrac{\text{cm}}{\text{s}}\)

Numbers: \(\sqrt{\frac{(6.67)(2)}{1.5} \times 10^{-8+33-13}} = \sqrt{8.9 \times 10^{12}} \approx 3 \times 10^6\,\frac{\text{cm}}{\text{s}} = 30\,\frac{\text{km}}{\text{s}}\)

Energy in Mechanics

Mechanics studies motion and the forces that cause it. Energy is the capacity to do work — to move things.

Kinetic Energy: energy of motion

\[K = \frac{1}{2}mv^2\]

Faster or more massive → more kinetic energy

Gravitational Potential Energy: energy of position in a gravitational field

\[U = -\frac{GMm}{r}\]

Closer to mass → more negative (deeper in the “well”)

Why Is Potential Energy Negative?

We define zero at infinity. Far from any mass → \(U = 0\).

As you fall toward a mass:

  • Gravity speeds you up (gives kinetic energy)
  • You’re dropping below zero in potential energy
  • Negative U = you’re in debt — you “owe” energy to escape

The deeper in the well (smaller \(r\)) → the more negative \(U\) → the more you need to climb out.

Escape Velocity

To escape to infinity, you need enough kinetic energy to overcome gravity:

\[\frac{1}{2}mv_{esc}^2 = \frac{GMm}{r}\]

Solving (mass cancels again!):

\[\boxed{v_{esc} = \sqrt{\frac{2GM}{r}} = \sqrt{2} \cdot v_{orb}}\]

Escape Velocity: What It Means

Earth with multiple trajectory curves showing different launch velocities: suborbital (falls back), orbital (circular/elliptical), and escape trajectories (parabolic and hyperbolic paths).
Credit: cococubed.com
Location \(v_{orb}\) \(v_{esc}\)
Earth surface 7.9 km/s 11.2 km/s
Moon surface 1.7 km/s 2.4 km/s
Sun surface 434 km/s 618 km/s

Concept Check 📊 Poll

Jupiter orbits at 5 AU from the Sun. Earth orbits at 1 AU. How does Jupiter’s orbital velocity compare to Earth’s?

  • A. Jupiter is faster (farther out, longer path)
  • B. Earth is faster by factor ~2.2 (\(\sqrt{5}\))
  • C. They’re the same (same Sun)
  • D. Jupiter is faster by factor 5

Concept Check — Answer

Jupiter orbits at 5 AU from the Sun. Earth orbits at 1 AU. How does Jupiter’s orbital velocity compare to Earth’s?

From \(v_{orb} \propto 1/\sqrt{r}\): Earth is \(\sqrt{5} \approx 2.2\) times faster.

Part 5: Conservation Laws

Energy and Angular Momentum

Energy in Orbits

Recall: \(K = \frac{1}{2}mv^2\) (positive) and \(U = -\frac{GMm}{r}\) (negative).

Total mechanical energy:

\[E = K + U = \frac{1}{2}mv^2 - \frac{GMm}{r}\]

The sign of \(E\) determines the orbit’s fate — we’ll see how next.

Energy Determines Orbit Type

Central body with multiple orbital paths showing bound elliptical orbits and unbound hyperbolic trajectories, labeled to distinguish orbit types by total energy.
Credit: cococubed.com
Total Energy Orbit Type
\(E < 0\) Bound (ellipse/circle)
\(E = 0\) Parabolic (just escapes)
\(E > 0\) Hyperbolic (escapes with speed to spare)

Energy Conservation in Orbits

Elliptical orbit with energy indicators showing kinetic and potential energy trading off around the orbit while total energy remains constant.
Credit: cococubed.com

At perihelion: High \(K\), low \(U\) (fast, close)

At aphelion: Low \(K\), high \(U\) (slow, far)

Total \(E\): Always constant!

Angular Momentum Conservation

For orbital motion:

\[L = mvr = mr^2\dot{\phi} = \text{constant}\]

\(\dot{\phi}\) (“phi-dot”) = angular velocity = how fast the angle changes (rad/s). The dot means “per unit time.”

Two equivalent forms:

\(v = r\dot{\phi}\) (arc length per time), so both give the same \(L\).

Why conserved? Gravity is a central force—it exerts no torque (twisting force).

Diagram showing angular momentum vectors and the relationship between orbital radius and velocity, demonstrating that smaller radius requires larger velocity to conserve L.
Credit: cococubed.com

Kepler II Explained!

Areal velocity (rate of sweeping area):

\[\frac{dA}{dt} = \frac{L}{2m} = \text{constant}\]

Equal areas in equal times isn’t a separate law — it’s angular momentum conservation!

When \(r\) decreases, \(v\) must increase to keep \(L = mvr\) constant.

Prediction Question 📊 Poll

A planet has perihelion at 1 AU and aphelion at 4 AU. Using \(L = mvr = \text{const}\):

By what factor is the linear speed larger at perihelion?

  • A. 2× (ratio of distances)

  • B. 4× (ratio of distances)

  • C. 16× (ratio squared)

  • D. 8× (ratio cubed)

Prediction Question — Answer

A planet has perihelion at 1 AU and aphelion at 4 AU. By what factor is the linear speed larger at perihelion?

From \(v_p r_p = v_a r_a\): \(v_p/v_a = r_a/r_p = 4/1 = 4\).

The Virial Theorem

For bound systems, the virial theorem applies in two situations:

  1. Truly static systems: A star in hydrostatic equilibrium
  2. Periodic systems: Time-averaged over complete orbits

\[\langle K \rangle = -\frac{1}{2}\langle U \rangle\]

For circular orbit (instant = average):

\[K = \dfrac{GMm}{2r},~U = -\dfrac{GMm}{r} → K = -\frac{1}{2}U~✓\]

Virial Theorem: Why It Matters

Where we use it:

  • Stars (thermal vs. gravity)
  • Galaxies (dark matter!)
  • Gas clouds (collapse criteria)

When it doesn’t apply:

  • Instant-by-instant in elliptical orbits
  • Rapid collapse/expansion
  • Unbound systems

Part 6: The Big Picture

From Newton to Einstein

What Newton Achieved

Before Newton: celestial physics ≠ terrestrial physics

After Newton: One physics, everywhere

Kepler’s Laws Newton’s Explanation
Ellipses Solution under inverse-square gravity
Equal areas Angular momentum conservation
\(P^2 \propto a^3\) Requires inverse-square; constant = \(G\) × mass

Forward Connections

The physics of gravity connects to everything this semester:

Topic Connection
Binary Stars Masses from orbits
Exoplanets Transit timing, radial velocity
Stellar Structure Virial theorem
Black Holes Escape velocity → event horizon
Galaxies Rotation curves → dark matter

Beyond Newton: A Glimpse of Einstein

Newton’s framework is excellent… but not the final word.

Newton’s View Einstein’s View
Gravity is a force Gravity is curved spacetime
Space/time are fixed Space/time are dynamic
Objects feel a pull Objects follow geodesics

Curved Spacetime

Grid representation of spacetime curved by a central mass, showing how the geometry of space itself is warped by the presence of matter.
Credit: cococubed.com

Einstein: “Mass tells spacetime how to curve; spacetime tells mass how to move.”

The Black Hole Teaser

What if escape velocity reaches the speed of light?

Setting \(v_{esc} = c\):

\[r_s = \frac{2GM}{c^2}\]

This is the Schwarzschild radius — the event horizon of a black hole.

We’ll return to this when we study compact objects.

Summary: The Machine

  1. Inverse-square gravity → conic-section orbits
  2. Central force → angular momentum conserved → Kepler II
  3. Force balance\(v_{orb} = \sqrt{\frac{GM}{r}}\)
  4. Energy conservation\(v_{esc} = \sqrt{\frac{2GM}{r}}\)
    \(E\) determines bound vs. unbound
  5. Equilibrium → virial theorem: \(\langle K \rangle = -\frac{1}{2}\langle U \rangle\)

The Takeaway

If you forget everything else from today, remember this:

Patterns become physics

Kepler found the what. Newton explained the why.

This transition — from empirical to physical — is how science works.

Key Equations

Quantity Equation
Grav. Force \(F_g = \dfrac{Gm_1m_2}{r^2}\)
Orbital Velocity \(v_{orb} = \sqrt{\dfrac{GM}{r}}\)
Escape Velocity \(v_{esc} = \sqrt{2}\,v_{orb}\)
Kepler III \(P^2 = \dfrac{4\pi^2}{G(M+m)}a^3\)
Quantity Equation
Kinetic Energy \(K = \frac{1}{2}mv^2\)
Potential Energy \(U = -\dfrac{GMm}{r}\)
Total Energy \(E = K + U\)
Angular Momentum \(L = mvr\)
Virial Equilibrium \(\langle K \rangle = -\frac{1}{2}\langle U \rangle\)

Questions?

Common questions at this point:

  • “Why is potential energy negative?”
  • “What’s the difference between orbital and escape velocity?”
  • “When does the virial theorem apply?”

Looking Ahead

Next time: Light as information — blackbody radiation and stellar spectra

Before then:

  • Read: Lecture 3 reading (gravity and orbits) — especially the worked examples
  • Review: Unit analysis and how \(v_{orb}\), \(v_{esc}\), and energy tell you about orbital fate