Posted in honor of the upcoming North American solar eclipse.

Source: https://xkcd.com/2769
In this series, I’m discussing how ideas from calculus and precalculus (with a touch of differential equations) can predict the precession in Mercury’s orbit and thus confirm Einstein’s theory of general relativity. The origins of this series came from a class project that I assigned to my Differential Equations students maybe 20 years ago.
We previously showed that if the motion of a planet around the Sun is expressed in polar coordinates , with the Sun at the origin, then under Newtonian mechanics (i.e., without general relativity) the motion of the planet follows the differential equation
,
where and
is a certain constant. We will also impose the initial condition that the planet is at perihelion (i.e., is closest to the sun), at a distance of
, when
. This means that
obtains its maximum value of
when
. This leads to the two initial conditions
;
the second equation arises since has a local extremum at
.
We now take the perspective of a student who is taking a first-semester course in differential equations. There are two standard techniques for solving a second-order non-homogeneous differential equations with constant coefficients. One of these is the method of variation of parameters. First, we solve the associated homogeneous differential equation
.
The characteristic equation of this differential equation is , which clearly has the two imaginary roots
. Therefore, two linearly independent solutions of the associated homogeneous equation are
and
.
(As an aside, this is one answer to the common question, “What are complex numbers good for?” The answer is naturally above the heads of Algebra II students when they first encounter the mysterious number , but complex numbers provide a way of solving the differential equations that model multiple problems in statics and dynamics.)
According to the method of variation of parameters, the general solution of the original nonhomogeneous differential equation
is
,
where
,
,
and is the Wronskian of
and
, defined by the determinant
.
Well, that’s a mouthful.
Fortunately, for the example at hand, these computations are pretty easy. First, since and
, we have
from the usual Pythagorean trigonometric identity. Therefore, the denominators in the integrals for and
essentially disappear.
Since , the integrals for
and
are straightforward to compute:
,
where we use for the constant of integration instead of the usual
. Second,
,
using for the constant of integration. Therefore, by variation of parameters, the general solution of the nonhomogeneous differential equation is
.
Unsurprisingly, this matches the answer in the previous post that was found by the method of undetermined coefficients.
For the sake of completeness, I repeat the argument used in the previous two posts to determine and
. This is require using the initial conditions
and
. From the first initial condition,
From the second initial condition,
.
From these two constants, we obtain
,
where .
Finally, since , we see that the planet’s orbit satisfies
,
so that, as shown earlier in this series, the orbit is an ellipse with eccentricity .
In this series, I’m discussing how ideas from calculus and precalculus (with a touch of differential equations) can predict the precession in Mercury’s orbit and thus confirm Einstein’s theory of general relativity. The origins of this series came from a class project that I assigned to my Differential Equations students maybe 20 years ago.
We previously showed that if the motion of a planet around the Sun is expressed in polar coordinates , with the Sun at the origin, then under Newtonian mechanics (i.e., without general relativity) the motion of the planet follows the differential equation
,
where and
is a certain constant. We will also impose the initial condition that the planet is at perihelion (i.e., is closest to the sun), at a distance of
, when
. This means that
obtains its maximum value of
when
. This leads to the two initial conditions
;
the second equation arises since has a local extremum at
.
We now take the perspective of a student who is taking a first-semester course in differential equations. There are two standard techniques for solving a second-order non-homogeneous differential equations with constant coefficients. One of these is the method of undetermined coefficients. First, we solve the associated homogeneous differential equation
.
The characteristic equation of this differential equation is , which clearly has the two imaginary roots
. Therefore, the solution of the associated homogeneous equation is
.
(As an aside, this is one answer to the common question, “What are complex numbers good for?” The answer is naturally above the heads of Algebra II students when they first encounter the mysterious number , but complex numbers provide a way of solving the differential equations that model multiple problems in statics and dynamics.)
Next, we find a particular solution to the original differential equation. Since the right-hand side is a constant and is not a solution of the characteristic equation, this leads to trying something of the form
as a solution, where
is a soon-to-be-determined constant. (Guessing this form of
is a standard technique from differential equations; later in this series, I’ll give some justification for this guess.)
Clearly, and
. Substituting, we find
Therefore, is a particular solution of the nonhomogeneous differential equation.
Next, the general solution of the nonhomogeneous differential equation is found by adding the general solution to the associated homogeneous differential equation and the particular solution:
.
Finally, to determine and
, we use the initial conditions
and
. From the first initial condition,
From the second initial condition,
.
From these two constants, we obtain
,
where .
Finally, since , we see that the planet’s orbit satisfies
,
so that, as shown earlier in this series, the orbit is an ellipse with eccentricity .
The reader will notice that this solution is pretty much a carbon-copy of the previous post. The difference is that calculus students wouldn’t necessarily be able to independently generate the solutions of the associated homogeneous differential equation and a particular solution of the nonhomogeneous differential equation, and so the line of questioning is designed to steer students toward the answer.
In this series, I’m discussing how ideas from calculus and precalculus (with a touch of differential equations) can predict the precession in Mercury’s orbit and thus confirm Einstein’s theory of general relativity. The origins of this series came from a class project that I assigned to my Differential Equations students maybe 20 years ago.
We previously showed that if the motion of a planet around the Sun is expressed in polar coordinates , with the Sun at the origin, then under Newtonian mechanics (i.e., without general relativity) the motion of the planet follows the differential equation
,
where and
is a certain constant. We will also impose the initial condition that the planet is at perihelion (i.e., is closest to the sun), at a distance of
, when
. This means that
obtains its maximum value of
when
. This leads to the two initial conditions
;
the second equation arises since has a local extremum at
.
In the previous post, we confirmed that
solved this initial-value problem. However, the solution was unsatisfying because it gave no indication of where this guess might have come from. In this post, I suggest a series of questions that good calculus students could be asked that would hopefully lead them quite naturally to this solution.
Step 1. Let’s make the differential equation simpler, for now, by replacing the right-hand side with 0:
,
or
.
Can you think of a function or two that, when you differentiate twice, you get the original function back, except with a minus sign in front?
Answer to Step 1. With a little thought, hopefully students can come up with the standard answers of and
.
Step 2. Using these two answers, can you think of a third function that works?
Answer to Step 2. This is usually the step that students struggle with the most, as they usually try to think of something completely different that works. This won’t work, but that’s OK… we all learn from our failures. If they can’t figure out, I’ll give a big hint: “Try multiplying one of these two answers by something.” In time, they’ll see that answers like and
work. Once that conceptual barrier is broken, they’ll usually produce the solutions
and
.
Step 3. Using these two answers, can you think of anything else that works?
Answer to Step 3. Again, students might struggle as they imagine something else that works. If this goes on for too long, I’ll give a big hint: “Try combining them.” Eventually, we hopefully get to the point that they’ll see that the linear combination also solves the associated homogeneous differential equation.
Step 4. Let’s now switch back to the original differential equation
. Let’s start simple:
. Can you think of an easy function that’s a solution?
Answer to Step 4. This might take some experimentation, and students will probably try unnecessarily complicated guesses first. If this goes on for too long, I’ll give a big hint: “Try a constant.” Eventually, they hopefully determine that if is a constant function, then clearly
and
, so that
.
Step 5. Let’s return to
. Any guesses on an answer to this one?
Answer to Step 5. Hopefully, students quickly realize that the constant function works.
Step 6. Let’s review. We’ve shown that anything of the form
is a solution of
. We’ve also shown that
is a solution of
. Can you think use these two answers to find something else that works?
Answer to Step 6. Hopefully, with the experience learned from Step 3, students will guess that will work.
Step 7. OK, that solves the differential equation. Any thoughts on how to find the values of
and
so that
and
?
Answer to Step 7. Hopefully, students will see that we should just plug into :
To find , we first find
and then substitute
:
.
From these two constants, we obtain
,
where .
Finally, since , we see that the planet’s orbit satisfies
,
so that, as shown earlier in this series, the orbit is an ellipse with eccentricity .
In this series, I’m discussing how ideas from calculus and precalculus (with a touch of differential equations) can predict the precession in Mercury’s orbit and thus confirm Einstein’s theory of general relativity. The origins of this series came from a class project that I assigned to my Differential Equations students maybe 20 years ago.
We previously showed that if the motion of a planet around the Sun is expressed in polar coordinates , with the Sun at the origin, then under Newtonian mechanics (i.e., without general relativity) the motion of the planet follows the differential equation
,
where and
is a certain constant. We will also impose the initial condition that the planet is at perihelion (i.e., is closest to the sun), at a distance of
, when
. This means that
obtains its maximum value of
when
. This leads to the two initial conditions
;
the second equation arises since has a local extremum at
.
In the next few posts, we’ll discuss the solution of this initial-value problem. Today’s post would be appropriate for calculus students, which is confirming that
solves this initial-value problem, where . Since
is the reciprocal of
, we infer that
.
As we’ve already seen in this series, this means that the orbit of the planet is a conic section — either a circle, ellipse, parabola, or hyperbola. Since the orbit of a planet is stable and is extremely unlikely, this means that the planet orbits the Sun in an ellipse, with the Sun at one focus of the ellipse.
So, for a calculus student to verify that planets move in ellipses, one must check that
is a solution of the initial-value problem
,
,
.
The second line is easy to check:
.
The third line is also easy to check:
.
To check the first line, we first find :
,
so that
,
thus confirming that solves the initial-value problem.
While the above calculations are well within the grasp of a good Calculus I student, I’ll be the first to admit that this solution is less than satisfying. We just mysteriously proposed a solution, seemingly out of thin air, and confirmed that it worked. In the next post, I’ll proposed a way that calculus students can be led to guess this solution. Then, we talk about finding the solution of this nonhomogeneous initial-value problem using standard techniques from differential equations.
In this series, I’m discussing how ideas from calculus and precalculus (with a touch of differential equations) can predict the precession in Mercury’s orbit and thus confirm Einstein’s theory of general relativity. The origins of this series came from a class project that I assigned to my Differential Equations students maybe 20 years ago.
In this post, following from the previous two posts, we will show that if the motion of a planet around the Sun is expressed in polar coordinates , with the Sun at the origin, then under Newtonian mechanics (i.e., without general relativity) the motion of the planet follows the differential equation
,
where and
is a certain constant. Deriving this governing differential equation will require some principles from physics. If you’d rather skip the physics and get to the mathematics, we’ll get to solving this differential equations in the next post.
From Newton’s second law, the gravitational force on the planet as it orbits the Sun satisfies
,
where the force and the acceleration
are vectors. When written in polar coordinates, this becomes
,
where is a unit vector pointing away from the origin and
is a unit vector perpendicular to
that points in the direction of increasing
.
Furthermore, from Newton’s Law of Gravitation, if the Sun is located at the origin, then the gravitational force on the planet is
,
where is the mass of the sun,
is the mass of the planet, and
is the gravitational constant of the universe (which is a constant, no matter what Q from Star Trek: The Next Generation says).
Since these are the same force, the components must be the same. (Also, the
component must be zero, but we won’t need to use that fact.) Therefore,
,
or
.
In a previous post, we showed that
,
where is a constant, and
.
Substituting, we find
.
So, substituting and
, we finally obtain the governing equation
.
This is the governing differential equation of planetary motion under Newtonian mechanics. For now, it’s not obvious why we chose as the constant on the right-hand side instead of just
, but the reason for this choice will become apparent in future posts.
In the next few posts, we use differential equations (or, if you’d prefer, just calculus) to show that Newtonian mechanics predicts that planets orbit the Sun in ellipses.
In this series, I’m discussing how ideas from calculus and precalculus (with a touch of differential equations) can predict the precession in Mercury’s orbit and thus confirm Einstein’s theory of general relativity. The origins of this series came from a class project that I assigned to my Differential Equations students maybe 20 years ago.
In this part of the series, we will show that if the motion of a planet around the Sun is expressed in polar coordinates , with the Sun at the origin, then under Newtonian mechanics (i.e., without general relativity) the motion of the planet follows the differential equation
,
where and
is a certain constant. Deriving this governing differential equation will require some principles from physics. If you’d rather skip the physics and get to the mathematics, we’ll get to solving this differential equations in the next post.
Part of the derivation of this governing differential equation will involve Newton’s Second Law
,
where is the mass of the planet and the force
and the acceleration
are vectors. In usual rectangular coordinates, the acceleration vector would be expressed as
,
where the components of the acceleration in the and
directors are
and
, and the unit vectors
and
are perpendicular, pointing in the positive
and positive
directions.
Unfortunately, our problem involves polar coordinates, and rewriting the acceleration vector in polar coordinates, instead of rectangular coordinates, is going to take some work.
Suppose that the position of the planet is in polar coordinates, so that the position in rectangular coordinates is
. This may be rewritten as
,
where
is a unit vector that points away from the origin. We see that this is a unit vector since
.
We also define
to be a unit vector that is perpendicular to ; it turns out that
points in the direction of increasing
. To see that
and
are perpendicular, we observe
.
Computing the velocity and acceleration vectors in polar coordinates will have a twist that’s not experienced with rectangular coordinates since both and
are functions of
. Indeed, we have
.
Furthermore,
.
These two equations will be needed in the derivation below.
We are now in position to express the velocity and acceleration of the orbiting planet in polar coordinates. Clearly, the position of the planet is , or a distance
from the origin in the direction of
. Therefore, by the Product Rule, the velocity of the planet is
We now apply the Chain Rule to the second term:
.
Differentiating a second time with respect to time, and again using the Chain Rule, we find
.
This will be needed in the next post, when we use both Newton’s Second Law and Newton’s Law of Gravitation, expressed in polar coordinates.
In this series, I’m discussing how ideas from calculus and precalculus (with a touch of differential equations) can predict the precession in Mercury’s orbit and thus confirm Einstein’s theory of general relativity. The origins of this series came from a class project that I assigned to my Differential Equations students maybe 20 years ago.
In this part of the series, we will show that if the motion of a planet around the Sun is expressed in polar coordinates , with the Sun at the origin, then under Newtonian mechanics (i.e., without general relativity) the motion of the planet follows the differential equation
,
where and
is a certain constant. Deriving this governing differential equation will require some principles from physics. If you’d rather skip the physics and get to the mathematics, we’ll get to solving this differential equations in a few posts.
One principle from physics that we’ll need is the Law of Conservation of Angular Momentum. Mathematically, this is expressed by
,
where is a constant. Of course, this can be written as
;
this will be used a couple times in the derivation below.
As we’ll soon see, we will need to express the second derivative in a form that depends only on
. To do this, we use the Chain Rule to obtain
.
This last step used the Chain Rule in reverse:
.
To examine the second derivative , we again use the Chain Rule:
.
While far from obvious now, this will be needed when we rewrite Newton’s Second Law in polar coordinates.
In this series, I’m discussing how ideas from calculus and precalculus (with a touch of differential equations) can predict the precession in Mercury’s orbit and thus confirm Einstein’s theory of general relativity. The origins of this series came from a class project that I assigned to my Differential Equations students maybe 20 years ago.
One technique that will be necessary for this confirmation is the method of successive approximations. This will be needed in the context of a differential equation; however, we can illustrate the concept by finding the roots of a polynomial. Consider the quadratic equation
.
(Naturally, we can solve for using the quadratic formula; more on that later.) To apply the method of successive approximation, we will rewrite this so that
appears on the left side and some function of
appears on the right side. I will choose
, or
.
Here’s the idea of the method of successive approximations to obtain a recursively defined sequence that (hopefully) convergence to a solution of this equation:
For example, suppose that we choose . Then
This sequence can be computed by entering into a calculator, then entering
, and then repeatedly hitting the
button.
We see that the sequence appears to be converging to something, and that something is a root of the equation , which we now find via the quadratic formula:
.
So it looks like the above sequence is converging to the positive root .
(Parenthetically, you might notice that the Fibonacci sequence appears in the numerators and denominators of this sequence. As you might guess, that’s not a coincidence.)
Like most numerical techniques, this method doesn’t always work like we think it would. Another solution is the negative root . Unfortunately, if we start with a guess near this root, like
, the sequence unexpectedly diverges from
but eventually converges to the positive root
:
I should note that the method of successive approximations generally converges at a slower pace than Newton’s method. However, this method will be good enough when we use it to predict the precession in Mercury’s orbit.