4.8.29 · D5Numerical Methods

Question bank — Solving nonlinear systems — Newton's method in n dimensions

1,607 words7 min readBack to topic

Two pictures to keep in mind

The traps below all trace back to two behaviours. Look at both figures before answering.

Figure — Solving nonlinear systems — Newton's method in n dimensions

Overshoot. On the left the linear model at (the tangent ramp) is a good guide and the full step lands near the root. On the right the same full step overshoots because the true curve bends away — the damping factor shrinks the step back into the trustworthy zone.

Figure — Solving nonlinear systems — Newton's method in n dimensions

Basins of attraction. Which root Newton reaches depends on the start in a wildly sensitive, fractal way — so "converges to the nearest root" is simply false.


True or false — justify

The Newton step direction always points "downhill" for the residual .
False on two counts. First, Newton guarantees descent of the squared residual , not itself. Its gradient is , so the directional derivative along the Newton step is — genuinely downhill, but only when is nonsingular so exists. Second, even then a full step can overshoot (see s01), which is why damped Newton scales it by .
If is linear, Newton converges in exactly one iteration from any start.
True. Then for a fixed matrix and constant vector , so is constant, the linear model is , and the first solve lands exactly on the root .
Quadratic convergence means the error is squared every step no matter where you start.
False. The bound (with and ) is local — it only kicks in once is close enough that ; far away Newton may crawl, cycle, or diverge.
A stopping test on alone is sufficient.
False. Near a nearly-singular a tiny step can occur while is still large; you must also check the residual is small.
Newton's method requires to be differentiable.
True. The whole method is built on the first-order Taylor model ; without a Jacobian there is no linear model to solve.
If is singular, Newton simply fails and produces nothing.
False. It usually still converges, just slower — the rate drops from quadratic to linear (like scalar Newton at a double root where ).
The Newton iteration is a special case of Fixed-point iteration.
True. It is the fixed-point map ; its fast convergence comes from that map's derivative vanishing at .
Doubling (unknowns) leaves the per-step cost roughly unchanged.
False. The dominant cost is the linear solve, via LU decomposition, so doubling multiplies work by about .
Newton always converges to the root nearest the starting point.
False. There is no such guarantee — Newton's "basins of attraction" are famously fractal (see s02), so a start can jump to a far-away root or diverge entirely.

Spot the error

"To update, compute then set ."
Forming explicitly is the error. Solve by one LU factorization — about cheaper and far more stable than inverting.
"The Jacobian's rows are the gradients of column ."
Mixed up. Row is (the -th component function's partials); entry runs equation across all variables .
"Since Newton converges quadratically, one iteration suffices for any tolerance."
No — quadratic means the number of correct digits doubles per step, so you still need several steps to build up those digits (e.g. ).
"We set and solve."
The right-hand side must be , not . We demand the linear model hit zero, giving .
"Broyden's method is just Newton with a better convergence rate."
Backwards. Broyden approximates to skip refactorizing, trading Newton's quadratic rate for a cheaper superlinear one — faster per step, but more steps.
"A large residual means is far from the root."
Not necessarily. If is ill-conditioned, a small residual can hide a large error and vice-versa; residual and error are only loosely linked.

Why questions

Why do we truncate Taylor after the linear term rather than keeping the quadratic term?
Keeping only the linear term makes the model a solvable linear system ; keeping the quadratic term would leave us with another nonlinear system to solve — no progress.
Why does discarding the remainder give quadratic convergence?
Because that discarded remainder is the leftover error, and it scales like (where ), so the next error is proportional to the square of the current one — that proportionality factor is the constant .
Why must be nonsingular for fast convergence?
A singular has no unique step (the linear model is flat in some direction), so the update direction blows up or is undefined — and the bound's factor would be infinite. This mirrors scalar Newton stalling where .
Why prefer solving the linear system over inverting , even though the formula shows ?
Solving needs one factorization plus back-substitution ( flops); inverting costs that and amplifies rounding error — the in the formula is notation, not an instruction.
Why is Newton called only locally convergent?
The linear model is trustworthy only near ; far from the root the neglected higher-order terms dominate, so the guarantee holds only inside a neighbourhood of (exactly the overshoot risk shown in s01).
Why does damped Newton help when the full step overshoots?
A line-search step-length shrinks the step until the squared residual actually decreases — which the Newton direction always allows since its directional derivative is — keeping you inside the region where the linear model is still a decent guide.
Why can Newton solve a linear in one step but a nonlinear one cannot?
For linear the model has zero discarded remainder, so the first solve is exact; for nonlinear the remainder is nonzero, so each step only approximates and must repeat.

Edge cases

What happens if you start exactly at the root, ?
Then , so and you stay put — the method recognises it is already done.
What if is singular mid-iteration (not at the root)?
The solve has no unique solution; the method breaks down and needs a fix (perturb , add regularisation, or switch to a globalised variant).
What if two roots sit very close together?
Their basins interleave finely (an extreme version of s02), so the same can flip between roots under tiny perturbations, and convergence may slow because is small between them.
What if has no real root at all?
Newton cannot converge to a root that doesn't exist; iterates typically diverge, wander, or cycle — a residual that never approaches zero is the tell.
What if ?
Everything collapses to scalar Newton's method (1-D): becomes the single number and the solve becomes the division .
What if the root is a whole curve of solutions (infinitely many roots)?
Then is singular along that set (some direction leaves unchanged), so quadratic convergence is lost and Newton may drift along the solution manifold rather than pin a point.

Recall One-line self-test

The single sentence that guards against most traps here ::: "The linear model is exact only for linear and trustworthy only near — everything Newton does (and fails to do) follows from that."