# Lagrange and the JWST

The James Webb Space Telescope reached its destination today. Since its launch a month ago, there’s been a lot of explanation on space-centric sites of what and where the Lagrange points are. Most of these have neat animations or other graphics, and they all talk about how L2 (the JWST’s Lagrange point) is about 1.5 million kilometers. But they tend to avoid the math that explains why L2 is at that distance. Longtime readers of ANIAT know that avoiding the math is not what I do here.

Longtime readers of ANIAT also know that I’ve written about Lagrange points a few times already. In one of those, I showed how to find all five Lagrange points and included one of my favorite graphs.

This is a contour plot of the potential energy of a small satellite, and the stationary points (i.e., points where the slope is zero) are the Lagrange points. The great thing about doing an energy-based solution is that you don’t have to know roughly where the Lagrange points are before you start—their existence and positions fall out of the analysis naturally. The downside is that the math gets complicated.

So let’s cheat to make the math simpler. We know the L2 point is beyond Earth’s orbit on the line that connects the Sun and the Earth. We’ll start there and figure out how far out from the Earth it is.

Here’s the layout:

The orbits of the Earth and L2 are assumed circular (pretty close to true), and whatever is at L2 is taken to be so small that it doesn’t interfere with the Earth’s orbit in any measurable way (definitely true).

Let’s start by looking at the Earth’s orbit. Newton’s second law says the force acting on the Earth is equal to its mass times its acceleration. The force comes from Newton’s law of gravitation,

$\frac{G M m}{r^2}$

where $$G$$ is the universal gravitational constant, $$M$$ is the mass of the Sun, $$m$$ is the mass of the Earth, and $$r$$ is the distance between the two. The force is directed toward the Sun. Because the Earth is taken to be moving in a circle of radius $$r$$ at constant angular velocity, its acceleration is

$r \omega^2$

where $$\omega$$ is the angular velocity. Like the force, this acceleration points toward the Sun.

Putting these together, we get

$\frac{G M m}{r^2} = m r \omega^2$

and so

$\omega^2 = \frac{G M}{r^3}$

Now let’s look at our satellite at L2. It’s seeing two gravitational forces, one from the Sun

$\frac{G M \tilde{m}}{(r + d)^2}$

and one from the Earth

$\frac{G m \tilde{m}}{d^2}$

where $$\tilde{m}$$ is the mass of the satellite. By definition, L2 orbits at the same angular velocity, $$\omega$$, as the Earth, so

$\frac{G M \tilde{m}}{(r + d)^2} + \frac{G m \tilde{m}}{d^2} = \tilde{m} (r + d) \omega^2 = \tilde{m} (r + d) \frac{G M}{r^3}$

We’re now going to introduce a couple of nondimensional quantities:

• $$\mu$$ is the ratio of the Earth’s mass to the Sun’s, $$m = \mu M$$.
• $$\delta$$ is the ratio of $$d$$ to $$r$$, $$d = \delta r$$.

Plugging these definitions into the equation for the satellite lets us eliminate $$m$$ and $$d$$ to get

$\frac{G M \tilde{m}}{r^2 (1 + \delta)^2} + \frac{G M \mu \tilde{m}}{\delta^2 r^2} = \tilde{m} r(1 + \delta) \frac{G M}{r^3}$

We can cancel out $$G$$, $$M$$, $$\tilde{m}$$, and $$r$$ from this equation, leaving

$\frac{1}{(1 + \delta)^2} + \frac{\mu}{\delta^2} = (1 + \delta)$

or, after multiplying through by $$(1 + \delta)^2$$,

$1 + \mu \left( \frac{1}{\delta} + 1 \right)^2 = (1 + \delta)^3$

From NASA’s Sun Fact Sheet, we see that $$\mu = 3.00\times 10^{-6}$$, a very small number. That means $$\delta$$ will also be a small number, and we can approximate the above equation with

$1 + \frac{\mu}{\delta^2} \approx 1 + 3 \delta$

and therefore

$\mu \approx 3 \delta^3$

Plugging in the value for $$\mu$$ gives us

$\delta \approx 0.01$

so the distance from the Earth to L2 is one one-hundredth of the distance from the Sun to the Earth. Since the Earth is about 150 million kilometers from the Sun, L2 is about 1.5 million kilometers from the Earth. Which is what everyone has been saying, but now you can prove it.