Calculate Time Dilation for Space Travel w/ Formula

  • Context: Graduate 
  • Thread starter Thread starter DET
  • Start date Start date
  • Tags Tags
    Formula Lorentz
Click For Summary
SUMMARY

This discussion focuses on calculating time dilation for sub-light space travel using specific formulae rather than iterative methods. The key equations involve proper time (τ) and the Lorentz factor (γ), defined as γ = 1/√(1-β²), where β is the speed as a fraction of the speed of light. Participants suggest using the formulas from John Baez's article on relativistic rockets, which provide practical expressions for elapsed time experienced by travelers and observers. The calculations are exemplified with a journey to Epsilon Eridani, estimating subjective and objective time based on constant acceleration.

PREREQUISITES
  • Understanding of special relativity concepts, particularly time dilation
  • Familiarity with the Lorentz factor (γ) and its calculation
  • Basic programming skills, particularly in C# for implementing calculations
  • Knowledge of proper time (τ) and its significance in relativistic travel
NEXT STEPS
  • Study the derivation of the Lorentz factor (γ) in detail
  • Explore John Baez's article on relativistic rockets for practical applications
  • Implement and test the provided C# code for time dilation calculations
  • Research the implications of constant acceleration on time experienced by travelers
USEFUL FOR

Science fiction writers, physicists, and programmers interested in the effects of relativistic travel on time perception and narrative accuracy.

DET
Messages
31
Reaction score
9
Sorry, there's going to be a lot of preamble here.

I've written a book that involves a lot of space travel, therefore a lot of time dilation (all sub-light travel). I've been calculating the transit times and subjective durations by brute force, i.e. I wrote a program to calculate tau on a second-by-second basis, accumulate time, calculate 'real' acceleration, and accumulate velocity. It works up to a point, but beyond a certain distance, even double-precision variables aren't enough.

It occurs to me that there should be formulae to calculate the results without using an iterative approach. something like

SubjectiveElapsedTime = MagicFunction1(distance,acceleration);
MaximumSpeed= MagicFunction2(distance,acceleration);
ObjectiveElapsedTime = MagicFunction3(distance,acceleration);

So, given a distance that you want to travel, and a given constant acceleration, you could calculate the total time experienced by the occupants, the elapsed time to the universe at large, and the maximum speed of the craft.

Also, of course you accelerate for half the journey and decelerate for the second half, so just consider the first half.

Aaaaaaaaaaaaaanyway, finally coming to the end of my preamble, someone must have derived these formulae at some point, but I can't find them anywhere. Any pointers?
 
Physics news on Phys.org
Bizmuth said:
So, given a distance that you want to travel, and a given constant acceleration, you could calculate the total time experienced by the occupants, the elapsed time to the universe at large, and the maximum speed of the craft.

Focus on what's called proper time. That's the time on your wrist watch. When the traveler returns he finds that less proper time has elapsed on his watch that on the watches of the people back home.

Also, of course you accelerate for half the journey and decelerate for the second half, so just consider the first half.

But those two halves put the traveler in a far-away location. Don't you want him to return home?

The easiest way to do this is to just assume a constant speed for the traveler. That speed is ##\beta##, a number between 0 and 1, where 1 is the speed of light. Then you calculate the value of ##\gamma## using the formula $$\gamma=\displaystyle \frac{1}{\sqrt{1-\beta^2}}.$$ Then relate the time passed at home ##\Delta t## to the time passed by the traveler ##\Delta \tau## using ##\Delta t=\gamma \Delta \tau##.

So, for example, when ##\beta=0.87##, ##\gamma \approx 2##. Thus, if one year passes for the traveler before returning home, two years pass for the people at home.
 
Bizmuth said:
Aaaaaaaaaaaaaanyway, finally coming to the end of my preamble, someone must have derived these formulae at some point, but I can't find them anywhere. Any pointers?
See if this helps:
https://en.wikipedia.org/wiki/Proper_acceleration
subsection Acceleration in (1+1)D
 
Last edited:
Bizmuth said:
It occurs to me that there should be formulae to calculate the results without using an iterative approach. something like
I think the equations you are looking for are in this article.

image010.gif


image011.gif


