GLOBAL KNOWLEDGE ARK

Mathematics · Article

Root finding and iterative methods

Solve scalar equations and nonlinear systems with explicit convergence hypotheses, verified enclosures, sensitivity bounds, safeguarded iterations and honest stopping certificates.

Back to Mathematics

After reading, you can

  • State the equation, admissible domain, root-selection rule and data model before choosing a numerical method.
  • Derive bisection, fixed-point, Newton, secant, inverse-interpolation and Halley updates together with their actual convergence hypotheses.
  • Turn residuals, derivative bounds, invariant intervals and interval enclosures into explicit existence, uniqueness and error certificates.
  • Explain multiple roots, arithmetic and evaluation error, noise floors, denominator failures and the difference between a small step and an accurate root.
  • Extend local reasoning to nonlinear systems, inexact linear solves, merit-function line searches and continuation without inventing a global guarantee.
  • Use exact polynomial isolation and scientific error budgets to distinguish a proved root, a plausible iterate, a selected branch and a count of all roots.
01

An equation, an algorithm and a certificate

A root-finding calculation begins with a scientific question: which admissible state satisfies the equation? A zero of f(x), a minimizer of |f(x)|, a selected real branch and a list of every complex zero are different answers. Throughout the scalar real discussion, the function and its derivatives are defined on the stated interval; complex and vector extensions are introduced with their own hypotheses. Data values, scales and units belong to the problem specification. A mathematical existence theorem does not by itself tell a finite-arithmetic program which root to return.

The central distinction is between an update and a certificate. Bisection narrows a continuous sign-changing bracket; a contraction keeps its iterates in a complete invariant set; Newton and higher-order methods exploit a local model. A residual enclosure combined with an inverse-slope bound can certify an error, while interval Newton or a contraction inclusion can prove existence and uniqueness. Each conclusion has a domain and assumptions. The conditioning lesson supplies the language for separating sensitivity of the equation from stability of its evaluation and solution algorithm.

These ideas connect directly to computing and AI, physics, and engineering. An implicit computational layer and an equilibrium model both require a nonlinear solve, yet an algebraic zero can violate a model's admissible state constraints. An engineering design may need the root on one operating branch, a count of all possible operating states, or a guaranteed enclosure. Continuation can follow a branch until a fold challenges the parameterization; a line search can improve a local step without proving that a root exists. We therefore develop the fast methods, the failure examples and the certificates together, keeping model, data, discretization and arithmetic errors separate.

02

The root and its admissible domain

A root is an admissible input r for which a specified equation f(r)=0 holds. State the domain before choosing an algorithm: a logarithmic equation may exclude nonpositive inputs, a physical calibration may select one positive root, and a complex polynomial may have several branches of solutions. For a vector equation F(x)=0, both the dimension of the data and the intended solution set matter. An iteration is a means of approaching a target, not a definition of which target is intended.

Finding one approximation, proving that an interval contains exactly one root, and isolating every real root are different tasks. A sequence converging to one root supplies no count of unseen roots. Conversely, a root count in a wide interval need not give a sufficiently accurate numerical approximation. A reliable computation states whether its conclusion concerns existence, uniqueness, location, a residual, or completeness of an enumeration.

Scaling also matters. Multiplying f by a nonzero constant preserves its exact zeros but changes the numerical size and units of its residual. A residual of one microvolt and a residual of one micrometre cannot share a tolerance merely because their numerical values agree. Dividing an equation by an expression that can vanish, or squaring an equation without preserving a sign restriction, may change the admissible root set rather than simply reformulate it.

