The Daily Reckoning
How Can a Tangent Line Find √2?
Newton’s method replaces a hard curve with an easy tangent, then repeats. For square roots, the error nearly squares itself away at every step.
- Difficulty
- Intermediate
- Area
- Calculus and numerical analysis
- Reading time
- 9 minutes
- Prerequisites
- Derivatives of polynomials · Tangent lines · Algebra with fractions
Suppose a calculator must produce , but its arithmetic unit can only add, subtract, multiply, and divide. How can those four operations find a number whose decimal expansion never ends?
Begin with a poor guess:
If were exactly , then would be the same number. Instead, is too small and is too large. Average the two:
Repeat the same arithmetic and the estimate improves with startling speed:
The familiar square-root average is one case of Newton’s method, an algorithm that searches for a zero of a function by repeatedly drawing a tangent line.
Walk the tangent steps
The diagram uses the function . Its positive zero is because . Change the starting guess, then use the buttons to follow successive tangent lines.
Tangent-step explorer
Climb to the curve; follow the tangent back to zero
| Step | Approximation | Absolute error |
|---|---|---|
| x0 | 1.0000000000 | 4.142e-1 |
| x1 | 1.5000000000 | 8.579e-2 |
| x2 | 1.4166666667 | 2.453e-3 |
| x3 | 1.4142156863 | 2.124e-6 |
| x4 | 1.4142135624 | 1.595e-12 |
| x5 | 1.4142135624 | 0.000e+0 |
The method climbs vertically from the current estimate to the point . The tangent at that point meets the horizontal axis at the next estimate . Near , the axis crossings crowd together so tightly that the last steps become almost invisible.
The rule, with its conditions exposed
Let be a differentiable function, and suppose the equation
has a solution. A number that makes equal zero is called a root or zero of .
Choose an initial estimate . At step , the tangent line to the graph of at has equation
where is the derivative of evaluated at . To find where the tangent crosses the horizontal axis, set :
Solving for the next estimate gives the Newton update
The division requires . The update also needs a starting estimate from which the sequence actually approaches the intended root. The National Institute of Standards and Technology Digital Library of Mathematical Functions states the result precisely: near a simple zero, Newton’s rule converges locally and quadratically. “Locally” means that sufficiently close starting values work. “Quadratically” describes how the error behaves once the estimates are close.
Why the square-root average is a tangent calculation
To compute , use
Its derivative is
Insert those two expressions into the general Newton update:
The tangent construction and the “average a guess with divided by that guess” rule are the same algorithm written in two forms.
Worked example: from one digit to twelve
Start at . The first update is
For the second update, keep the fraction exact:
The third update is
One more update gives
The true value begins
so four tangent steps after the initial guess agree with through 11 decimal places.
The speed is not luck. Let and define the error after step by
Because , the next error satisfies an exact identity:
Once is close to , the denominator is close to , while the numerator is the previous error squared. Squaring a small number makes it much smaller. That is why the number of correct digits roughly doubles at each successful late step.
Fast does not mean foolproof
For , every positive starting guess produces positive updates and converges to . The starting value is forbidden because the update divides by . A negative starting guess converges to the other root, .
General functions can behave worse. Consider
Start at :
The next step returns to zero:
The sequence then repeats and never reaches the real root. A production root finder usually watches for small derivatives, stalled progress, cycles, and estimates that leave a trusted interval. Newton’s method is powerful because local linear approximations are powerful; it can fail because a tangent line only describes the curve near the point of contact.
Try the update
Problem 1
Use the square-root update to approximate . Begin with and compute and exactly as fractions.
Reveal the solution
For , replace in the update by :
The first step is
The second step is
Squaring the exact fraction gives
already close to .
Problem 2
Apply one Newton step to starting from .
Reveal the solution
Differentiate first:
At ,
Therefore
The target root is , so the tangent step moved the estimate closer.
A method with more than one inventor
The need to extract square roots predates calculus by millennia. The Old Babylonian artifact known as Yale Babylonian Collection (YBC) tablet 7289, dated to the nineteenth through seventeenth centuries before the Common Era (BCE), records an approximation to accurate to about six decimal places, according to the Yale Peabody Museum. A New York University Institute for the Study of the Ancient World exhibit says the tablet shows that Babylonian scribes possessed a method for accurate square-root estimates. Historians David Fowler and Eleanor Robson argue that this particular tablet was probably a trainee scribe’s school exercise copied from a coefficient list; their 1998 study reconstructs an algorithm consistent with the broader Old Babylonian evidence without claiming to know the tablet writer’s exact calculation.
In seventh-century India, Brahmagupta presented a square-root algorithm in the Brāhmasphuṭasiddhānta. The MacTutor biography of Brahmagupta reports that the algorithm is equivalent to the iteration now associated with Newton and Raphson. Brahmagupta’s mathematical work belonged to a treatise on astronomy as well as arithmetic and algebra; accurate computation served calendars, planetary models, and eclipse calculations.
The European history adds another layer. Isaac Newton had devised a method for approximating polynomial roots by 1669. Joseph Raphson published a streamlined modification in 1690. The derivative-based update displayed in this lesson, however, appeared in Thomas Simpson’s 1740 work. A historical study in the British Journal for the History of Science argues that attributing the modern formula directly to Newton is a durable historical transposition; the MacTutor biography of Simpson likewise credits Simpson with the present iterative form.
“Newton’s method” is therefore a convenient name for a long development, not a complete account of its invention.
Where tangent steps are used
Many equations that arise in science and engineering have no useful closed-form solution. A numerical root finder turns “solve ” into arithmetic a computer can repeat. The NIST Digital Library of Mathematical Functions treats Newton’s rule as a standard method for nonlinear equations and links it throughout its chapters for computing zeros of special functions.
The same update appears in more than one mathematical disguise. To locate a stationary point of a function , solve ; Newton’s method applied to the derivative uses both and . For several unknowns, the scalar derivative becomes a Jacobian matrix and each step solves a linear system. Those extensions support parameter fitting, equilibrium calculations, implicit simulation steps, and optimization. Practical software often combines Newton steps with slower safeguards because the two-cycle above is not an academic curiosity: a fast local method still needs a plan for bad starting values.
One idea to remember
Newton’s method asks a curve an easier question. Instead of solving directly, it solves the tangent line’s equation, moves to that answer, and asks again.
To continue, revisit how a derivative captures instantaneous change and how mathematics makes convergence exact. The next numerical-analysis question is how to bracket a root so that an iteration cannot wander away.
Sources
- National Institute of Standards and Technology, “§3.8 Nonlinear Equations”, Digital Library of Mathematical Functions.
- Eric W. Weisstein, “Newton’s Iteration”, Wolfram MathWorld.
- Yale Peabody Museum, “Ancient Egypt and Mesopotamia”, YBC 7289 exhibit note.
- New York University Institute for the Study of the Ancient World, “Tablet illustrating Pythagoras’ Theorem and the square root of 2”.
- David Fowler and Eleanor Robson, “Square Root Approximations in Old Babylonian Mathematics: YBC 7289 in Context”, Historia Mathematica, volume 25, issue 4, 1998, pages 366–378.
- J. J. O’Connor and E. F. Robertson, “Brahmagupta”, MacTutor History of Mathematics, University of St Andrews.
- Nick Kollerstrom, “Thomas Simpson and ‘Newton’s method of approximation’: an enduring myth”, British Journal for the History of Science, volume 25, issue 3, 1992, pages 347–354.
- J. J. O’Connor and E. F. Robertson, “Thomas Simpson”, MacTutor History of Mathematics, University of St Andrews.