In classical mechanics, Bertrand's theorem states that among centralforce potentials with bound orbits, there are only two types of centralforce (radial) scalar potentials with the property that all bound orbits are also closed orbits.^{[1]}^{[2]}
The first such potential is an inversesquare central force such as the gravitational or electrostatic potential:
 arising from force .
The second is the radial harmonic oscillator potential:
 with force .
The theorem is named after its discoverer, Joseph Bertrand.
Description
All attractive central forces can produce circular orbits, which are naturally closed orbits. The only requirement is that the central force exactly equals the centripetal force, which determines the required angular velocity for a given circular radius. Noncentral forces (i.e., those that depend on the angular variables as well as the radius) are ignored here, since they do not produce circular orbits in general.
The equation of motion for the radius r of a particle of mass m moving in a central potential V(r) is given by motion equations
where , and the angular momentum L = mr^{2}ω is conserved. For illustration, the first term on the left is zero for circular orbits, and the applied inwards force equals the centripetal force requirement mrω^{2}, as expected.
The definition of angular momentum allows a change of independent variable from t to θ:
giving the new equation of motion that is independent of time:
This equation becomes quasilinear on making the change of variables and multiplying both sides by (see also Binet equation):
As noted above, all central forces can produce circular orbits given an appropriate initial velocity. However, if some radial velocity is introduced, these orbits need not be stable (i.e., remain in orbit indefinitely) nor closed (repeatedly returning to exactly the same path). Here we show that stable, exactly closed orbits can be produced only with an inversesquare force or radial harmonic oscillator potential (a necessary condition). In the following sections, we show that those force laws do produce stable, exactly closed orbits (a sufficient condition).
Define J(u) as
where f represents the radial force. The criterion for perfectly circular motion at a radius r_{0} is that the first term on the left be zero:

(1)
where .
The next step is to consider the equation for u under small perturbations from perfectly circular orbits. On the right, the J function can be expanded in a standard Taylor series:
Substituting this expansion into the equation for u and subtracting the constant terms yields
which can be written as

(2)
where is a constant. β^{2} must be nonnegative; otherwise, the radius of the orbit would vary exponentially away from its initial radius. (The solution β = 0 corresponds to a perfectly circular orbit.) If the right side may be neglected (i.e., for small perturbations), the solutions are
where the amplitude h_{1} is a constant of integration. For the orbits to be closed, β must be a rational number. What's more, it must be the same rational number for all radii, since β cannot change continuously; the rational numbers are totally disconnected from one another. Using the definition of J along with equation (1),
where is evaluated at . Since this must hold for any value of u_{0},
which implies that the force must follow a power law
Hence, J must have the general form

(3)
For more general deviations from circularity (i.e., when we cannot neglect the higherorder terms in the Taylor expansion of J), η may be expanded in a Fourier series, e.g.,
We substitute this into equation (2) and equate the coefficients belonging to the same frequency, keeping only the lowestorder terms. As we show below, h_{0} and h_{2} are smaller than h_{1}, being of order . h_{3}, and all further coefficients, are at least of order . This makes sense, since must all vanish faster than h_{1} as a circular orbit is approached.
From the cos(βθ) term, we get
where in the last step we substituted in the values of h_{0} and h_{2}.
Using equations (3) and (1), we can calculate the second and third derivatives of J evaluated at u_{0}:
Substituting these values into the last equation yields the main result of Bertrand's theorem:
Hence, the only potentials that can produce stable closed noncircular orbits are the inversesquare force law (β = 1) and the radial harmonicoscillator potential (β = 2). The solution β = 0 corresponds to perfectly circular orbits, as noted above.
Classical field potentials
For an inversesquare force law such as the gravitational or electrostatic potential, the potential can be written
The orbit u(θ) can be derived from the general equation
whose solution is the constant plus a simple sinusoid:
where e (the eccentricity), and θ_{0} (the phase offset) are constants of integration.
This is the general formula for a conic section that has one focus at the origin; e = 0 corresponds to a circle, e < 1 corresponds to an ellipse, e = 1 corresponds to a parabola, and e > 1 corresponds to a hyperbola. The eccentricity e is related to the total energy E (see Laplace–Runge–Lenz vector):
Comparing these formulae shows that E < 0 corresponds to an ellipse, E = 0 corresponds to a parabola, and E > 0 corresponds to a hyperbola. In particular, for perfectly circular orbits.
Harmonic oscillator
To solve for the orbit under a radial harmonicoscillator potential, it's easier to work in components r = (x, y, z). The potential can be written as
The equation of motion for a particle of mass m is given by three independent Euler equations:
where the constant must be positive (i.e., k > 0) to ensure bounded, closed orbits; otherwise, the particle will fly off to infinity. The solutions of these simple harmonic oscillator equations are all similar:
where the positive constants A_{x}, A_{y} and A_{z} represent the amplitudes of the oscillations, and the angles φ_{x}, φ_{y} and φ_{z} represent their phases. The resulting orbit r(t) = [x(t), y(y), z(t)] is closed because it repeats exactly after one period
The system is also stable because small perturbations in the amplitudes and phases cause correspondingly small changes in the overall orbit.
References
 ^ Bertrand J (1873). "Théorème relatif au mouvement d'un point attiré vers un centre fixe". C. R. Acad. Sci. 77: 849–853.
 ^ Johnson, Porter Wear (20100224). Classical Mechanics With Applications. World Scientific. pp. 149–. ISBN 9789814304153. Retrieved 2 December 2012.
Further reading
 Goldstein, H. (1980). Classical Mechanics (2nd ed.). AddisonWesley. ISBN 9780201029185.
 Santos, F. C.; Soares, V.; Tort, A. C. (2011). "An English translation of Bertrand's theorem". Latin American Journal of Physics Education. 5 (4): 694–696. arXiv:0704.2396. Bibcode:2007arXiv0704.2396S.