the equations used in multidimensional newton raphson for gps are stated below for another derivation of these equations see langley r b the mathematics of gps gps world vol no july august pp or for an online derivation see navigation solution in gps world by torralbas roberto and alvarez jose manuel for an understanding of multidimensional newton raphson as a general numerical method see let and denote the true receiver position coordinates let denote the unknown clock error or bias let the coordinates of each satellite and the time the message was sent be let the gps clock's indicated received time be and c be the speed of light the pseudorange is computed as assume the message travels at the speed of light then the pseudorange satisfies the equation when an approximate solution rather than the exact solution is used in equation there is a residual transforming to the right hand side of the equation produces a solution will have been obtained when is zero or sufficiently close to zero for in order to linearize equation the partial derivatives are computed as where linearizing the right hand side of equation about the approximate solution there results where is the residual due to linearization which is in addition to the residual due to an approximate solution in order to drive closer to zero choose the values such that that is choose the values such that the residual in equation changes by approximately as shown below let substituting and transposing to the left hand side of the equation there results begin bmatrix f k p f k p f k p f k p end bmatrix begin bmatrix frac x k x r frac y k y r frac z k z r c