I'm trying to derive the universal formulation of the time-of-flight equation that appears in the Kepler problem (following Bate Fundamentals of astrodynamics and Vallado Fundamentals of astrodynamics and applications), and I don't see a point about the hyperbolic case.
Starting from the energy equation:
$$ \dot{r}^2 = -\frac{\mu p}{r^2} + \frac{2\mu}{r} -\frac{\mu}{a} $$
after a Sundman transformation ($\dot{\chi} = \frac{\sqrt{\mu}}{r}$ ) and separating we have
$$ d\chi = \frac{dr}{\sqrt{-p + 2 r - \frac{r^2}{a}}}$$
Then both Bate and Vallado proceed and integrate assuming the elliptic case ($a > 0$), yielding
$$ \chi + c_0 = \sqrt{a} \arcsin{\frac{\frac{r}{a} - 1}{\sqrt{1 - \frac{p}{a}}}}$$
Later it is justified that this formulation is valid for elliptical, parabolic and hyperbolic orbits using the Stumpff functions, even though the integration was not performed for the case $a < 0$ ($a = 0$ is trivial). Furthermore, Vallado states "this case results in a hyperbolic sine solution, which we won't use" but after several trials I got a hyperbolic cosine solution instead:
$$ \chi + c_0 = \sqrt{-a} \cosh^{-1}{\frac{\frac{r}{-a} + 1}{\sqrt{1 - \frac{p}{a}}}}$$
I expected a sinh though, to keep simmetry with the other case.
My main question is: how come can you start from a certain case and then prove the formulation is valid for all of them? And as an aside: how would the hyperbolic derivation be?
Note: I know Battin An Introduction to the Mathematics and Methods of Astrodynamics has probably more detailed math but there's no way I can get one until the end of the holidays.
a
) and then go backwards and show the formulation works for all cases, so in principle it's already tested. Thanks for linking your question but I don't think it's related to mine. $\endgroup$