The S-minus-P time measures distance
The P wave and the S wave leave the hypocentre at the same moment. Since S is slower, the gap between the two arrivals grows with distance, and it does not depend on when the quake happened. In rock where the S speed is the P speed divided by the square root of three, a 6 km/s P speed gives about 8.2 km of distance for every second of gap.
One station with both picks therefore puts the hypocentre on a sphere around it. Three spheres meet at a point, at least in principle. Real picks have errors and the speed model is only approximate, so a better method uses every pick at once.
Linearize the travel time around a guess
Lee and Lahr summarize Geiger’s method in Section 4.1 of the HYPO71 report. Pick a trial origin time and hypocentre. For each station compute the predicted arrival time and the residual, the observed time minus the predicted one (their Eq. 1).
If the guess is close, each residual is nearly a linear combination of four small corrections: the shift in origin time plus each spatial shift times the partial derivative of travel time along that direction (their Eq. 2). For a straight ray in uniform rock, the derivative along any direction is minus the component of the unit vector from source to station, divided by the speed.
Minimizing the sum of squared misfits leads to four normal equations (their Eqs. 3 to 5). Their solution moves the trial solution (Eq. 6), and the step is repeated until the corrections are small. If S-minus-P times are used instead of absolute times, the origin time drops out (Eq. 7).
Depth and origin time pull against each other
Stations far away from a shallow quake all see rays leaving at a low angle. Moving the source down then delays every arrival by about the same small amount, which looks almost the same as starting the quake slightly later. The columns of the matrix for depth and origin time are nearly parallel, and the normal equations become ill-conditioned.
Lee and Lahr name this problem and describe HYPO71’s answer: a step-wise regression that only adjusts the variables the data can determine at each iteration. The location Lab uses a different common remedy, a Levenberg–Marquardt step that adds a small multiple of the matrix diagonal and grows it only if a full step would raise the misfit.
S picks help more than extra P picks. An S wave from the same point arrives with a different slope against distance, so it separates depth from origin time. A station close to the epicentre helps too, because its ray leaves almost vertically.
Worked example
One distance and one row of the matrix
Use the Lab’s rock: a P speed of 6 km/s and an S speed of 6 km/s divided by the square root of three, 3.46 km/s. The gap per kilometre is 0.289 minus 0.167 seconds, 0.122 s. Its inverse is 8.20 km/s.
A station records the S wave 3.00 s after the P wave. The hypocentral distance is 3.00 times 8.20, 24.6 km. If the quake is 10 km deep, the epicentre lies 22.5 km from the station, on a circle around it.
Now take a trial hypocentre at 10 km depth directly below the origin of the map and a station 30 km east of it. The distance is 31.6 km and the P travel time 5.27 s. Moving the source 1 km east shortens the ray, so the derivative along east is minus 30 over 31.6 times 6, minus 0.158 s/km. Moving it 1 km down lengthens the ray by the depth over the distance, so the depth derivative is 10 over 31.6 times 6, 0.0527 s/km. With the origin-time column of ones, that station’s row of the matrix is 1, minus 0.158, 0, 0.0527.