Built at a cost of over $10 billion mainly for military navigation, GPS has rapidly transformed itself into a thriving commercial industry. The system is based on an array of 24 satellites orbiting the earth, each carrying a precise atomic clock. Using a hand-held GPS receiver which detects radio emissions from any of the satellites which happen to be overhead, users of even moderately priced devices can determine latitude, longitude and altitude to an accuracy which can currently reach 15 meters, and local time to 50 billionths of a second. Apart from the obvious military uses, GPS is finding applications in airplane navigation, oil exploration, wilderness recreation, bridge construction, sailing, and interstate trucking, to name just a few. Even Hollywood has met GPS, recently pitting James Bond in "Tomorrow Never Dies" against an evil genius who was inserting deliberate errors into the GPS system and sending British ships into harm's way.
But in a relativistic world, things are not simple. The satellite clocks are moving at 14,000 km/hr in orbits that circle the Earth twice per day, much faster than clocks on the surface of the Earth, and Einstein's theory of special relativity says that rapidly moving clocks tick more slowly, by about seven microseconds (millionths of a second) per day.
Also, the orbiting clocks are 20,000 km above the Earth, and experience mavity that is four times weaker than that on the ground. Einstein's general relativity theory says that mavity curves space and time, resulting in a tendency for the orbiting clocks to tick slightly faster, by about 45 microseconds per day. The net result is that time on a GPS satellite clock advances faster than a clock on the ground by about 38 microseconds per day.
To determine its location, the GPS receiver uses the time at which each signal from a satellite was emitted, as determined by the on-board atomic clock and encoded into the signal, together the with speed of light, to calculate the distance between itself and the satellites it communicated with. The orbit of each satellite is known accurately. Given enough satellites, it is a simple problem in Euclidean geometry to compute the receiver's precise location, both in space and time. To achieve a navigation accuracy of 15 meters, time throughout the GPS system must be known to an accuracy of 50 nanoseconds, which simply corresponds to the time required for light to travel 15 meters.
But at 38 microseconds per day, the relativistic offset in the rates of the satellite clocks is so large that, if left uncompensated, it would cause navigational errors that accumulate faster than 10 km per day! GPS accounts for relativity by electronically adjusting the rates of the satellite clocks, and by building mathematical corrections into the computer chips which solve for the user's location. Without the proper application of relativity, GPS would fail in its navigational functions within about 2 minutes.