Where a0 is the acceleration and tau is the proper time.
Sorry I keep forgetting the Latex syntax, I have to look it up each time . . . :(
 
Thanks all. I'm going to try to extract the most straightforward versions of the formulae and run them.
 
Bizmuth said:
Thanks all. I'm going to try to extract the most straightforward versions of the formulae and run them.
On reflection I'd go for the Baez ones as they contain c explicitly and have a direct expression for v.
 
The baez formulae were the easiest to convert into something practical. I wrote this: classProgram
{
static void Main(string[] args)
{
double ObjTime = 0;
double SubjTime = 0;
double Accel = 9.8;
double C = 300000000;
double Distance = C * 10.5*365*86400;

// t = sqrt[(d/c)2 + 2d/a]
ObjTime = Math.Sqrt(Math.Pow(Distance / C, 2) + 2 * Distance / Accel);
ObjTime = ObjTime / (86400 * 365);
Console.WriteLine("Takes " + ObjTime.ToString() + " years");

// T = (c/a) cosh-1 [ad/c2 + 1]
SubjTime = (C / Accel) * arcosh(Accel * Distance / Math.Pow(C, 2) + 1);
SubjTime = SubjTime / (86400 * 365);

Console.WriteLine("Experience " + SubjTime.ToString() + " years");
Console.ReadLine();
}

// acosh(z) = ln(z +/- sqrt(z * z - 1))
static double arcosh(double z)
{
returnMath.Log(z + Math.Sqrt(z + 1) * Math.Sqrt(z - 1),Math.E);
}
}

Results:

Takes 11.4295610709807 years
Experience 3.06828961086255 years

It's within range of what I was getting with the brute-force approach. On an first-cut basis, this looks good.

Thanks, all.
 
A useful check - if you change units to c=1 (which is what the formulae m4r35n357 quotes do) and measure time in years, then you measure distance in light years and it turns out that g≈1 light year per year squared.

You seem to be talking about a journey of 10.5 light years (presumably it's 21 ly one way, with a turn-over half way). Plugging x=10.5 and a0=g=1 into m4r35n357's first expression gives you that the experienced time is \tau=\cosh^{-1}(10.5+1)=3.13, which you can plug into the second expression to get the time according to an observer at rest with respect to the traveller's starting point t=\sinh(3.13)=11.5.

I don't agree with you exactly, but my figure for g is only good to about 5% - so I think you're good.

Calling these "objective" and "subjective" time is making my teeth itch a bit. You've got two different subjective times - there isn't really anything one can call "objective time". The one you are calling objective is the one that everybody sitting at home will use, but it's not objectively correct.

By the way - you can use code tags to display code nicely (quote my post to see how):
Code:
class C {
    void someMethod() {
    }
}
 
Last edited:
  • #10
Thanks for the pointer about the code tag. I should know about that (probably did at one time) but I don't use it enough to remember.

As for the objective/subjective thing, I know I'm playing fast and loose, but I think it's obvious that I'm talking about observer at rest vs accelerated observer, and anyway the average reader isn't going to sweat it. They just want to know that the story takes into account relativistic effects.

The 10.5 is actually the distance to Epsilon Eridani, which is my hero's first stop. And yeah, he actually brakes so I redid the calc with a turnover halfway. It looks like my iterative approach was a little optimistic, by which I mean it calculated the tau effects a little high.
Ibix said:
A useful check - if you change units to c=1 (which is what the formulae m4r35n357 quotes do) and measure time in years, then you measure distance in light years and it turns out that g≈1 light year per year squared.

You seem to be talking about a journey of 10.5 light years (presumably it's 21 ly one way, with a turn-over half way). Plugging x=10.5 and a0=g=1 into m4r35n357's first expression gives you that the experienced time is \tau=\cosh^{-1}(10.5+1)=3.13, which you can plug into the second expression to get the time according to an observer at rest with respect to the traveller's starting point t=\sinh(3.13)=11.5.

I don't agree with you exactly, but my figure for g is only good to about 5% - so I think you're good.

Calling these "objective" and "subjective" time is making my teeth itch a bit. You've got two different subjective times - there isn't really anything one can call "objective time". The one you are calling objective is the one that everybody sitting at home will use, but it's not objectively correct.

By the way - you can use code tags to display code nicely (quote my post to see how):
Code:
class C {
    void someMethod() {
    }
}
 
  • #11
Bizmuth said:
As for the objective/subjective thing, I know I'm playing fast and loose, but I think it's obvious that I'm talking about observer at rest vs accelerated observer, and anyway the average reader isn't going to sweat it. They just want to know that the story takes into account relativistic effects.
Agreed - although you do get pedantic physicists (if that's not a tautology) reading SF. If you're using it in your text you could consider throwing in a line about your characters knowing it's not quite right, but it being a convenient jargon.

Bizmuth said:
The 10.5 is actually the distance to Epsilon Eridani, which is my hero's first stop. And yeah, he actually brakes so I redid the calc with a turnover halfway. It looks like my iterative approach was a little optimistic, by which I mean it calculated the tau effects a little high.
Again, ballpark, I make that 2.5 years "subjective" and 6.2 years "objective" for each half journey (so 5.0 years and 12.3 years for the full trip).
 

Similar threads

  • · Replies 18 ·
Replies
18
Views
2K
  • · Replies 29 ·
Replies
29
Views
2K
  • · Replies 65 ·
3
Replies
65
Views
12K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 55 ·
2
Replies
55
Views
4K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 39 ·
2
Replies
39
Views
8K
  • · Replies 18 ·
Replies
18
Views
1K
  • · Replies 37 ·
2
Replies
37
Views
6K
  • · Replies 27 ·
Replies
27
Views
3K