Calculus in the wild
Your phone solves a calculus problem to find you
Every circle is drawn a little too wide, so the four do not share a point.
Four satellites, one clock error, and Newton’s method running dozens of times a second in your pocket.
Open a map and a blue dot appears on your street. Behind it, your phone has just solved four equations in four unknowns, and the way it solves them is a technique you may have met in your first calculus course: Newton’s method.
The setup: distances you cannot quite measure
Each GPS satellite broadcasts the time it sent its signal. Your phone notes when it arrives, and the delay times the speed of light gives a distance. One distance puts you on a sphere around that satellite; two spheres meet in a circle; three meet in two points. So three satellites should be enough.
They are not, because your phone’s clock is cheap. Radio travels about 30 centimetres per nanosecond, so a clock that is off by a millionth of a second misplaces you by roughly 300 metres. The receiver’s clock error is a fourth unknown, and the fourth satellite is what pays for it. The phone solves for position (x, y, z) and clock error b together.
Where calculus walks in
Each satellite gives one equation, with satellite i at known position (xi, yi, zi) and measured pseudo-distance ρi:
√((x − xi)² + (y − yi)² + (z − zi)²) + b = ρi.
These are not linear, so there is no tidy formula to rearrange. The standard move is the one from tangent lines: guess a position, replace each curved equation by its tangent approximation (a derivative, here a matrix of partial derivatives), solve the resulting linear system, and use the answer as the next guess. That is Newton’s method in several variables. In practice a few passes get a receiver to within the noise of the measurements, and it repeats as you move.
The twist: the satellites’ clocks are deliberately “wrong”
The satellites orbit about 20,000 km up at roughly 3.9 km/s. Einstein’s special relativity says their clocks run slow because of that speed, by about 7 microseconds a day. General relativity says they run fast because gravity is weaker up there, by about 45 microseconds a day. The net is a gain of about 38 microseconds per day. Left uncorrected, that is roughly 11 kilometres of position error accumulating each day. So the clocks are tuned slightly off before launch to cancel it.
(Both corrections are computed from small-change reasoning: a clock’s rate shifts by an amount you get from the derivative of a potential and a velocity squared. We will not derive them here; Ashby’s review linked below does.)
Why this is worth knowing
It is a rare case where a century-old idea in calculus, a century-old idea in physics and a few hundred lines of code meet in something nearly everyone uses. Every time your phone says “recalculating”, the tangent-line idea is running in your pocket.
Worth a look: the plain-language explainer at gps.gov and Ashby’s open-access review of relativity in GPS (links below).
What we are not claiming
Real receivers use refinements (more than four satellites, filtering over time, error models for the atmosphere), so “Newton’s method” is the core idea rather than the whole pipeline. Numbers above are rounded from the sources and are re-checked before publishing.
Sources, checked 5 November 2026. The four-satellite geometry, the atomic clocks and the 20,350 km orbit are from gps.gov’s “How GPS Works” poster (“Once a GPS device knows its distance from at least four satellites, it can use geometry to determine its location on Earth in three dimensions”); the error sources are from gps.gov, GPS Accuracy. The four equations in four unknowns, the 30 cm-per-nanosecond figure, the orbital radius and speed (a = 2.656×107 m, v = 3.874 km/s) and the relativistic rate correction (−4.4647×10−10, applied to the 10.23 MHz clock before launch) are from Neil Ashby, “Relativity in the Global Positioning System”, Living Reviews in Relativity 6 (2003); the several-variable Newton step is from OpenStax Calculus Volume 1 §4.9, Newton’s Method. Every figure was recomputed: 1 µs × c = 299.8 m; 4.4647×10−10 × 86,400 s = 38.6 µs per day; 38.6 µs × c = 11.6 km per day; v²/2c² = 8.3×10−11 (7.2 µs per day) and the gravitational term gives the other 45 µs. Two limits: the 7/45/38 split is rounded, and the figure is a schematic, not a scale drawing.
Next
Paradoxes & puzzles
Zeno’s paradox, and why 0.999… is exactly 1
The other argument about an infinite process that finishes anyway: a limit doing the work while your intuition objects.
Your turn
Who would you put beside Newton and Leibniz?
The people moving calculus forward now are alive and working. Name one.
Join free
Get the best new stories
An occasional email when there is a piece worth your time. Free, one click to leave.
One email address is all we ask for. We never sell or share it.
Advertisement
MasterMathMentor.com
Free course material for high-school math teachers.