Minimizing |f| or one half of ||F||² can help construct an iteration, but a stationary point of that objective need not be a root. A real equation with no zero can still have a least-residual point. We will therefore keep the exact equation, its admissible domain, its data uncertainty and a meaningful output-error measure visible throughout the analysis. Each convergence or certification statement below has its own hypotheses. For the root and multiplicity framework and the dependence of conditioning on the specified problem, see [Digital Library of Mathematical Functions, Section 3.8: Nonlinear Equations](https://dlmf.nist.gov/3.8); [What Is a Condition Number?](https://nhigham.com/2020/03/19/what-is-a-condition-number/).

03

What a sign bracket proves

Let f be a continuous real function on a closed interval [a, b], with a<b. An exact zero at either endpoint already solves the existence question. Otherwise, if f(a) and f(b) have opposite signs, the intermediate value theorem gives at least one r in (a, b) with f(r)=0. Continuity on the whole interval is essential; signs alone do not describe what happens between the evaluated endpoints.

The bracket does not generally establish uniqueness. A continuous oscillating function can cross zero several times inside it. One sufficient additional condition is a continuous derivative with |f prime(x)|>=m>0 throughout the interval. Its sign cannot change without passing through zero, so f is strictly monotone. Equivalently, Rolle’s theorem would contradict the derivative bound if two distinct roots existed.

A missing sign change does not exclude every kind of root. The function (x-r)² is nonnegative on either side of its root, so a bracket based only on opposite signs can miss that even-multiplicity zero. Root isolation by additional monotonicity, polynomial structure, interval ranges or other exact information can still be possible. The limitation belongs to the sign-change test rather than to the existence of a root.

Conversely, f(x)=1/x has opposite signs at -1 and 1 but no zero. It is undefined at zero and is not continuous on [-1, 1], so the intermediate value theorem does not apply. A solver must preserve exclusions such as poles and branch boundaries instead of treating every apparent sign reversal as a root. Endpoint evaluations and domain validation are separate pieces of evidence. For real-root bracketing and the derivative setting, see [Digital Library of Mathematical Functions, Section 3.8: Nonlinear Equations](https://dlmf.nist.gov/3.8); [Basic Analysis II: Continuity and the Derivative](https://www.jirka.org/ra/html/sec_svthedercont.html).

04

Bisection and a nested-interval proof

Start with a continuous sign bracket [a_0, b_0] whose endpoints are not roots. At step n, evaluate the exact midpoint m_n=(a_n+b_n)/2. If f(m_n)=0, stop with that root. Otherwise retain the half whose endpoint signs are opposite: [a_n, m_n] or [m_n, b_n]. The intermediate value theorem preserves a root in every retained interval, and the new width is exactly half the old width.

If the method never meets an exact zero, the intervals are nested and their widths are L/2^n after n updates, where L=b_0-a_0. Their left endpoints increase and their right endpoints decrease, with the same limit r because their separation tends to zero. The sign invariants and continuity imply f(r)=0: a strictly positive or negative value at r would force both nearby endpoints to have the same sign, contradicting the bracket.

After n updates, the midpoint of the retained interval is at distance at most L/2^(n+1) from every point in that interval, including r. This is a location certificate independent of the slope of f. It differs from an endpoint residual bound and still says nothing about uniqueness unless that was separately proved. A returned endpoint has the weaker worst-case distance bound of the full current width.

Every bisection preserves a signed bracketThree updates from the unit-wide bracket; The final certified midpoint is calculated after the last update. Its error radius is half the retained width, measured in x rather than in function values.Every bisection preserves a signed bracketUpdate 1Test 3/2 (+); keep [1, 3/2]Update 2Test 5/4 (−); keep [5/4, 3/2]Update 3Test 11/8 (+); keep [5/4, 11/8]Rows show the retained interval after testing the named point
The final certified midpoint is calculated after the last update. Its error radius is half the retained width, measured in x rather than in function values.

Continuity and the strict opposite signs force an intervening zero. On these intervals 3x²−1>0, so the root is unique. Each exact midpoint halves the interval selected by its sign. If the test is exactly zero, that root is certified immediately. Otherwise the estimate from the retained interval must be formed after the update.

Exact bracket certificate
QuantityExact result
Initial endpoints and values[1, 2]; [−1, 5]
Retained bracket[5/4, 11/8]
Retained signs−, +
Last tested midpoint11/8
New bracket midpoint21/16
Width and midpoint error radius[1/8, 1/16]
Total updates sufficient for radius ≤1/10009
Additional updates from selected bracket6
Exact inputs and supporting calculations
Declared inputs
ParameterValue
a1
b2
steps3
Exact bisection rows
kBeforeTested midpointFunction valueSignAfter
1[1, 2]3/27/8+[1, 3/2]
2[1, 3/2]5/4−19/64−[5/4, 3/2]
3[5/4, 3/2]11/8115/512+[5/4, 11/8]

One new midpoint value is needed per nonterminal update if the valid endpoint values are retained. The final midpoint used only as an interval center need not be evaluated to obtain the half-width location bound. These counts assume exact signs and exact midpoint arithmetic. With rounded evaluations or representability limits, the maintained enclosure and its actual width must replace an unqualified appeal to the ideal halving proof. For classical bracketing and safeguarded root finding, see [Digital Library of Mathematical Functions, Section 3.8: Nonlinear Equations](https://dlmf.nist.gov/3.8); [An algorithm with guaranteed convergence for finding a zero of a function](https://maths-people.anu.edu.au/~brent/pd/rpb005.pdf).

05

Iteration counts and finite-precision midpoints

For an initial width L>0 and an absolute location tolerance tau>0, the exact midpoint certificate after n updates is L/2^(n+1)<=tau. Thus n=max(0, ceil(log_2(L/(2tau)))) is sufficient, counting completed bracket updates and assuming no earlier exact zero. The maximum with zero handles a bracket already narrow enough. If an application counts midpoint evaluations before updating, it must translate the index convention explicitly.

A computed logarithm near an integer can be rounded to the wrong side. A robust implementation can check the final inequality directly with a reliable bound, or compare safely scaled widths rather than trusting a rounded ceiling alone. A tolerance of zero is not covered by the finite iteration bound. Relative tolerances also require an output scale and careful treatment of a root near zero.

The formula (a+b)/2 can overflow even when the midpoint is finite. The alternative a+(b-a)/2 can overflow in its subtraction when the endpoints have opposite extreme signs. Dividing both endpoints before adding has different tiny-range rounding behavior. A numerical implementation therefore needs a midpoint strategy compatible with its format, endpoint signs and range; no single real-arithmetic identity automatically supplies every machine guarantee.

Eventually a rounded midpoint may equal an endpoint because no representable number lies strictly between the two. Repeating that update cannot reproduce the ideal halving argument. Preserve the final interval and report its actual enclosure relative to the requested tolerance, or improve the representation when authorized. A stagnated machine iterate is not by itself an exact real zero, and the promised exact-arithmetic iteration count is not a proof of representability. For bracketing in finite arithmetic, see [An algorithm with guaranteed convergence for finding a zero of a function](https://maths-people.anu.edu.au/~brent/pd/rpb005.pdf); the explicit midpoint-count and representability distinctions above are derived here.

06

Certified function signs

Suppose a validated evaluator returns an interval F(x) known to contain the true real value f(x). A strictly positive lower endpoint proves f(x)>0, and a strictly negative upper endpoint proves f(x)<0. Only such certified signs may be used to update a sign bracket from this information alone. The enclosure can include arithmetic error, approximation error and any explicitly modeled uncertainty in the input data.

If the validated enclosure is exactly F(x)=[0, 0], it proves f(x)=0. If F(x) contains zero and also nonzero values, the point may be an exact root, a near root, or simply poorly evaluated. That nonsingleton enclosure alone neither distinguishes these possibilities nor proves that x itself is a root: it bounds possible function values at one point, rather than giving an input-existence theorem. Another independent bracket or interval argument may still prove that a root exists nearby.

A tighter evaluation, an exact computation, a better reformulation or more accurate data can sometimes resolve the sign. Increasing precision alone need not remove irreducible measurement uncertainty, and it will not make the sign of an exact zero strictly positive or negative. A solver should retain the unresolved enclosure and identify its cause rather than silently choose the sign suggested by the rounded center.

If a family of admissible continuous functions shares certified negative and positive endpoint signs, every member has at least one root in the interval. Uniqueness for each member requires corresponding derivative or monotonicity evidence. That family statement is stronger and different from certifying a root of one stored approximation. Preserve the distinction when a scientific equation itself is uncertain. For computed sign information and verified nonlinear enclosures, see [An algorithm with guaranteed convergence for finding a zero of a function](https://maths-people.anu.edu.au/~brent/pd/rpb005.pdf); [Verification methods: Rigorous results using floating-point arithmetic](https://www.tuhh.de/ti3/rump/intlab/ActaNumerica2010.pdf).

07

Root sensitivity and a residual bound

Let a real root r exist in an interval I, let xhat also lie in I, and suppose f is differentiable between them with |f prime|>=m>0. The mean value theorem gives f(xhat)-f(r)=f prime(xi)(xhat-r) for some intermediate xi. Therefore |xhat-r|<=|f(xhat)|/m. The existence of r and a derivative lower bound on the entire connecting interval are premises, not conclusions obtained from a small residual.

If the available function value is yhat with a rigorous error bound |yhat-f(xhat)|<=epsilon_f, replace the numerator by |yhat|+epsilon_f. A large derivative at the single point xhat is insufficient to justify m on the intervening interval. Likewise, the formula does not control an unknown physical-model error unless that error has been incorporated into the data-to-root analysis.

For a parameterized real equation H(r, d)=0 with H continuously differentiable and H_x(r, d) nonzero, the local implicit-function theorem gives dr/dd=-H_d/H_x, interpreted as a row derivative for vector data. Its units and conditioning depend on the parameter scales. This is local simple-root sensitivity; a finite parameter change also needs a valid continuation neighborhood or another finite bound.

A constant equation multiplier changes both residual and derivative by the same absolute factor, leaving the ratio |f|/m invariant when both are transformed consistently. Reporting a residual without its sensitivity scale loses that invariance. Relative root error additionally requires a nonzero root or a separate reference scale. The absolute certificate remains meaningful at a zero root when its hypotheses hold. For local root sensitivity, inverse functions and derivative bounds, see [Digital Library of Mathematical Functions, Section 3.8: Nonlinear Equations](https://dlmf.nist.gov/3.8); [Basic Analysis II: Inverse and Implicit Function Theorems](https://www.jirka.org/ra/html/sec_svinvfuncthm.html); [Basic Analysis II: Continuity and the Derivative](https://www.jirka.org/ra/html/sec_svthedercont.html).

08

Multiplicity changes the inverse problem

Near a real root of finite multiplicity m>=1, write f(x)=(x-r)^m h(x), with h continuous and h(r) nonzero. For a polynomial this follows by factoring the maximal power of x-r; a sufficiently smooth scalar function admits the same local factorization under the corresponding vanishing derivatives and nonzero m-th derivative. The factorization and its neighborhood must be justified for the function being analyzed.

Continuity gives positive constants c and C on a sufficiently small neighborhood with c<=|h(x)|<=C. Consequently c|x-r|^m<=|f(x)|<=C|x-r|^m. Thus (|f(x)|/C)^(1/m)<=|x-r|<=(|f(x)|/c)^(1/m). For m>1, a linear residual-to-distance estimate with one fixed finite inverse-slope constant cannot hold uniformly down to r.

The same factorization explains sensitivity to changes in the equation. A constant perturbation of size delta in a leading model a(x-r)^m gives root displacements of scale |delta|^(1/m), when the chosen real branch exists. For an even multiplicity, one sign of the perturbation can remove nearby real roots while the other splits the root into two. A root-selection rule and real-versus-complex domain are part of that statement.

Multiplicity is therefore a property of the exact problem, not something proved by a slowly moving numerical sequence. Near multiple roots, derivative estimates, deflation and residual tolerances can become particularly misleading. Later modified Newton formulas exploit a justified factor structure, but neither their name nor a tiny residual replaces the local existence, multiplicity or uncertainty assumptions. For multiplicity and the scope of local implicit-function reasoning, see [Digital Library of Mathematical Functions, Section 3.8: Nonlinear Equations](https://dlmf.nist.gov/3.8); [Basic Analysis II: Inverse and Implicit Function Theorems](https://www.jirka.org/ra/html/sec_svinvfuncthm.html).

09

Fixed points on an invariant interval

Let g map a nonempty closed real interval I into itself and satisfy |g(x)-g(y)|<=q|x-y| for all x, y in I, with 0<=q<1. Successive differences of x_(n+1)=g(x_n) are bounded by q^n|x_1-x_0|. Summing the geometric tail shows that the iterates form a Cauchy sequence. Completeness of I supplies a limit r in I, and continuity of g gives g(r)=r.

Two fixed points r and s would obey |r-s|=|g(r)-g(s)|<=q|r-s|, forcing r=s. The same geometric sum gives |x_n-r|<=q^n|x_1-x_0|/(1-q). For n>=1, it also gives the a posteriori bound |x_n-r|<=q|x_n-x_(n-1)|/(1-q). When q=0, g is constant and one iteration already reaches its unique fixed point.

For any proposed x in I, insert g(x) between x and r: |x-r|<=|x-g(x)|+q|x-r|. Rearranging gives |x-r|<=|x-g(x)|/(1-q). If g(x) is only enclosed, use an upper bound for that residual. This certificate weakens as q approaches one; a small raw fixed-point residual is not uniformly decisive without its contraction factor.

To solve f(x)=0 by this theorem, the fixed-point equation must be equivalent to the intended root equation on I. For g(x)=x-alpha f(x), a nonzero alpha gives that equivalence, but interval invariance still needs proof. A derivative bound |g prime|<=q<1 on an interval supplies the Lipschitz estimate by the mean value theorem. Failure to prove q<1 does not prove divergence; it only leaves this particular theorem unavailable. For the complete contraction theorem used in this certificate, see [Basic Analysis II: Contraction Mapping Principle](https://www.jirka.org/ra/html/sec_metpicard.html).

10

Choosing a relaxation parameter

Suppose f is continuously differentiable on an interval and 0<m<=f prime(x)<=M there. For g_alpha(x)=x-alpha f(x), the derivative lies between 1-alpha M and 1-alpha m. Thus a uniform derivative bound is q(alpha)=max(|1-alpha m|, |1-alpha M|). The scale of alpha includes the ratio of input units to function units, so that g_alpha has the same units as x.

Among positive constant alpha, the best bound occurs when the two endpoint expressions have equal magnitude and opposite sign: 1-alpha m=-(1-alpha M). Solving gives alpha=2/(m+M), with q=(M-m)/(M+m)<1. To see minimality, before that balance the larger endpoint magnitude can be decreased by increasing alpha; after it, the magnitude at M increases. Outside the sign-changing range both endpoint expressions move away from a better interior choice.

This derivative bound proves contraction only after g_alpha maps the chosen complete domain into itself. A derivative bound alone does not establish that invariance. For example, f(x)=2x+100 on [0, 1] satisfies 2<=f prime<=8, but alpha=1/5 gives g_alpha(x)=3x/5-20, entirely outside the interval. Indeed, the intended root is not in [0, 1]. An endpoint, range or other invariant-set argument is still necessary.

If the same derivative bounds hold globally on the whole real line, the map automatically has that complete domain available, and a global contraction argument is possible. On a restricted physical interval, the boundary conditions cannot be discarded. Negative derivative bounds can be treated after changing the equation sign. An uncertain derivative requires enclosing bounds before the minimax parameter or q can be called a certificate. For derivative-based Lipschitz bounds and the invariant-domain contraction theorem, see [Basic Analysis II: Continuity and the Derivative](https://www.jirka.org/ra/html/sec_svthedercont.html); [Basic Analysis II: Contraction Mapping Principle](https://www.jirka.org/ra/html/sec_metpicard.html).

11

Newton steps from a local linear model

At a current scalar point x, the first-order model for the function at x+s is f(x)+f prime(x)s. Solving this linear equation for zero gives s=-f(x)/f prime(x), and the Newton proposal is x_next=x-f(x)/f prime(x). This derivation explains the tangent-line construction, but it has omitted the nonlinear remainder. The tangent intercept is not automatically a root of the original function.

If f(x)=0 is established exactly, the root can be returned before any derivative division. If f(x) is nonzero and f prime(x)=0, the linear model has no zero and the Newton formula is undefined. A very small or uncertain derivative can produce a large or poorly determined step. A numerical algorithm must decide how to enclose, reject, damp or safeguard that proposal instead of substituting a convenient denominator.

The proposed point may leave the valid domain of f or a region where derivative bounds hold. A local theorem will control this only for a sufficiently small neighborhood of a simple root. Global mechanisms such as a maintained sign bracket or a valid merit decrease impose additional tests. Function or derivative evaluation errors also change the actual step and belong in a separate inexact analysis.

Newton’s method for a vector system follows the same idea with a Jacobian linear system rather than division by a scalar. One solves for a step instead of assuming that explicitly forming an inverse is numerically harmless. In both cases the local model, the calculation of its solution and the scientific root certificate are distinct levels of reasoning. For the Newton iteration framework, see [Digital Library of Mathematical Functions, Section 3.8: Nonlinear Equations](https://dlmf.nist.gov/3.8).

12

A complete local quadratic bound

Let r be a real root and assume f is C2 on a neighborhood containing the closed interval [r-rho, r+rho]. Suppose |f prime(x)|>=m>0 and |f double-prime(x)|<=M throughout that interval. Taylor’s theorem applied from x to r gives 0=f(x)-f prime(x)e+f double-prime(xi)e²/2, where e=x-r and xi lies between x and r. Substitution into Newton’s formula gives e_next=f double-prime(xi)e²/(2f prime(x)).

Consequently |e_next|<=C|e|², with C=M/(2m). If C rho<1, every starting point with |e_0|<=rho stays in the interval, because |e_next|<=C rho|e|<=rho. The error decreases at least geometrically by the factor C rho, so the sequence converges to r. This is an induction using a known root neighborhood; the theorem does not discover an unknown r merely from one computed derivative.

For C>0, the stronger repeated inequality gives C|e_n|<=(C|e_0|)^(2^n). This describes the local quadratic acceleration after all hypotheses are satisfied. If M=0, f is affine on the interval and one exact Newton step reaches r. Exact zero errors are terminal rather than inputs to a ratio used to define an asymptotic order.

A residual needs a justified slope lower boundTwo Newton steps for √5; The marks are exact iteration values. The numerical proximity in a plot is not used as the root certificate.A residual needs a justified slope lower bound-0.9201.11.8022.37One exact x coordinate scalex_0=2x_1=9/4x_2=161/72Exact method positionsIteration locations on the x coordinate
The marks are exact iteration values. The numerical proximity in a plot is not used as the root certificate.

Newton gives N(x)=(x+c/x)/2. Writing α=√c, the exact identity is N(x)−α=(x−α)²/(2x), so both updates lie on or above the root. The stated positive interval contains α and the final iterate. Its derivative is at least 2 times the lower endpoint, so the mean-value theorem bounds the forward error by |f(x_final)| divided by that lower slope.

Exact iteration and slope certificate
QuantityExact result
Initial residual−1
First statusRun two exact steps
First and second updates[9/4, 161/72]
Final residual1/5184
Positive certificate interval[2, 9/4]
Lower bound for derivative4
Absolute error certificate1/20736
Exact inputs and supporting calculations
Declared inputs
ParameterValue
c5
x2
Exact residuals at readout points
StepIterateResidual
02−1
19/41/16
2161/721/5184

The lower derivative bound, upper second-derivative bound and domain radius must apply to the entire relevant neighborhood. A pointwise estimate of M or m is not the same evidence. Nor does this exact-arithmetic theorem prove that a rounded, noisy or damped implementation has identical steps. Later enclosures and inexact-step bounds explain which additional facts can turn local mathematical convergence into a computable certificate. For Newton iteration and the derivative bounds underlying this explicit local estimate, see [Digital Library of Mathematical Functions, Section 3.8: Nonlinear Equations](https://dlmf.nist.gov/3.8); [Basic Analysis II: Continuity and the Derivative](https://www.jirka.org/ra/html/sec_svthedercont.html).

13

Asymptotic order and its coefficient

For a simple root r of a C2 real function, put e=x-r. The exact Newton error can be written as [e f prime(x)-f(x)]/f prime(x). Because f(r)=0, the numerator equals the integral from r to x of f prime(x)-f prime(t). Changing variables on that segment gives e² times the integral from zero to one of s f double-prime(r+s e) ds. This identity is valid from either side of the root.

Continuity of f double-prime and nonzero f prime(r) therefore give e_next/e² tending to f double-prime(r)/(2f prime(r)) as x tends to r through nonzero errors. If that coefficient is nonzero, a nonterminal convergent Newton sequence has quadratic order with absolute asymptotic error constant |f double-prime(r)/(2f prime(r))|. The signed coefficient also describes the leading side of the next error.

If f double-prime(r)=0, the C2 conclusion is only e_next=o(e²). It does not automatically establish a cubic power law. With C3 smoothness, a further expansion does give an at-least-cubic error in that case, with leading coefficient f triple-prime(r)/(3f prime(r)) when it is nonzero. If that coefficient also vanishes, another justified expansion is needed.

An asymptotic order concerns a limiting sequence near its target. It does not state how many preliminary steps are needed to enter the local region, whether the first proposal stays in the domain, or which method costs less per accurate digit. Derivative evaluations, linear solves, data accuracy and finite precision can change that practical comparison. Keep the local theorem separate from a global algorithmic performance claim. For the local convergence framework, see [Digital Library of Mathematical Functions, Section 3.8: Nonlinear Equations](https://dlmf.nist.gov/3.8); the coefficient and exceptional higher-order cases above are established by the displayed Taylor argument.

14

Failure away from a local basin

Consider f(x)=x³-2x+2. At x=0, f=2 and f prime=-2, so Newton proposes 1. At x=1, f=1 and f prime=1, so it proposes 0. Starting from zero therefore gives the exact two-cycle 0, 1, 0, 1 without ever meeting a zero derivative. Neither iterate is a root, so a repeated pattern or bounded sequence alone does not prove convergence.

The same cubic has a root in [-2, -1], since its endpoint values are -2 and 3. On that interval f prime=3x²-2>=1, giving uniqueness there and a simple root. Thus the cycle cannot be blamed on absence of a simple real solution. Its starting points simply lie outside a neighborhood for which the local convergence theorem supplies an invariant contraction of the error.

A domain failure can occur independently. For f(x)=log(x), Newton gives x_next=x(1-log(x)); from x=exp(2) the next point is negative although the starting point is admissible and the real root is 1. A zero-derivative failure is also separate: f(x)=x²-1 at x=0 has nonzero residual and zero derivative even though it has two simple roots elsewhere.

These examples justify explicit safeguards rather than a universal rejection of Newton’s local theory. A valid bracket can reject an out-of-range proposal, a merit function can demand adequate decrease, and an interval test can provide existence evidence. Each modified algorithm needs its own convergence argument. Merely retrying the same unsafe step or interpreting a stalled iteration as success supplies none of those guarantees. For local iterations and safeguarding, see [Digital Library of Mathematical Functions, Section 3.8: Nonlinear Equations](https://dlmf.nist.gov/3.8); [An algorithm with guaranteed convergence for finding a zero of a function](https://maths-people.anu.edu.au/~brent/pd/rpb005.pdf); the cycle and domain-escape counterexamples above explain why a starting point still matters.

15

Known multiplicity and a modified step

Write f(x)=e^m h(x), where e=x-r, m is a positive integer and h is C2 and nonzero near r. For e nonzero and sufficiently small, f prime=e^(m-1)(m h+e h prime) is also nonzero. With q(x)=h prime(x)/h(x), the quotient f/f prime is e/(m+e q(x)). This factor calculation states exactly where the ordinary Newton division is valid.

Ordinary Newton therefore has e_next=e[(m-1)+e q(x)]/[m+e q(x)]. For m>1, the ratio e_next/e tends to (m-1)/m, a positive number below one. The leading convergence is linear rather than quadratic. When m=1, the linear term vanishes, consistently recovering the simple-root local analysis.

If the exact multiplicity m is known, the modified update x_next=x-m f(x)/f prime(x) gives e_next=e² q(x)/[m+e q(x)]. The numerator factor q is bounded and the denominator stays away from zero on a sufficiently small neighborhood, so the local error is at most a constant times e². If h is constant, that modified update reaches r in one exact step from any nonzero error in its valid domain.

A multiple root changes the ordinary Newton error factorMultiplicity three; The ordinary iterations and the one-step corrected result share one exact coordinate line. Ordinary error contracts only linearly at this multiple root.A multiple root changes the ordinary Newton error factor-0.9201.10.6145.84One exact x coordinate scaleordinary x_0ordinary x_1ordinary x_2corrected rootExact method positionsSigned locations, with the multiplicity explicitly fixed
The ordinary iterations and the one-step corrected result share one exact coordinate line. Ordinary error contracts only linearly at this multiple root.

Away from the root f/f′=(x−r)/m. Subtracting it leaves error (m−1)/m times the old error. Multiplying it by the known m reaches r in one step. Applying Newton to the quotient instead subtracts ff′/(f′²−ff″); the nonzero displayed denominator yields the same correction for this exact power.

Exact multiplicity checks
QuantityExact result
Root and multiplicity2, 3
Initial f, f′, f″[27, 27, 18]
Ordinary error factor2/3
Ordinary locations[5, 4, 10/3]
Known-multiplicity correction3; result 2
Quotient denominator f′²−ff″243
Quotient correction3; result 2
Exact inputs and supporting calculations
Declared inputs
ParameterValue
r2
m3
x5

The multiplicity must refer to the exact intended equation. Substituting a guessed m can change the local factor and need not restore quadratic behavior. At r itself, a multiple root has both f and f prime equal to zero, so the formula would be indeterminate unless the exact-zero stopping test is performed first. Near r, small derivative magnitudes and evaluation error still need their own numerical treatment. For multiplicity in iterative root finding, see [Digital Library of Mathematical Functions, Section 3.8: Nonlinear Equations](https://dlmf.nist.gov/3.8).

16

Multiplicity correction without a supplied m

An unknown multiplicity can be handled locally by considering the quotient u(x)=f(x)/f prime(x). Assume the factorization f=e^m h with h C3 and nonzero near r. For e nonzero, u=e/[m+e h prime/h], and this expression extends to a C2 function at e=0 with u(r)=0 and u prime(r)=1/m. The extended quotient has a simple root even when f does not.

Away from an exact root, differentiating the quotient gives u prime=[(f prime)²-f f double-prime]/(f prime)². Newton applied to u therefore proposes x_next=x-f f prime/[(f prime)²-f f double-prime]. The local simple-root theorem for the extended u gives at least quadratic convergence from a sufficiently close, nondegenerate starting point. This is a transformed-function argument, not an inference of m from one observed step.

The denominator’s leading behavior for a multiple root is m h(r)² e^(2m-2), so it is nonzero for sufficiently small nonzero e. At e=0 the original algebraic expression can still become zero divided by zero; return an established exact root before evaluating it. Farther away, the denominator may vanish or be too uncertain to use, and the local theorem supplies no global protection.

This method also needs a second derivative and combines quantities that may be small or nearly cancel. Mathematical local order does not prove arithmetic stability or lower total evaluation cost. Derivative enclosures, reformulation or a safeguarded alternative may be needed in a numerical implementation. The exact root selected and its data uncertainty remain those of the original equation. For the multiplicity setting, see [Digital Library of Mathematical Functions, Section 3.8: Nonlinear Equations](https://dlmf.nist.gov/3.8); the quotient extension and denominator conditions above are derived explicitly.

17

A small step is not a root certificate

A Newton correction |f(x)/f prime(x)| is a useful local scale, but a small value is not by itself a bound for |x-r|. For f(x)=exp(Kx)-1 at x=1 with K>0, the unique real root is zero and the current root error is exactly one. The Newton step magnitude is (1-exp(-K))/K<1/K, which can be arbitrarily small while the root error stays one.

An unchanged rounded iterate is weaker evidence still. The computed correction may be too small to change the stored number, or the evaluation and derivative may already be dominated by uncertainty. A chosen absolute step tolerance can also ignore the units and scales of a vector problem. A solver should distinguish a verified error bound from a practical stagnation signal that says its current information has stopped improving.

A maintained sign bracket with a sufficiently small actual width gives a location certificate without a derivative lower bound. A valid residual enclosure together with a known root and a lower derivative bound gives another. A contraction gives a third through its residual divided by 1-q. These different certificates can agree, but their hypotheses must not be replaced by the observation that one proposal was short.

A useful stopping decision records the enclosure that meets the intended output tolerance and the assumptions behind it. If only a small step, a small rounded residual or an exhausted evaluation budget is available, report that observation with its limitation. Such a report preserves evidence and allows a later improvement in data or evaluation without pretending that a mathematical root error was already certified. For problem sensitivity and finite-precision stopping concerns, see [What Is a Condition Number?](https://nhigham.com/2020/03/19/what-is-a-condition-number/); [An algorithm with guaranteed convergence for finding a zero of a function](https://maths-people.anu.edu.au/~brent/pd/rpb005.pdf).

18

Scalar interval Newton

Let X=[a, b], let m be its midpoint, and assume f is C1 on a neighborhood of X. Let D be an interval enclosing every f prime(x) for x in X, with zero not in D. Define the interval-Newton image N=m-f(m)/D, using valid outward interval operations when arithmetic is inexact. An enclosing interval for f(m) may replace its exact value, at the cost of a wider image.

If r is any root in X, the mean value theorem gives f(m)=f prime(xi)(m-r) for some xi in X. Hence r=m-f(m)/f prime(xi) belongs to N. Thus X intersect N retains every root originally in X, and X intersect N empty proves that X contains no root. This inclusion argument does not assert that a root outside X belongs to N or that N itself always contains a root.

Strict inclusion N inside the interior of X also proves existence here. After replacing f by -f if necessary, write D=[d_min, d_max] with d_min>0. If f(m)>0, the lower endpoint m-f(m)/d_min>a implies f(a)<=f(m)-d_min(m-a)<0, while f(m)>0. If f(m)<0, the analogous upper-endpoint inequality gives f(b)>0. If f(m)=0, m itself is the root. A wider valid function-value enclosure with the same strict inclusion preserves these conclusions.

The derivative interval excludes zero, so f is strictly monotone and there is at most one root in X. Combining that fact with the strict interior test certifies exactly one. A failed inclusion test is not a proof of nonexistence; it may reflect a wide derivative or evaluation enclosure. When D contains zero, ordinary interval division in this formula is unavailable and a different subdivision or argument is needed. For interval Newton verification, see [Verification methods: Rigorous results using floating-point arithmetic](https://www.tuhh.de/ti3/rump/intlab/ActaNumerica2010.pdf); the scalar inclusion and exclusion proof above states its own interval and sign hypotheses.

19

A contractive scalar Krawczyk enclosure

Choose a nonzero real number Y approximating an inverse derivative and define T(x)=x-Yf(x). For x in X=[a, b] with midpoint m, the mean value theorem gives T(x)=m-Yf(m)+(1-Yf prime(xi))(x-m). Therefore T(X) is enclosed by K=m-Yf(m)+(1-YD)(X-m), where D encloses f prime(X). Interval multiplication may overestimate the actual image, but it remains a valid inclusion when performed with correct bounds.

Suppose K is contained in X and q=sup_{d in D}|1-Yd|<1. Then T maps the nonempty complete interval X into itself and is q-Lipschitz. The contraction theorem proves a unique fixed point there. Since Y is nonzero, T(r)=r is equivalent to f(r)=0, so the conclusion is a unique root of the original scalar equation rather than merely of a transformed condition.

At the midpoint the fixed-point residual has magnitude |Yf(m)|. The contraction residual inequality gives |m-r|<=|Yf(m)|/(1-q), with an enclosing numerator when f(m) is not exact. This bound and the enclosing interval may be compared, but neither should be silently called an equality. A very small denominator weakens the certificate even if the raw Newton-like correction looks small.

The invariant-image test, contraction bound and nonzero Y are explicit premises. A numerical inverse guess alone supplies none of them. Interval Newton and this Krawczyk-style construction use related information but different enclosures and proofs. They can be applied to the same bracket without claiming identical widths or universal superiority of one test. For nonlinear interval verification and the complete contraction theorem, see [Verification methods: Rigorous results using floating-point arithmetic](https://www.tuhh.de/ti3/rump/intlab/ActaNumerica2010.pdf); [Basic Analysis II: Contraction Mapping Principle](https://www.jirka.org/ra/html/sec_metpicard.html).

20

Secant steps and divided differences

For distinct real points x and y, define the divided difference f[x, y]=(f(x)-f(y))/(x-y). Replacing f prime(x_n) in Newton’s step by f[x_n, x_(n-1)] gives the secant proposal x_(n+1)=x_n-f(x_n)/f[x_n, x_(n-1)]. This is the zero of the line through the last two graph points, not a guaranteed zero of f.

An established exact zero at either stored point can be handled before the division. If the two function values are equal and nonzero, the secant line is horizontal and its root formula is undefined. If the two input points coincide, the two-point divided difference is not defined by this formula either. A derivative limit, a new point or a fallback is an additional algorithmic choice, not an invented denominator.

When evaluations are uncertain, subtracting close function values can make the denominator’s sign or magnitude indeterminate. Valid division requires the corresponding denominator enclosure to exclude zero. Changing the algebraic form of the secant formula may reduce overflow or cancellation in some settings, but equivalent exact formulas do not provide an unrestricted arithmetic guarantee.

The method normally reuses one old function value and adds one new value per proposal. This lower derivative cost helps explain its appeal, but a last-pair update does not preserve a sign bracket automatically. A successful local convergence theorem and a separately maintained bracket are distinct safeguards. Equal computed values must be interpreted under their evaluation contract rather than mistaken for exact equality or a root. For secant iteration and its convergence setting, see [Digital Library of Mathematical Functions, Section 3.8: Nonlinear Equations](https://dlmf.nist.gov/3.8); [Convergence of the secant method](https://www.cs.purdue.edu/homes/dgleich/cs514-2021/julia/Lecture-24-Secant-convergence.html).

21

Secant local convergence from an error identity

Assume f is C2 on a real root neighborhood, f(r)=0, |f prime|>=m>0 and |f double-prime|<=M there. Divided differences have f[x, y]=f prime(eta) and f[x, y, r]=f double-prime(xi)/2 for suitable points in their convex hull, with repeated arguments understood by continuous extension. Thus the first divided difference is bounded away from zero and the second has magnitude at most M/2.

Put e_n=x_n-r. Since f(x_n)=e_n f[x_n, r], subtraction in the secant formula gives e_(n+1)=e_n[f[x_n, x_(n-1)]-f[x_n, r]]/f[x_n, x_(n-1)]. The divided-difference identity in the numerator equals e_(n-1) f[x_n, x_(n-1), r]. Hence the exact error identity is e_(n+1)=e_n e_(n-1) f[x_n, x_(n-1), r]/f[x_n, x_(n-1)].

Consequently |e_(n+1)|<=C|e_n e_(n-1)| with C=M/(2m). Choose a closed interval about r with radius rho such that C rho<1 and the stated derivative bounds hold. Two distinct starting points in it, neither an already handled root, produce |e_(n+1)|<=C rho|e_n|. The new point stays in the interval and the errors converge to zero. Strict monotonicity prevents equal function values at distinct nonroot points, and a zero correction can occur only at an exact root.

This proves local convergence without yet assuming a particular asymptotic order. If M=0, f is affine and the nondegenerate secant line reaches its root exactly. If the derivatives, domain or divided differences cease to satisfy the hypotheses, the local argument no longer applies. A finite-precision implementation needs its own denominator and termination checks even when the ideal starting points lie in a valid local region. For secant divided differences and derivative control, see [Convergence of the secant method](https://www.cs.purdue.edu/homes/dgleich/cs514-2021/julia/Lecture-24-Secant-convergence.html); [Basic Analysis II: Continuity and the Derivative](https://www.jirka.org/ra/html/sec_svthedercont.html).

22

Why the golden ratio appears

Suppose a nonterminal secant sequence converges to a simple real root r, and f is C2 with f double-prime(r) nonzero. Continuity of divided differences in the preceding exact identity gives e_(n+1)=C e_n e_(n-1)(1+o(1)), where C=f double-prime(r)/(2f prime(r)) is nonzero. All errors in the following logarithms are assumed nonzero; an exactly reached root is a terminal success instead.

Let phi=(1+sqrt(5))/2, so phi²=phi+1 and phi-1=1/phi. Taking logarithms of absolute errors gives log|e_(n+1)|=log|C|+log|e_n|+log|e_(n-1)|+o(1). Define t_n=log|e_n|-phi log|e_(n-1)|. Substitution gives t_(n+1)=log|C|-t_n/phi+o(1). The coefficient -1/phi has magnitude below one.

The limiting affine recurrence has fixed point L=log|C|/phi. To justify convergence with the vanishing remainder, iterate the difference from L: its initial contribution decays geometrically, and an eventually bounded remainder contributes at most its bound divided by 1-1/phi. Let that bound tend to zero. Therefore t_n tends to L, and |e_n|/|e_(n-1)|^phi tends to exp(L)=|C|^(1/phi). This proves the stated order and constant under the hypotheses.

The golden-ratio result does not apply unchanged when C=0, the root is multiple, a denominator breaks down or the sequence has not entered its convergent local regime. Nor does the exponent by itself compare function-call cost with Newton’s derivative cost or a safeguarded bracket method. It describes the nonexceptional limiting error sequence, with the error scale and mathematical assumptions explicitly fixed. For the secant convergence context, see [Convergence of the secant method](https://www.cs.purdue.edu/homes/dgleich/cs514-2021/julia/Lecture-24-Secant-convergence.html); [Digital Library of Mathematical Functions, Section 3.8: Nonlinear Equations](https://dlmf.nist.gov/3.8); the nonexceptional golden-ratio limit above follows from the stable logarithmic recurrence, rather than assuming an asymptotic ansatz.

23

False position and endpoint stagnation

Regula falsi takes the secant-line zero through the two endpoints of a sign bracket, then replaces the endpoint with the same sign as the new value. Continuity preserves a root in the retained interval. Unlike bisection, the proposal may lie very close to one endpoint, so no fixed half-width decrease follows merely from its being a secant intercept.

For f(x)=x²-1 on [0, 2], let a denote the current lower endpoint and keep b=2. The secant proposal simplifies to c=(2a+1)/(a+2). For 0<=a<1, c-a=(1-a²)/(a+2)>0 and c-1=(a-1)/(a+2)<0. Thus c is again below the root with negative function value, and the upper endpoint stays at 2 forever.

The successive lower endpoints increase and remain below 1. Their limit l satisfies l=(2l+1)/(l+2), giving l²=1 and hence l=1. The signed error ratio is (c-1)/(a-1)=1/(a+2), which tends to 1/3. The proposals therefore converge linearly, while the bracket width 2-a tends to 1 rather than zero.

Moving one endpoint leaves a positive limiting widthA fixed upper endpoint of two; Every full retained interval ends at the same fixed b. Its lower endpoint approaches 1. After three steps the midpoint is 41/28 and its certified radius is 15/28. The radius tends to 1/2, so these brackets never certify an arbitrarily small error.Moving one endpoint leaves a positive limiting widthroot 1fixed b=2k=0 [0, 2]k=1 [1/2, 2]k=2 [4/5, 2]k=3 [13/14, 2]Every interval ends at the same fixed b
Every full retained interval ends at the same fixed b. Its lower endpoint approaches 1. After three steps the midpoint is 41/28 and its certified radius is 15/28. The radius tends to 1/2, so these brackets never certify an arbitrarily small error.

The secant with endpoints a,b meets the axis at (ab+c)/(a+b). If 0≤a<α<b, the update lies strictly between a and α, so b remains fixed. Monotone convergence and the fixed point equation give the lower limit α. Differentiate the update map at α for the local error factor. The full limiting width stays b−α.

Exact endpoint and midpoint results
QuantityExact result
Fixed positive endpoint and value2; 3
Lower endpoints after three steps[1/2, 4/5, 13/14]
Lower residuals[−3/4, −9/25, −27/196]
Limit of lower endpoint1
Asymptotic lower error ratio1/3
Final midpoint and certified radius[41/28, 15/28]
Exact final midpoint error13/28
Limiting width, midpoint and radius[1, 3/2, 1/2]
Exact inputs and supporting calculations
Declared inputs
ParameterValue
c1
b2

This is endpoint stagnation of the bracket, not failure of every proposal to approach a root. A different justified residual or sensitivity certificate could still assess a late proposal, but a stopping test requiring a tiny bracket width would never pass in this example. Weighted variants and forced midpoint steps are possible remedies; their exact update rules and convergence guarantees must be stated rather than inferred from the name false position. For bracketing and interpolation-based root finding, see [Digital Library of Mathematical Functions, Section 3.8: Nonlinear Equations](https://dlmf.nist.gov/3.8); [An algorithm with guaranteed convergence for finding a zero of a function](https://maths-people.anu.edu.au/~brent/pd/rpb005.pdf); the explicit fixed-endpoint sequence above shows the limitation of this unmodified false-position rule.

24

A simple safeguard with a proved contraction

Choose a fixed central fraction theta with 0<theta<=1/2. Given a valid sign bracket [a, b] of width w, accept a proposed point c only if a+theta w<=c<=b-theta w. If the proposal fails that test, use the exact midpoint instead. An exact zero terminates; otherwise update the endpoint with the same certified sign as f(c).

An accepted central point leaves either subinterval with width at most (1-theta)w. The midpoint fallback leaves width w/2, which is no larger because theta<=1/2. Thus every nonterminal update reduces the width by a uniform factor no greater than 1-theta while preserving the continuous sign bracket. The guarantee does not depend on whether the proposal came from Newton, secant, inverse interpolation or another source.

After n updates, the midpoint error certificate is at most L(1-theta)^n/2. When L>2tau, taking n at least ceil(log(L/(2tau))/(-log(1-theta))) suffices for absolute tolerance tau. If the initial bracket is already narrow enough, zero updates suffice. This conservative safeguard may reject locally good proposals; its theorem certifies bracket reduction rather than a universal fastest implementation.

Finite arithmetic requires testing the actual represented point against reliable central bounds and retaining actual interval widths. If a strict interior point cannot be represented, do not claim the exact contraction step occurred. Reuse valid endpoint evaluations when their function and data bindings are unchanged, and keep evaluation enclosures with the bracket. No unprotected interpolation formula should inherit this proof without satisfying its explicit acceptance and fallback rule. For Brent's interpolation-and-bracketing approach, see [An algorithm with guaranteed convergence for finding a zero of a function](https://maths-people.anu.edu.au/~brent/pd/rpb005.pdf); the fixed-central-fraction safeguard and width theorem here concern the separately defined scheme above.

25

Inverse quadratic interpolation as a proposal

Let y_i=f(x_i) for three points with pairwise distinct real function values. There is a quadratic polynomial p interpolating the inverse data p(y_i)=x_i. Evaluating its Lagrange form at zero gives c=sum_i x_i y_j y_k/[(y_i-y_j)(y_i-y_k)], where j and k are the two indices other than i. If any y_i is an established exact zero, its x_i already solves the problem and may be returned before forming the proposal.

This is interpolation in function-value space, not quadratic interpolation of f itself. Pairwise distinct values are necessary for its displayed denominators. A computed difference whose enclosure contains zero cannot safely be used just because the stored values look different. The proposal may also lie outside an admissible physical domain or a current root bracket.

A scoped error formula is available if f has a real C3 inverse g on an interval containing the three y_i and zero. For zero distinct from the nodes, subtract p from g and subtract K times the node polynomial, choosing K to make the result zero at zero. This function has four distinct zeros, so three applications of Rolle’s theorem give K=g triple-prime(zeta)/6. Hence g(0)-p(0)=[g triple-prime(zeta)/6] times the product of -y_i. At a node the interpolation error is already zero.

The inverse’s existence, smoothness and derivative bound are substantial premises, particularly near a multiple root. Without them the interpolation algebra remains only a proposal. A central-bracket safeguard can retain a proved width contraction even when this faster local model is untrusted. Such a construction should be described by its actual rule rather than equated with every implementation of a named hybrid solver. For inverse interpolation in safeguarded root finding, see [An algorithm with guaranteed convergence for finding a zero of a function](https://maths-people.anu.edu.au/~brent/pd/rpb005.pdf); the three-node formula and its smooth-inverse remainder are derived above under their stated hypotheses.

26

Halley and a scoped cubic local result

Halley’s scalar proposal is x_next=x-2f f prime/[2(f prime)²-f f double-prime], with every function quantity evaluated at the current x. Assume f is C3 near a simple real root r. Put e=x-r, a=f prime(r), b=f double-prime(r)/2 and c=f triple-prime(r)/6, with a nonzero. Then f=a e+b e²+c e³+o(e³), f prime=a+2b e+3c e²+o(e²), and f double-prime=2b+6c e+o(e).

The numerator expands to 2a²e+6ab e²+(8ac+4b²)e³+o(e³). The denominator expands to 2a²+6ab e+(6b²+6ac)e²+o(e²), so it stays nonzero sufficiently close to r. Dividing gives a step e+(ac-b²)e³/a²+o(e³). Therefore e_next=[b²/a²-c/a]e³+o(e³), with coefficient f double-prime(r)²/[4f prime(r)²]-f triple-prime(r)/[6f prime(r)].

The finite coefficient and remainder yield |e_next|<=K|e|³ on a sufficiently small neighborhood. Choosing an invariant radius rho with K rho²<1 proves local convergence by the same induction pattern as Newton’s quadratic bound. If the displayed coefficient vanishes, the order may be higher, but no particular next power follows without additional analysis. This theorem concerns simple roots and an actually valid local denominator.

Halley and Newton give different exact proposalsTwo proposals for √3; The exact increasing order is √3 < H < N. The signed residuals and nonnegative forward-error certificates are distinct readouts. H denotes the Halley proposal and N the Newton proposal.Halley and Newton give different exact proposals-0.9201.11.5352.12One exact x coordinate scaleinput xHalley 26/15Newton 7/4Exact method positionsOne increasing x coordinate for all proposals
The exact increasing order is √3 < H < N. The signed residuals and nonnegative forward-error certificates are distinct readouts. H denotes the Halley proposal and N the Newton proposal.

Halley simplifies to H=x(x²+3c)/(3x²+c). For α=√c, subtracting α produces H−α=(x−α)^3/(3x²+c). Separately, squaring H and subtracting c gives f(H)=(x²−c)^3/(3x²+c)^2. Newton instead gives (x−α)²/(2x). The displayed positive interval has a firm derivative lower bound and contains the root and both comparison points; use it to certify errors from residuals. One comparison does not establish an efficiency ranking.

Exact Halley and Newton comparison
QuantityExact result
Initial residual1
Raw and reduced Halley denominators[30, 15]
Halley and Newton points[26/15, 7/4]
Signed residuals[1/225, 1/16]
Certificate interval[3/2, 2]
Minimum derivative on certificate interval3
Absolute error bounds[1/675, 1/48]
Halley forward-error identityH−α=(x−α)^3/(3x²+c), α=√c
Halley function-residual identityf(H)=(x²−c)^3/(3x²+c)^2
Exact inputs and supporting calculations
Declared inputs
ParameterValue
c3
x2

At an exact multiple-root model f=e^m, Halley instead gives e_next=(m-1)e/(m+1), illustrating why a simple-root cubic conclusion cannot be transferred to multiplicity. The method also evaluates a second derivative and combines potentially cancelling terms. Its local exponent alone establishes neither arithmetic stability nor lower total cost than Newton, secant or a bracketed method. Exact roots and uncertain denominators require explicit checks before division. For the iterative root-finding framework, see [Digital Library of Mathematical Functions, Section 3.8: Nonlinear Equations](https://dlmf.nist.gov/3.8); the Halley formula, cubic coefficient and multiple-root comparison above are supplied by the lesson's own complete derivation.

27

Inexact function values and derivatives

Suppose the scalar step uses f(x)+eta and f prime(x)+delta rather than exact function and derivative values. Relative to a known simple root r with e=x-r, its exact algebraic error is [e f prime(x)-f(x)+e delta-eta]/[f prime(x)+delta]. This separates the nonlinear-model term from the two evaluation errors instead of treating all three as one unspecified rounding effect.

Assume |f prime|>=m>0 and |f double-prime|<=M on the root segment, and let |eta|<=epsilon_f, |delta|<=d<m. The Taylor bound gives |e f prime(x)-f(x)|<=M|e|²/2. Hence |e_next|<=[M|e|²/2+d|e|+epsilon_f]/(m-d). A finite denominator margin is essential; a derivative-error estimate comparable to m cannot simply be ignored.

For a local sequence, sufficient compatible accuracy is d=O(|e|) and epsilon_f=O(|e|²), with the denominator bounded away from zero. Then the displayed estimate remains quadratic. A fixed nonzero absolute function-error bound generally creates a nonvanishing uncertainty term, and a fixed relative derivative error can leave a term linear in |e|. A derivative obtained by finite differences must include both truncation and function-evaluation errors in d.

These are conditional mathematical bounds, not a command to increase precision indefinitely. Measurement error, model uncertainty or a fixed evaluator contract may prevent the required accuracy from being available. In that case retain an honest error enclosure or change the scientific information used by the problem. A convergent sequence for the perturbed equation is not automatically a more accurate solution of the original one. For stability distinctions and derivative-based error control, see [What Is Numerical Stability?](https://nhigham.com/2020/08/04/what-is-numerical-stability/); [Basic Analysis II: Continuity and the Derivative](https://www.jirka.org/ra/html/sec_svthedercont.html).

28

A data-dependent accuracy floor

A simple indistinguishability argument shows why some accuracy limits are informational. Suppose an evaluator always returns g(x)=m x, with m>0, and the only guarantee is a uniform absolute error at most epsilon>0. Both exact functions f_plus(x)=m x+epsilon and f_minus(x)=m x-epsilon satisfy that guarantee at every queried point, even if their derivatives are known exactly.

Their roots are -epsilon/m and +epsilon/m, separated by 2epsilon/m. Any algorithm seeing only the returned g values and that error contract has identical evidence in the two cases. If it returns one estimate xhat, the triangle inequality implies that its worst distance to those two roots is at least epsilon/m. No number of repeated deterministic queries to the same information can guarantee a smaller worst-case error.

The compatible function-value enclosure [m x-epsilon, m x+epsilon] has an unresolved sign exactly when |m x|<=epsilon. That region corresponds to the root ambiguity. This explains the scale of a noise floor without assuming that individual errors are random, independent or unbiased. A statistical model with additional justified assumptions could support a different estimation question, but such assumptions are not contained in the deterministic bound.

The lower-bound example does not say that every noisy problem attains that worst case or that better data are impossible. It says which guarantee follows from the stated information alone. A root solver should report that limitation rather than keep repeating an unchanged iteration in the hope that precision in the stored iterate will remove uncertainty in the function itself. For conditioning and the limitations imposed by function evaluation, see [What Is a Condition Number?](https://nhigham.com/2020/03/19/what-is-a-condition-number/); [An algorithm with guaranteed convergence for finding a zero of a function](https://maths-people.anu.edu.au/~brent/pd/rpb005.pdf).

29

Complex Newton needs a different domain argument

For a holomorphic complex scalar function on a neighborhood of a convex disk about a simple root r, Newton still has the proposal z_next=z-f(z)/f prime(z). If |f prime|>=m>0 and |f double-prime|<=M there, the integral Taylor formula along the complex line segment gives |z_next-r|<=M|z-r|²/(2m). A sufficiently small invariant disk yields the same scoped local quadratic argument as in the real case.

Real interval signs have no direct complex analogue: complex numbers have no compatible positive-versus-negative order that would reproduce the intermediate value bracket proof. A small complex residual alone therefore does not create a complex root-existence theorem. Valid complex enclosures or analytic root-count arguments require their own hypotheses; they must not inherit the real sign-bracket conclusion by changing notation.

For f(z)=z³-1, the Newton map is N(z)=(2z+1/z²)/3 for z nonzero. The three roots are 1, omega and omega², where omega=exp(2pi i/3). Since omega³=1, direct substitution gives N(omega z)=omega N(z). Thus any valid orbit converging to 1 rotates to an orbit converging to omega, showing why the starting point and target selection matter even for a small polynomial.

At z=0 the derivative is zero and f is nonzero, so the Newton proposal is undefined. Elsewhere a local theorem around one root says nothing universal about every orbit, the shape of all basins or finite-precision behavior near their boundaries. The algebraic symmetry is an exact example, not a complete global classification of complex Newton dynamics. For real and complex iterative roots, see [Digital Library of Mathematical Functions, Section 3.8: Nonlinear Equations](https://dlmf.nist.gov/3.8); the disk bound and rotational identity above are explicit scoped calculations.

30

Newton for a nonlinear system

Let F map an open subset of R^n to R^n, with continuous Jacobian J. Newton solves J(x)s=-F(x) and proposes x_next=x+s. Assume a root r is known to lie in a convex ball where every J(x) is nonsingular, ||J(x) inverse||<=beta, and ||J(x)-J(y)||<=L||x-y|| for a fixed compatible vector/operator norm. These are neighborhood bounds, not merely observations at one iterate.

For e=x-r, the segment integral gives F(x)=the integral from zero to one of J(r+t e)e dt. Subtracting its Newton correction yields e_next=J(x) inverse times the integral of [J(x)-J(r+t e)]e dt. The Lipschitz estimate therefore gives ||e_next||<=beta L||e||²/2. No explicit inverse needs to be formed in the algorithm for this mathematical identity to be used in the proof.

If the ball radius rho satisfies beta L rho/2<1, induction preserves it and gives local quadratic convergence, just as for the scalar case. The linear system must still be solved with controlled error; an inexact solve adds another term. Choice of norms and scaling changes beta, L and the meaning of the tolerance, so a mix of physical units requires explicit nondimensionalization or weights.

A singular Jacobian invalidates this particular local theorem rather than proving that no root exists. For example, F(x, y)=(x³, y) has the unique zero (0, 0) but a singular Jacobian there. Conversely, an invertible Jacobian at an arbitrary point does not itself prove any zero exists nearby. Existence, uniqueness and a computable radius will need a separate quantitative enclosure. For the vector derivative setting and the general nonlinear-system framework, see [Basic Analysis II: Continuity and the Derivative](https://www.jirka.org/ra/html/sec_svthedercont.html); [Digital Library of Mathematical Functions, Section 3.8: Nonlinear Equations](https://dlmf.nist.gov/3.8); the uniform-inverse Newton estimate is derived above.

31

What a pointwise Jacobian cannot certify

The qualitative inverse-function theorem gives a local inverse near a point with an invertible Jacobian, but it does not provide a root-containing radius from that point alone. For any epsilon>0, the scalar function f_epsilon(x)=epsilon exp(x/epsilon) has f_epsilon(0)=epsilon and f_epsilon prime(0)=1, yet it has no real zero. An arbitrarily small residual and a perfectly scaled derivative at that point therefore do not certify existence.

Even nonsingularity throughout a connected domain does not guarantee global injectivity. Consider F(u, v)=(exp(u)cos(v)-1, exp(u)sin(v)). Its Jacobian is exp(u) times a rotation matrix, so it is nonsingular everywhere. Nevertheless, both (0, 0) and (0, 2pi) are zeros. A local root theorem cannot be expanded into a global uniqueness claim without additional information.

Along the segment joining those two zeros, every Jacobian has spectral singular values equal to one. Yet the output difference is zero while the input distance is 2pi. This also shows why integrating a pointwise lower singular-value bound as if vector directions could not cancel is invalid. The integral of varying Jacobians is not forced to have the same lower singular-value bound as each integrand.

A valid quantitative certificate can instead control one consistent inverse approximation B through ||I-BJ(x)|| on an entire convex neighborhood. That estimate controls the same transformed map at every point and supplies a contraction argument when it is below one. It is stronger and more relevant than a collection of pointwise condition numbers, particularly when a residual is being converted into a root-existence or location guarantee. For local inverse functions and verified nonlinear systems, see [Basic Analysis II: Inverse and Implicit Function Theorems](https://www.jirka.org/ra/html/sec_svinvfuncthm.html); [Verification methods: Rigorous results using floating-point arithmetic](https://www.tuhh.de/ti3/rump/intlab/ActaNumerica2010.pdf); neither a point Jacobian nor separated roots supports a global inverse certificate.

32

A verified nonlinear-system ball

Let a closed norm ball X={x:||x-c||<=rho} lie in the domain of a C1 map F:R^n to R^n. Choose a nonsingular fixed matrix B. Suppose sup_{x in X}||I-BJ(x)||<=q<1 and delta=||BF(c)||<=(1-q)rho. Define T(x)=x-BF(x). Convexity and the segment derivative bound imply ||T(x)-T(y)||<=q||x-y|| for x, y in X.

For any x in the ball, ||T(x)-c||<=||T(x)-T(c)||+||T(c)-c||<=q rho+delta<=rho. Thus T maps the nonempty complete ball into itself. The contraction theorem gives a unique fixed point r in X. Nonsingularity of B makes T(r)=r equivalent to F(r)=0, and any zero in the ball is such a fixed point, establishing uniqueness of the original system zero there.

Applying the contraction residual bound at c gives ||r-c||<=delta/(1-q). Interval Jacobian bounds or other rigorous operator estimates can establish q, while an enclosing evaluation controls delta. The computed interval or matrix approximation must actually cover the whole ball. A numerical inverse guess and a few sampled Jacobians are not substitutes for these uniform premises.

The certificate is local to its ball; it does not exclude other roots elsewhere. If function-data uncertainty is included, the bounds must apply to every intended member of that family before a corresponding family conclusion is claimed. Failure of the sufficient inequality need not mean no root exists. It identifies an enclosure or domain estimate that is not yet strong enough for this particular contraction proof. For nonlinear verification and the contraction theorem, see [Verification methods: Rigorous results using floating-point arithmetic](https://www.tuhh.de/ti3/rump/intlab/ActaNumerica2010.pdf); [Basic Analysis II: Contraction Mapping Principle](https://www.jirka.org/ra/html/sec_metpicard.html); the displayed uniform ball bound proves this sufficient certificate.

33

Damping through a residual merit function

For a real C1 system, take the merit function phi(x)=||F(x)||_2²/2. Its gradient is J(x) transpose F(x). If an exact Newton direction satisfies J(x)s=-F(x), then its directional derivative is grad(phi) transpose s=F transpose J s=-||F||_2². Whenever F is nonzero, this is strictly negative, assuming the Newton system is solvable as stated.

Fix an Armijo constant c with 0<c<1. Differentiability gives phi(x+alpha s)=phi(x)-alpha||F||²+o(alpha) as alpha decreases to zero through positive values. Therefore sufficiently small admissible alpha satisfies phi(x+alpha s)<=phi(x)-c alpha||F||². Trying alpha=1, rho, rho², ... with 0<rho<1 eventually reaches such a step if the domain contains a neighborhood of x and evaluations are valid.

This proves termination of the local backtracking search, not global convergence to a root from every start. Bounded level sets, suitable Jacobian behavior and other conditions may be needed to prevent accepted steps from becoming uninformatively small or the iterates from approaching a nonroot stationary point. Function-evaluation uncertainty also needs an adequate decrease test rather than comparison of unreliable rounded merit values.

A residual minimum can indeed fail to be a root: for f(x)=x²+1, the scalar merit f(x)²/2 is stationary at zero while f(0)=1. Its Newton derivative is also zero there. Damping is therefore a mechanism for controlling proposals under stated assumptions, not a way to create roots absent from the mathematical equation or to replace existence certification. For line searches applied to nonlinear equations, see [Line search and globalization](https://www.cs.cornell.edu/courses/cs4220/2026sp/lec/2026-04-17.html); the squared-merit descent and local backtracking claims above retain their stated scope.

34

Inexact Newton forcing terms

An inexact system step may satisfy J(x)s=-F(x)+ell rather than the exact Newton equation. Suppose its linear-solve residual obeys ||ell||_2<=eta||F||_2 with 0<=eta<1. For phi=||F||_2²/2, the directional derivative is F transpose J s=-||F||²+F transpose ell. Cauchy–Schwarz gives a bound at most -(1-eta)||F||², so every such nonroot direction is a strict merit descent direction.

For local root errors under the earlier inverse and Lipschitz bounds, the inexact update adds J(x) inverse ell to the exact Newton error. Thus ||e_next||<=beta L||e||²/2+beta eta||F(x)||. If ||J||<=M on the root segment, then ||F(x)||<=M||e|| and the bound becomes C||e||²+beta M eta||e||, with C=beta L/2. The forcing term has not disappeared merely because eta is below one.

A sufficiently small fixed forcing bound with beta M eta_bar<1 permits a small invariant neighborhood and a linear contraction estimate. For a convergent local sequence with eta_n tending to zero, dividing the error estimate by ||e_n|| gives superlinear convergence. If eta_n=O(||F(x_n)||), the bounded-Jacobian estimate makes the forcing contribution O(||e_n||²), recovering a quadratic bound. These statements keep the smoothness, inverse and neighborhood assumptions visible.

For an inexact step, match the Armijo test to the actual decrease margin. The estimate phi prime(x)s<=-(1-eta)||F(x)||² shows that a test phi(x+alpha s)<=phi(x)-c alpha||F(x)||² is locally assured by the sufficient strict choice 0<c<1-eta. The condition eta<1 alone does not justify every c<1 in that exact-Newton-style test. Indeed, for F(x)=x and s=-(1-eta)x, the merit change is -alpha(1-eta)||x||²+alpha²(1-eta)²||x||²/2, so the test fails for every positive alpha if c>=1-eta, despite the direction being a descent direction. Using a fixed fraction of the actual negative directional derivative, or a fixed fraction of the certified margin (1-eta)||F||², preserves the local backtracking argument. No global root-convergence conclusion follows from this adjustment alone.

The linear residual ell refers to the intended F and J. Errors in evaluating those quantities require additional terms or enclosures; they cannot be hidden inside a claimed exact forcing ratio. The Euclidean merit-descent argument also uses its specified inner product rather than an arbitrary unweighted mixture of physical units. An inner linear solver tolerance is a tool for a justified outer root computation, not an independent existence certificate. For inexact nonlinear steps and error distinctions, see [Line search and globalization](https://www.cs.cornell.edu/courses/cs4220/2026sp/lec/2026-04-17.html); [What Is Numerical Stability?](https://nhigham.com/2020/08/04/what-is-numerical-stability/); the preceding extra margin argument is needed to justify the chosen squared-merit Armijo test.

35

Continuation and a turning branch

Consider a parameterized system H(x, t)=0. If H is C1 and its state Jacobian H_x is nonsingular at a known solution, the local implicit-function theorem gives a solution branch x(t). Differentiating the equation gives H_x x prime(t)+H_t=0, so a tangent predictor solves H_x x prime=-H_t. Its first-order error is o(|Delta t|), or O(Delta t²) under an appropriate C2 branch bound.

A predictor x(t)+Delta t x prime(t) can seed Newton correction at the new parameter. The local correction theorem still needs the new point to lie in a valid basin, and a finite parameter step may require a smaller increment or an enclosing argument. Following one continuous branch is different from locating every solution or proving that the selected branch is the intended physical one. The parameter scale and admissible domain affect this interpretation.

For H(x, t)=x²-t, the positive branch x=sqrt(t) has derivative 1/(2sqrt(t)) for t>0. At the turning point (0, 0), H_x=0 and that parameterization fails to have a finite derivative. The geometric curve has not vanished: parameterizing by x=s gives the smooth curve (x, t)=(s, s²), which passes through the turn while t ceases to be monotone.

Augment the equations as G(x, t; s)=(x²-t, x-s)=0. Its Jacobian with respect to (x, t) is [[2x, -1], [1, 0]], with determinant one even at the turn. This exact example explains how an alternative local continuation condition can avoid that parameter singularity. It is not a universal guarantee for arbitrary folds, branch points or numerical continuation software; their nondegeneracy and certification conditions need separate analysis. For the local implicit-function theorem and nonlinear equations, see [Basic Analysis II: Inverse and Implicit Function Theorems](https://www.jirka.org/ra/html/sec_svinvfuncthm.html); [Digital Library of Mathematical Functions, Section 3.8: Nonlinear Equations](https://dlmf.nist.gov/3.8); the fold and augmented continuation system above expose the parameterization limit.

36

Approximate deflation perturbs the remaining problem

For a polynomial p with an exact root r, exact division p(x)=(x-r)q(x) removes that factor and preserves the remaining roots with their remaining multiplicities. With an approximate root rhat, synthetic division instead gives p(x)=(x-rhat)qhat(x)+p(rhat). Discarding the remainder changes the polynomial. A small value of p(rhat) does not quantify every resulting root displacement without a sensitivity model.

Take p(x)=(x-1)(x-(1+delta)) and rhat=1+e. Direct division gives qhat(x)=x-(1+delta-e) and remainder e(e-delta). The proposed other root is therefore shifted from 1+delta by -e. When |e| is much smaller than a small delta, the discarded residual is of order |delta e| while the neighboring-root displacement remains of order |e|.

For a cluster, the derivative magnitude at each exact root is itself small in this example: |p prime|=|delta|. This is consistent with the distinction between a polynomial residual and a root-location error. Scaling coefficients, rounding the division or repeatedly deflating can introduce further perturbations. The original equation, not only a changed quotient, should be used to validate any claimed final roots.

Exact algebraic root counts, interval isolation and sensitivity-aware refinement answer different parts of the all-roots problem. Deflation can be a useful computational device without being a completeness proof or an accuracy certificate. If the intended coefficients are uncertain rather than exact, the acceptable root conclusion must also reflect that data uncertainty and any ambiguity in distinguishing close or multiple roots. For polynomial zeros in numerical root finding, see [Digital Library of Mathematical Functions, Section 3.8: Nonlinear Equations](https://dlmf.nist.gov/3.8); the exact division identity above distinguishes the approximate deflation error from a guarantee about all remaining roots.

37

An exact real-root count with a Sturm chain

Let p be a nonconstant squarefree real polynomial with exact coefficients. Form p_0=p, p_1=p prime, then p_(k+1)=-remainder(p_(k-1), p_k) until the last nonzero constant. Squarefreeness means p and p prime have no common root, so the Euclidean sequence terminates that way. At a real t not a root of p, let V(t) be the number of sign variations in the sequence values after deleting zero entries.

The division identity is p_(k-1)=q_k p_k-p_(k+1). If an interior member p_k vanishes at t, its neighbors are nonzero and have opposite signs; otherwise a common zero would propagate down the sequence and contradict the nonzero constant. As p_k changes sign, the two neighboring comparisons together still contribute one variation. Thus passing such a zero produces no net change in V, with zero entries handled by their adjacent limiting signs.

At a root r of p_0, squarefreeness gives p_1(r)=p prime(r) nonzero. Just to the left, p_0 has the opposite sign to p_1, and just to the right it has the same sign. The first comparison therefore loses exactly one variation when t increases across r; the other intermediate-sequence zeros contribute no jump by the preceding argument. Between roots no variation changes. Consequently V(a)-V(b) counts the distinct roots in (a, b) when a and b are not roots of p.

Count adjacent sign changes after omitting zerosOne root in the positive interval; Each row is its own exact sign sequence. Compare variations only across a valid endpoint pair. The demonstration at x=−3/2 has an intermediate zero but the polynomial itself is nonzero.Count adjacent sign changes after omitting zeros−∞− + − − → − + − − → 2a=1− + + − → − + + − → 2b=3/2+ + + − → + + + − → 1+∞+ + + − → + + + − → 1zero demo at −3/2− + 0 − → − + − → 2Raw signs → signs retained → variation count
Each row is its own exact sign sequence. Compare variations only across a valid endpoint pair. The demonstration at x=−3/2 has an intermediate zero but the polynomial itself is nonzero.

Sturm uses a negative remainder at every division until a nonzero constant. That constant proves the initial polynomial and its derivative are coprime, hence the roots are simple. Omit exact zeros within a row before counting adjacent sign changes. Because the selected finite endpoints are nonroots, the difference gives the root count in the open interval. At infinity use the leading signs and parity.

Exact signed remainder chain
QuantityExact result
p(x), p′(x)x³−x−1; 3x²−1
Next signed remainder(2/3)x+1
Last nonzero constant−23/4
Values at a[−1, 2, 5/3, −23/4]
Values at b[7/8, 23/4, 2, −23/4]
Selected endpoint variations2, 1
Roots in selected interval1
Global real roots1
Exact inputs and supporting calculations
Declared inputs
ParameterValue
c1
a1
b3/2

An exact root at an endpoint must be counted separately or removed before applying that open-interval statement. Signs at plus or minus infinity follow from degree and leading coefficient and can supply a global real-root count. Rational-coefficient chains may be computed with exact rational arithmetic or justified equivalent exact remainder techniques. Ordinary rounded polynomial division and guessed signs do not automatically carry the Sturm theorem’s certificate. For Sturm sequences and their root-counting proof, see [Polynomials: Lecture notes, Week 12](https://math.gsu.edu/fenescu/fall2010/lec12-polyn-2010.pdf); the zero-deletion and endpoint qualifications above specify the convention used here.

38

A useful termination record

A useful root result names the equation and data version, admissible domain, selected root or root set, and units of the requested tolerance. It states whether existence and uniqueness have been proved and gives an actual enclosing interval, ball or justified residual-to-distance bound. These are different outputs from an iterate, step size or iteration count, even when all of them are recorded together.

Retain the evidence used by a bracket or enclosure, including endpoint signs, function-value error bounds and derivative or inverse estimates. A cached endpoint evaluation may be reused when it belongs to the same unchanged function, data, input and valid evaluation contract. If those dependencies change, its old numerical value is not automatically a current sign certificate. Reuse preserves valid evidence rather than assuming every repeated call is necessary or every old call remains applicable.

A practical solver also needs evaluation, iteration and representation limits. Reaching a limit is an explicit termination reason, not proof that the requested tolerance was achieved. When finite precision prevents a strict interior point, or a nonsingleton evaluation interval still leaves the sign unresolved, report the retained enclosure and the missing bound. That distinction permits a later improvement without confusing unfinished certification with a completed root result.

Compare methods through what has actually been achieved: an error enclosure, valid local convergence or a complete root count, with the associated function and derivative cost if measured. Do not infer a speed advantage merely from a formal order or a smaller residual in differently scaled equations. The relevant outcome is a scientifically interpretable answer with evidence appropriate to its intended use. For safeguarded stopping and problem-dependent accuracy, see [An algorithm with guaranteed convergence for finding a zero of a function](https://maths-people.anu.edu.au/~brent/pd/rpb005.pdf); [What Is a Condition Number?](https://nhigham.com/2020/03/19/what-is-a-condition-number/).

39

Choosing a method for a scientific target

For a continuous scalar calibration equation with a reliable sign bracket, bisection or a safeguarded proposal offers a direct location enclosure. A simple root with available derivative information may be refined rapidly by Newton or Halley inside a valid local neighborhood. Secant or inverse interpolation can reduce derivative work, but their proposals still need valid denominators and any requested global safeguard. No one formula answers every existence, accuracy and completeness question.

Implicit time steps, nonlinear material laws and coupled physical equilibria produce vector systems rather than scalar brackets. Their Newton linear solves, scaling, merit tests and neighborhood certificates must reflect those equations and units. A complex polynomial or an all-real-roots task requires different root-selection or root-count evidence. A scalar sign-change test cannot be reused outside its mathematical setting merely because the numerical iteration looks similar.

Iteration error is only one contribution to a scientific result. Measurement uncertainty can move the exact root, model error can change the equation, and discretization can replace a continuous problem by a finite one. A more accurately solved discrete equation does not erase those differences. Use justified sensitivity or enclosure arguments to connect the reported numerical root to the original physical output and its intended tolerance.

The central discipline is to state what is known and what remains conditional. Local fast convergence, certified signs, a root-containing interval, an inverse bound and a complete enumeration each supply particular evidence. Combining the right pieces yields a reliable calculation; substituting one label for another can leave a plausible-looking number without the root guarantee the scientific question actually needs. For numerical root finding, safeguarding and verified enclosures, see [Digital Library of Mathematical Functions, Section 3.8: Nonlinear Equations](https://dlmf.nist.gov/3.8); [An algorithm with guaranteed convergence for finding a zero of a function](https://maths-people.anu.edu.au/~brent/pd/rpb005.pdf); [Verification methods: Rigorous results using floating-point arithmetic](https://www.tuhh.de/ti3/rump/intlab/ActaNumerica2010.pdf).

Compare exact brackets, derivative-bound certificates, multiplicity and Sturm signs without relying on decimal plots.

Exact signs and certified nested brackets

Three updates from the unit-wide bracket

Every bisection preserves a signed bracketThree updates from the unit-wide bracket; The final certified midpoint is calculated after the last update. Its error radius is half the retained width, measured in x rather than in function values.Every bisection preserves a signed bracketUpdate 1Test 3/2 (+); keep [1, 3/2]Update 2Test 5/4 (−); keep [5/4, 3/2]Update 3Test 11/8 (+); keep [5/4, 11/8]Rows show the retained interval after testing the named point
The final certified midpoint is calculated after the last update. Its error radius is half the retained width, measured in x rather than in function values.

Continuity and the strict opposite signs force an intervening zero. On these intervals 3x²−1>0, so the root is unique. Each exact midpoint halves the interval selected by its sign. If the test is exactly zero, that root is certified immediately. Otherwise the estimate from the retained interval must be formed after the update.

Exact bracket certificate
QuantityExact result
Initial endpoints and values[1, 2]; [−1, 5]
Retained bracket[5/4, 11/8]
Retained signs−, +
Last tested midpoint11/8
New bracket midpoint21/16
Width and midpoint error radius[1/8, 1/16]
Total updates sufficient for radius ≤1/10009
Additional updates from selected bracket6
Exact inputs and supporting calculations
Declared inputs
ParameterValue
a1
b2
steps3
Exact bisection rows
kBeforeTested midpointFunction valueSignAfter
1[1, 2]3/27/8+[1, 3/2]
2[1, 3/2]5/4−19/64−[5/4, 3/2]
3[5/4, 3/2]11/8115/512+[5/4, 11/8]

A Newton update with an inverse-slope bound

Two Newton steps for √5

A residual needs a justified slope lower boundTwo Newton steps for √5; The marks are exact iteration values. The numerical proximity in a plot is not used as the root certificate.A residual needs a justified slope lower bound-0.9201.11.8022.37One exact x coordinate scalex_0=2x_1=9/4x_2=161/72Exact method positionsIteration locations on the x coordinate
The marks are exact iteration values. The numerical proximity in a plot is not used as the root certificate.

Newton gives N(x)=(x+c/x)/2. Writing α=√c, the exact identity is N(x)−α=(x−α)²/(2x), so both updates lie on or above the root. The stated positive interval contains α and the final iterate. Its derivative is at least 2 times the lower endpoint, so the mean-value theorem bounds the forward error by |f(x_final)| divided by that lower slope.

Exact iteration and slope certificate
QuantityExact result
Initial residual−1
First statusRun two exact steps
First and second updates[9/4, 161/72]
Final residual1/5184
Positive certificate interval[2, 9/4]
Lower bound for derivative4
Absolute error certificate1/20736
Exact inputs and supporting calculations
Declared inputs
ParameterValue
c5
x2
Exact residuals at readout points
StepIterateResidual
02−1
19/41/16
2161/721/5184

Ordinary versus multiplicity-corrected Newton

Multiplicity three

A multiple root changes the ordinary Newton error factorMultiplicity three; The ordinary iterations and the one-step corrected result share one exact coordinate line. Ordinary error contracts only linearly at this multiple root.A multiple root changes the ordinary Newton error factor-0.9201.10.6145.84One exact x coordinate scaleordinary x_0ordinary x_1ordinary x_2corrected rootExact method positionsSigned locations, with the multiplicity explicitly fixed
The ordinary iterations and the one-step corrected result share one exact coordinate line. Ordinary error contracts only linearly at this multiple root.

Away from the root f/f′=(x−r)/m. Subtracting it leaves error (m−1)/m times the old error. Multiplying it by the known m reaches r in one step. Applying Newton to the quotient instead subtracts ff′/(f′²−ff″); the nonzero displayed denominator yields the same correction for this exact power.

Exact multiplicity checks
QuantityExact result
Root and multiplicity2, 3
Initial f, f′, f″[27, 27, 18]
Ordinary error factor2/3
Ordinary locations[5, 4, 10/3]
Known-multiplicity correction3; result 2
Quotient denominator f′²−ff″243
Quotient correction3; result 2
Exact inputs and supporting calculations
Declared inputs
ParameterValue
r2
m3
x5

Convergent endpoint updates can keep a wide bracket

A fixed upper endpoint of two

Moving one endpoint leaves a positive limiting widthA fixed upper endpoint of two; Every full retained interval ends at the same fixed b. Its lower endpoint approaches 1. After three steps the midpoint is 41/28 and its certified radius is 15/28. The radius tends to 1/2, so these brackets never certify an arbitrarily small error.Moving one endpoint leaves a positive limiting widthroot 1fixed b=2k=0 [0, 2]k=1 [1/2, 2]k=2 [4/5, 2]k=3 [13/14, 2]Every interval ends at the same fixed b
Every full retained interval ends at the same fixed b. Its lower endpoint approaches 1. After three steps the midpoint is 41/28 and its certified radius is 15/28. The radius tends to 1/2, so these brackets never certify an arbitrarily small error.

The secant with endpoints a,b meets the axis at (ab+c)/(a+b). If 0≤a<α<b, the update lies strictly between a and α, so b remains fixed. Monotone convergence and the fixed point equation give the lower limit α. Differentiate the update map at α for the local error factor. The full limiting width stays b−α.

Exact endpoint and midpoint results
QuantityExact result
Fixed positive endpoint and value2; 3
Lower endpoints after three steps[1/2, 4/5, 13/14]
Lower residuals[−3/4, −9/25, −27/196]
Limit of lower endpoint1
Asymptotic lower error ratio1/3
Final midpoint and certified radius[41/28, 15/28]
Exact final midpoint error13/28
Limiting width, midpoint and radius[1, 3/2, 1/2]
Exact inputs and supporting calculations
Declared inputs
ParameterValue
c1
b2

An exact Halley step and a local error identity

Two proposals for √3

Halley and Newton give different exact proposalsTwo proposals for √3; The exact increasing order is √3 < H < N. The signed residuals and nonnegative forward-error certificates are distinct readouts. H denotes the Halley proposal and N the Newton proposal.Halley and Newton give different exact proposals-0.9201.11.5352.12One exact x coordinate scaleinput xHalley 26/15Newton 7/4Exact method positionsOne increasing x coordinate for all proposals
The exact increasing order is √3 < H < N. The signed residuals and nonnegative forward-error certificates are distinct readouts. H denotes the Halley proposal and N the Newton proposal.

Halley simplifies to H=x(x²+3c)/(3x²+c). For α=√c, subtracting α produces H−α=(x−α)^3/(3x²+c). Separately, squaring H and subtracting c gives f(H)=(x²−c)^3/(3x²+c)^2. Newton instead gives (x−α)²/(2x). The displayed positive interval has a firm derivative lower bound and contains the root and both comparison points; use it to certify errors from residuals. One comparison does not establish an efficiency ranking.

Exact Halley and Newton comparison
QuantityExact result
Initial residual1
Raw and reduced Halley denominators[30, 15]
Halley and Newton points[26/15, 7/4]
Signed residuals[1/225, 1/16]
Certificate interval[3/2, 2]
Minimum derivative on certificate interval3
Absolute error bounds[1/675, 1/48]
Halley forward-error identityH−α=(x−α)^3/(3x²+c), α=√c
Halley function-residual identityf(H)=(x²−c)^3/(3x²+c)^2
Exact inputs and supporting calculations
Declared inputs
ParameterValue
c3
x2

Use exact sign variations to count polynomial roots

One root in the positive interval

Count adjacent sign changes after omitting zerosOne root in the positive interval; Each row is its own exact sign sequence. Compare variations only across a valid endpoint pair. The demonstration at x=−3/2 has an intermediate zero but the polynomial itself is nonzero.Count adjacent sign changes after omitting zeros−∞− + − − → − + − − → 2a=1− + + − → − + + − → 2b=3/2+ + + − → + + + − → 1+∞+ + + − → + + + − → 1zero demo at −3/2− + 0 − → − + − → 2Raw signs → signs retained → variation count
Each row is its own exact sign sequence. Compare variations only across a valid endpoint pair. The demonstration at x=−3/2 has an intermediate zero but the polynomial itself is nonzero.

Sturm uses a negative remainder at every division until a nonzero constant. That constant proves the initial polynomial and its derivative are coprime, hence the roots are simple. Omit exact zeros within a row before counting adjacent sign changes. Because the selected finite endpoints are nonroots, the difference gives the root count in the open interval. At infinity use the leading signs and parity.

Exact signed remainder chain
QuantityExact result
p(x), p′(x)x³−x−1; 3x²−1
Next signed remainder(2/3)x+1
Last nonzero constant−23/4
Values at a[−1, 2, 5/3, −23/4]
Values at b[7/8, 23/4, 2, −23/4]
Selected endpoint variations2, 1
Roots in selected interval1
Global real roots1
Exact inputs and supporting calculations
Declared inputs
ParameterValue
c1
a1
b3/2

Worked examples

A complete bisection bracket

For f(x)=x^3-x-1 on [1, 2], perform three exact bisections and state the final bracket and its midpoint error certificate. How many total bisections suffice for midpoint error at most 1/1000, assuming no earlier exact zero?

  1. The initial endpoint values are f(1)=-1 and f(2)=5. Continuity gives a root in [1, 2], and f prime=3x²-1>=2 there gives uniqueness. The first midpoint is 3/2, with f(3/2)=27/8-3/2-1=7/8>0, so retain [1, 3/2]. These are exact signs, not signs inferred from rounded residuals.
  2. The second midpoint is 5/4. Its function value is 125/64-80/64-64/64=-19/64<0, so retain [5/4, 3/2]. The third midpoint is 11/8, with value 1331/512-704/512-512/512=115/512>0. The final retained bracket is therefore [5/4, 11/8].
  3. That interval has width 1/8. Its midpoint is (5/4+11/8)/2=21/16, so the unique root is within 1/16 of that midpoint. No additional function evaluation at 21/16 is needed for this location certificate. A small function residual would be a different kind of evidence.
  4. For initial width one, n updates guarantee midpoint error at most 1/2^(n+1). Requiring this to be at most 1/1000 means 2^n>=500. Since 2^8=256<500<=512=2^9, nine total updates suffice, with bound 1/1024. The worst-case half-width bound after eight is still 1/512, so it does not give the requested guarantee.

After three updates the bracket is [5/4, 11/8], with midpoint 21/16 and error at most 1/16. Nine total updates guarantee midpoint error at most 1/1000; six more than the three shown.

Newton and a residual certificate

For f(x)=x^2-5, start Newton at x0=2 and compute x1, x2 exactly. Derive its root-error identity and certify the distance of x2 from sqrt(5) using a derivative lower bound on [2, 9/4].

  1. The positive root r=sqrt(5) lies in [2, 9/4], because f(2)=-1 and f(9/4)=1/16, and f prime=2x is positive there. Newton has N(x)=x-(x²-5)/(2x)=(x+5/x)/2 for x nonzero. From x0=2, its first proposal is x1=(2+5/2)/2=9/4.
  2. At x1, the next iterate is (9/4+20/9)/2=161/72. This is again in [2, 9/4]. Squaring gives f(x2)=25921/5184-25920/5184=1/5184>0. The residual is exact; the conclusion that x2 is above the positive root follows from monotonicity on the positive interval.
  3. For any positive x and r²=5, N(x)-r=(x²-2rx+r²)/(2x)=(x-r)²/(2x). This exact identity both explains the quadratic local behavior and shows that a positive nonroot iterate is sent to the root’s upper side. Its denominator assumption is part of the formula.
  4. On the entire interval connecting x2 and r, |f prime|>=4. The mean-value certificate therefore gives |x2-r|<=|f(x2)|/4=1/20736. Equivalently, rationalization gives x2-r=1/[5184(x2+r)], with x2+r>4. The certificate concerns the exact positive root of this stated equation, not an equation with unmodeled data or evaluation error.

x1=9/4, x2=161/72, with residual 1/5184. The error identity is e_next=e²/(2x), and 0<x2-sqrt(5)<=1/20736 from the interval derivative bound.

A contraction with two a posteriori bounds

For g(x)=(x+3)/(x+1) on [1, 2], prove invariance and a contraction bound, identify its fixed point, and compute the first three iterates from x0=1. Compare a successive-step and fixed-point-residual error certificate for x3.

  1. On [1, 2], g prime=-2/(x+1)², so |g prime|<=1/2. The function decreases from g(1)=2 to g(2)=5/3, hence maps [1, 2] into [5/3, 2], a subset of itself. The contraction theorem gives a unique fixed point in this complete interval. Solving x=(x+3)/(x+1) gives x²=3; only the positive root lies there.
  2. Starting from x0=1 gives x1=2, x2=(2+3)/(2+1)=5/3, and x3=(5/3+3)/(5/3+1)=7/4. Every point remains inside the proved invariant interval. These exact substitutions do not require a guess about convergence from arbitrary real starts near the pole at -1.
  3. The last successive difference is |7/4-5/3|=1/12. With q=1/2, the a posteriori contraction estimate is q|x3-x2|/(1-q)=1/12. This estimate uses the relation between two iterates and the uniform contraction factor; it is not simply the last step declared to equal the error.
  4. At x3, g(7/4)=19/11, so g(x3)-x3=19/11-7/4=-1/44. The fixed-point residual certificate gives |x3-sqrt(3)|<=1/[44(1-1/2)]=1/22, a sharper bound here. Both certify the same fixed point with their explicit hypotheses; neither is asserted to be the exact error.

The unique fixed point is sqrt(3); q=1/2 is valid. The iterates are 2, 5/3, 7/4. At x3 the successive-step bound is 1/12 and the fixed-point-residual bound is 1/22.

A cycle and a safeguarded recovery

For f(x)=x^3-2x+2, show what Newton does from x0=0. Separately certify a unique root in [-2, -1]. Starting from the right endpoint of that bracket, apply one proposal check with central fraction theta=1/4 and bisection fallback; state the new bracket.

  1. For f=x³-2x+2, f(0)=2 and f prime(0)=-2, giving N(0)=1. At one, f(1)=1 and f prime(1)=1, giving N(1)=0. Thus the proposed run is a nonroot two-cycle with no zero derivative. The observation that two numbers repeat is a failure of that starting orbit, not a root certificate.
  2. Separately, f(-2)=-2 and f(-1)=3. The cubic is continuous and f prime=3x²-2>=1 on [-2, -1], so there is exactly one root in that interval and it is simple. This existence and uniqueness evidence does not come from the failed orbit at zero and one.
  3. At the right bracket endpoint -1, Newton proposes -1-3/1=-4. For width one and theta=1/4, the acceptable central interval is [-7/4, -5/4]. The proposal lies outside it and outside the root bracket, so the specified rule rejects it and takes the midpoint -3/2.
  4. The midpoint value is -27/8+3+2=13/8>0. Retaining the opposite-sign half gives [-2, -3/2], of width 1/2, with the same unique root. This is a fully specified safeguarded update; it does not infer that any unnamed Newton modification is globally convergent.

Newton from 0 cycles 0, 1, 0, 1. The bracket [-2, -1] contains exactly one simple root. Its right-endpoint Newton proposal is -4, so the safeguard bisects at -3/2 and retains [-2, -3/2].

Correcting a multiple root

For f(x)=(x-2)^3, start at x0=5. Compare two ordinary Newton steps, one known-multiplicity corrected step, and one quotient-based multiplicity correction. Explain the exact-root and denominator checks.

  1. Write e=x-2. Then f=e³, f prime=3e² and f double-prime=6e. At nonzero e, ordinary Newton subtracts e/3, giving e_next=2e/3. From e0=3, e1=2 and e2=4/3, hence x1=4 and x2=10/3. This is linear convergence, consistent with multiplicity three.
  2. The known-multiplicity update subtracts 3f/f prime=e, so it gives x_next=2 exactly from x0=5. At that starting point, f=27 and f prime=27, and the corrected subtraction is 3 rather than the ordinary subtraction 1. This one-step result uses the pure-power factorization, not a universal claim for every function with a triple root.
  3. For the quotient-based correction, (f prime)²-f f double-prime=9e^4-6e^4=3e^4. Also f f prime=3e^5, so their quotient is e for e nonzero. At x0=5 these are 243 and 729, respectively, again giving the proposal 2. Equivalently, the extended function f/f prime=e/3 has a simple root.
  4. At the exact root e=0, both displayed corrections contain indeterminate expressions if evaluated mechanically. The exact-zero test comes first. Near that root, numerical evaluation of tiny derivatives and denominator differences can require additional error control. None of the exact hand identities supplies a blanket arithmetic-stability or noisy-data guarantee.

Ordinary Newton gives x1=4, x2=10/3 and error factor 2/3. Either multiplicity correction reaches 2 in one exact step from 5. An established exact root must be returned before any zero-over-zero expression.

Secant does not keep a bracket

For f(x)=x^2-2, start secant with x0=1, x1=2 and compute x2, x3, x4 exactly. Derive the two-error identity and identify when the last pair ceases to bracket the positive root.

  1. The initial function values are f(1)=-1 and f(2)=2. The divided difference is 3, so x2=2-2/3=4/3. Its residual is 16/9-2=-2/9. Using x1=2 and x2=4/3 next gives x3=4/3+1/15=7/5, with residual 49/25-2=-1/25.
  2. For the last pair 4/3 and 7/5, the input difference is 1/15 and the function difference is 41/225. The next correction is (-1/25)(1/15)/(41/225)=-3/205. Therefore x4=7/5+3/205=58/41. Its residual is (3364-3362)/1681=2/1681>0.
  3. For this quadratic, f[x, y]=x+y and f[x, y, r]=1. The general secant error identity therefore reduces exactly to e_next=e_n e_(n-1)/(x_n+x_(n-1)) wherever the denominator is nonzero. As a nonterminal positive-root orbit approaches r, its denominator tends to 2r, giving the familiar nonzero asymptotic coefficient in the two-error recursion.
  4. The initial pair brackets the positive root, as does the pair 2 and 4/3. But x2=4/3 and x3=7/5 both have negative residuals, so retaining only that last pair loses the sign bracket. The later positive residual restores opposite signs for the next pair in this example, but the secant rule itself did not maintain a bracket invariant or a guaranteed width reduction.

The secant iterates are x2=4/3, x3=7/5, x4=58/41. For r=sqrt(2), e_next=e_n e_(n-1)/(x_n+x_(n-1)). The pair x2, x3 has two negative function values and is not a bracket.

Convergent false position with a wide bracket

For f(x)=x^2-1 and initial bracket [0, 2], derive the recurrence for the lower regula-falsi endpoint and compute its first three values. Prove its limit and local error factor, and explain why bracket width fails as a terminating certificate.

  1. With b=2 and f(b)=3, the secant intercept from a is a-(a²-1)(2-a)/(4-a²). For 0<=a<1, cancellation of the nonzero factor 2-a gives c=(2a+1)/(a+2). Starting from a0=0 produces a1=1/2, a2=2/(5/2)=4/5, and a3=(13/5)/(14/5)=13/14.
  2. For any 0<=a<1, c-a=(1-a²)/(a+2)>0 and c-1=(a-1)/(a+2)<0. Thus each new point stays below 1 with negative function value and replaces only the lower endpoint. The upper endpoint remains 2. Continuity and the original signs preserve at least one root throughout; here the root in the bracket is exactly 1.
  3. The lower endpoints increase and are bounded above by 1, so they have a limit l. Passing to the continuous recurrence gives l(l+2)=2l+1, hence l²=1. Nonnegativity selects l=1. The exact signed error ratio is (a_(n+1)-1)/(a_n-1)=1/(a_n+2), tending to 1/3, so the proposals converge linearly.
  4. The actual bracket width is 2-a_n, which tends to 1, not zero. After the first three updates it is 15/14. Therefore a stopping rule demanding a narrow bracket would never pass merely by continuing this unmodified false-position sequence. A separate valid residual or sensitivity argument could certify a late proposal; convergence of the proposals does not make the stored bracket narrow.

a_(n+1)=(2a_n+1)/(a_n+2), giving 1/2, 4/5, 13/14. The proposals tend to 1 with local error factor 1/3, while the bracket width tends to 1.

Two interval root certificates

For f(x)=x^2-2 and X=[1, 2], use midpoint 3/2 and derivative enclosure [2, 4] to compute interval Newton. Compute a scalar Krawczyk enclosure with Y=1/3, its contraction factor and a posteriori midpoint-distance bound. State what each proves.

  1. For X=[1, 2], the exact midpoint is m=3/2 and f(m)=1/4. The derivative 2x lies in D=[2, 4], excluding zero. Division gives (1/4)/D=[1/16, 1/8], so interval Newton gives N=[3/2-1/8, 3/2-1/16]=[11/8, 23/16].
  2. This image is strictly inside X. With f C1 and a positive derivative interval, the scalar interval-Newton inclusion theorem proves existence and uniqueness in X, and every root in X lies in N. In this exact rational calculation, no outward-rounding widening is needed; a floating implementation would need valid enclosures of the same operations.
  3. For Y=1/3, 1-YD=[-1/3, 1/3], while X-m=[-1/2, 1/2]. Their interval product is [-1/6, 1/6]. Also m-Yf(m)=3/2-1/12=17/12. Thus K=[5/4, 19/12], which is contained in X, and q=sup|1-Yd|=1/3<1.
  4. The map x-Yf(x) is therefore an invariant contraction with a unique fixed point, equivalent to a root because Y is nonzero. Its midpoint residual is |Yf(m)|=1/12, giving |m-r|<= (1/12)/(1-1/3)=1/8. Here interval Newton gives a narrower location interval than K; that instance does not establish a universal ranking of the two enclosures.

Interval Newton gives [11/8, 23/16]. Krawczyk with Y=1/3 gives [5/4, 19/12], q=1/3 and midpoint-distance bound 1/8. Both certify a unique root in [1, 2].

One Halley step and its meaning

For f(x)=x^2-3, start at x0=2. Compute one Halley step and one ordinary Newton step, derive the exact Halley root-error identity, and certify the Halley error using a derivative lower bound on [3/2, 2]. Do not infer a universal efficiency ranking.

  1. At x0=2, f=1, f prime=4 and f double-prime=2. Halley subtracts 2(1)(4)/[2(4²)-1(2)]=8/30=4/15, giving 26/15. Ordinary Newton subtracts 1/4 and gives 7/4. Both proposals lie in the root interval [3/2, 2].
  2. For f=x²-r², simplifying the Halley formula gives H(x)=x(x²+3r²)/(3x²+r²). Subtract r and collect the numerator: x³-3rx²+3r²x-r³=(x-r)³. Hence H(x)-r=(x-r)³/(3x²+r²). The denominator is positive for the present positive-root problem, and the identity explains its cubic local error.
  3. At the Halley point, f(26/15)=676/225-675/225=1/225>0. The unique positive root sqrt(3) lies in [3/2, 2], where f prime=2x>=3. Therefore |26/15-sqrt(3)|<=1/(225 times 3)=1/675. The certificate uses the exact residual and a valid lower slope on the whole connecting interval.
  4. For comparison, the Newton proposal has residual f(7/4)=1/16 and the same interval would give a conservative error bound 1/48. The one-step Halley residual is smaller here, but Halley uses second-derivative information and different arithmetic. A general efficiency conclusion would require actual evaluation costs, accuracy requirements and a broader valid comparison, none of which follows from this example alone.

Halley gives 26/15, with residual 1/225 and error at most 1/675. Newton gives 7/4. For r=sqrt(3), Halley’s exact error is e_next=e³/(3x²+r²).

Newton for two nonlinear equations

For F(x, y)=(x^2+y^2-1, x-y), start at (3/4, 3/4). Solve the first Newton linear system exactly, compute the new residual, and compare the squared-residual merit values and initial directional derivative.

  1. At c=(3/4, 3/4), F(c)=(2 times 9/16-1, 0)=(1/8, 0). The Jacobian is [[3/2, 3/2], [1, -1]], with determinant -3. The exact Newton system requires (3/2)(s_x+s_y)=-1/8 and s_x-s_y=0, so s_x=s_y=-1/24.
  2. The new point is c+s=(17/24, 17/24). Its second equation remains zero, and its first residual is 2 times 289/576-1=1/288. Thus the full nonlinear residual has been recomputed from the new point, not confused with the zero residual of the solved linear model.
  3. For phi=||F||²/2, the initial value is (1/8)²/2=1/128. At the new point it is (1/288)²/2=1/165888. These are merit values in the specified unweighted Euclidean equation coordinates; an equation rescaling would alter that numerical merit definition.
  4. The exact Newton directional derivative is F(c) transpose J(c)s=-||F(c)||²=-1/64. Directly, grad phi(c)=(3/16, 3/16), whose dot product with s is the same value. This verifies descent for the initial direction and an actual full-step decrease in this instance; the descent identity alone would guarantee only a sufficiently small admissible step in general.

s=(-1/24, -1/24), x1=(17/24, 17/24), F(x1)=(1/288, 0). Merit decreases from 1/128 to 1/165888; the initial directional derivative is -1/64.

A perturbed scalar step

For f(x)=x^2-2 at x=3/2, use a function error eta=1/1000 and derivative error delta=1/100. Compute the inexact Newton step and its difference from the exact Newton step. Derive a general simple-root error bound retaining eta and delta separately.

  1. At x=3/2, the exact values are f=1/4 and f prime=3. The supplied perturbations give f_tilde=251/1000 and d_tilde=301/100. Their quotient is 251/3010, so the proposed next point is 3/2-251/3010=2132/1505. The positive denominator is exact under the stated fixed perturbations.
  2. The exact Newton proposal is 3/2-(1/4)/3=17/12. Subtracting it from the inexact point gives (25584-25585)/18060=-1/18060. In general, the difference between an inexact and exact Newton point at the same x is [delta f-eta f prime]/[f prime(f prime+delta)]. The particular errors partly cancel here; an absolute error bound must not presume that favorable sign combination.
  3. Relative to a root r, write e=x-r. Exact algebra gives e_next=[e f prime-f+e delta-eta]/[f prime+delta]. If |f prime|>=m and |f double-prime|<=M on the connecting interval, |eta|<=epsilon_f and |delta|<=d<m, then the numerator is bounded by M|e|²/2+d|e|+epsilon_f and the denominator below by m-d. This gives the stated general estimate.
  4. For the positive root sqrt(2) and this starting point, one may use [1, 2], m=2, M=2, d=1/100 and epsilon_f=1/1000. The resulting conservative error bound is [e²+|e|/100+1/1000]/(199/100), with e=3/2-sqrt(2). Quadratic local behavior would require the derivative and function errors to decrease compatibly, not remain arbitrary fixed uncertainties.

The inexact next point is 2132/1505, differing from the exact Newton point 17/12 by -1/18060. In general |e_next|<=[M|e|²/2+d|e|+epsilon_f]/(m-d), with d<m.

Counting roots with exact polynomials

Construct the signed Sturm remainder chain for p(x)=x^3-x-1. Count its real roots globally, on [1, 3/2], and on [-2, -1], explaining endpoint signs and the theorem’s squarefree and exact-arithmetic requirements.

  1. Set p0=x³-x-1 and p1=3x²-1. Dividing p0 by p1 leaves remainder -2x/3-1, so p2=(2x+3)/3. The remainder of p1 on division by this linear polynomial is its value at x=-3/2, namely 23/4; therefore p3=-23/4. The nonzero constant also proves gcd(p, p prime)=1, so p is squarefree.
  2. At minus infinity, the signs are (-, +, -, -), with two variations. At plus infinity they are (+, +, +, -), with one. The variation difference is one, so p has exactly one distinct real root globally. This conclusion uses the exact signed-remainder sequence rather than a numerical search that happened to find one candidate.
  3. At x=1, the signs are (-, +, +, -), giving V=2. At x=3/2, the values have signs (+, +, +, -), giving V=1; in particular p(3/2)=7/8. Thus (1, 3/2) contains one root. Neither endpoint is a root, so the count is the same for the closed interval requested.
  4. At -2, the signs are (-, +, -, -), and at -1 they are (-, +, +, -); both have V=2. Therefore (-2, -1) has no roots, and neither endpoint is a zero of p. The theorem counts distinct roots for a squarefree exact polynomial; multiple factors need appropriate exact handling, and rounded remainder chains require separate sign validation before being used as certificates.

A Sturm chain is p, its derivative 3x²-1, (2x+3)/3, -23/4. The global real-root count is one; [1, 3/2] contains that one root and [-2, -1] contains none.

Try it yourself

  1. Explain why opposite signs for 1/x on [-1, 1] do not certify a root, and why equal positive endpoint signs for (x-3/5)^2 on [0, 1] do not exclude a root. State the missing or insufficient hypotheses.

    Show the answer and reasoning

    The first function is undefined at zero and fails continuity on the interval. The second is continuous with an even-multiplicity root, so opposite endpoint signs are sufficient for existence, not necessary.

    For f(x)=1/x, the endpoint values are -1 and 1, but the function is not defined at zero. There is no continuous real function with this formula on the entire closed interval [-1, 1]. The intermediate value theorem therefore has a missing hypothesis and cannot certify a root across the pole. In fact, 1/x is nonzero at every admissible real x. This demonstrates a false apparent bracket when a domain exclusion is ignored. Splitting the interval at the pole restores admissible domains, but neither resulting side contains a zero of this function. For h(x)=(x-3/5)², the values at zero and one are 9/25 and 4/25, both positive. Nevertheless, h(3/5)=0. The root has multiplicity two and the function stays nonnegative on both sides, so it does not produce an opposite-sign bracket. Thus continuity plus opposite signs proves at least one real root, but equal endpoint signs alone do not prove absence. An exclusion conclusion needs additional range, monotonicity, polynomial or other valid information. Neither example justifies guessing an endpoint sign or declaring that all root-finding methods fail.

  2. A continuous sign bracket has initial width 3. Find the least number of exact bisections guaranteeing final midpoint error at most 10^(-6), assuming no exact zero is encountered. State the guaranteed bound at that number and why one fewer is insufficient.

    Show the answer and reasoning

    Twenty-one bisections are necessary for the uniform half-width guarantee. The bound is 3/4194304<10^(-6); after twenty it is 3/2097152>10^(-6).

    After n exact bracket updates, the width is 3/2^n and the final midpoint’s distance from any retained root is at most 3/2^(n+1). This convention counts updates, not an extra evaluation of the final center. The sign and continuity invariants are assumed valid. The desired inequality is 3/2^(n+1)<=1/1000000, or equivalently 2^n>=1500000. Since 2^20=1048576 and 2^21=2097152, the least integer meeting this worst-case bound is n=21. At n=21, the certified half-width is 3/4194304. It is below one millionth because 3000000<4194304. At n=20, the half-width is 3/2097152, which is above one millionth because 3000000>2097152. The calculation gives a guarantee for an unspecified root location in the retained bracket. An actual root might happen to be much closer to a midpoint earlier, or an exact zero might terminate the algorithm. Those possibilities do not improve the stated uniform count under the exercise’s assumptions. Rounded midpoint or sign evaluation needs separate enclosure handling.

  3. Prove that g(x)=cos(x) has a unique fixed point on [0, 1] by an invariant-interval contraction argument. Give a rigorous contraction factor and a residual-to-distance certificate for any proposed point in the interval.

    Show the answer and reasoning

    g maps [0, 1] into [cos(1), 1] and has contraction factor q=sin(1)<1. Its unique fixed point r satisfies |xhat-r|<=|cos(xhat)-xhat|/(1-sin(1)).

    On [0, 1], cosine decreases from one to cos(1), and cos(1)>0 because 1<pi/2. Hence g([0, 1])=[cos(1), 1] is a subset of the original nonempty closed interval. This supplies the invariance needed by the contraction theorem. The derivative is g prime=-sin(x). On this interval its absolute value is at most sin(1), and sin(1)<1. The mean value theorem therefore supplies the rigorous contraction factor q=sin(1), without needing a rounded decimal value for that constant. Completeness and contraction give a unique r in [0, 1] with r=cos(r). For any proposed xhat in that interval, the triangle inequality gives |xhat-r|<=|xhat-g(xhat)|+q|xhat-r|. Rearranging yields the residual certificate stated in the answer. If the cosine value is only approximate, replace its residual magnitude by a valid upper enclosure, for example |yhat-xhat|+epsilon when |yhat-cos(xhat)|<=epsilon. An unenclosed numerical cosine residual alone is not the exact numerator, and the theorem remains local to the proved invariant interval unless further arguments are supplied.

  4. Suppose 2<=f prime(x)<=8 on an interval. Derive the minimax positive relaxation parameter for g=x-alpha f and its derivative bound. Does this alone imply that g maps the interval into itself? Give an explicit counterexample if needed.

    Show the answer and reasoning

    The best uniform positive parameter is alpha=1/5, with q=3/5. Invariance does not follow: f(x)=2x+100 on [0, 1] gives g(x)=3x/5-20, outside the interval.

    For g_alpha=x-alpha f, the derivative lies in [1-8alpha, 1-2alpha]. The worst magnitude permitted by those derivative bounds is q(alpha)=max(|1-8alpha|, |1-2alpha|). This is a minimax statement for the supplied range, not necessarily the best parameter for a particular function whose derivative occupies a smaller range. Balancing opposite endpoint values gives 1-2alpha=-(1-8alpha), so alpha=2/10=1/5. Their common magnitude is 3/5. Before or after that balance, the larger endpoint magnitude cannot be improved without moving toward the balance, so this is the minimum positive constant-parameter bound. Choose f(x)=2x+100 on [0, 1]. It satisfies the stated derivative bounds because f prime=2. But with alpha=1/5, the map is x-(2x+100)/5=3x/5-20, whose image is [-20, -97/5], not a subset of [0, 1]. The original root is -50, outside the proposed interval. A contraction fixed-point existence theorem on that interval is therefore unavailable despite the derivative estimate below one. One must additionally prove an invariant interval or work on another complete domain where the map is well defined and invariant. On the whole real line this particular affine map does have its fixed point, but that is a different domain statement.

  5. For f(x)=x^3-2, start Newton at 1, compute two exact iterates, and bound the second-iterate error using |f prime|>=3 on [1, 4/3]. Retain the positive-root and interval hypotheses.

    Show the answer and reasoning

    The iterates are 4/3 and 91/72. The second residual is 7075/373248, and the positive-root error is at most 7075/1119744.

    For f=x³-2, Newton is N(x)=x-(x³-2)/(3x²), defined for nonzero x. From x0=1 it gives x1=1+1/3=4/3. At x1, the function value is 64/27-2=10/27 and the derivative is 16/3. The next correction is (10/27)/(16/3)=5/72, so x2=4/3-5/72=91/72. Cubing gives f(x2)=753571/373248-746496/373248=7075/373248>0. These are exact rational hand calculations. The unique positive root lies in [1, 4/3], because the endpoint signs differ and f prime=3x²>=3 there. The point 91/72 also lies in that interval. Therefore the mean-value residual bound yields |x2-cuberoot(2)|<=7075/(373248 times 3)=7075/1119744. The positive residual and monotonicity place x2 above the root. This certificate concerns the exact cubic and exact evaluated point. A noisy or rounded implementation would need a residual enclosure and a valid derivative lower bound rather than simply reusing the printed rational value as if it were its computed result.

  6. Analyze Newton for the real cube-root function f(x)=cuberoot(x) from any nonzero real starting point. Explain why the local simple-root theorem does not apply at zero and what happens if zero is reached exactly.

    Show the answer and reasoning

    For nonzero real x, the Newton map is -2x. Thus x_n=(-2)^n x0 diverges in magnitude for x0 nonzero. The derivative is not finite at the root zero, so the simple-root theorem does not apply.

    For real x nonzero, the derivative of cuberoot(x) is 1/[3|x|^(2/3)]. The ratio f/f prime is 3x, because cuberoot(x)|x|^(2/3)=x on both sides of zero. Therefore the exact Newton proposal is x-3x=-2x. Induction gives x_n=(-2)^n x0. A nonzero real starting value never reaches zero in exact arithmetic, its sign alternates, and its magnitude is 2^n|x0|, which tends to infinity. This is divergence despite the function having the unique real root zero. The local simple-root Newton theorem requires a differentiable neighborhood with a finite nonzero derivative at the root and suitable nearby bounds. Here the derivative is unbounded near zero and is not defined there, so those hypotheses fail. The example is not a contradiction of the theorem and is not an ordinary smooth polynomial multiple-root case. If a valid exact-zero test finds x=0 before the derivative division, the root should be returned immediately. A floating zero caused by underflow or rounding would require its own evaluation interpretation. The ideal real iteration analyzed above has no nonzero-start exact-zero event and supplies no convergence certificate.

  7. For f(x)=(x+1)^4 and x0=3, compute one ordinary Newton step and one known-multiplicity corrected step. Derive the ordinary error factor and explain the exact-root stopping rule for the corrected formula.

    Show the answer and reasoning

    Ordinary Newton gives x1=2 and error factor 3/4. The multiplicity-four correction gives -1 in one exact step; at the exact root, stop before dividing by the zero derivative.

    Let e=x+1. Then f=e^4 and f prime=4e³. For nonzero e, the ordinary quotient is f/f prime=e/4, so e_next=3e/4. From x0=3, the initial error is e0=4 and the next error is three, giving x1=2. The known-multiplicity correction is x_next=x-4f/f prime=x-e=-1. At x0=3, the values f=256 and f prime=256 make the ordinary subtraction one and the corrected subtraction four. The exact pure-power model explains the one-step corrected result. At the root -1, both f and f prime are zero. Evaluating either quotient there without an earlier exact-zero test is indeterminate. A reliable exact algorithm returns the established root before derivative division; an inexact evaluator must interpret its zero claim through an appropriate enclosure. The linear factor 3/4 belongs to ordinary Newton on this multiple-root equation. It does not contradict the quadratic theorem for simple roots. For a nonconstant smooth factor multiplying (x+1)^4, the corrected method is locally quadratic under the factor assumptions, but exact one-step termination need not persist.

  8. For f(x)=x^2-1, start secant at -2 and 2. Identify the breakdown despite existing simple roots, and explain why a solver must not invent a secant denominator or assume a unique root.

    Show the answer and reasoning

    The secant denominator is zero because f(-2)=f(2)=3. The roots -1 and 1 exist and are simple, but the starting pair neither defines a secant zero nor selects a unique root.

    At the two proposed points, the function values are both three. The two-point divided difference is (3-3)/(2-(-2))=0. Since the residual is nonzero, the secant update would divide by zero; the line through the graph points is horizontal and has no zero. The polynomial factors as (x-1)(x+1), so it has the simple roots -1 and 1. Their derivatives are -2 and 2, respectively. Local simple-root theory applies only to a suitable neighborhood of a selected root, not automatically to two symmetric starting points far enough apart to span both. The endpoint signs are also equal, so this pair is not an opposite-sign bracket. The existence of two roots is known here from exact algebra, not from an invalid sign test. A solver must not repair the undefined step by inventing a nonzero denominator or interpreting a symmetric input pair as a unique positive-root instruction. If a positive root is separately intended, one can establish a new valid domain and bracket, such as [0, 2] with values -1 and 3. A negative-root task could use the analogous other side. Such an additional choice needs to be stated; it is not an outcome of the failed secant proposal itself.

  9. For f(x)=x^3-1 on [0, 2], compute the first regula-falsi proposal. Under a central-fraction safeguard with theta=1/4, decide whether to accept it and find the fallback result.

    Show the answer and reasoning

    The false-position proposal is 1/4. It lies outside the central interval [1/2, 3/2], so the safeguard takes midpoint 1, which is an exact root.

    For f=x³-1, the endpoint values on [0, 2] are -1 and 7. The secant-line zero is 0-(-1)(2-0)/(7-(-1))=1/4. The formula is well defined, but a valid secant denominator alone does not guarantee an adequate interior position. The width is two. With theta=1/4, the central acceptable range is [0+(1/4)2, 2-(1/4)2]=[1/2, 3/2]. The proposal 1/4 is too close to the lower endpoint and fails the specified acceptance test. The fallback midpoint is 1, and f(1)=0 exactly. Thus this safeguarded update terminates with a root instead of performing a nonterminal bracket replacement. The candidate’s function value was not needed to reject its position; its exact value would be -63/64 if evaluated. The result illustrates the stated central-fraction rule, not a universal theorem that midpoint is always faster than interpolation. With exact signs, any nonterminal accepted or fallback point would preserve the bracket and the proved width bound. Inexact evaluation still requires its own zero or sign certificate.

  10. For f(x)=x^2-2, use the three data points x=0, 1, 2 to evaluate the inverse-quadratic interpolant at function value zero. Test this proposal against a theta=1/4 safeguard for the bracket [1, 2], then state the updated bracket.

    Show the answer and reasoning

    The inverse-quadratic proposal is 5/3. It lies in [5/4, 7/4], so it is accepted; its positive residual 7/9 leaves the bracket [1, 5/3].

    The inverse interpolation data are (y, x)=(-2, 0), (-1, 1), (2, 2). Their function coordinates are pairwise distinct. At zero, the Lagrange contribution from x=0 vanishes. The x=1 contribution is (-2)(2)/[(-1+2)(-1-2)]=4/3, and the x=2 contribution is 2(-2)(-1)/[(2+2)(2+1)]=1/3. The resulting proposal is c=5/3. For the maintained bracket [1, 2] of width one, the theta=1/4 central interval is [5/4, 7/4]. Since 5/3 lies inside it, the specified safeguard accepts the proposal rather than bisecting. The true endpoint signs are f(1)=-1 and f(2)=2. At the proposal, f(5/3)=25/9-2=7/9>0, so retain [1, 5/3]. Its width is 2/3, which is no greater than the general safeguard bound 3/4 for this update. Continuity preserves the root, and positive derivative on the original bracket gives uniqueness. The calculation uses the interpolation formula only as a proposal. The inverse sqrt(y+2) is not C3 at the data endpoint y=-2, so no smooth inverse-remainder theorem across all those nodes is being claimed. The sign bracket and safeguard provide the certificate independently of that extra interpolation smoothness.

  11. For f(x)=x^2-2 on X=[2, 3], compute the interval-Newton image using midpoint 5/2 and derivative enclosure [4, 6]. What root-exclusion conclusion follows, and why is it conditional on roots lying in X?

    Show the answer and reasoning

    The interval-Newton image is [23/16, 43/24], disjoint from [2, 3], so X contains no root. It is not a global enclosure of roots outside X.

    For X=[2, 3], the midpoint is m=5/2 and f(m)=25/4-2=17/4. The derivative 2x is enclosed by D=[4, 6], which excludes zero. These hypotheses justify the ordinary scalar interval-Newton construction on this interval. Division gives (17/4)/[4, 6]=[17/24, 17/16]. Therefore N=m-f(m)/D=[5/2-17/16, 5/2-17/24]=[23/16, 43/24]. The interval operations are exact here because all endpoints are rational. Its upper endpoint 43/24 is below two, so X intersect N is empty. Every root originally in X would have belonged to N by the mean-value inclusion proof. The empty intersection therefore rules out any root in [2, 3]. The theorem does not say that all roots anywhere belong to N. In particular, the actual positive root sqrt(2) lies outside X and need not lie in this image. Root exclusion on the stated domain is a narrower and valid conclusion than a global claim about the equation’s solution set.

  12. For f(x)=x^3-2 on [1, 3/2], take midpoint 5/4 and Y=1/5. Compute a scalar Krawczyk enclosure, a contraction bound and a midpoint-distance certificate. Prove the enclosure’s inclusion needed for a unique root.

    Show the answer and reasoning

    q=2/5, K=[371/320, 87/64] lies inside [1, 3/2], and the midpoint-distance bound is 1/64. These certify a unique root in the interval.

    At m=5/4, f(m)=125/64-2=-3/64. On X=[1, 3/2], D=f prime(X)=[3, 27/4]. With Y=1/5, the multiplier interval is 1-YD=[-7/20, 2/5], so q=2/5<1. The centered input interval is X-m=[-1/4, 1/4]. Its product with 1-YD is [-1/10, 1/10]. The transformed midpoint is m-Yf(m)=5/4+3/320=403/320. Thus K=[371/320, 435/320]=[371/320, 87/64]. Both endpoints are strictly inside [1, 3/2]: 371/320>1 and 435/320<480/320. The map x-Yf(x) therefore sends X into itself and has contraction factor at most 2/5. Since Y is nonzero, its unique fixed point is the unique zero of the original cubic in X. At m, the fixed-point residual magnitude is |Yf(m)|=3/320. Dividing by 1-q=3/5 gives |m-r|<=1/64. This is a rigorous location bound under the exact function and derivative enclosure, not an assertion that the midpoint error equals 1/64 or that every interval with a failed test is root-free.

  13. A solver evaluates a real function with a fixed additive error eta=epsilon>0. For f(x)=x-r with exact derivative 1, what does one inexact Newton step produce? Explain why further iteration does not remove the true root error, and relate this to indistinguishable function-data models.

    Show the answer and reasoning

    One step gives r-epsilon and later steps stay there for the biased evaluator. The true root error is epsilon, which repeated iteration cannot remove without better function information.

    The evaluator supplies f_tilde(x)=x-r+epsilon while the derivative is exactly one. An inexact Newton step is x_next=x-f_tilde(x)=r-epsilon, independent of the starting point. This solves the evaluator’s affine equation exactly, not the original equation x-r=0. At that new point, the evaluator returns zero, so every subsequent computed correction is zero. The original exact residual is -epsilon and the root distance is epsilon. A stopped or unchanged iterate therefore does not show that the original root error has vanished. More generally, if only an absolute function error bound epsilon is known, the same observed function g can be compatible with g+epsilon and g-epsilon. For a unit-slope affine g, their roots are separated by 2epsilon. Any one estimate has worst-case error at least epsilon against those two indistinguishable data models. Averaging, more iterations or more digits in the stored point cannot be assumed to remove an unknown fixed bias. A justified statistical model or improved calibration could supply additional information, but that is a changed evidence assumption. The deterministic conclusion here is the stated uncertainty floor for the original equation.

  14. For F(x, y)=(2x+y-1, x-y), solve one Newton system from (0, 0) and verify the exact residual. Explain why this behavior follows from affinity rather than a universal one-step nonlinear convergence claim.

    Show the answer and reasoning

    The Newton direction and new point are (1/3, 1/3), with exactly zero residual. This is a nonsingular affine system, so one exact Newton solve eliminates the entire affine residual.

    At the origin, F=( -1, 0), and the constant Jacobian is A=[[2, 1], [1, -1]]. Its determinant is -3, so it is nonsingular. The Newton equation A s=-F requires 2s_x+s_y=1 and s_x-s_y=0. The second equation gives s_x=s_y; the first then gives s_x=s_y=1/3. The new point is therefore (1/3, 1/3). Substitution yields 2/3+1/3-1=0 and 1/3-1/3=0, so the exact nonlinear-system residual is zero. Here F(x)=A x-b is affine. For any starting point and an exact Newton solution, F(x+s)=F(x)+A s=0, because there is no omitted higher-order remainder. Nonsingularity also gives global uniqueness of this affine root. A genuinely nonlinear F normally has a nonzero remainder, and an inexact linear solve or evaluated Jacobian adds further error. Thus this result is an explanation of the affine special case, not a universal one-step convergence promise for all two-equation Newton problems.

  15. For F(x, y)=(x+x^2/4, y/2), use B=diag(1, 2), center c=(1/4, 1/4) and radius r=1/2 in the infinity norm. Bound ||I-BJ||on that closed ball, check the invariant-ball inequality, and give an a posteriori bound for the unique root’s distance from c.

    Show the answer and reasoning

    q=3/8, ||BF(c)||_infinity=17/64<=5/16=(1-q)r. The ball has a unique zero, and ||root -c||_infinity<=17/40. The actual zero there is (0, 0).

    The closed infinity-norm ball has both coordinates in [-1/4, 3/4]. The Jacobian is diag(1+x/2, 1/2). With B=diag(1, 2), I-BJ=diag(-x/2, 0), whose induced infinity norm is at most 3/8 throughout the ball. This is a uniform neighborhood bound, not a sampled pointwise condition. At c=(1/4, 1/4), the function is (17/64, 1/8), so BF(c)=(17/64, 1/4) and delta=17/64. The allowable invariant-ball bound is (1-3/8)(1/2)=5/16=20/64. Since delta<=20/64, the contraction map x-BF(x) sends the ball into itself. The fixed matrix B is nonsingular, and q=3/8<1. The closed ball is complete, so the verified-ball theorem supplies a unique zero there. Its distance from c is at most delta/(1-q)=(17/64)/(5/8)=17/40. Direct algebra gives zeros only when y=0 and x(1+x/4)=0, namely x=0 or -4. Only (0, 0) lies in the stated ball, and its actual infinity distance from c is 1/4, consistent with the conservative bound 17/40. The theorem does not exclude the other zero outside the certified neighborhood.

  16. For F(x)=x on R^2 at x=(3, 4), consider the inexact Newton direction s=(-3, -3). Compute the linear residual, forcing ratio, merit directional derivative and full-step merit value. Compare the derivative with the general eta<1 descent bound.

    Show the answer and reasoning

    The linear residual is (0, 1), eta=1/5, the merit derivative is -21<=-20, and the full-step merit is 1/2. The initial merit is 25/2.

    For F(x)=x, the Jacobian is the identity. At x=(3, 4), ||F||_2=5. The direction s=(-3, -3) has linear residual ell=F+J s=(0, 1), with norm one, so the exact forcing ratio is eta=1/5. The merit is phi=||x||²/2, with gradient x. Thus its directional derivative is x transpose s=3(-3)+4(-3)=-21. The general forcing estimate gives at most -(1-eta)||F||²=-(4/5)25=-20, and indeed -21<=-20. The full step reaches x+s=(0, 1), so its merit is 1/2, compared with the initial 25/2. This is an actual decrease for alpha=1 in this particular example. The exact Newton direction would instead be (-3, -4) and reach the zero in one step. The eta<1 theorem guarantees a descent direction and hence a sufficiently small admissible Armijo step under the differentiability conditions. It does not automatically guarantee that every nonlinear problem accepts alpha=1 or that the inexact direction already solves F=0. The surviving residual here makes that distinction explicit.

  17. For H(x, t)=x^2-t, start at (x, t)=(2, 4) and increase t by 1/5. Compute the tangent predictor, one Newton corrector at the new t, and its exact residual. Explain the parameter fold at zero and the nonsingularity of augmenting the equations with x=s.

    Show the answer and reasoning

    The predictor is 41/20 at t=21/5. One corrector gives 3361/1640, with residual 1/2689600. The state-parameter Jacobian of (x²-t, x-s) is [[2x, -1], [1, 0]], with determinant one.

    At (2, 4), the implicit tangent satisfies 2x x prime-1=0, so x prime=1/4. Increasing t by 1/5 gives t_new=21/5 and predictor x_p=2+(1/5)(1/4)=41/20. Its exact equation residual is 1681/400-1680/400=1/400. At the fixed new parameter, the Newton derivative is 2x_p=41/10. The correction is (1/400)/(41/10)=1/1640. Therefore x_c=41/20-1/1640=3361/1640. This is an exact rational predictor-corrector calculation for the selected positive branch. The corrected residual is 3361²/1640²-21/5=(11296321-11296320)/2689600=1/2689600. It is positive and much smaller than the predictor residual. A location certificate can additionally use a valid positive derivative lower bound on a root interval; rational residual reduction alone is not a general root-existence theorem. For t>0, the branch derivative 1/(2sqrt(t)) diverges as t approaches zero. The augmented equations (x²-t, x-s)=0 instead have Jacobian [[2x, -1], [1, 0]], whose determinant is one, so the curve parameterization (x, t)=(s, s²) is regular through the turn. A physical restriction to x>=0 would still restrict the admissible continuation; changing coordinates does not authorize a different physical branch.

  18. Let p(x)=(x-1)(x-(1+delta)), delta=1/1000, and deflate using rhat=1+1/1000000. Derive the synthetic quotient and remainder, and quantify the shift in the other root. Explain why the tiny original polynomial residual does not alone validate the deflated root.

    Show the answer and reasoning

    The quotient is x-1000999/1000000 and the remainder is -999/10^12. Its proposed other root is shifted by -1/1000000 from the true 1+1/1000.

    Put e=1/1000000 and delta=1/1000. The coefficient sum of the original two roots is 2+delta. Dividing by x-(1+e) therefore gives the monic quotient x-(1+delta-e), with remainder p(1+e)=e(e-delta). This identity can also be verified by multiplying the quotient factor back and adding the remainder. Here 1+delta-e=1+999/1000000=1000999/1000000. The remainder is (1/1000000)(1/1000000-1/1000)=1/10^12-1000/10^12=-999/10^12. Its absolute magnitude is less than 10^(-9). If that remainder is discarded, the quotient root is 1000999/1000000, instead of the original other root 1+delta=1001000/1000000. The shift is exactly -e=-1/1000000, despite the tiny polynomial residual at the approximate deflation point. The root error and function residual have different scales. The derivative magnitude at either original root is delta=1/1000, so small residual-to-root sensitivity is not available without that inverse scale. Exact deflation by the true first root would preserve the second root; approximate deflation solves a perturbed problem. Validate final candidates against the original polynomial and a justified location or root-count argument rather than a discarded remainder alone.

What to carry forward

  • A sign change certifies a real root only with continuity on the whole bracket; a failed sign change does not exclude an even-multiplicity root.
  • Local rapid convergence requires a suitable starting region and regularity. Safeguards supply a separate global mechanism rather than changing a local theorem into a universal one.
  • A residual becomes an error bound only through valid inverse sensitivity, domain information and evaluation-error control.
  • A contraction certificate includes an invariant complete domain and a uniform factor below one. A favorable derivative at a single point is insufficient.
  • Newton, secant and Halley have different local orders and exceptional cases; multiple roots, nearly zero denominators and finite arithmetic alter their behavior.
  • Inexact Newton descent and sufficient decrease are separate statements. The line-search margin must match the actual or certified directional decrease.
  • Root isolation, continuation and branch selection answer different scientific questions. A local solver does not automatically find every root or preserve a physically admissible branch.
  • A trustworthy stopping record combines the iterate, domain, residual enclosure, sensitivity or inclusion proof, data assumptions and remaining uncertainty.

References

Sources for the concepts and teaching approaches in this article.

  1. Nicholas J. Higham2 sources
    1. What Is a Condition Number?Nicholas J. HighamAuthor expositionnhigham.comRead source
    2. What Is Numerical Stability?Nicholas J. HighamAuthor expositionnhigham.comRead source
  2. Jiří Lebl3 sources
    1. Basic Analysis II: Continuity and the DerivativeJiří LeblOnline textbookjirka.orgRead source
    2. Basic Analysis II: Inverse and Implicit Function TheoremsJiří LeblOnline textbookjirka.orgRead source
    3. Basic Analysis II: Contraction Mapping PrincipleJiří LeblOnline textbookjirka.orgRead source
  3. Digital Library of Mathematical Functions, Section 3.8: Nonlinear EquationsNational Institute of Standards and TechnologyReference workdlmf.nist.govRead source
  4. Line search and globalizationDavid BindelAuthor course notescs.cornell.eduRead source
  5. Convergence of the secant methodPurdue University, CS 514 course notesCourse notescs.purdue.eduRead source
  6. Polynomials: Lecture notes, Week 12Florian EnescuAuthor course notes · PDFmath.gsu.eduRead source
  7. Verification methods: Rigorous results using floating-point arithmeticSiegfried M. RumpResearch review · PDFtuhh.deRead source
  8. An algorithm with guaranteed convergence for finding a zero of a functionR. P. BrentResearch paper · PDFmaths-people.anu.edu.auRead source