Consider the original worked example on . First, existence: a polynomial function is a continuous function, and . The intermediate value theorem therefore supplies a zero of a function , even before its value has been calculated.
Second, uniqueness is a separate argument. The derivative is . The derivative criterion for monotonicity, obtained from the mean value theorem, makes a strictly increasing function. Two distinct zeros of a function would contradict that strict increase. Thus this root bracket contains exactly one zero of a function; indeed the same derivative argument proves uniqueness on the entire real line.
Third, localization uses the existing bisection method. Set ; after completed halvings, retain with opposite endpoint signs. Each update tests the old midpoint . The first five exact updates areEvery retained root bracket contains by the intermediate value theorem. After ten halvings, exact arithmetic givesHence . The new midpoint and its bisection error bound areThis midpoint is the estimate after the tenth update; the last tested point was . In general the retained width is , so the bisection error bound is . Nine halvings already suffice for an error at most , since . This guarantee comes from the width of the root bracket, independently of any displayed decimal approximation to the unknown zero of a function. Endpoint signs must be established reliably if evaluations use floating-point arithmetic.
Argument principle Created 2026-09-24 Updated 2026-10-14
The argument principle turns a boundary journey into an interior count: follow the values of a meromorphic function around a contour, and count their net turns around zero. Every enclosed zero of a function contributes its multiplicity of a zero; every enclosed pole subtracts its order. There is no need to find each zero of a function separately.
Let be a piecewise smooth simple closed curve with positive orientation of a contour. Suppose is a meromorphic function on an open neighborhood of the curve and its interior, with no zeros of a function or poles on . ThenHere is the sum of the zero multiplicities inside , and is the sum of the orders of its enclosed poles. The image contour may cross itself or revisit a point. Its signed winding number, rather than the number of visually bounded regions, is the quantity that counts.[ref]
For the polynomial and the unit circle , , the image is . It goes around zero three times although its drawn outline is just one circle. The interior contains one distinct zero of a function, at zero, with multiplicity of a zero three: the count is three. Reversing the orientation of a contour reverses the winding number and the sign of the contour integral.
An argument must be followed continuously along the journey. Subtracting the principal arguments at the endpoints loses whole turns: a closed image contour has the same endpoint value even when its winding number is nonzero. Nor does winding number zero prove that there are no zeros of a function: one enclosed simple zero of a function and one enclosed simple pole cancel in . Known poles must be added back to recover .
The mechanism is short. Near a zero of a function of order , factor with a nonvanishing holomorphic function. Its logarithmic derivative is , so its residue is . A pole of order gives residue . The residue theorem adds those contributions. Changing variables to identifies the resulting contour integral with the winding number. This is a local algebraic count joined to a global geometric count.[ref]
The usefulness goes beyond explicit polynomials. Rouché's theorem keeps a count unchanged when a boundary perturbation cannot push the image contour through zero. The Nyquist stability criterion applies the same counting idea to poles governing a system under feedback control.[ref]
Argument principle for a rational function 2026-10-14
Consider the rational functionInside the unit circle are a double zero of a function at and a simple pole at . The simple zero of a function at is outside. Thus , , and the winding number is one. The factorization checks the count exactly; the plot illustrates how the boundary records it.
For the concentric circle , the winding number is zero for , two for , one for , and two for . At or , the boundary contains a zero of a function; at , it contains a pole. The theorem does not apply at those three radii. Moving a boundary changes the count only when it crosses an object being counted; homotopy invariance of winding number describes the unchanged count between crossings.
Bisection error bound 2026-10-14
In exact arithmetic, after completed halvings the retained root bracket has width and midpoint , whereThe absolute value bound holds for every zero of a function in the current root bracket, including the one approached by continued bisection method updates. A zero of a function discarded with an earlier half need not satisfy later bounds. Before update , the evaluated candidate is , whose corresponding guarantee is . After update , the new midpoint has the smaller guarantee , even without evaluating .
Bisection widths, midpoint error bounds, and actual square-root errors after zero to fifteen halvings
. Details. The guaranteed error halves at every step; the actual absolute value error need not decrease at every step or have successive ratio . In the square root example it increases from to , while both errors remain below their guarantees. An exact midpoint zero of a function instead gives zero error and immediate termination. For this example is an irrational number, so no finite exact halving can produce it as a midpoint.
For a brief proof outline, each retained half has half the previous width and contains a zero of a function by the intermediate value theorem. Every point in the retained root bracket is at most half its width from its midpoint. If the process does not stop at a zero of a function, the nested interval theorem gives one common point as the widths tend to zero; continuity and the opposite endpoint signs force its function value to be zero. Uniqueness in the initial root bracket is unnecessary.
Bisection method Created 2026-10-14 Updated 2026-10-20
The bisection method finds a zero of a function by repeatedly halving a root bracket. Let be a real-valued continuous function on the closed interval , with . First check for endpoint zeros of a function; otherwise require strictly opposite signs at the endpoints. Evaluate the midpoint and retain the half with strictly opposite endpoint signs, stopping immediately if the midpoint is a zero of a function. The intermediate value theorem ensures that every retained root bracket still contains a zero of a function. This is the construction in MIT's root-finding notes.[ref]
https://ocw.mit.edu/courses/18-330-introduction-to-numerical-analysis-spring-2012/5b325bfa56a599794c7196de926844b0_MIT18_330S12_Chapter4.pdf. Laurent Demanet, MIT 18.330, Chapter 4, §4.1, pp. 1–2, 2012
For a worked square root calculation, use the polynomial on . Write for the root bracket after halvings, with . The candidate evaluated during update is the old midpoint :The initial midpoint is . After four halvings the new midpoint is , and the bisection error bound is . Its actual error is approximately . The last tested candidate and the reported midpoint are different points.
The useful feature of the bisection method is that the retained width halves on every update, independently of the shape of the function graph. The bisection error bound therefore supplies an accuracy guarantee before the zero of a function is known. No derivative is needed, and a valid initial root bracket gives convergence without a close initial guess. This makes the bisection method a dependable fallback for the faster Newton root-finding iteration.
Bisection stopping criterion 2026-10-14
For a requested absolute tolerance , stop when the retained root bracket has width at most , and report its midpoint. The bisection error bound then guarantees in exact arithmetic. Using the ceiling function and the base-two logarithm, the required number of halvings isThe zero allows stopping before any update when the initial root bracket is already sufficiently narrow. For the polynomial on with , . After nine halvings,Thus the reported midpoint meets the tolerance; its actual error from the square root is approximately . After eight halvings the bound is , so eight do not give this worst-case guarantee.
Cache the endpoint values. Each update of the bisection method needs just one new function evaluation, at the old midpoint. With no early zero of a function, updates therefore cost function evaluations, including the two initial endpoints. Returning the new midpoint requires no additional function evaluation; requesting its value would add one. The nine-update example needs eleven evaluations for the guarantee.
A small function value alone does not guarantee a small position error: rescaling changes those values without changing its zeros of a function. In a practical implementation, use an explicit width test and an iteration limit. With floating-point arithmetic, also stop if the computed midpoint equals either endpoint: the root bracket can no longer shrink, so repeating the update would loop forever. Report this precision limit separately if the requested tolerance remains unmet. Reliable sign evaluations are needed to preserve the root bracket; compare signs directly rather than multiplying endpoint values, which can suffer overflow or underflow in floating-point arithmetic.
For a rounded midpoint still inside a valid root bracket, the geometric error bound is ; it need not equal because of roundoff error. A rigorous computed enclosure also needs conservative arithmetic for that bound and reliable endpoint signs. The exact-arithmetic bisection error bound should not be claimed unchanged after precision prevents further halving.
For practical tolerance conventions, SciPy's
bisect combines absolute and relative tolerances through , and provides a maximum iteration count and convergence status. These differ from the purely absolute width test above.[ref]https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.bisect.html. SciPy, scipy.optimize.bisect documentation
Bracketing method 2026-10-14
A bracketing method finds a zero of a function by maintaining a root bracket and shrinking it as new values of the function become available. The bisection method always tries the midpoint; its special attraction is a predictable bisection error bound without any derivative evaluations.
Intermediate value theorem Created 2026-09-24 Updated 2026-10-14
The intermediate value theorem says that a real-valued continuous function cannot skip a value between two of its outputs. Let and let be a continuous function on the entire closed interval . ThenThe word "between" includes both endpoint values: choose when , or when . If is strictly between them, every such lies in the open interval . Continuity on means continuity at every interior point, together with the endpoint one-sided limits and . No derivative is required.[ref]
Calculus Volume 1 by Gilbert Strang and others. §2.4, Continuity over an Interval and Theorem 2.11, The Intermediate Value Theorem
For finding a zero of a function, the useful special case isStrictly opposite endpoint signs certify a root bracket, because zero is strictly between and . If an endpoint value is already zero, that endpoint supplies a zero of a function directly; an interior zero of a function need not exist. For example, on has its only zero of a function at the left endpoint. The intermediate value theorem guarantees existence, but neither uniqueness nor a necessary sign-change test. Its numerical usefulness is that the bisection method can turn existence into successively tighter root brackets.
Three explicit functions separate the hypotheses from the conclusion. These are original mathematical illustrations, not measured data.
The polynomial function is a continuous function on , with and . The intermediate value theorem guarantees at least one zero of a function in the interior, while the polynomial factorization displays three: . Thus strict opposite signs do not establish uniqueness.
The everywhere-defined functionhas and , yet no zero of a function. Its jump discontinuity at zero is exactly where the continuity hypothesis fails. A drawn vertical connector would be misleading: the function graph contains neither the intermediate heights nor a zero of a function at that jump. Even continuity only on the interior is insufficient: setting for and gives opposite endpoint signs on with no zero of a function, because the left one-sided limit at is not .
The polynomial function on is a continuous function, and , yet . Its root of a polynomial at zero has multiplicity of a root two. The function graph touches its horizontal tangent line there and stays positive on both sides: existence of a zero of a function does not require a sign change. More generally, near a real root of a polynomial , a polynomial factorization with and has the same sign on both sides sufficiently close to , since the continuous function retains its sign. The intermediate value theorem does not rule out values outside the range between endpoint outputs.[ref]
Calculus Volume 1 by Gilbert Strang and others. §2.4, Example 2.37: positive endpoint values do not exclude an interior zero; Theorem 2.11 requires continuity on the whole interval
Interval bisection Created 2026-10-07 Updated 2026-10-14
Interval bisection solves a target equation by repeatedly halving a closed interval known to contain a solution. It is the bisection method applied to , so the target becomes a zero of a function. This reduction from an equation to root finding is described in Demanet's notes.[ref]
https://ocw.mit.edu/courses/18-330-introduction-to-numerical-analysis-spring-2012/5b325bfa56a599794c7196de926844b0_MIT18_330S12_Chapter4.pdf. Laurent Demanet, MIT 18.330, Chapter 4, §4.1, pp. 1–2, 2012
Here the emphasis is on a continuous strictly increasing function: the target identifies one input, making interval bisection a way to evaluate its inverse function without an explicit inverse formula.Let be a continuous function, with and . The intermediate value theorem guarantees existence; a strictly increasing function also guarantees uniqueness. Check endpoint equality first. Otherwise, for the current root bracket , evaluate its midpoint . If , retain ; if , retain ; if , return that exact solution. These comparisons preserve the target bracket. General bisection method needs continuity and opposite signs of at the endpoints, without requiring monotonicity or a unique zero of a function; see limitations of bisection.
An original dimensionless polynomial example isHere and the derivative , so there is exactly one solution. In fact ; knowing this lets us check the computed absolute error independently of the guarantee. The first four halvings give the following exact rational numbers:
The beauty of interval bisection is that the enclosure itself supplies the certificate: one comparison removes half the possible inputs, regardless of the steepness of the function graph. In exact arithmetic, after completed halvings without exact termination, the width and the bisection error bound for the new midpoint areThe reported midpoint after update four is , rather than the last tested point . Its certified absolute error is at most , and its actual absolute error is . For a requested position tolerance , the bisection stopping criterion requires eleven halvings: ten give , while eleven giveThe actual absolute error is . The new midpoint need not be evaluated to obtain this certificate.
The signed output residual is ; the position approximation error is . They answer different questions: how close is the output to the target, and how close is the input to the solution? Driscoll and Braun explain why a small residual needs information about the derivative to imply small position error.[ref]
https://fncbook.com/rootproblem/. Toby A. Driscoll and Richard J. Braun, Fundamentals of Numerical Computation, §4.1.1, Conditioning, error, and residual
For this particular polynomial, direct factorization givesThus at the residual is , despite position absolute error . If a differentiable function satisfies throughout the bracket, the mean value theorem gives the rigorous conversionOur example permits and on . Strict increase alone supplies no positive lower derivative bound: is strictly increasing but . A small residual alone is therefore not a universal position certificate; even the target equation has residual at , a full unit from its solution.The guarantees require continuity and correct evaluations, not just narrowing endpoints. For the strictly increasing function when and when , the target lies between and but is never attained: a jump discontinuity defeats the existence argument. With floating-point arithmetic or an approximate evaluation, an incorrect comparison can discard the true solution. A certified interval enclosure of wholly below or above certifies the corresponding decision; an enclosure containing is inconclusive, rather than proof of equality. If rounding makes the midpoint equal an endpoint, report the precision limit; see bisection stopping criterion for the rounded position bound. Both figures are exact mathematical examples, not measured data.
Interval root exclusion 2026-10-14
Interval root exclusion certifies that a function has no zero of a function on when a valid interval enclosure excludes zero. For on , the interval square range yields , which excludes zero. Direct interval arithmetic yields and is inconclusive, even though the function has no zero of a function there.
Knowing only that a calculated interval enclosure contains zero does not certify a zero of a function: it may contain unattainable values. Even the positive constant function has a valid, loose interval enclosure . A separate existence argument, such as reliable opposite endpoint signs together with continuity in the intermediate value theorem, is required; see root bracket and bisection method. Interval subdivision can resolve some inconclusive pieces, but remaining pieces must be reported as unresolved unless an existence argument succeeds. This makes interval root exclusion useful for systematically discarding regions in a search.
// Target: analysis.bigb
Jensen's formula Created 2026-10-07 Updated 2026-10-14
Let and let be a holomorphic function on an open neighbourhood of the closed disk . Assume and that has no zeros of a function on the boundary circle . List its interior zeros of a function as , repeating each according to its multiplicity of a zero. With the natural logarithm, Jensen's formula statesThe empty sum is zero. This boundary-zero-free version is the holomorphic special case of the general identity in the source.[ref]
246B, Notes 1: Zeroes, poles, and factorisation of meromorphic functions by Terence Tao. §1, Theorem 2 and equation (6): neighbourhood of the closed disk, zeros counted with multiplicity, holomorphic special case
Every interior zero of a function makes a positive contribution; a zero nearer the centre contributes more. Consequently boundary growth relative to limits how many zeros of a function can lie well inside the disk. The Jensen zero-count bound makes this quantitative, while the integrated zero count retains the individual radial weights. The boundary statistic here is the circle log-mean of a holomorphic function; exponentiating gives a circle geometric mean of a holomorphic function.
Limitations of bisection 2026-10-14
Several zeros of a function can lie in one initial root bracket: the bisection method seeks one, rather than enumerating them. For instance, the polynomial has opposite endpoint signs on , but its first midpoint evaluation returns only the polynomial root . The initial zero of a function need not be unique for the bisection error bound to apply to a retained zero of a function.
A zero of a function without a sign change cannot be located by the strict sign-change test alone. The polynomial touches zero at but is positive on either side. On both endpoint values are positive: although the closed interval contains a polynomial root, it fails the usual starting test for the bisection method. An endpoint or evaluated midpoint zero of a function can still be recognized directly.
Opposite signs certify a root bracket only with the required continuity. For , the values at and have opposite signs, but is undefined at the midpoint and has no zero of a function. Hence is invalid input for the bisection method; the intermediate value theorem does not apply across the gap.
Local parameter on a smooth algebraic curve 2026-10-07
At a point of a smooth algebraic curve, its local ring is a discrete valuation ring. A local parameter is a generator of its maximal ideal, equivalently an element of valuation one. It measures the order of a zero of a function or pole by expressing functions as powers of times units. Over the complex numbers its analytic counterpart is a local coordinate vanishing simply at the point. For an elliptic curve in a Weierstrass equation of an elliptic curve, is the standard parameter at the identity.
Local quadratic convergence of Newton iteration Created 2026-10-14 Updated 2026-10-18
Let be twice continuously differentiable on an interval around a zero of a function , with and there. Choose a closed interval inside that interval with . Starting inside it makes the Newton root-finding iteration well defined, keeps it inside, and gives the displayed quadratic convergence bound for . The nonzero derivative and sufficiently close start are essential hypotheses. The scalar estimate follows from the Taylor remainder argument in MIT's root-finding notes.[ref]
https://ocw.mit.edu/courses/18-330-introduction-to-numerical-analysis-spring-2012/5b325bfa56a599794c7196de926844b0_MIT18_330S12_Chapter4.pdf. Laurent Demanet, MIT 18.330, Chapter 4, pp. 2–3, 2012
For a short proof outline, apply Taylor's theorem between and ; subtract the defining tangent line equation. The linear error cancels, leaving . The displayed bound shrinks the error and preserves the chosen interval. If , the error ratio tends to ; if it vanishes, convergence can be faster.
Log-radius slope of the circle log-mean 2026-10-14
Fix a holomorphic function on a neighbourhood of a closed disk, with . On an interval of positive radii whose circles contain no zeros of a function, differentiating Jensen's formula with respect to givesEach interior zero of a function contributes slope one for each unit of its multiplicity of a zero. Between consecutive zero moduli, is an affine function; passing the modulus of a zero of multiplicity of a zero increases the adjacent slopes by . The finite sum defines a continuous convex function of whose values agree with the circle log-mean of a holomorphic function at every boundary-zero-free radius. This describes the adjacent line segments without asserting a boundary-singularity extension of the integral.
Nested intervals Created 2026-10-14 Updated 2026-10-20
A sequence of nested intervals keeps every new enclosure inside the previous one:Each step adds a restriction without discarding an earlier restriction. This is useful when an exact real number is described by increasingly precise bounds rather than by a finite decimal expansion. The bisection method, for instance, produces nested intervals that keep enclosing a zero of a function.
For a simple example, the closed intervals are nested and all contain . Their lengths tend to zero, so the nested interval theorem leaves exactly that point. The family is also nested, but its intersection is the whole closed interval . Nesting alone does not force uniqueness.
The open intervals illustrate a different possibility. Every finite collection has a nonempty intersection, but the intersection of all of them is empty: any positive candidate eventually exceeds , and zero is excluded from every member. Each finite row in the diagram contains points; the full infinite family need not.
Newton root-finding iteration 2026-10-14
The Newton root-finding iteration seeks a zero of a function by repeatedly solving its tangent line approximation. At a current guess with derivative , setGeometrically, follow the tangent line to the horizontal axis, then return to the function graph for the next tangent line. Close to a suitable zero of a function, the error becomes dramatically smaller.[ref]
https://ocw.mit.edu/courses/18-330-introduction-to-numerical-analysis-spring-2012/5b325bfa56a599794c7196de926844b0_MIT18_330S12_Chapter4.pdf. Laurent Demanet, MIT 18.330, Chapter 4, §4.1, 2012
For a concrete square root calculation, take the polynomial and start at . The Newton root-finding iteration becomes , givingThe errors use the unrounded iterates. After the first step, each iterate overestimates , and the exact identityexhibits quadratic convergence: once close, the number of correct decimal digits roughly doubles per step. This speed makes the Newton root-finding iteration useful when accurate derivatives are available.
Global convergence requires additional care. For the polynomial , starting at gives , , hence . Then , gives . The sequence repeats forever, although a real polynomial root lies in by the intermediate value theorem. Neither point in the cycle is a zero of a function, and neither has zero derivative. A maintained sign-changing interval and fallback bisection method can protect a root solver from unsuitable Newton steps.
Numerical analysis Created 2026-09-24 Updated 2026-10-14
Numerical analysis designs algorithms that approximate mathematical answers while controlling cost and error. Its central question is how much of a computed answer can be trusted. Finding a zero of a function, evaluating an integral, solving a linear system, and evolving an ordinary differential equation all demand choices about accuracy, work, and the information available. MIT's numerical-methods course explicitly treats performance and accuracy as joint concerns.[ref]
https://ocw.mit.edu/courses/18-335j-introduction-to-numerical-methods-spring-2019/pages/week-1/. Steven G. Johnson, MIT 18.335J, Week 1, 2019
Three questions organize error analysis. Truncation error measures the approximation introduced by an algorithm even in exact arithmetic; roundoff error comes from finite precision; the condition number measures sensitivity inherent in the problem. Numerical stability asks how the chosen algorithm propagates perturbations. These distinctions suggest different remedies: refine an approximation, change precision or arithmetic, or improve the accuracy of the input.
For example, the square root has relative condition number for : a small relative change in produces about half that relative change in . In contrast, has relative condition number . Changing to changes to about : an input change of about produces an output change of about . This sensitivity exists even with exact arithmetic. MIT's conditioning lecture separates the condition number from roundoff error in precisely this way.[ref]
https://ocw.mit.edu/courses/18-335j-introduction-to-numerical-methods-spring-2019/pages/week-2/. Steven G. Johnson, MIT 18.335J, Lecture 5: Condition Numbers, 2019
The Newton root-finding iteration replaces the graph by its tangent line at and uses that line's zero:Comparing with the printed reciprocal-ratio form givesThis step requires . If , the iteration has already reached a zero of a function and the printed reciprocal-ratio expression need not be evaluated.







