How to Simplify Nonlinear First-Order ODEs in Physics Problems?

  • Thread starter Thread starter WendysRules
  • Start date Start date
  • Tags Tags
    Nonlinear Ode
Click For Summary

Homework Help Overview

The discussion revolves around simplifying a nonlinear first-order ordinary differential equation (ODE) derived from the conservation of energy for a particle in a gravitational potential. The equation involves variables such as radial distance \( r \), angular momentum \( L \), and energy \( e \), with the original poster exploring transformations and substitutions to facilitate solving the equation.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • The original poster attempts a substitution \( u = \frac{1}{r} \) to reformulate the equation but is uncertain about the implications for the differential. They express concern over the complexity of the resulting expressions and question whether they are overlooking a simpler approach. Other participants suggest clarifying the end goal of the problem, specifically whether the focus is on finding \( r(t) \) or \( r(\phi) \), and mention the conservation of angular momentum as a potential relation to explore.

Discussion Status

Participants are actively engaging with the original poster's attempts, providing insights into the nature of the problem and suggesting considerations for the relationship between variables. There is a recognition of the challenges posed by the nonlinear nature of the ODE, and some guidance has been offered regarding the need to choose appropriate roots when solving for \( r(t) \).

Contextual Notes

The original poster notes potential complications due to the nature of the differential equation and the relationship between \( r \) and time \( t \), as well as the implications of working within a specific metric framework. There is an acknowledgment of the complexity introduced by the cubic term in a subsequent problem.

WendysRules
Messages
35
Reaction score
3

Homework Statement


