Broyden’s Method
Source inspiration: (Mathew 2000-2019).
Description
Solving a nonlinear system \(\mathbf{F}(\mathbf{X}) = \mathbf{0}\) in \(n\) dimensions by Newton’s method is powerful but expensive: every iteration requires computing all \(n^2\) partial derivatives that form the Jacobian matrix \(J(\mathbf{X}^{(k)})\). In large problems this cost can dominate the computation. Broyden’s method eliminates that bottleneck by maintaining an approximate Jacobian that is cheaply updated at each step using only the change in function values — no additional derivative or finite-difference evaluations are needed after the first iteration.
Newton’s Method for Systems (the baseline)
For a vector function \(\mathbf{F}(\mathbf{X}) = \bigl(f_1(\mathbf{X}),\dots,f_n(\mathbf{X})\bigr)^T\) Newton’s method linearizes \(\mathbf{F}\) at the current iterate and solves the resulting \(n \times n\) linear system:
\[J\!\left(\mathbf{X}^{(k)}\right)\Delta\mathbf{X}^{(k)} = -\mathbf{F}\!\left(\mathbf{X}^{(k)}\right), \qquad \mathbf{X}^{(k+1)} = \mathbf{X}^{(k)} + \Delta\mathbf{X}^{(k)}.\]
It converges quadratically near a simple root but demands \(n^2\) new partial-derivative evaluations each step. See Nonlinear Systems for the full treatment.
Reducing Cost with a Finite-Difference Jacobian
One obvious improvement replaces every partial derivative with a finite-difference quotient. For two dimensions:
\[M_{ij} \approx \frac{F_i(\mathbf{X} + h\,\mathbf{e}_j) - F_i(\mathbf{X} - h\,\mathbf{e}_j)}{2h},\]
where \(\mathbf{e}_j\) is the \(j\)-th unit vector and \(h\) is a small step size. This “Pseudo-Newton” or finite-difference Newton approach trades symbolic derivatives for \(2n^2\) additional function evaluations per iteration. For large \(n\) this is still expensive.
The Broyden Update: A Quasi-Newton Method
Broyden’s method goes further: instead of recomputing (or re-approximating) the full Jacobian at every step, it updates the previous approximate Jacobian \(B_k\) using only the information gained in the last iteration. The key requirement is the quasi-Newton (secant) condition — the new approximate Jacobian must satisfy
\[B_{k+1}\,\mathbf{s}_k = \mathbf{y}_k,\]
where \(\mathbf{s}_k = \mathbf{X}^{(k+1)} - \mathbf{X}^{(k)}\) is the step taken and \(\mathbf{y}_k = \mathbf{F}(\mathbf{X}^{(k+1)}) - \mathbf{F}(\mathbf{X}^{(k)})\) is the corresponding change in function values. This is the multidimensional analogue of the scalar secant equation \(f'(x) \approx (f(x_1) - f(x_0))/(x_1 - x_0)\).
The secant condition alone does not uniquely determine \(B_{k+1}\) when \(n > 1\). Broyden’s rank-1 update resolves the ambiguity by choosing the matrix closest to \(B_k\) (in the Frobenius sense) that satisfies the secant condition:
\[B_{k+1} = B_k + \frac{\left(\mathbf{y}_k - B_k\,\mathbf{s}_k\right)\mathbf{s}_k^T}{\mathbf{s}_k^T\,\mathbf{s}_k}.\]
This is a least-change secant update: the correction to \(B_k\) has rank 1, so only \(O(n^2)\) arithmetic operations are needed to update the approximate Jacobian, and no new function evaluations are required beyond computing \(\mathbf{F}(\mathbf{X}^{(k+1)})\).
Algorithm
Step 0. Compute the exact Jacobian \(B_0 = J(\mathbf{X}^{(0)})\). Apply one Newton step to obtain the first iterate:
\[\mathbf{X}^{(1)} = \mathbf{X}^{(0)} - B_0^{-1}\,\mathbf{F}\!\left(\mathbf{X}^{(0)}\right).\]
For \(k = 1, 2, \dots\):
- Evaluate \(\mathbf{F}(\mathbf{X}^{(k)})\).
- Update the approximate Jacobian: \[B_k = B_{k-1} + \frac{\left(\mathbf{F}(\mathbf{X}^{(k)}) - \mathbf{F}(\mathbf{X}^{(k-1)}) - B_{k-1}\,\mathbf{s}_{k-1}\right)\mathbf{s}_{k-1}^T}{\mathbf{s}_{k-1}^T\,\mathbf{s}_{k-1}}.\]
- Solve \(B_k\,\Delta\mathbf{X} = -\mathbf{F}(\mathbf{X}^{(k)})\) for the step \(\Delta\mathbf{X}\).
- Update: \(\mathbf{X}^{(k+1)} = \mathbf{X}^{(k)} + \Delta\mathbf{X}\).
Convergence
Broyden’s method converges superlinearly near a simple root — faster than linear, but slower than Newton’s quadratic rate. As a general result, this needs \(\mathbf{F}\) continuously differentiable with a Lipschitz-continuous Jacobian near the root \(\mathbf{X}^*\), \(J(\mathbf{X}^*)\) nonsingular (a simple root), and \(\mathbf{X}^{(0)}\) and \(B_0\) close enough to \(\mathbf{X}^*\) and \(J(\mathbf{X}^*)\); with \(B_0 = J(\mathbf{X}^{(0)})\), as here, \(B_0\) is close whenever \(\mathbf{X}^{(0)}\) is. The ratio of successive errors \(\|\mathbf{X}^{(k+1)} - \mathbf{X}^*\| / \|\mathbf{X}^{(k)} - \mathbf{X}^*\|\) then tends to zero: in Case A it is between 0.02 and 0.04 for each of the first four steps and about \(8\times10^{-4}\) for the fifth, where the log-scale residual plot steepens. Each iteration after the first avoids the \(n^2\) derivative evaluations, so when evaluating the Jacobian dominates the cost, Broyden’s method can reach a given accuracy in less total work than Newton’s method. As written, step 3 still solves a linear system, which costs \(O(n^3)\) for a dense matrix, the same order as the solve in Newton’s method; the arithmetic per iteration falls to \(O(n^2)\) when \(B_k^{-1}\) or a factorization of \(B_k\) is updated instead, for example with the Sherman–Morrison formula. Convergence can fail if the starting point is far from a root or if the approximate Jacobian becomes ill-conditioned.
Animations
Each animation below shows Broyden’s method converging on the nonlinear system
\[f_1(x,y) = 1 - 4x + 2x^2 - 2y^3 = 0, \qquad f_2(x,y) = -4 + x^4 + 4y + 4y^4 = 0.\]
The blue curve is \(f_1 = 0\) and the red curve is \(f_2 = 0\); their intersections are the solutions. The system has exactly two real solutions, near \((0.062,\,0.724)\) and \((1.556,\,-0.576)\), and both lie inside the plotted window. In the left panel each frame adds the next iterate \(\mathbf{X}^{(k)}\), connected to the earlier ones by a line; after the first (Newton) step the iterates are too close to the root to separate at this scale. The right panel plots \(\|\mathbf{F}(\mathbf{X}^{(k)})\|\) on a log scale, which is where the Broyden steps show.
Julia source scripts that generated these animations are linked under each case.
The system and both starting points follow Mathews’ Broyden’s Method module: Example 5 poses this system for Broyden’s method, but its archived copy is missing the starting-point, result and graph images, so the starting points are those of the standard Broyden runs in Example 8, whose printed iterates these animations reproduce. The module’s Newton’s-method and pseudo-Newton examples (Examples 1 and 3), its improved Broyden method based on the Sherman–Morrison formula (Example 8), and its exercises in three and four dimensions are not animated here.
Case A — Convergent, \(\mathbf{X}^{(0)} = (0.1,\,0.7)\), root \(\approx (0.062,\, 0.724)\)
Behavior: Starting close to the upper intersection, the initial exact Newton step moves the iterate by about 0.05 and reduces \(\|\mathbf{F}\|\) from \(2.5\times10^{-1}\) to \(7.8\times10^{-3}\). The Broyden steps that follow update the approximate Jacobian by the rank-1 formula, with no new derivative evaluations, and bring \(\|\mathbf{F}\|\) down to about \(10^{-15}\) (machine precision) at \(\mathbf{X}^{(6)}\). From \(\mathbf{X}^{(0)}\) to \(\mathbf{X}^{(4)}\), \(\|\mathbf{F}\|\) shrinks by between 24 and 43 times per step, and over each of the last two steps by more than 1000 times, consistent with the superlinear convergence described above.

Case B — Convergent, \(\mathbf{X}^{(0)} = (1.5,\,-0.5)\), root \(\approx (1.556,\,-0.576)\)
Behavior: Starting close to the lower-right intersection, the same Broyden algorithm converges to that lower-right solution. \(\|\mathbf{F}\|\) falls at every step, from \(7.3\times10^{-1}\) at \(\mathbf{X}^{(0)}\) to about \(3\times10^{-14}\) at \(\mathbf{X}^{(7)}\), but unevenly: by a factor of only about 5 from \(\mathbf{X}^{(3)}\) to \(\mathbf{X}^{(4)}\), then by more than 1000 times in each of the last two steps. This case illustrates that the method is starting-point dependent: a different initial guess finds a different root.
