Newton's Method

Newton’s method for nonlinear systems is a fixed-point iteration that uses the Jacobian matrix J(x⃗)J(\vec{x}) of FF to get quadratic convergence.

Iteration

G(x⃗)=x⃗−J(x⃗)−1F(x⃗)G(\vec{x}) = \vec{x} - J(\vec{x})^{-1}F(\vec{x})
x⃗(k)=x⃗(k−1)−J(x⃗(k−1))−1F(x⃗(k−1)),k≥1\vec{x}^{(k)} = \vec{x}^{(k-1)} - J(\vec{x}^{(k-1)})^{-1}F(\vec{x}^{(k-1)}), \quad k \geq 1

Convergence is quadratic, provided a sufficiently accurate starting value x⃗(0)\vec{x}^{(0)} is known and J(p⃗)−1J(\vec{p})^{-1} exists.

Worked Examples

Example 1

Apply Newton’s method to the nonlinear system with its Jacobian, starting from x⃗(0)=(0.1,0.1,−0.1)T\vec{x}^{(0)} = (0.1, 0.1, -0.1)^T.

Solution Reveal Hide
F(x⃗(0))≈(−1.199950,−2.269833,8.462025)TF(\vec{x}^{(0)}) \approx (-1.199950, -2.269833, 8.462025)^TJ(x⃗(0))≈(30.001000−0.0010000.200000−32.4000000.995004−0.099005−0.09900520.000000)J(\vec{x}^{(0)}) \approx \begin{pmatrix} 3 & 0.001000 & -0.001000 \\ 0.200000 & -32.400000 & 0.995004 \\ -0.099005 & -0.099005 & 20.000000 \end{pmatrix}

Solving J(x⃗(0))y⃗(0)=−F(x⃗(0))J(\vec{x}^{(0)})\vec{y}^{(0)} = -F(\vec{x}^{(0)}) gives

y⃗(0)≈(0.399870,−0.080533,−0.421520)T\vec{y}^{(0)} \approx (0.399870, -0.080533, -0.421520)^Tx⃗(1)=x⃗(0)+y⃗(0)≈(0.499870,0.019467,−0.521520)T\vec{x}^{(1)} = \vec{x}^{(0)} + \vec{y}^{(0)} \approx (0.499870, 0.019467, -0.521520)^T

Repeating converges to x⃗(5)≈(0.500000,0.000000,−0.523599)T\vec{x}^{(5)} \approx (0.500000, 0.000000, -0.523599)^T, matching the exact solution p⃗=(0.5,0,−π/6)\vec{p} = (0.5, 0, -\pi/6).

Example 2

Apply Newton’s method to

x12+x22−4=0x1x2−1=0\begin{aligned} x_1^2 + x_2^2 - 4 &= 0 \\ x_1 x_2 - 1 &= 0 \end{aligned}

starting from x⃗(0)=(2,0.5)T\vec{x}^{(0)} = (2, 0.5)^T.

Solution Reveal Hide
J(x⃗)=(2x12x2x2x1)J(\vec{x}) = \begin{pmatrix} 2x_1 & 2x_2 \\ x_2 & x_1 \end{pmatrix}

Iteration 1

F(x⃗(0))=(0.250),J(x⃗(0))=(410.52)F(\vec{x}^{(0)}) = \begin{pmatrix} 0.25 \\ 0 \end{pmatrix}, \quad J(\vec{x}^{(0)}) = \begin{pmatrix} 4 & 1 \\ 0.5 & 2 \end{pmatrix}

Solving Jy⃗=−FJ\vec{y} = -F gives y⃗(0)=(−0.066667,0.016667)T\vec{y}^{(0)} = (-0.066667, 0.016667)^T.

x⃗(1)=(1.933333,0.516667)T\vec{x}^{(1)} = (1.933333, 0.516667)^T

Iteration 2

F(x⃗(1))=(0.004722−0.001111),J(x⃗(1))=(3.8666671.0333330.5166671.933333)F(\vec{x}^{(1)}) = \begin{pmatrix} 0.004722 \\ -0.001111 \end{pmatrix}, \quad J(\vec{x}^{(1)}) = \begin{pmatrix} 3.866667 & 1.033333 \\ 0.516667 & 1.933333 \end{pmatrix}y⃗(1)=(−0.001481,0.000970)T,x⃗(2)=(1.931853,0.517637)T\vec{y}^{(1)} = (-0.001481, 0.000970)^T, \quad \vec{x}^{(2)} = (1.931853, 0.517637)^T

The exact root is x1=2+3=1.931852x_1 = \sqrt{2 + \sqrt{3}} = 1.931852, x2=1/x1=0.517638x_2 = 1/x_1 = 0.517638.

Wolfram Mathematica notebooks

A companion notebook for this note. Open it in Mathematica and evaluate the cells to reproduce the worked example.

The summary notebook defines every function used in this module, with documentation and no examples, as a starting point for your own problems.

Written by November 11, 2026 1 min read
Was this helpful?