Suppose you want to find a number whose square is 2. There is no neat formula you can plug into — the answer, √2, has digits that never end and never repeat. So how does your calculator spit out 1.41421356… in a blink?
The trick is over three centuries old. Newton's method (worked out by Isaac Newton around 1669 and refined by Joseph Raphson in 1690, so it is also called Newton–Raphson) replaces the hard curved problem with an easy straight-line one. Stand on the curve at your current guess, slide down the tangent line to where it crosses zero, and use that crossing as your next guess.
What makes it magical is the speed. Once you are reasonably close, every step roughly doubles the number of correct digits. Three or four steps can take you from "about right" to more decimals than you will ever need.
Comments
Loading comments...