Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

This Demonstration shows the position or velocity of two bodies under gravitational attraction, together with the path of a particle at the Lagrange point L4. The L4 point is determined by the initial conditions for the two bodies. The path of the particle is then computed by gravitational dynamics. Under some conditions the L4 path becomes unstable.

Contributed by: Richard Jensen (March 2011)
Based on a program by: Michael Trott
Open content licensed under CC BY-NC-SA



Think of the blue point as the Earth and the red point as the Sun. The range of values that you can select for the mass of the first (blue) body is smaller than that for the second (red) body. The center of mass is the common focus of the three ellipses. The path of each body's velocity is a circle. The radius of the circle is given by , where is the body's (constant) angular momentum, its mass, and the effective mass at the position of the focus.

[1] R. Baierlein, Newtonian Dynamics, New York: McGraw–Hill Publishing Company, 1983.

[2] Wikipedia, "Lagrangian Point."

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.