Newton’s Method and Composition
Two-Dimensional Equation Solving with Winding Numbers
1. Central Idea
Many equations can be rewritten as a zero-finding problem. Instead of solving
one considers the difference
and searches for inputs satisfying
This viewpoint works for:
Ordinary real equations with one real unknown.
Equations involving two real variables.
Equations involving one complex variable, since a complex number can be represented by two real coordinates.
Finding complex roots of polynomials.
Studying theoretical questions about whether solutions must exist.
The central mathematical lesson is that useful constructions should compose predictably. A property that behaves well when regions are joined together can support a reliable recursive algorithm.
2. One-Dimensional Zero Finding
2.1 Solving an Equation by Finding an Intersection
For real-valued functions, solving
can be interpreted as finding where the graphs of f and g intersect. At an intersection, both functions have the same output.
For example, consider
Solving f(x)=g(x) means solving
so the goal is to find 2 or −2.
2.2 The Bisection Idea
To locate the positive solution:
Evaluate the function at x=1: $$ 1^2-2=-1. $$ The result is negative.
Evaluate it at x=2: $$ 2^2-2=2. $$ The result is positive.
Since the function changes from negative to positive between 1 and 2, continuity implies that it must equal zero somewhere in between.
Test the midpoint: $$ 1.5^2-2=0.25. $Thisispositive,sothesolutionliesbetween1and1.5$.
Continue testing midpoints and retaining the half-interval whose endpoints have opposite signs.
This process is called bisection. Each step cuts the search interval in half, rapidly narrowing in on a solution.
2.3 The Intermediate Value Principle
The underlying fact is:
If a continuous real-valued function is negative at one point and positive at another, then it equals zero somewhere between those points.
In one dimension, the boundary of an interval consists of only two endpoints. The relevant information is therefore whether the function has opposite signs at those endpoints.
The algorithm depends on two properties:
Continuity: The function cannot jump from negative to positive without passing through zero.
Sign change: Opposite signs at the ends of an interval guarantee a zero inside.
3. Extending the Problem to Two Dimensions
A two-dimensional function has:
A two-dimensional input, such as (x,y).
A two-dimensional output, such as another point (u,v).
It can be written as
The goal is to find an input point where
This includes complex equations because a complex number
has two real components:
Real part x.
Imaginary part y.
Thus, a function of one complex variable can be viewed as a function with a two-dimensional input and a two-dimensional output.
For example, finding complex roots of a polynomial means finding points z in the complex plane satisfying
4. Visualizing Two-Dimensional Functions
A function with two-dimensional input and two-dimensional output would ordinarily require four dimensions to graph directly. Several alternative visualizations are useful.
4.1 Input and Output Spaces Side by Side
One can display:
The input plane on one side.
The output plane on the other side.
Each input point is connected conceptually to the output point where the function sends it. Moving through the input plane causes corresponding movement through the output plane.
The functions under consideration are continuous:
Small changes in the input produce small changes in the output.
There are no sudden jumps.
4.2 Vector Fields
For every input point, the output can be represented by an arrow from the origin to the output point. A miniature version of that arrow can be attached to the corresponding input point.
This produces a vector field showing:
The direction of the output at each input.
The magnitude of the output through arrow length.
Because a vector field can become cluttered when many arrows are drawn, all arrows may instead be given the same length. The resulting diagram preserves only the direction of each output.
4.3 Color Maps
A particularly effective visualization assigns a color to each output direction.
Hue represents direction around the output origin.
Brightness or darkness represents distance from the output origin.
For example:
Red may represent one direction.
Yellow, green, blue, violet, and pink represent progressively different directions around the output plane.
Darker colors represent outputs closer to the origin.
Brighter colors represent outputs farther from the origin.
The origin itself has no direction. Therefore, as an output approaches zero, its color fades toward black.
The input plane can then be colored according to the output direction:
Each input point receives the color associated with the point to which the function maps it.
This allows the behavior of a two-dimensional function to be inferred from a single colored input plane.
4.4 Interpreting the Color Map
Examples of visual interpretations include:
A pink stripe means that the inputs in that stripe map in approximately the pink direction.
A black point means that the corresponding input maps to the origin.
A black point surrounded by many changing colors often indicates a zero of the function.
Regions of nearly uniform color generally map to outputs with nearly the same direction.
The algorithm does not need to calculate the function at every point in the entire plane. It seeks a more efficient method that examines the function only along selected boundaries.
5. The Two-Dimensional Analogue of Sign
In one dimension, a nonzero real number has one of two possible directions:
Positive: points right.
Negative: points left.
Thus, the one-dimensional sign test distinguishes between two directions.
A nonzero two-dimensional vector can point in any direction around a circle. Therefore, the two-dimensional analogue of a sign is not simply “positive” or “negative”; it is the direction of the output vector.
Using the color representation:
Each hue corresponds to a direction.
Traveling once around the color wheel corresponds to the output direction rotating once around the origin.
For a two-dimensional input region, the boundary is a closed loop rather than two endpoints. The natural question becomes:
How does the output direction change as the input travels around the boundary?
6. Why Merely Seeing Every Color Is Not Enough
A first hypothesis might be:
If the output takes every possible direction somewhere along the boundary of a region, then the region must contain a zero.
This idea is motivated by the one-dimensional sign-change principle. However, it is not reliable for large regions.
6.1 Tiny Loops
Consider a very small input loop around a point.
Continuity maps it to a small output loop near the corresponding output point.
If the corresponding output point is nonzero, a sufficiently small output loop stays near that nonzero point.
Such a loop has nearly constant direction and cannot contain every color.
The only output point around which arbitrarily small loops can display every direction is the origin.
Therefore:
If increasingly small loops continue to exhibit every output direction, their centers must be approaching a zero.
This observation is correct, but it does not by itself produce a reliable subdivision algorithm.
6.2 The Failed Subdivision Rule
Suppose a large region has a boundary containing every color. One might divide the region into two smaller regions and continue searching in whichever subregion still contains every color on its boundary.
The problem is that neither subregion may contain every color, even though the original region does.
This can happen because the colors on the shared internal boundary may combine with colors on the outer boundaries. Two regions whose individual boundaries do not display all directions can join to form a larger region whose boundary does.
Consequently:
The large region may contain a zero.
The two smaller regions may each fail the “all colors” test.
The algorithm has no subregion to continue exploring.
The zero-finding process can stop without finding a zero.
A still stronger counterexample is possible: a large loop can pass through every color even when there is no zero inside it. The issue is not that directional information is useless; the issue is that the property “contains every color” does not compose predictably when regions are joined.
7. Winding Number
The solution is to track not only which directions occur, but also how the directions change in order.
7.1 Direction of Rotation
As one moves along a path in the input plane, the output vector may rotate around the output origin.
Using a color wheel:
Red to yellow to green to blue to red represents clockwise motion under the chosen convention.
Movement in the reverse color order represents counterclockwise motion.
The amount of rotation can be measured as a fraction of a complete turn.
For example:
One path may cause the output direction to rotate one-fifth of a full turn clockwise.
A second path may cause another one-fifth-turn clockwise.
Traversing both paths consecutively produces two-fifths of a full turn.
7.2 Signed Rotation
Clockwise and counterclockwise movement are assigned opposite signs:
Clockwise winding counts positively.
Counterclockwise winding counts negatively.
If an output rotates clockwise along one path and then retraces that path backward, the two contributions cancel:
This can be imagined as an odometer:
It increases during clockwise rotation.
It decreases during counterclockwise rotation.
Opposite rotations cancel.
7.3 Winding Number Along a Closed Loop
When the input path is a closed loop, the output returns to its original value. If the output never reaches zero, its direction must return to its original direction after an integer number of complete rotations.
Therefore, the total winding number is an integer:
where γ is the input loop.
Possible values include:
3: three net clockwise turns.
1: one net clockwise turn.
0: no net rotation after cancellations.
−1: one net counterclockwise turn.
Larger positive or negative integers when the output rotates multiple times.
The winding number measures net directional rotation, not merely the set of colors encountered.
7.4 Winding Number Requires a Nonzero Boundary Output
If the function equals zero at a point on the loop, the output has no direction there. Consequently, the winding number is not defined for that loop.
For a zero-finding algorithm, this is not a serious failure:
If the boundary evaluation encounters a zero, the algorithm has already found the desired solution.
8. Why Winding Numbers Combine Correctly
The crucial advantage of winding number is that it is additive.
8.1 Additivity Along Paths
If a path is made by following one path and then another, the total winding is the sum of their winding numbers:
This remains true even when some parts of the motion go in opposite directions, because counterclockwise motion contributes negatively.
8.2 Additivity Along Region Boundaries
Consider two adjacent regions.
The winding number around the left region is the sum of the winding numbers along its boundary segments.
The winding number around the right region is the sum along its boundary segments.
When the regions are joined:
Most boundary segments become part of the outer boundary.
The shared internal boundary is traversed once in one direction for the first region.
It is traversed in the reverse direction for the second region.
These two contributions cancel.
Thus,
This is exactly the composition property needed by a subdivision algorithm.
The general principle that oriented boundaries combine with cancellation is closely related to Stokes' theorem in multivariable calculus.
9. Why a Nonzero Winding Number Guarantees a Zero
A nonzero winding number is a stronger and more useful condition than merely seeing every color.
Suppose a region has boundary winding number W=0.
If the region is divided into two subregions, additivity gives
If both W1 and W2 were zero, then W would also be zero. Therefore, at least one subregion must satisfy
This guarantees that the search can continue into at least one smaller region.
Repeating the process creates a sequence of smaller and smaller regions whose boundary winding numbers remain nonzero. Their diameters approach zero, so the regions narrow toward a point.
A sufficiently small loop around a nonzero output cannot have nonzero winding: its output remains near one nonzero direction. Therefore, the limiting point must map to the origin.
Hence:
A region whose boundary has nonzero winding number must contain a zero of the function, provided the function is continuous and does not vanish on the boundary.
10. The Two-Dimensional Zero-Finding Algorithm
The algorithm generalizes one-dimensional bisection.
10.1 Procedure
Given a continuous function
the procedure is:
Choose a region in the input plane.
Evaluate F along the region’s boundary.
Compute the winding number of the output directions along that boundary.
If the boundary contains a zero, record the zero immediately.
If the winding number is zero, stop exploring that region because no guarantee is available.
If the winding number is nonzero, subdivide the region.
Compute the winding number of each subregion.
Continue searching every subregion with nonzero winding number.
Repeat until the regions are sufficiently small or a zero is directly encountered.
10.2 Guarantees
For every region with nonzero boundary winding:
At least one child region also has nonzero winding.
The search can continue without losing all guaranteed candidates.
Repeated subdivision converges toward a zero.
If both child regions have winding number zero, the parent must also have winding number zero. This prevents the failure that affected the “all colors” algorithm.
10.3 Efficiency
At each stage, the search region is divided roughly in half. The algorithm evaluates the function along boundaries rather than throughout every interior point.
This means that the computational work is related more closely to the perimeter of the search regions than to their full area. It can therefore locate zeros without computing a complete color map of the entire plane.
11. Applying the Method to Complex Functions
Because complex numbers form a two-dimensional plane, the same method can find complex roots.
For a complex function p(z), one treats:
The complex input z as a point in the input plane.
The complex output p(z) as a point in the output plane.
The argument of p(z) as its direction.
The winding of the argument along a loop as the winding number.
To solve
the algorithm searches for regions whose boundary output winds nontrivially around the origin.
11.1 Example: A Fifth-Degree Polynomial
Consider
A sufficiently large loop around the origin has winding number 5.
The algorithm then:
Begins with a large region surrounding the origin.
Computes a winding number of 5 along its boundary.
Splits the region into smaller regions.
Computes the winding numbers of the smaller boundaries.
Continues exploring every region with nonzero winding.
Stops when a boundary evaluation lands exactly on a zero or when the regions have become very small.
A region with winding number 0 is not explored further because the winding argument provides no guarantee that it contains a zero. Such a region might contain a zero, but the algorithm cannot conclude that it does.
11.2 Directly Encountering a Zero
If a boundary path passes directly through a zero, the winding number becomes undefined because the output has no direction at that point. However, this is a successful outcome: the algorithm has found a root directly.
12. Winding of Complex Powers
For complex numbers, the function
has a direct geometric interpretation.
When z travels once counterclockwise around the origin:
The input argument increases by one full turn.
The output zn rotates around the origin n times.
Thus, the winding number of zn around a sufficiently large loop is n.
For a complex polynomial
the leading term anzn dominates when ∣z∣ is sufficiently large. The lower-degree terms become relatively insignificant, so the polynomial behaves like anzn on a large loop.
Therefore, the winding number of p(z) around a sufficiently large loop is n, assuming the loop does not pass through a root.
13. Fundamental Theorem of Algebra
The nonzero winding number of a complex polynomial on a sufficiently large loop guarantees that the polynomial has at least one complex zero.
This produces the fundamental theorem of algebra:
Every nonconstant complex polynomial has at least one complex root.
The winding-number argument also reflects the polynomial’s degree. A degree-n polynomial has a large-loop winding number of n, which is why the degree controls the total rotational behavior of the polynomial at large distances.
The result illustrates two roles of winding numbers:
Computational: They guide an efficient numerical algorithm for locating roots.
Theoretical: They establish that roots must exist without explicitly calculating them.
More broadly, winding numbers provide a bridge between geometry, algebra, analysis, and topology by converting the behavior of a function along a boundary into information about what must occur inside the region.

Ask anything
We've read this whole study set, so questions about it get the best answers.