Freixas said:
Let's say Bob's and Alice's clocks sync when the entry end of track passes by Bob.
Ok, then we can call this the origin of coordinates in both frames, so it has coordinates ##(x, t) = (0, 0)## in both frames.
Freixas said:
Alice thinks the clocks on both ends of her track are perfectly sync'ed (she made sure before she left for Tahiti). Bob doesn't see things that way: the exit clock is off by some amount. The exit end is 1 light second away and the track is moving at .5c. What is the time discrepancy that Bob see's on the exit clock relative to the entry clock?
Anyway, that is what I trying to figure out now.
It looks like
@SlowThinker has already given a solution that satisfies you, but I'm going to go ahead and work it the way I would work this type of problem. Actually I'll work it two ways.
The first way is to work things first from Alice's frame and then transform back to Bob's frame. This way is simpler, as we'll see, but it does assume that the light's speed is ##1## in Alice's frame, whereas you seemed to want to start with assuming that in Bob's frame. That's what the second way will show.
First way: since the entry end of the track is at ##x = 0## in both frames when Bob passes Alice, and since it's motionless in Alice's frame, the entry end of the track is always at ##x' = 0## in Alice's frame. (I'll use primed coordinates for Alice's frame and unprimed coordinates for Bob's frame.) Since the track is 1 light second long, the exit end of the track is always at ##x' = 1## in Alice's frame. So if the light is moving at speed ##1## in Alice's frame, then the events A1 and A2 (from my previous definitions) have coordinates ##(0, 0)## and ##(1, 1)## in this frame. And since Alice is co-located with the entry end of the track, event A3 (from my previous definitions) will have coordinates ##(0, 1)## in this frame. So obviously the light's elapsed travel time is 1 second in this frame, and it traveled distance 1, for speed 1.
Now, with all these coordinates, we can Lorentz transform to Bob's frame. Since this is an inverse transform, the equations are ##x = \gamma \left( x' + v t' \right)## and ##t = \gamma \left( t' + v x' \right)##. So the coordinates of the three events in Bob's frame turn out to be:
A1: ##\left( 0, 0 \right)##
A2: ##\left( \gamma(1 + v), \gamma(1 + v) \right)##
A3: ##\left( \gamma v, \gamma \right)##
Note that events A2 and A3 are not simultaneous in Bob's frame; A3 happens first. Note also that, by construction, the clock at the entry end of the track (which is also the clock co-located with Alice) reads 1 at event A3, while the clock at the exit end of the track reads 1 at event A2.
Finally, note that, in Bob's frame, the light pulse travels ##\gamma(1 + v)## light seconds in ##\gamma(1 + v)## seconds, so it has speed 1.
Second way: event A1 has coordinates ##(x, t) = (0, 0)## in Bob's frame. Since the light pulse travels from A1 to A2, event A2 must have coordinates ##(T, T)## in Bob's frame, where ##T## is a time (or distance, either one will work) that we have to calculate.
We calculate ##T## by figuring out the worldline of the exit end of the track in Bob's frame. The exit end of the track is traveling at speed ##v## in this frame, while the light pulse is traveling at speed ##1##. And since the track is length contracted in this frame, the exit end of the track must pass through an event I'll call A4, which has coordinates ##(1 / \gamma, 0)## in Bob's frame (i.e., at time zero in this frame, the time when the entry end is co-located with Bob, the exit end is the length contracted length ##1 / \gamma## further along). So the worldline of the exit end of the track in Bob's frame satisfies the equation
$$
x = \frac{1}{\gamma} + v t
$$
We then simply set ##x = t = T## in the equation above to obtain for event A2:
$$
T = \frac{1}{\gamma(1 - v)} = \gamma(1 + v)
$$
So we have event A2 with coordinates ##\left( \gamma(1 + v), \gamma(1 + v) \right)##.
We can now Lorentz transform the coordinates of event A2 to Alice's frame. The transformation equations are ##x' = \gamma \left( x - v t \right)## and ##t' = \gamma \left( t - v x \right)## (note the minus signs this time since this is a "forward" transform from the unprimed to the primed frame--this is the version you usually see in textbooks). This gives:
A2: ##(x', t') = \left( \gamma^2(1 + v)(1 - v), \gamma^2(1 + v)(1 - v) \right) = \left( 1, 1 \right)##
So in Alice's frame, the light pulse travels 1 light-second in 1 second, for a speed of 1.
To illustrate the "clock offset", we Lorentz transform the coordinates of event A4 to Alice's frame. This gives:
A4: ##(x', t') = \left( 1, - v \right)##
In other words, the clock at the exit end of the track reads time ##- v## at event A4, which is the event at which, in Bob's frame, the exit end is located at time ##t = 0##, i.e., at the same time (in Bob's frame) as the pulse passes the entry end of the track. This illustrates the relativity of simultaneity: events A1 and A4 happen at the same time in Bob's frame, but not in Alice's frame; in Alice's frame, event A4 happens first, ##v## seconds
before the pulse enters the track.
Since the "clock offset" terminology seems to work better for you, one way to help yourself figure out problems like this is to think "clock offset" whenever you see "relativity of simultaneity". They're two ways of viewing the same thing.