Let $$\frac{1}{2}\dot{r}^2=e+\frac{m}{r}-\frac{L^2}{2r^2}$$ where L is angular moment, and e is energy (so I guess I'll take as constants for now...)

Homework Equations


Not sure for now.

The Attempt at a Solution


So, if I let $$u=\frac{1}{r}$$ then my equation becomes $$\frac{1}{2}\dot{r}^2=e+mu-\frac{L^2u^2}{2}$$ However, I'm not sure if I should also get my differential in terms of u as well. IE $$r=\frac{1}{u} \rightarrow dr=-\frac{1}{u^2} du$$ or just continue down the first path.

If I don't do the differential change, then I'd get $$\frac{1}{2}\dot{r}^2=e+mu-\frac{L^2u^2}{2} \rightarrow \dot{r}^2 = 2e+2mu-\frac{2L^2u^2}{2}$$ finally giving us... $$ \dot{r} =\sqrt{2e+2mu-L^2u^2}$$ which is just... yuck.

If I do the substitution, i'll get... $$\frac{1}{2}\dot{r}^2=(\frac{dr}{2dt})^2 \rightarrow (\frac{-\frac{1}{u^2} du}{2dt})^2 \rightarrow (\frac{-du}{2u^2dt})^2 $$ From here, we set it equal to the righthand side, and then see that $$\frac{-du}{2u^2dt} = \sqrt{e+mu-\frac{L^2u^2}{2}} \rightarrow \frac{du}{u^2} =-2\sqrt{e+mu-\frac{L^2u^2}{2}} dt$$ which is also, bad looking. So before I go ahead and solve either, I was looking to maybe see if there is an easier way to look at these since the next one is even *worse* (cubic in r..)

Could it also be that I'm not seeing the simplicity of it all? I'm not sure if r *depends* on t really, since this comes from our metric that ##ds^2=dr^2+r^2d\phi^2##(working in equatorial plane thus, ##\sin\theta = 1## and ##d\theta = 0##) Can go more into this if needed. So, it could be that the right hand side on both is simple because none of the terms depend on t.
 
Physics news on Phys.org
The equation you started with is conservation of energy for an object in a gravitational potential, so you should expect ##r## and ##\phi## to vary with time in general. What's your end goal for this problem? Finding ##r(t)## and ##\phi(t)##, or finding ##r(\phi)##? If it's the latter, you can use the fact that angular momentum is conserved to relate ##\dot r## with ##dr/d\phi##.
 
vela said:
The equation you started with is conservation of energy for an object in a gravitational potential, so you should expect ##r## and ##\phi## to vary with time in general. What's your end goal for this problem? Finding ##r(t)## and ##\phi(t)##, or finding ##r(\phi)##? If it's the latter, you can use the fact that angular momentum is conserved to relate ##\dot r## with ##dr/d\phi##.

The end goal is something I already know, but I've never explicitly shown it. Essentially, I want to find r(t), and then compare it to the relativistic case where $$\frac{1}{2}\dot{r}^2= e+\frac{m}{r}-\frac{L^2}{2r^2}+\frac{L^2m}{r^3}$$ and then compare orbits. I know I can compare these with the potentials (since in both cases we have ##\frac{1}{2}\dot{r}^2= const-potential## if we factor out a - from both V), but I should also explicitly solve for r(t) in both cases as I've never done it. And after seeing the integrals being done, I realize why I have just accepted the hand-wavy case!

If I've set everything up right, then I guess I should just chug through the integral.
 
WendysRules said:

Homework Statement


Let $$\frac{1}{2}\dot{r}^2=e+\frac{m}{r}-\frac{L^2}{2r^2}$$ where L is angular moment, and e is energy (so I guess I'll take as constants for now...)

Homework Equations


Not sure for now.

The Attempt at a Solution


So, if I let $$u=\frac{1}{r}$$ then my equation becomes $$\frac{1}{2}\dot{r}^2=e+mu-\frac{L^2u^2}{2}$$ However, I'm not sure if I should also get my differential in terms of u as well. IE $$r=\frac{1}{u} \rightarrow dr=-\frac{1}{u^2} du$$ or just continue down the first path.

If I don't do the differential change, then I'd get $$\frac{1}{2}\dot{r}^2=e+mu-\frac{L^2u^2}{2} \rightarrow \dot{r}^2 = 2e+2mu-\frac{2L^2u^2}{2}$$ finally giving us... $$ \dot{r} =\sqrt{2e+2mu-L^2u^2}$$ which is just... yuck.

If I do the substitution, i'll get... $$\frac{1}{2}\dot{r}^2=(\frac{dr}{2dt})^2 \rightarrow (\frac{-\frac{1}{u^2} du}{2dt})^2 \rightarrow (\frac{-du}{2u^2dt})^2 $$ From here, we set it equal to the righthand side, and then see that $$\frac{-du}{2u^2dt} = \sqrt{e+mu-\frac{L^2u^2}{2}} \rightarrow \frac{du}{u^2} =-2\sqrt{e+mu-\frac{L^2u^2}{2}} dt$$ which is also, bad looking. So before I go ahead and solve either, I was looking to maybe see if there is an easier way to look at these since the next one is even *worse* (cubic in r..)

Could it also be that I'm not seeing the simplicity of it all? I'm not sure if r *depends* on t really, since this comes from our metric that ##ds^2=dr^2+r^2d\phi^2##(working in equatorial plane thus, ##\sin\theta = 1## and ##d\theta = 0##) Can go more into this if needed. So, it could be that the right hand side on both is simple because none of the terms depend on t.

You need to be careful: passing from a formula for ##(dr/dt)^2## to a formula for ##dr/dt## requires you to choose the correct root. In your ##r(t)## DE you need to use ##+\sqrt{\cdot}## when ##r(t)## is increasing and ##-\sqrt{\cdot}## when ##r(t)## is decreasing. So, you have one DE when ##r## is moving away from ##0## and another when it is moving towards ##0##. An opposite choice must be made in your ##u(t)## DE.

The need for such choices can create headaches when it comes to solving the DE numerically, using a standard DE-solving package.
 
  • Like
Likes   Reactions: WendysRules

Similar threads

Replies
4
Views
2K
Replies
6
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
5
Views
2K
  • · Replies 12 ·
Replies
12
Views
1K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K