| Study Guides
AP Physics C: Mechanics · Oscillations and Gravitation · 16 min read · Updated 2026-05-07

Oscillations and Gravitation — AP Physics C: Mechanics Phys C Mech Study Guide

For: AP Physics C: Mechanics candidates sitting AP Physics C: Mechanics.

Covers: Derivation of simple harmonic motion (SHM) from Hooke’s law, period and frequency calculation from SHM differential equations, energy conservation in SHM systems, gravitational potential energy and orbital mechanics, and full derivations of Kepler’s three laws of planetary motion.

You should already know: Strong calculus (concurrent OK), AP Physics 1 helpful.

A note on the practice questions: All worked questions in the "Practice Questions" section below are original problems written by us in the AP Physics C: Mechanics style for educational use. They are not reproductions of past College Board papers and may differ in wording, numerical values, or context. Use them to practise the technique; cross-check with official College Board mark schemes for grading conventions.


1. What Is Oscillations and Gravitation?

Oscillations describe periodic, restoring-force driven motion of systems around an equilibrium point, while gravitation is the universal attractive force between massive objects that governs orbital motion. Combined, these two topics make up ~20% of the AP Physics C: Mechanics exam weighting, appearing in both multiple-choice and free-response questions, often requiring calculus application and free-body diagram analysis.

2. Simple harmonic motion — derivation from

Simple harmonic motion is defined as motion where the net restoring force acting on a system is directly proportional to displacement from equilibrium, and opposite in direction to the displacement vector. The canonical SHM system is a mass on a frictionless horizontal spring, which follows Hooke’s Law: where is the spring constant, and is displacement from the equilibrium position .

Using Newton’s second law , where acceleration , we substitute to get the second-order linear differential equation for SHM: We define the angular frequency of the system as , which simplifies the ODE to . The general solution to this equation is: where = amplitude (maximum displacement from equilibrium), and = phase constant (determined by initial position and velocity at ).

Worked Example: A 0.5 kg mass is attached to a spring with N/m, displaced 0.02 m from equilibrium, and released from rest. Write the SHM displacement function for the system.

  1. Calculate angular frequency: rad/s
  2. Apply initial conditions: At , and . This gives and m.
  3. Final function: meters. Exam tip: Examiners frequently ask you to derive this ODE for non-spring SHM systems (e.g., simple pendulum, physical pendulum), so always start with a free-body diagram to identify the restoring force.

3. Period and frequency from differential equation

Period is the time required for one full oscillation, measured in seconds. Frequency , measured in Hz, describes the number of oscillations per second. These quantities are linked to angular frequency by: The most powerful exam technique for calculating period for any SHM system is to extract directly from the rearranged ODE, rather than memorizing system-specific period formulas. For any ODE in the form , , so .

Worked Example: Derive the period of a simple pendulum of length for small angle displacements, where .

  1. The restoring torque on the pendulum bob is
  2. Using , where moment of inertia and angular acceleration , substitute to get:
  3. Extract , so Numerical check: For m, m/s², s, which matches experimental values.

4. Energy in SHM

SHM systems operate under conservative forces, so total mechanical energy is constant for the duration of oscillation. For a mass-spring system:

  • Elastic potential energy: (maximum at maximum displacement, zero at equilibrium)
  • Kinetic energy: (maximum at equilibrium, zero at maximum displacement)
  • Total energy: , since at , and all energy is potential.

We can also derive the maximum velocity of the mass by setting , giving , which matches the magnitude of the maximum value of the velocity function .

Worked Example: For the 0.5 kg mass-spring system from section 2 ( N/m, m), calculate the velocity of the mass when displacement is 0.01 m.

  1. Total energy: J
  2. Potential energy at m: J
  3. Kinetic energy: J
  4. Solve for velocity: m/s Exam note: FRQs often ask you to plot , , and as functions of or . is a horizontal line, is an upward-opening parabola, and is a downward-opening parabola, intersecting at .

5. Gravitational potential energy and orbits

Newton’s Law of Universal Gravitation states that the attractive force between two point masses and separated by distance is: where N·m²/kg² is the universal gravitational constant. The gravitational potential energy of the two-mass system is: with the zero point defined at . The surface-level potential energy formula is only valid for heights , where is approximately constant.

For circular orbits, gravitational force provides the centripetal force required for uniform circular motion: Total mechanical energy for a circular orbit is , which is negative for bound orbits (objects trapped in the gravitational field). The escape velocity, the minimum speed required to escape the gravitational field (so ), is , where is the radius of the central body.

Worked Example: A 1000 kg satellite orbits Earth ( kg, m) at an altitude of 400 km. Calculate its orbital speed and total energy.

  1. Orbital radius: m
  2. Orbital speed: m/s
  3. Total energy: J

6. Kepler's laws derivation

