Legendre Equation
The Legendre equation is a second order differential equation that occurs in Physics. In particular, it is required to solve the Schrödinger equation for the Hydrogen atom. In the equation \(l\) is a non-negative integer.
It can also be written negated.
We can look for a polynomial solution. As the equation equals zero, then the sum of the coefficients for each power of \(x\) must be zero. Start by assigning \(y\) to be a polynomial with \(n\) terms.
Differentiate Equation (3).
Differentiate Equation (4).
Collect the \(x^0\) terms form Equation (1).
Collect the \(x^1\) terms from Equation (1).
Collect the even \(x^n\) terms from Equation (1).
Now if \(n = l\) then \(a_{n+2} = 0\). Therefore every term with \(n\) plus an even number is also zero. There are clearly two possible solutions to the equation which are the even and odd polynomial terms. We can choose the solution based on whether \(l\) is even or odd. We can choose \(a_0 = 1\) and \(a_1 = 0\) if \(l\) is even or \(a_0 = 0\) and \(a_1 = 1\) if \(l\) is odd. The remaining \(a_i\) can be determined by iteration.
Leibnitz Equation (or Rule)
Gotfried Wilhelm Leibnitz independently discovered calculus. Isaac Newton independently discovered an alternative formulation. Leibnitz' notation is used today. He discovered a rule for differentiating the product of two functions any number of times.
If the two functions \(u(x)\) and \(v(x)\) are differentiable \(n\) times, then the nth derivative of their product can be defined.
Where the binomial coefficient is:
Equation (9) can be proved by induction. First assume that the rule is correct and differentiate it.
In the second term we can replace \(k\) with \(k - 1\) and increment the limits with no effective change.
Split the first summation into the first term and the rest of the series. Also, split the second summation into the last term and the rest of the series.
If the bottom number of a binomial coefficient is zero then the value is always 1. Changing the top number makes no change.
If the two number of a binomial coefficient are the same than the value is always 1. Changing the numbers makes no change.
The two summation terms have the same derivatives. Their binomial coefficients can be combined.
This gives the expected result.
Rodrigues Formula
The Rodrigues formula is a solution to the Legendre equation.
It can be proved by defining \(v = x^2 - 1\) and differentiating.
Multiply by \(x^2 - 1\).
We need to differentiate Equation (20) \(n+1\) times. This can be done using the Leibnitz rule. The left hand side only has three terms as \(x^2 - 1\) only has two non-zero derivatives. The summation is from \(n-1\) to \(n+1\). The right hand side only has two terms. The summation is from \(n\) to \(n+1\). Apply the Leibnitz rule.
Expand the binomial coefficients.
Simplify the factorials.
Set \(V = \frac{d^nv}{dx^n}\) and reorganise.
This the the Legendre equation Equation (2). So \(V\) is a solution and \(P_n(x)\) from Equation (18) is also a solution.
Associated Legendre Equation
The associated Legendre equation has an additional term containing a second integer parameter \(m\).
We have an ansatz solution.
To prove this we note that for \(m=0\) this is the regular Legendre equation with solutions \(P_l(x)\).
Now, differentiate Equation (28) \(m\) times using the Leibnitz rule.
Start with the second order term.
Now, the first order term.
The final term.
Add the three terms to complete the equation.
Combine terms.
Define.
Now another ansatz! Define a new function.
Differentiate.
Differentiate again.
Combine terms.
Substitute Equation (36), Equation (37), and Equation (39) into Equation (35) and divide by the common term.
Combine terms.
This is the associated Legendre equation! So \(v\) is a solution. So, from Equation (36).
The solution is as expected.
The \((-1)^m\) term separates the even terms that have polynomial solutions from the odd term that do not.
That was quite a journey!