2-body problem - how to get the angle theta?

Click For Summary

Homework Help Overview

The discussion revolves around the analytical solution of the two-body problem, specifically focusing on how to determine the angle theta as a function of time. The original poster references a book for guidance but encounters difficulties in relating the angle theta to the displacement vector r, which is also time-dependent.

Discussion Character

  • Exploratory, Assumption checking, Conceptual clarification

Approaches and Questions Raised

  • Participants explore the relationship between the angle theta and the displacement vector r, questioning the dependency of each on the other. There are attempts to rewrite expressions involving theta but uncertainty remains regarding how to compute theta as a function of time.

Discussion Status

Some participants have offered insights into rewriting trigonometric expressions and the nature of the solutions available for theta. However, there is a recognition that an explicit analytical solution for theta(t) does not exist, leading to discussions about numerical methods and series solutions instead.

Contextual Notes

There is mention of the original poster's intent to compare numerical integration methods with an exact solution for the two-body problem, highlighting a potential gap in available resources or references regarding the analytical solutions.

alyx_vance
Messages
7
Reaction score
0

Homework Statement


I'm trying to solve the 2-body problem analytically by following this book:
http://books.google.com/books?id=im...ential equations&pg=PA60#v=onepage&q&f=false"
(note: the book preview is not complete, but you can find pages 69-73 http://books.google.com/books?id=oNvFAzQXBhsC&lpg=PA58&pg=PA64#v=onepage&q&f=false", it's a different version of the book but this section is identical as far as i noticed)

On page 68, the last equation (2.35) gives me the solution to r, the magnitude of the displacement vector between the bodies. But how do I get the angle [tex]\theta[/tex]? It's a function of time too, but all the equations with it contain also r, which I don't have yet computed.
I understand how to get the constants (probably) and how to convert between the various coordinate systems, but I just don't see a way to get the angle [tex]\theta[/tex]. As far as I see it, r(t) depends on [tex]\theta[/tex](t) and [tex]\theta[/tex](t) depends on r(t), so I'm kind of stuck...

Homework Equations


Equation 2.35 in the first book link and 2.36 in the second.

The Attempt at a Solution


I wondered if maybe [tex]\theta'[/tex] is constant but it doesn't seem so. I think I am missing some basic concept :(
 
Last edited by a moderator:
Physics news on Phys.org
Acos(θ)+Bsin(θ) can be written in terms of a single cosine (or if you prefer, a single sine):

Acos(θ)+Bsin(θ)
=1/sqrt(A2+B2) * (cos(φ)cos(θ)+sin(φ)sin(θ))
=1/sqrt(A2+B2)*cos(θ-φ)

Since we get to define the starting point of θ, we might as well define it so that the phase φ is 0. In fact, this is how the orbit equation is usually written; I don't know why your book doesn't write the equation this way.
 
I'm sorry but I still don't understand it :(
I get it that the Acos(θ)+Bsin(θ) can be rewritten using only a single cosine...but that doesn't tell me how to compute θ(t). Define it so that the phase is 0? How? Isn't it changing with time?
 
Oh, I'm sorry; I misunderstood your question. There is no explicit solution for θ(t). Theta (also called the true anomaly) can only be calculated using numerical methods like Newton's. For the solar system, this works well because the orbits are nearly circular and corrections are small compared to the angle calculated assuming a circular orbit (called mean anomaly).
 
Oh. Wasn't there supposed to be an analytical exact solution to the 2-body problem? I am writing a n-body simulator and I wanted to compare the numerical integration methods to an exact solution in the case of two bodies...
Could you please give me some reference? I didn't see it mentioned anywhere that 2-body needs numerical methods. And is there some open-source software I could look into to see how it's done? It would save me some time, thanks.
 
Last edited:
There's an analytical solution to the two-body problem in the sense that:

1) You can write the distance r in terms of theta, the true anomaly
2) You can write down the formula for a converging series that gives the true anomaly

However, this doesn't mean that there's a closed-form solution (one with no series, just well-known functions) to the true anomaly. As it turns out, there isn't.

The solution for the true anomaly is essentially the solution to the inverse Kepler equation. See: http://en.wikipedia.org/wiki/Kepler's_Equation. Once you get the eccentric anomaly, true anomaly can be calculated using the much simpler equation here: http://en.wikipedia.org/wiki/Eccentric_anomaly#From_the_true_anomaly

In practice, however, that series isn't usually used. See here for practical numerical methods of calculating the true anomaly: http://www.stargazing.net/kepler/kepler.html
 
Last edited by a moderator:
Thank you very much, the last link looks helpfull.
 

Similar threads

Replies
3
Views
2K
  • · Replies 18 ·
Replies
18
Views
2K
Replies
2
Views
2K
Replies
5
Views
1K
Replies
9
Views
2K
Replies
4
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 15 ·
Replies
15
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K