Inspired by the recent question, "If all motion is relative, how does light have a finite speed?", I tried to work out a little calculation. Where does it go wrong?
My friend Buzz is traveling in a spaceship at $c/2$, relative to me. A beam (or say, particle) of light going in the same direction enters his rear window, and exits through the front: the distance is $3\ \text m$. Buzz notes these events and finds that about $10\ \text{ns}$ elapsed which of course confirms the speed of light in his frame of reference to be around $3\times 10^8\ \text m/\text s$, as expected.
Now relative to me, both Buzz's time and the length of Buzz's craft are distorted by the Lorentz factor, which is $\sqrt{1 - 0.5^2}$ or about $1.154$. So:
- When Buzz makes his $10\ \text{ns}$ observation, that looks to me like $11.54\ \text{ns}$ have elapsed due to time dilation.
- In $11.5\ \text{ns}$, Buzz, moving at $c/2$, travels $(11.54\times 10^{-9})(1.5\times 10^8) \approx 1.73\ \text m$
- Buzz's ship is shortened by the same $1.154$ factor, and so from my perspective, the $3 \ \text m$ distance from the rear to the front window is shortened to about $2.60\ \text m$.
- Thus, in $11.54$ nanoseconds, Buzz's craft moves $1.73$ meters, and in that time, a particle of light travels from the rear to the front, which is $2.60$ meters. The total distance traveled by the light between the two intersection events should be $1.73 + 2.60 = 4.33\ \text m$.
See the problem? 4.33 meters in 11.5 nanoseconds doesn't correspond to $c$. In that much time, light can travel only $3.45\ \text m$.
So application of Bill N's answer: we have to take into account the change of position when measuring time, and vice versa, and not use the special-case dilation/contraction formula.
Buzz observes two events at different times. To translate his 10 ns into our inertial frame of reference we must first add $d{v/{c^2}}$: where $d$ is the distance from back to front, 3 m. This works out to 5 ns, giving us 15 ns. This is the value which we must then dilate by the 1.154 factor to obtain 17.3 ns.
In the inertial frame of reference, 17.3 ns is precisely the time that light needs to cover two relativity-contracted ship lengths: $2.6 \times 2 = 5.2\ \text m$. The ship is 2.6 m long. Traveling at $c/2$, it moves 2.6 m in 17.3 ns. And so, in that time, the front window is 5.2 m farther down than the starting position of the back window. By golly, that is the distance covered by light moving at $c$ in 17.3 ns.
This is just like a bird flying at 100 km/h needing two car lengths of ground distance to pass a 50 km/h car from bumper to bumper. Light at $c$ needs two (contracted) ship lengths to pass the ship moving at $c/2$.
Neglecting the $d{v/{c^2}}$ term is an obvious mistake in retrospect, because without this term, it wouldn't matter in which direction the light pulse traverses the ship: front to back or back to front, which doesn't make sense. From Buzz's point of view, of course, it doesn't matter: it's 10 ns either way. But from the stationary frame, it makes a huge difference. A pulse of light going opposite to the ship traverses only 1.73 m from back to front, rather than 5.2 m, and this takes only 5.8 ns.