← Wiki Index / Computation & Algorithms / Newton's Method
💻 Computation & Algorithms

Newton's Method

Newton's method, also known as the Newton–Raphson method, is an iterative root-finding and second-order optimization algorithm that uses local linear or quadratic Taylor approximations to converge rapidly to zeros or stationary points of differentiable functions.

Newton's method, also called the Newton–Raphson method, is a foundational iterative algorithm in numerical analysis, scientific computing, and mathematical optimization that successively approximates the roots of a differentiable nonlinear function F(x) = 0 or the stationary points ∇f(x) = 0 of a twice-differentiable objective function f(x). Originating in algebraic root approximations described by Isaac Newton in 1669 and cast into modern derivative notation by Joseph Raphson in 1690 and Thomas Simpson in 1740, the method replaces a nonlinear problem at each iterate xk with its local first-order Taylor linearization, solving for the step Δxk that zeroes the tangent model.

When initialized within the basin of attraction of a simple root or a strongly convex local minimum, Newton's method exhibits local quadratic convergence: the number of accurate significant digits roughly doubles with every single iteration. This rapid asymptotic convergence distinguishes Newton's method from first-order methods such as gradient descent, which converge only linearly, and motivates both quasi-Newton approximations such as the Broyden–Fletcher–Goldfarb–Shanno algorithm and derivative-free alternatives such as the Nelder–Mead method.

Scalar Root-Finding and Local Quadratic Convergence

Given a continuously differentiable scalar function g : ℝ → ℝ and an initial estimate x0 near a root x satisfying g(x) = 0, expanding g in a first-order Taylor series around the current iterate xk gives the tangent-line approximation:

g(xk + Δx) ≈ g(xk) + g′(xk) Δx = 0.

Assuming the derivative g′(xk) is non-zero, solving for the x-intercept of this tangent line yields the scalar Newton–Raphson recurrence:

xk+1 = xk − g(xk) / g′(xk).

Error Analysis and Quadratic Convergence Rate

Let ek = xk − x denote the error at step k, and suppose g is twice continuously differentiable near a simple root x where g(x) = 0 and g′(x) ≠ 0. By Taylor's theorem with Lagrange remainder around xk, there exists a point ξk between xk and x such that 0 = g(x) = g(xk) − g′(xk)ek + (1/2)g″(ξk)ek2. Dividing by g′(xk) and rearranging produces:

ek+1 = ek − g(xk) / g′(xk) = [g″(ξk) / (2g′(xk))] ek2.

Thus, for xk close to x, |ek+1| ≈ C |ek|2 with asymptotic constant C = |g″(x) / (2g′(x*))|. Once |ek| ≤ 10−2 (assuming C ≈ 1), three additional iterations reduce the error sequentially to 10−4, 10−8, and 10−16, reaching IEEE 754 double-precision machine accuracy in 4 to 6 steps. In floating-point hardware and math libraries, division-free Newton iterations compute reciprocals 1/a via xk+1 = xk(2 − axk) and square roots √a via Heron's formula xk+1 = (1/2)(xk + a/xk).

If x is a multiple root of multiplicity m > 1 (so g(x) = g′(x) = ⋯ = g(m−1)(x) = 0), standard Newton iteration degrades to linear convergence with rate 1 − 1/m unless modified to xk+1 = xk − m · g(xk)/g′(xk).

Multivariate Systems and Second-Order Optimization

Systems of Nonlinear Equations and Kantorovich's Theorem

For a vector-valued mapping F : ℝn → ℝn, the first-order Taylor model around xk ∈ ℝn is F(xk) + JF(xk) Δxk = 0, where JF(xk) ∈ ℝn×n is the Jacobian matrix with entries [JF]ij = ∂Fi/∂xj. Rather than inverting the Jacobian explicitly, each step solves the n × n linear system:

JF(xk) Δxk = −F(xk), xk+1 = xk + Δxk,

using direct LU decomposition (for dense or moderate-size sparse problems) or an iterative Krylov solver. Leonid Kantorovich (1948) proved a landmark sufficient condition—the Newton–Kantorovich theorem—which guarantees both the existence of a root x* and quadratic convergence solely from bounds on ‖JF(x0)−1F(x0)‖ and the Lipschitz constant of JF at the initial point x0, without assuming in advance that a root exists.

Newton's Method in Unconstrained and Constrained Optimization

To minimize a twice continuously differentiable objective function f : ℝn → ℝ, one seeks a stationary point where the gradient vanishes: F(x) = ∇f(x) = 0. The Jacobian of the gradient is the symmetric Hessian matrix H(x) = ∇2f(x) ∈ ℝn×n with entries Hij = ∂2f/(∂xi∂xj). At each iteration, Newton's method minimizes the local quadratic Taylor model mk(p) = f(xk) + ∇f(xk)Tp + (1/2)pT∇2f(xk)p, yielding the Newton equations:

∇2f(xk) pk = −∇f(xk), xk+1 = xk + αk pk.

When ∇2f(xk) is symmetric positive-definite, pk is solved via Cholesky decomposition and is a descent direction (∇f(xk)Tpk < 0). Furthermore, the pure Newton step (αk = 1) is affine invariant: linearly rescaling the coordinate system x = Ay leaves the trajectory of iterates unchanged, making Newton's method immune to the coordinate ill-conditioning that slows gradient descent.

Optimization / Root SolverLocal Convergence OrderDerivatives RequiredPer-Iteration Linear Algebra CostSensitivity to Coordinate Scaling
Gradient DescentLinear (order 1)Gradient ∇f(x)O(n) vector additionHigh (slows as κ(H) grows)
Pure / Damped Newton's MethodQuadratic (order 2)Gradient ∇f and Hessian ∇2fO(n3) via Cholesky or LUAffine invariant (immune)
BFGS Quasi-NewtonSuperlinear (order 1 < q < 2)Gradient ∇f(x) onlyO(n2) rank-2 updateAsymptotically scale-adaptive
Jacobian-Free Newton–KrylovSuperlinear / QuadraticDirectional derivatives JvO(k · nnz) via GMRES or CGPreconditioner-dependent
Nelder–Mead SimplexHeuristic (no derivatives)Function values f(x) onlyO(n) vertex reflectionsModerate

Globalization, Gauss–Newton, and Newton–Krylov Extensions

Far from a solution, the pure Newton step (αk = 1) can overshoot, oscillate in a 2-cycle, diverge to infinity near inflection points where g′(xk) ≈ 0, or step toward a saddle point or local maximum if the Hessian ∇2f(xk) has negative eigenvalues. Modern production solvers globalize Newton's method via two complementary mechanisms:

  1. Line-search damping and Levenberg–Marquardt regularization: If ∇2f(xk) is not positive-definite, adding a positive shift ∇2f(xk) + λkI restores positive-definiteness, and a backtracking Armijo–Wolfe line search selects step size αk ∈ (0, 1] until f(xk + αkpk) decreases sufficiently, switching to αk = 1 near the minimum to preserve quadratic convergence.
  2. Trust-region Newton–CG (Steihaug–Toint) and Jacobian-Free Newton–Krylov (JFNK): For large-scale PDE systems where forming or factoring JF(xk) is prohibitive, each outer Newton step solves JF(xk) Δxk ≈ −F(xk) inexactly using the generalized minimal residual method or the conjugate gradient method, evaluating matrix-vector products via directional finite differences JF(xk)v ≈ [F(xk + εv) − F(xk)]/ε or automatic differentiation.

Frequently Asked Questions

What is the Gauss–Newton method for nonlinear least squares?

When minimizing a sum of squared residuals f(x) = (1/2)‖r(x)‖22, the full Hessian is ∇2f(x) = Jr(x)TJr(x) + ∑i ri(x)∇2ri(x). The Gauss–Newton method drops the second-derivative term and solves the linear least-squares subproblem Jr(xk) Δxk ≈ −r(xk) via QR decomposition at each step, achieving near-quadratic convergence when the optimal residual ‖r(x*)‖2 is small.

Why do Newton fractals appear in the complex plane?

Applying Newton's method to a complex polynomial such as z3 − 1 = 0 partitions the complex plane ℂ into basins of attraction for the three cube roots of unity. By Arthur Cayley's and Gaston Julia's analysis, the boundary between any two basins is simultaneously the boundary of all three basins, forming a self-similar Julia fractal where arbitrarily small perturbations in initial guess z0 lead to different roots.

References

  1. Kantorovich, L. V. (1948). Functional analysis and applied mathematics. Uspekhi Matematicheskikh Nauk, 3(6), 89–185. https://doi.org/10.6028/jres.049.014
  2. Dennis, J. E., & Moré, J. J. (1977). Quasi-Newton methods, motivation and theory. SIAM Review, 19(1), 46–89. https://doi.org/10.1137/1019005
  3. Knoll, D. A., & Keyes, D. E. (2004). Jacobian-free Newton–Krylov methods: A survey of approaches and applications. Journal of Computational Physics, 193(2), 357–397. https://doi.org/10.1016/j.jcp.2003.08.010
  4. Nocedal, J., & Wright, S. J. (2006). Numerical Optimization (2nd ed.). Springer. https://doi.org/10.1007/978-0-387-40065-5
🧬 Support Open Science
Explore interactive science games on LowKey Games or browse scientific apparel & accessories in the CRV Science Shop.
💡 Spot an inaccuracy or have primary literature to expand this article?
Submit a citation or revision note using your shared CRV Science / LowKey Games profile ID.
Suggest Revision