How to Estimate with a Computer program a 3rd order diff eq

Click For Summary

Discussion Overview

The discussion revolves around estimating a second-order differential equation derived from the geodesics equation and the Schwarzschild metric, involving four variables: r, theta, phi, and t. Participants explore both analytical and numerical approaches to solving these equations.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant requests hints on estimating a second-order differential equation with four variables derived from the geodesics equation.
  • Another participant suggests that writing down the equations would clarify the problem.
  • Several equations are presented, with one participant noting that the equations may have analytical solutions, particularly for the Schwarzschild metric.
  • A suggestion is made to use the Runge-Kutta fourth order method for numerical solutions, emphasizing the need to rewrite the equations as a system of first-order differential equations.
  • There is a correction regarding the order of the equations, with one participant stating that the equation is second-order, not third.
  • One participant checks their math regarding a specific part of Equation 2 and seeks confirmation on its correctness.
  • Another participant proposes that simpler equations can be derived from Equations 2 and 3.
  • Questions arise about how to solve for r and theta based on the first two equations, given the solutions from Equations 3 and 4.
  • A participant expresses interest in finding an analytic solution, noting the complexity of the problem and the number of variables involved.
  • Clarification is provided that tau is the independent variable, with some confusion noted regarding the similarity in appearance between tau and r in LaTeX.
  • One participant explains that tau represents proper time in the context of geodesic equations.

Areas of Agreement / Disagreement

Participants express differing views on the order of the equations and the methods for solving them. There is no consensus on a single approach, and multiple competing views remain regarding the analytical versus numerical solutions.

Contextual Notes

Limitations include potential missing assumptions about the equations and the dependence on definitions related to the variables involved. The discussion remains open-ended with unresolved mathematical steps.

Philosophaie
Messages
456
Reaction score
0
How to Estimate with a Computer program a 3rd order differential equation with 4 variables and 4 equations? The equations are derived from the geodesics equation and the Schwarzschild metric. The variables are r, theta, phi and t. Any hints would be appreciated.
 
Physics news on Phys.org
Probably if you can write down your equations it will be much clearer what your problem actually is.
 
Equation 1:
[tex]\frac{d}{d\tau}(\frac{2r}{r-2m}(\frac{dr}{d\tau})) + \frac{2m}{(r-2m)^{2}}(\frac{dr}{d\tau})^{2} - r(\frac{d\theta}{d\tau})^{2} - rsin^{2}\theta (\frac{d\phi}{d\tau})^{2} + \frac{mc^{2}}{r^{2}}(\frac{dt}{d\tau})^{2} = 0[/tex]

Equation 2:
[tex]\frac{d}{d\tau}(r^{2}\frac{d\theta}{d\tau}) - r^{2}sin\theta cos\theta (\frac{d\phi}{d\tau}) = 0[/tex]

Equation 3:
[tex]\frac{d}{d\tau}(r^{2}sin^{2}\theta (\frac{d\phi}{d\tau})) = 0[/tex]

Equation 4:
[tex]\frac{d}{d\tau}(\frac{r-2m}{r}(\frac{dt}{d\tau})) = 0[/tex]

where m and c are constants
 
Last edited:
It look like your equations have analytical solutions (probably i can be wrong). Start solving equation 4 first, then equation 3.
If I'm not mistaken, for the Schwarzschild metric, there is analytic solution.

But if you still insist on numerical solution you can try Rungge-Kutta fourth order. One of the easiest to program. But you need to rewrite your equations as system of first order DE of the form.

[tex]X'(\tau) = A(\tau) X(\tau)[/tex]

where X is a column vector and A is a matrix.


By the way why do you say your equation is 3rd order?
 
Yes the equation is 2nd order not 3rd.
 
Last edited:
Just checking my math, in the first part of Equation 2:

[tex]\frac{d}{d\tau}(r^{2}\frac{d\theta}{d\tau}) = 2r\frac{dr}{d\tau}\frac{d\theta}{d\tau} + r^{2}(\frac{d\theta}{d\tau})^{2}[/tex]

Is this correct?
 
I think from equation 2 and 3 you can obtained much simplier equation, I think.


[tex]\frac{d}{d\tau}(r^{2}\frac{d\theta}{d\tau}) = A \cot (\theta)[/tex]

where A is the arbitrary constant from eq. 2 :biggrin:
 
Any suggestions on how to solve for r and [tex]\theta[/tex] from the first two equations if the solution from equation 3 is :

[tex]\frac{d\phi}{d\tau} = \frac{constant3}{r^{2}sin^{2}\theta}[/tex]

and equation 4 is:

[tex]\frac{dt}{d\tau} = \frac{(constant4)r}{r-2m}[/tex]
 
Last edited:
I was reading this post and find it an interesting questing although general relativity is not my field :-) Finding an analytic solution seems to be a challenge and that's what I would like to try. Now it seems that there are 5 variables involved, [itex]\tau[/itex], [itex]r[/itex], [itex]\theta[/itex], [itex]\phi[/itex] and [itex]t[/itex]. Can someone tell me which variable is depending on what?
 
  • #10
Look like tau is the independent variable to me. But what confuse me is that both the letters tau and r look similar in latex.
 
  • #11
tau takes the place of s in geodesic equations and is called proper time in a "local free-fall frame replacing s by:

[tex]ds^{2} = -c^{2}d\tau^{2}[/tex]
 
Last edited:

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
6K
  • · Replies 50 ·
2
Replies
50
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K