Understanding Legendre differential equation

  • Context: Undergrad 
  • Thread starter Thread starter chwala
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 6K views
chwala
Gold Member
Messages
2,843
Reaction score
428
TL;DR
Analysis of ##(1-x^2)y^{"}-2x y'+ n(n+1)y=0##.
I am looking at this now, ##(1-x^2)y^{"}-2x y' + n(n+1)y=0##, my interest being on ##P_n(x)##, i will go straight to the point,

... steps leading to this are clear, i.e

we have the recursive relationship,

##a_{k+2} = \dfrac{(k-n)(k+n+1)}{(k+2)(k+1)} ##

For even solutions, we set ##a_1 =0## and ##a_0=1## Is this always the case?, of course i get the even and odd part... using symmetry,

Now in my understanding, we shall end up with,

##k=0, a_2=-3##

##k=2, a_4 = 0##

...

##y(x)=a_0x^0 + a_2x^2 + a_4x^4## (which terminates at ##k=2##).

##y(x)=1-3x^2= P_2(x)## my step here is clear, now my confusion is here or misunderstanding, arises from the following lines,

##y(x)=a_0(1-3x^2)## where is this ##a_0## coming from where? or its set again for conformity? and then further, ##P_2(x)= \dfrac{1}{2}(3x^2-1)##, how?

...i read scale factor or something, i may need a clear explanation...cheers !
 
Physics news on Phys.org
https://en.wikipedia.org/wiki/Legendre_polynomials
1744630981099.png


Does your sequence coincide with this ?
 
chwala said:
TL;DR Summary: Analysis of ##(1-x^2)y^{"}-2x y'+ n(n+1)y=0##.

I am looking at this now, ##(1-x^2)y^{"}-2x y' + n(n+1)y=0##, my interest being on ##P_n(x)##, i will go straight to the point,

... steps leading to this are clear, i.e

we have the recursive relationship,

##a_{k+2} = \dfrac{(k-n)(k+n+1)}{(k+2)(k+1)} ##
This is the correct recurrence. If you se [itex]l = k - 2[/itex] you will get it in the form posted by @anuttarasammyak.

For even solutions, we set ##a_1 =0## and ##a_0=1## Is this always the case?

Note that the ODE is linear, so a constant multiple of a solution is a solution. The same is true of the recurrence relation for the [itex]a_k[/itex]. But the recurrence has to start somewhere, so [itex]a_0[/itex] and [itex]a_1[/itex] are arbitrary constants.

The recurrence is of the form [itex]a_{k+2} = f(k)a_k[/itex]. It follows that if [itex]a_1 = 0[/itex] and [itex]a_0 \neq 0[/itex] then [itex]y[/itex] will be even, and if [itex]a_0 = 0[/itex] and [itex]a_1 \neq 0[/itex] then [itex]y[/itex] will be odd.

The Legendre polynomials are normalized such that [itex]P_n(1) = 1[/itex]. This means that we don't get [itex]P_{2m}[/itex] by setting [itex](a_0,a_1) = (1,0)[/itex]; instead we have to leave [itex]a_0[/itex] arbitrary until we know the value of [itex]y(1)[/itex] in terms of [itex]a_0[/itex].
 
Last edited:
Reply
  • Informative
Likes   Reactions: chwala