Kepler’s three laws of planetary motion were originally empirical, but can be derived directly from Newton’s law of universal gravitation and conservation laws:

  1. Law of Ellipses: Planets orbit the Sun in elliptical paths, with the Sun at one focus of the ellipse. The inverse-square nature of gravitational force results in conic-section orbit solutions; bound orbits (negative total energy) are ellipses, while unbound orbits are parabolas or hyperbolas.
  2. Law of Equal Areas: A line connecting a planet to the Sun sweeps out equal areas in equal time intervals. This is a direct consequence of conservation of angular momentum: . The area swept in time is , so .
  3. Law of Periods: The square of the orbital period is proportional to the cube of the semi-major axis of the orbit: . For circular orbits, ; substituting and gives the formula directly, which also holds for elliptical orbits.

Worked Example: A comet has a perihelion (closest to Sun) distance of m and speed m/s. What is its speed at aphelion (farthest from Sun) m? Angular momentum is conserved: m/s. Exam tip: For solar system orbit calculations, use units of AU (astronomical units, m) and Earth years: for Earth, AU and year, so directly with no need to calculate .

7. Common Pitfalls (and how to avoid them)

  • Wrong move: Using for orbital or large-height gravitational energy calculations. Why students do it: They memorize the surface-level formula without noting its limits. Correct move: Use for all cases where height is >1% of the planet’s radius, or for orbits around non-Earth bodies.
  • Wrong move: Assuming the phase constant for all SHM problems. Why students do it: Most textbook examples release masses from rest at maximum displacement, which gives . Correct move: Always solve for using both initial position and initial velocity at , never assume it is zero.
  • Wrong move: Using surface radius instead of orbital radius (surface radius + altitude) in orbit calculations. Why students do it: They mix up altitude (height above surface) with distance from the planet’s center. Correct move: Mark orbital radius clearly on your free-body diagram, and explicitly add the planet’s radius to given altitude before plugging into formulas.
  • Wrong move: Adding mass to the simple pendulum period formula by mistake. Why students do it: The mass-spring period includes mass, so students incorrectly generalize. Correct move: Always derive from the second-order ODE for the system, so you don’t have to memorize which period formulas include mass.
  • Wrong move: Confusing SHM angular frequency with rotational angular velocity. Why students do it: They share the same symbol and units (rad/s). Correct move: Label the two quantities separately in your work; for SHM is a constant system parameter, while rotational angular velocity can change with time.

8. Practice Questions (AP Physics C: Mechanics Style)

Question 1 (MCQ Style)

A 2 kg mass attached to a spring of N/m undergoes SHM with amplitude 0.05 m. What is the magnitude of the mass’s acceleration when its kinetic energy equals its potential energy? A) 5 m/s² B) 10 m/s² C) 14 m/s² D) 20 m/s² Worked Solution:

  1. When ,
  2. Set m
  3. Acceleration magnitude: m/s² Answer: C

Question 2 (FRQ Part Style)

A simple pendulum of length 1.5 m is displaced 5 degrees from equilibrium and released. (a) Derive the period of the pendulum for small angles. (b) Calculate the maximum speed of the bob. Worked Solution: (a) 1. Tangential restoring force: for small . 2. Displacement along the arc: , so . 3. Apply : . 4. Extract , so . (b) 1. Max potential energy at maximum displacement: . rad, . 2. Set : m/s.

Question 3 (FRQ Style)

A 500 kg satellite is placed in circular orbit around Mars ( kg, m) at an altitude of 200 km. (a) Calculate orbital speed. (b) Calculate orbital period in hours. (c) What minimum delta-v (change in speed) is required for the satellite to escape Mars’ gravity? Worked Solution: (a) Orbital radius m. m/s. (b) s hours. (c) Escape speed m/s. Delta-v = m/s.

9. Quick Reference Cheatsheet

Category Formula Notes
SHM Core SHM differential equation
Extract from for any SHM system
= amplitude, = phase constant
Total mechanical energy, constant for conservative systems
Gravitation Universal gravitational force, attractive
Gravitational potential energy, zero at
Circular orbital speed
Total energy of bound circular orbit
Kepler’s 3rd law, = semi-major axis

10. What's Next

Oscillations and gravitation are among the most heavily tested units on the AP Physics C: Mechanics exam, and they form a foundation for related topics in AP Physics C: Electricity and Magnetism, where Coulomb’s inverse square electrostatic force mirrors Newton’s gravitation, and oscillating LC circuits follow the exact same differential equations as mass-spring SHM systems. On the Mechanics exam, you will frequently encounter FRQs that combine SHM with kinematics, work-energy principles, or torque, so make sure you can apply the derivations you learned here to unfamiliar systems like vertical mass-spring systems or physical pendulums.

If you struggle with any of the calculus derivations, energy calculations, or orbital mechanics problems covered in this guide, you can ask Ollie for step-by-step walkthroughs, additional practice problems, or targeted review of prerequisite concepts like differential equations or conservation of angular momentum. Head to the homepage, to test your knowledge with full-length AP Physics C: Mechanics practice exams aligned to the latest College Board syllabus, or to access more study guides for every unit on the exam.

← Back to topic

Stuck on a specific question?
Snap a photo or paste your problem — Ollie (our AI tutor) walks through it step-by-step with diagrams.
Try Ollie free →