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

In summary, the conversation is about setting up a problem involving conservation of energy for an object in a gravitational potential. The equations are manipulated to find a solution for r(t) and theta(t), but it is noted that there is no closed form solution for these functions. Care must also be taken in choosing the correct root when converting between different forms of the equations.
  • #1
WendysRules
37
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
  • #2
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##.
 
  • #3
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.
 
  • #5
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 WendysRules

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

1. What is a nonlinear first-order ODE?

A nonlinear first-order ODE (ordinary differential equation) is a mathematical equation that relates the derivative of an unknown function to the function itself, where the derivative is nonlinear. This means that the derivative is not a simple multiple of the function, but rather a more complex function of the function itself.

2. How is a nonlinear first-order ODE different from a linear first-order ODE?

A linear first-order ODE is an equation where the derivative is a simple multiple of the function, while a nonlinear first-order ODE has a more complex relationship between the derivative and the function. This makes nonlinear first-order ODEs more challenging to solve analytically.

3. What are some real-world applications of nonlinear first-order ODEs?

Nonlinear first-order ODEs are used to model a wide range of phenomena in physics, biology, economics, and engineering. Some examples include population growth, chemical reactions, electric circuits, and predator-prey relationships in ecology.

4. How can nonlinear first-order ODEs be solved?

There are several methods for solving nonlinear first-order ODEs, including separation of variables, substitution, and integrating factors. However, not all nonlinear first-order ODEs have analytical solutions, and numerical methods may be needed in these cases.

5. What are the limitations of using nonlinear first-order ODEs?

Nonlinear first-order ODEs can only model systems that are deterministic, meaning that their behavior can be fully predicted based on their initial conditions. They also assume that the system is continuous and that the relationship between variables is well-defined. In complex systems, these assumptions may not hold, and other mathematical models may be more appropriate.

Similar threads

Replies
4
Views
562
  • Calculus and Beyond Homework Help
Replies
14
Views
471
Replies
1
Views
657
  • Calculus and Beyond Homework Help
Replies
12
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
223
  • Calculus and Beyond Homework Help
Replies
12
Views
196
  • Calculus and Beyond Homework Help
Replies
12
Views
1K
  • Calculus and Beyond Homework Help
Replies
21
Views
899
  • Calculus and Beyond Homework Help
Replies
3
Views
397
  • Calculus and Beyond Homework Help
Replies
1
Views
366
Back
Top