Gravitation: Fields, Potential Energy, Orbits and Kepler's Laws
Learn AP Physics C gravitation with calculus: Newton's law, field inside and outside a planet, potential energy, escape speed, circular and elliptical orbits.
Reviewed by Independent AI model review on 2026-11-17
Watch the worked example
Gravity holds the Moon around the Earth and the Earth around the Sun. With calculus you can go beyond the formulas: build the field inside a planet, get the potential energy by integrating the force, and use energy and angular momentum to analyze every kind of orbit. This lesson covers all of it.
Key ideas
- Newton's law of gravitation: F = GMm ÷ r², attractive, along the line joining the centers. G = 6.67 × 10⁻¹¹ N m²/kg².
- Field strength: g = GM ÷ r² outside a spherical mass. Inside a uniform sphere, g = GMr ÷ R³, which is proportional to r. This follows from the shell theorem: only the mass inside radius r pulls you.
- Potential energy: integrating the force gives U = −GMm ÷ r, zero at infinity.
- Escape speed: set K + U = 0 at the surface: v_esc = √(2GM ÷ R).
- Circular orbit: GMm ÷ r² = mv² ÷ r, so v = √(GM ÷ r) and T = 2πr ÷ v. The total energy is E = −GMm ÷ 2r.
- Kepler's laws: orbits are ellipses with the Sun at a focus; equal areas are swept in equal times (angular momentum is conserved); and T² = 4π²a³ ÷ GM, where a is the semi-major axis.
- For an elliptical orbit, use conservation of angular momentum (r v is the same at perihelion and aphelion for a body whose velocity is perpendicular to r) and conservation of energy.
Gravitational field inside and outside a planet
Outside a spherical mass, you can treat all of its mass as if it were at the center. Inside a uniform sphere, the shell theorem says the outer shells pull with zero net force. Only the mass M(r) = M r³ ÷ R³ inside radius r counts, so g = GM(r) ÷ r² = GMr ÷ R³.
Potential energy and escape
The work done by gravity as a mass moves from r to infinity is the integral of F dr, which gives U(r) = −GMm ÷ r. The total energy E = K + U decides the motion: E < 0 is a bound orbit with a turning point, E = 0 just escapes, and E > 0 escapes with speed to spare.
Circular orbits
Gravity supplies the centripetal force, so GMm ÷ r² = mv² ÷ r. The speed does not depend on the satellite's mass, and a higher orbit is slower.
Elliptical orbits
On an ellipse the speed changes. At the closest point (perihelion) the body is fastest, and at the farthest point (aphelion) it is slowest. Two conservation laws link the two points: angular momentum, m v_p r_p = m v_a r_a, and energy.
Worked example 1: field and force
(a) Find g at a height equal to the Earth's radius above the surface (r = 2R). (b) What is the gravitational force on a 70 kg person there? (c) A uniform planet has surface field 9.8 m/s². What is g halfway to the center? Use GM = 3.98 × 10¹⁴ m³/s² for the Earth.
(a) g = GM ÷ r² = g₀ ÷ 4 = 9.8 ÷ 4 = 2.45 m/s².
(b) F = mg = (70)(2.45) = 172 N.
(c) Inside, g ∝ r, so at r = R/2, g = 4.9 m/s².
Worked example 2: escape speed
Find the escape speed from the surface of the Earth (R = 6.37 × 10⁶ m), and the minimum energy to launch a 1000 kg probe to infinity.
At the surface, ½mv² − GMm ÷ R = 0, so v = √(2GM ÷ R) = √(2 × 3.98 × 10¹⁴ ÷ 6.37 × 10⁶) = 1.12 × 10⁴ m/s.
The energy is GMm ÷ R = (3.98 × 10¹⁴)(1000) ÷ (6.37 × 10⁶) = 6.2 × 10¹⁰ J.
Worked example 3: a satellite in orbit
A 500 kg satellite is in a circular orbit 400 km above the Earth's surface. Find its speed, its period and its total energy. Use r = R + h = 6.77 × 10⁶ m.
v = √(GM ÷ r) = √(3.98 × 10¹⁴ ÷ 6.77 × 10⁶) = 7.67 × 10³ m/s.
T = 2πr ÷ v = 2π(6.77 × 10⁶) ÷ 7.67 × 10³ = 5.55 × 10³ s, which is about 92 minutes.
E = −GMm ÷ 2r = −(3.98 × 10¹⁴)(500) ÷ (2 × 6.77 × 10⁶) = −1.47 × 10¹⁰ J.
Worked example 4: an elliptical orbit
A comet orbits the Sun (GM = 1.33 × 10²⁰ m³/s²) with perihelion r_p = 1.0 × 10¹¹ m and aphelion r_a = 5.0 × 10¹¹ m. Find its speed at each point and its period.
Angular momentum: v_a = v_p r_p ÷ r_a = v_p ÷ 5. Energy: ½v_p² − GM ÷ r_p = ½v_a² − GM ÷ r_a.
Substituting gives v_p² = 2GM r_a ÷ [r_p(r_a + r_p)] = 2(1.33 × 10²⁰)(5.0 × 10¹¹) ÷ [(1.0 × 10¹¹)(6.0 × 10¹¹)] = 2.2 × 10⁹, so v_p = 4.7 × 10⁴ m/s and v_a = 9.4 × 10³ m/s.
The semi-major axis is a = (r_p + r_a) ÷ 2 = 3.0 × 10¹¹ m, so T = 2π√(a³ ÷ GM) = 2π√(2.7 × 10³⁴ ÷ 1.33 × 10²⁰) = 8.95 × 10⁷ s, which is about 2.8 years.
More worked problems
These three exam-style problems are worked out step by step in the video "Gravitation: Practice Problems Solved" at the top of this page. Each solution is written out below, after the three problems. You can try new problems in "Try it yourself" afterward. Use G = 6.67 × 10⁻¹¹ N m²/kg², M_Earth = 5.97 × 10²⁴ kg and R_Earth = 6.37 × 10⁶ m.
Problem 1: the neutral point. The Earth (5.97 × 10²⁴ kg) and the Moon (7.35 × 10²² kg) are 3.84 × 10⁸ m apart. Find the point on the line between them where the net gravitational field is zero.
Problem 2: a geostationary satellite. A satellite stays above the same point on the equator, so its period is 24 hours (86 400 s). Find (a) its orbital radius, (b) its height above the surface and (c) its speed.
Problem 3: raising an orbit. A 1000 kg satellite is moved from a circular orbit of radius 7.0 × 10⁶ m to a circular orbit of radius 1.4 × 10⁷ m. Find (a) the speed in each orbit, (b) the total energy in each orbit and (c) the energy needed to make the change.
Solutions to the worked problems
Problem 1. Let x be the distance from the Earth. The fields are equal and opposite: GM_E ÷ x² = GM_M ÷ (d − x)².
Take the square root: (d − x) ÷ x = √(M_M ÷ M_E) = √(7.35 × 10²² ÷ 5.97 × 10²⁴) = 0.111. So d − x = 0.111x and x = d ÷ 1.111 = 3.46 × 10⁸ m from the Earth, which is 3.8 × 10⁷ m from the Moon.
Problem 2.
(a) T² = 4π²r³ ÷ GM, so r³ = GMT² ÷ 4π² = (3.98 × 10¹⁴)(86 400)² ÷ 39.5 = 7.53 × 10²² m³. Thus r = 4.22 × 10⁷ m.
(b) h = r − R = 4.22 × 10⁷ − 6.37 × 10⁶ = 3.59 × 10⁷ m, about 36 000 km.
(c) v = 2πr ÷ T = 2π(4.22 × 10⁷) ÷ 86 400 = 3.07 × 10³ m/s.
Problem 3.
(a) v₁ = √(GM ÷ r₁) = √(3.98 × 10¹⁴ ÷ 7.0 × 10⁶) = 7.54 × 10³ m/s. v₂ = √(3.98 × 10¹⁴ ÷ 1.4 × 10⁷) = 5.33 × 10³ m/s.
(b) E₁ = −GMm ÷ 2r₁ = −(3.98 × 10¹⁴)(1000) ÷ (1.4 × 10⁷) = −2.84 × 10¹⁰ J. E₂ = −(3.98 × 10¹⁷) ÷ (2.8 × 10⁷) = −1.42 × 10¹⁰ J.
(c) ΔE = E₂ − E₁ = +1.42 × 10¹⁰ J. The kinetic energy falls but the total energy rises, because the potential energy rises by twice as much.
Try it yourself
These problems are not worked out in the videos. Use G = 6.67 × 10⁻¹¹ N m²/kg², M_Earth = 5.97 × 10²⁴ kg and R_Earth = 6.37 × 10⁶ m.
Problem A. A planet has mass 4.0 × 10²³ kg and radius 3.0 × 10⁶ m. Find the surface field strength and the escape speed.
Problem B. Find the escape speed from the Moon (M = 7.35 × 10²² kg, R = 1.74 × 10⁶ m).
Problem C. A satellite orbits the Earth with a period of 3.0 hours in a circular orbit. Find its orbital radius and speed.
Check your answers. A: 2.96 m/s² and 4.2 × 10³ m/s. B: 2.4 × 10³ m/s. C: 1.06 × 10⁷ m and 6.1 × 10³ m/s.
Common mistakes
- Using the surface g everywhere. g = GM ÷ r² falls with distance, and rises with r inside a planet.
- Measuring r from the surface. In every gravitation formula r is the distance from the center.
- Forgetting the minus sign. U = −GMm ÷ r, and bound orbits have E < 0.
- Thinking a faster satellite is in a higher orbit. A higher circular orbit has a lower speed.
- Using the escape speed as the orbital speed. v_esc = √2 × v_circular at the same radius.
Exam approach
AP Physics C free-response questions often ask you to derive U = −GMm ÷ r by integration, to find the orbit speed from the centripetal force, and to use conservation of energy and angular momentum for ellipses. Show the starting equation, substitute carefully and give units. Check the College Board course page for the current exam format and the equation sheet.
Practice questions
Choose an answer to see whether you are right and why.
1. At the Earth's surface g = 9.8 m/s². What is the gravitational field strength at a distance 2R from the Earth's center (R is the Earth's radius)?
2. What is the approximate escape speed from the Earth's surface (M = 5.97 × 10²⁴ kg, R = 6.37 × 10⁶ m)?
3. A satellite in a circular orbit moves to a circular orbit of twice the radius. By what factor does its orbital speed change?
4. What is the total mechanical energy of a satellite of mass m in a circular orbit of radius r around a planet of mass M?
5. A planet's orbital radius is 4 times that of another planet around the same star. How many times longer is its period?
6. Inside a uniform planet of radius R, the gravitational field at r = R/2 is
Make your own study set
Upload your class notes, a PDF or a revision video and CampusBadge builds notes, flashcards and quizzes for you to practise with.
This lesson is a study guide, not the syllabus. Check what is examined in the official AP Physics C: Mechanics syllabus for your exam year.