Mastering Legendre Differential Equations
The Legendre ODE
The Legendre Equation
In physics and engineering, problems involving spherical shapes—like calculating the electric field around a sphere or modeling the vibrations of a planet—often lead to the same mathematical challenge. That challenge is the Legendre differential equation.
(1 - x^2) \frac{d^2y}{dx^2} - 2x \frac{dy}{dx} + n(n+1) y = 0
This is a second-order linear ODE. The variable often represents a spatial coordinate (like the cosine of an angle in spherical coordinates), while is a constant that is determined by the physical constraints of the problem. Our goal is to find the function that satisfies this equation.
Finding a Series Solution
A quick look at the coefficient of , which is , tells us we have singular points at . At these points, the equation behaves strangely. However, the point is an ordinary point, making it a good place to build a solution using a power series.
We'll assume the solution can be written as an infinite polynomial, or power series, centered at :
To substitute this into the Legendre equation, we need its first and second derivatives:
Plugging these into the equation and re-indexing the sums so that each term contains leads to a single, unified expression. After some algebra, we find that for the entire series to equal zero, the coefficient of each power of must be zero. This requirement gives us a powerful tool: a recurrence relation.
The Key Relationship
The algebraic work yields the following recurrence relation connecting the coefficients:
Notice this relation links coefficients that are two indices apart. depends on , depends on , and so on. Similarly, depends on , depends on , etc. This splits our solution into two independent parts:
- An even solution () built from with only even powers of ().
- An odd solution () built from with only odd powers of ().
The general solution is the sum of these two: . The initial coefficients, and , are arbitrary constants we would determine from initial conditions.
Why Physical Solutions Must Terminate
For most values of , both the even and odd series continue infinitely. When analyzed, these infinite series solutions diverge (go to infinity) at the singular points . In physical contexts where often relates to , these points correspond to the poles of a sphere. A physical quantity like temperature or potential cannot be infinite, so these solutions are not physically meaningful.
There's a special case, however. Look at the numerator of the recurrence relation: . If the constant is an integer, say , then when reaches , the numerator becomes zero.
When becomes zero, the recurrence relation ensures that all subsequent coefficients in that series () will also be zero. The infinite series truncates, becoming a finite polynomial of degree .
- If is an even integer, the even series terminates, becoming a polynomial. The odd series remains an infinite, divergent series.
- If is an odd integer, the odd series terminates. The even series remains infinite.
In physical applications, we select the value of to be an integer and discard the divergent series, keeping only the finite polynomial solution. These terminating solutions are known as the Legendre polynomials, denoted . They are the well-behaved, physically realistic solutions to the Legendre equation on the interval , first studied by Adrien-Marie Legendre.
| n | Terminating Series | Legendre Polynomial |
|---|---|---|
| 0 | Even | |
| 1 | Odd | |
| 2 | Even | |
| 3 | Odd |
By requiring our solutions to be physically sensible, we discover that only integer values of produce valid results. This process of finding special values (eigenvalues) that lead to well-behaved solutions (eigenfunctions) is a recurring theme in mathematical physics.
Ready to test your understanding?
The Legendre differential equation, , is best described as which type of equation?
Why is the power series method centered at a suitable technique for solving the Legendre equation?
This foundational understanding of the Legendre equation and its polynomial solutions is a stepping stone to solving complex problems in fields ranging from quantum mechanics to geophysics.