This post is just a note on the notation that is used across internet sources and books while referring to the LDE.
If one takes , then it follows that . The differential equation can be rewritten as follows:
Now the first two terms must seem familiar to you from the chain rule. ( ). Ergo,
Now, putting back the value of p :
And you will see this form of the LDE also in many places and I thought it was worth mentioning how one ended up in that form.
Now there is something about the Legendre differential equation that drove me crazy. What is up with the l(l+1) !!!
To understand why let’s take this form of the LDE and arrive at the above:
If we do a power series expansion and following the same steps as the previous post, we end up with the following recursion relation.
Here’s the deal: We want a convergent solution for our differential solution. This means that as .
Hence we obtain that
What is the inverse of the above matrix ? I would strongly suggest that you think about the above matrix and what its inverse would look like before you read through.
On the face of it, it is indeed startling to even think of an inverse of an infinite dimensional matrix. But the only reason why this matrix seems weird is because I have presented it out of context.
You see, the popular name of the matrix is the Differentiation Matrix and is commonly denoted as .
The differentiation matrix is a beautiful matrix and we will discuss all about it in some other post, but in the this post lets talk about its inverse. The inverse of the differentiation matrix is ( as you might have guessed ) is the Integration Matrix ()
And it can be easily verified that , where is the Identity matrix.
Lesson learned: Infinite dimensional matrices can have inverses. 😀
In this series of posts about Legendre differential equation, I would like to de-construct the differential equation down to the very bones. The motivation for this series is to put all that I know about the LDE in one place and also maybe help someone as a result.
The Legendre differential equation is the following:
We will find solutions for this differential equation using the power series expansion i.e
We will plug in these expressions for the derivatives into the differential equation.
** Note: Begin
Let’s take .
As n -> . , -> .
As n -> , -> .
Again performing a change of variables from to n.
** Note: End
(iii) can now be written as follows.
x = 0 is a trivial solution and therefore we get the indicial equation:
We get the following recursion relation on the coefficients of the power series expansion.
Next post: What do these coefficients mean ?
Parametric integration is one such technique that once you are made aware of it, you will never for the love of god forget it. Let me demonstrate :
Now this integral might seem familiar to many of you and to evaluate it is rather simple as well.
Knowing this you can do lots of crazy stuff. Lets differentiate this expression wrt to the parameter in the integral – s (Hence the name parametric integration ). i.e
Look at that, by simple differentiation we have obtained the expression for another integral. How cool is that! It gets even better.
Lets differentiate it once more:
If you keep on differentiating the expression n times, one gets this :
Now substituting the value of s to be 1, we obtain the following integral expression for the factorial. This is known as the gamma function.
There are lots of ways to derive the above expression for the gamma function, but parametric integration is in my opinion the most subtle way to arrive at it. 😀
The harmonic series are as follows:
And it has been known since as early as 1350 that this series diverges. Oresme’s proof to it is just so beautiful.
Now replace ever term in the bracket with the lowest term that is present in it. This will give a lower bound on .
Clearly the lower bound of diverges and therefore also diverges. 😀
But it interesting to note that of divergence is incredibly small: 10 billion terms in the series only adds up to around 23.6 !
While trying to solve for the Laplacian in polar coordinates, one encounters the famous Euler-Cauchy differential equation.
How does one find a solution to this differential equation ? Well, most places that I have read simply dictate that the solutions to this differential equation as without explaining why only these two are the only solutions. The purpose of this post is to explain why!
We can clearly see that x = 0 is a singular point. Therefore a simple power series solution won’t work. Hence we use the frobenius method to get rid of the singularity i.e
Let’s now compute its derivatives wrt x.
Putting the values for and back into the differential equation, we get the following form.
Bringing the terms inside the summation, we obtain the following form:
Obviously, the coefficients of the summation cannot be zero and x=0 is a trivial solution. Therefore, we get the indicial equation.
(i) When n = 0, the indicial equation becomes
The values of the that solve for this equation are
(ii) When n = 1, the indicial equation becomes
The values of the that solve for this equation are
And in general:
Here is the crux of it all.
Lets now write down the solution for this differential equation in its glory:
where A and B are constants.
This is the general solution to the Euler-Cauchy differential equation. 😀