Undergrad How did the author transform the original equation into the Legendre equation?

Click For Summary
The discussion focuses on the transformation of a second-order ordinary differential equation into the Legendre equation through a change of variable from φ to x = cos(φ). Participants clarify the necessary steps, including the application of the chain rule to derive the second derivative and the relationships between derivatives with respect to φ and x. The transformation involves substituting expressions for sin(φ) and cos(φ) in terms of x, leading to the correct form of the Legendre equation. Some confusion arises regarding the presence of a factor of 2 in the transformation, which is ultimately resolved through careful differentiation. The discussion highlights the importance of understanding variable changes in differential equations.
Thomas Michael
Messages
6
Reaction score
4
TL;DR
How does one go from ##\phi## to ##x=\cos(\phi)##
I'm reading "Differential Equations with Applications and Historical Notes" by George F. Simmons and I am confused about something on pages 431-432

He has the second order ordinary differential equation

$$\frac {d^2v} {d\phi^2} + \frac {\cos(\phi)} {\sin(\phi)} \frac {dv} {d\phi} + n(n+1)v = 0 ~~~~~~~~~~~~~~~~~~~ eq. 1$$

And then using a change of independent variable from ## \phi ## to ## x = \cos(\phi) ## eq 1 is transformed into the Legendre equation

$$ (1-x^2) \frac {d^2v} {dx^2} - 2x \frac {dv} {dx} + n(n+1)v = 0 ~~~~~~~~~~~~ eq. 2 $$

But I don't see how he got from eq 1 to eq 2

Anyone feel like helping me out?
 
Physics news on Phys.org
First you need to compute the ##dx/d\phi## given you know x in terms of ##\phi##
 
Ok, I think that makes sense. So just use the chain rule:

$$ \frac {d^2v} {dx^2} \frac {dx^2} {d\phi^2} $$

With ##x=\cos(\phi)## the first term will have

$$ \frac {d\cos(\phi)} {d\phi} = \frac {dx} {d\phi} = -\sin(\phi)$$
$$ \frac {d^2x} {d\phi^2} = \sin^2(\phi) $$
$$ \sin^2(\phi) = 1-\cos^2(\phi) $$

and with ##x=\cos(\phi)## it turns into ##(1-x^2)## and the second term will have

$$ \frac {\cos(\phi)} {\sin(\phi)} \frac {dv} {dx} \frac {dx} {d\phi} = -\sin(\phi) \frac {\cos(\phi)} {\sin(\phi)} \frac {dv} {dx} = -\cos(\phi) \frac {dv} {dx}$$

$$-\cos(\phi) = -x$$

Though now I still can't account for the ##2## in the second term ##-2x \frac {dv} {dx} ##
 
##x = \cos \phi \rightarrow dx = - \sin \phi d \phi \rightarrow - \frac{dx}{-\sin \phi} = d \phi \rightarrow \frac{-dx}{d \phi} = \sin \phi##

Thus, we have ##\frac{\sin^2 \phi d^2 v}{dx^2} - \frac{d \phi x}{dx} \frac{dv}{d \phi} +n(n+1)v = 0 ## Making the substitutions you mention, we get ##(1-x^2)\frac{d^2 v}{dx^2} -x \frac{dv}{dx}+n(n+1)v = 0 ##

So, maybe a typo.
 
Thomas Michael said:
Ok, I think that makes sense. So just use the chain rule:

$$ \frac {d^2v} {dx^2} \frac {dx^2} {d\phi^2} $$

With ##x=\cos(\phi)## the first term will have

$$ \frac {d\cos(\phi)} {d\phi} = \frac {dx} {d\phi} = -\sin(\phi)$$
$$ \frac {d^2x} {d\phi^2} = \sin^2(\phi) $$
$$ \sin^2(\phi) = 1-\cos^2(\phi) $$

and with ##x=\cos(\phi)## it turns into ##(1-x^2)## and the second term will have

$$ \frac {\cos(\phi)} {\sin(\phi)} \frac {dv} {dx} \frac {dx} {d\phi} = -\sin(\phi) \frac {\cos(\phi)} {\sin(\phi)} \frac {dv} {dx} = -\cos(\phi) \frac {dv} {dx}$$

$$-\cos(\phi) = -x$$

Though now I still can't account for the ##2## in the second term ##-2x \frac {dv} {dx} ##

Here dx/d\phi = -\sin\phi is not constant; thus \frac{d^2v}{d\phi^2} = <br /> \frac{d}{d\phi}\left(\frac{dv}{d\phi}\right) = <br /> \frac{d}{d\phi}\left(\frac{dx}{d\phi} \frac{dv}{dx}\right) = \frac{d^2 x}{d\phi^2} \frac{dv}{dx} + \left(\frac{dx}{d\phi}\right)^2\frac{d^2v}{dx^2} = -x \frac{dv}{dx} + (1 - x^2)\frac{d^2v}{dx^2}.<br />
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
8
Views
4K
Replies
15
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 8 ·
Replies
8
Views
4K
Replies
4
Views
618