Preprint
Article

This version is not peer-reviewed.

Closest Points on a Circular Helix and Kepler's Equation: Exact Counting, Focal Surfaces, and the Principal-Branch Minimizer

Submitted:

17 August 2026

Posted:

18 August 2026

You are already at the latest version

Abstract
The closest point on a circular helix to a query point---a primitive of track fitting, computer-aided design, and robotics---reduces exactly to Kepler's equation \( u+e\sin u=M \), whose eccentricity \( e=a\rho/b^{2} \) can be arbitrarily large. We determine the complete solution structure of this problem. The cylinder law states that for \( rho < = b^{2}/a \) the squared distance is convex with a unique minimizer. The count law gives, for \( e>1 \), the exact number of stationary points \( N=2⌈{(M+c)/2\pi⌉ }-2⌊{(M-c)/2\pi}⌋-3 \) with \( c=\arccos(-1/e)+\sqrt{e^{2}-1} \); pairs of stationary points are born and annihilated on explicit spiral surfaces, which we identify with the focal surfaces of the helix, whose cuspidal edge is the evolute helix \( \rho=b^{2}/a \). The count grows like \( 2e/\pi \), so the often-quoted bound of three roots fails beyond \( e^{*}\approx4.6033 \). The principal-branch theorem shows that the global minimizer is always the unique root in the branch \( k_{0}=\mathrm{round}(M/2\pi) \), with the exact exception of two symmetric minimizers when \( M\equiv\pi\ (\mathrm{mod}\ 2\pi) \); the set of ties is the cut locus, terminating on the evolute helix. The minimizer is provably well-conditioned, \( |du^{*}/dM|< 1/(e-1) \), and conditioning degenerates only as \( O(\sqrt\delta) \) on the focal surfaces and as \( O(\delta^{1/3}) \) on the evolute. A hybrid bisection--Newton solver, a two-helix extension, and an exhaustive numerical verification complete the paper.
Keywords: 
;  ;  ;  ;  ;  ;  ;  ;  ;  

1. Introduction

The circular helix γ ( t ) = ( a cos t , a sin t , b t ) , a , b > 0 , is among the most widely used space curves. Computing the Euclidean distance from a query point P to the helix—equivalently, its closest point on the helix—is a recurring primitive: in particle physics it is the point of closest approach of a charged track to a vertex, a step inside every helix-based track fitter [1,2,3,4]; in computer-aided design and computational geometry it underlies distance queries and path planning [5,6,7], and it is the basic step of helix fitting [8]. Unlike the point-to-circle case, no closed form exists, and the stationary equation of the squared distance is precisely Kepler’s equation.
The reduction is due to Nievergelt [9]: the stationary points of d 2 ( t ) = | γ ( t ) P | 2 are the roots of
u + e sin u = M , u = t φ , M = z b φ , e = a ρ b 2 ,
where P = ( ρ cos φ , ρ sin φ , z ) . The eccentricity e can be arbitrarily large: on the supporting cylinder ρ = a one has e = a 2 / b 2 = ( κ / τ ) 2 , the squared ratio of curvature to torsion of the helix. For e 1 the equation is strictly monotone and there is a unique stationary point. For e > 1 —the generic regime—multiple stationary points appear, and Newton’s method may converge to a non-minimizing one. In the celestial-mechanics literature, Gooding and Odell [10] analyzed Newton regions for the hyperbolic equation and revisited the elliptic solver for the physical range 0 e < 1 ; the unphysical regime e > 1 , in which multiple real roots arise, appears not to have received a closed-form treatment. The solvers for the physical ranges e < 1 and the hyperbolic case remain an active subject [11,12,13,14,15,16,17,18,19,20] and are surveyed in the monograph of Colwell [21]; the classical astrodynamics treatments are [22,23]. To our knowledge, however, the exact closed-form count, the bifurcation geometry, and the identification of the global minimizer have not appeared.
Our point of view is geometric. For an algebraic variety, the number of critical points of the squared distance to a data point is controlled by the Euclidean distance degree of Draisma–Horobet–Ottaviani–Sturmfels– Thomas [24], and the locus of data points with a degenerate critical point is the classical evolute for plane curves [25,26]; for transcendental curves this algebraic machinery is not available. The helix is the simplest transcendental space curve, and it turns out that its distance geometry is still completely tractable: the degeneracy locus is the focal surface of the helix, and it admits the closed form
z = b φ + 2 π k ± c ( a ρ / b 2 ) , k Z , ρ > b 2 / a ,
where c ( e ) = arccos ( 1 / e ) + e 2 1 .
Our contributions are as follows.
(i)
The cylinder law (Theorem 1): inside the cylinder ρ b 2 / a —the cylinder through the centers of curvature of the helix—the squared distance is convex with a unique minimizer.
(ii)
The count law (Theorem 2): for e > 1 the number of stationary points is exactly
N = 2 ( M + c ) / 2 π 2 ( M c ) / 2 π 3 ,
with the complete degenerate refinement (Theorem 3) on the bifurcation surfaces (2), and the asymptotics max N = 2 e / π + O ( 1 ) (Proposition 1); in particular N 5 iff e > e * 4.6033 , where c ( e * ) = 2 π .
(iii)
The focal-surface identification (Theorem 4): the bifurcation surfaces (2) are exactly the focal surfaces of the helix—the envelope of its normal planes—whose cuspidal edge is the evolute helix ρ = b 2 / a ; near the edge the fold lines meet with the semicubical tangency c ( 1 + E ) π = 2 2 3 E 3 / 2 ( 1 + o ( 1 ) ) . The set of query points with two nearest points, the cut locus, is identified (Theorem 5).
(iv)
The principal-branch theorem (Theorem 6): the global minimizer is always the unique root in the branch k 0 = round ( M / 2 π ) of (1); the only exception is M π ( mod 2 π ) , where exactly two symmetric minimizers occur. This is a rigorous justification of the nearest-turn initialization of track fitting [1,2], and it corrects a subtle point in the initialization analysis of [9] (Remark 5).
(v)
A conditioning trichotomy (Proposition 3): the minimizer satisfies | d u * / d M | < 1 / ( e 1 ) , the root separation near the focal surfaces is O ( δ ) , and near the evolute it is O ( δ 1 / 3 ) ; the squared distance along the helix has Hessian at least 2 b 2 ( e 1 ) at the minimizer.
(vi)
A certified hybrid bisection–Newton solver with a convergence theorem (Theorem 7) and a benchmark showing that the two standard Newton initializations converge to a wrong stationary point in 54.4 % and 72.5 % of the trials, respectively, while the principal-branch solver terminates in a median of six iterations.
(vii)
A two-helix extension (Theorem 8): the distance between two coaxial helices of equal pitch reduces to the same Kepler equation, so the entire theory transfers.
The paper is organized as follows. Section 2 sets up the Kepler reduction and the monotonicity structure. Section 3 contains the cylinder law, the count law and its refinements. Section 4 develops the focal-surface geometry, the cuspidal edge, the cut locus, and the conditioning trichotomy. The principal-branch theorem is proved in Section 5, the solver in Section 6, and the extensions in Section 7. Section 8 reports the numerical verification, and Section 9 concludes. The reproduction scripts (NumPy) accompany the paper.

2. Preliminaries: The Helix and the Kepler Reduction

Fix the helix γ ( t ) = ( a cos t , a sin t , b t ) and write the query point as P = ( ρ cos φ , ρ sin φ , z ) with ρ 0 . The squared distance expands to
d 2 ( t ) = | γ ( t ) P | 2 = ρ 2 + a 2 + ( b t z ) 2 2 a ρ cos ( t φ ) ,
and differentiation gives
1 2 ( d 2 ) ( t ) = b 2 u + e sin u M = : b 2 g ( u ) , ( d 2 ) ( t ) = 2 b 2 1 + e cos u = 2 b 2 g ( u ) ,
with u , M , e as in (1). Thus the stationary points of d 2 are exactly the real roots of Kepler’s equation g ( u ) = u + e sin u M = 0 , in one-to-one correspondence, and a root with g ( u ) < 0 (resp. g ( u ) > 0 ) is a local maximum (resp. local minimum) of d 2 . Since ( b t z ) 2 as t ± , d 2 attains its global minimum, and the distance d ( P ) = min t | γ ( t ) P | is finite.
The relevant differential-geometric quantities of the helix are the Frenet frame, the curvature and the torsion
κ = a a 2 + b 2 , τ = b a 2 + b 2 ,
and the locus of centers of curvature
C ( t ) = γ ( t ) + N ( t ) κ ( t ) = b 2 a cos t , b 2 a sin t , b t ,
where N ( t ) = ( cos t , sin t , 0 ) is the principal normal. The curve C ( t ) is again a helix—the evolute helix—of radius b 2 / a , concentric and coaxial with γ and with the same pitch. Consequently
e = a ρ b 2 = κ τ 2 ρ a ,
so that e 1 precisely for query points inside the cylinder through the centers of curvature. This geometric meaning of e will be important in Section 3 and Section 4.
For e > 1 the derivative g ( u ) = 1 + e cos u vanishes at u ± α ( mod 2 π ) with
α = arccos ( 1 / e ) ( π / 2 , π ) , c : = α + e sin α = α + e 2 1 ( π , ) .
The function c = c ( e ) is strictly increasing, with c ( 1 + ) = π and c ( e ) . On the intervals
I k = ( 2 π k α , 2 π k + α ) , J k = ( 2 π k + α , 2 π k + 2 π α ) ,
g is strictly increasing and strictly decreasing, respectively, and
g ( 2 π k α ) = 2 π k c M , g ( 2 π k + α ) = 2 π k + c M .
Lemma 1.
Let e > 1 . Then:
(i) 
g has exactly one simple root in I k iff 2 π k c < M < 2 π k + c , and exactly one simple root in J k iff
2 π ( k + 1 ) c < M < 2 π k + c ;
(ii) 
g has no other roots;
(iii) 
at M = 2 π k c the roots of I k and J k 1 coalesce into a double root at u = 2 π k α ; at M = 2 π k + c the roots of I k and
J k coalesce into a double root at u = 2 π k + α ; no other degeneracy occurs.
Proof. 
On I k the function g increases from g ( 2 π k α ) = 2 π k c M to g ( 2 π k + α ) = 2 π k + c M , so it has a simple root there iff these values have opposite signs, i.e. iff 2 π k c < M < 2 π k + c . On J k it decreases from 2 π k + c M to 2 π ( k + 1 ) c M , giving the condition 2 π ( k + 1 ) c < M < 2 π k + c . These intervals partition R , so all roots are accounted for. The boundary cases follow by continuity: at M = 2 π k ± c the corresponding extremal value equals zero, so the two neighboring roots merge at the critical point u = 2 π k ± α , where g = g = 0 and g = e 2 1 0 ; this is a double root. □

3. The Cylinder Law, the Count Law, and Their Refinements

3.1. The Cylinder Law

Theorem 1
(Cylinder law). If e 1 , equivalently ρ b 2 / a , then d 2 has a unique stationary point t * = φ + u * , and it is the global minimizer. The root u * lies in [ M e , M + e ] . If e < 1 , or if e = 1 and M ¬ π ( mod 2 π ) , the minimum is strict. For e = 1 , M π ( mod 2 π ) —the query point on the evolute helix—the unique stationary point satisfies u * π and is a cubic inflection of g.
Proof. 
For e 1 , g ( u ) = 1 + e cos u 0 with isolated zeros, so g is strictly increasing and has exactly one root u * ; the bracket follows from g ( M e ) = e ( sin ( M e ) 1 ) 0 e ( 1 + sin ( M + e ) ) = g ( M + e ) . Since ( d 2 ) = 2 b 2 g 0 with isolated zeros, d 2 is convex and u * is its global minimizer. If e < 1 then g > 0 everywhere and the minimum is strict. If e = 1 and M ¬ π , then u * ¬ π and g ( u * ) = 1 + cos u * > 0 , again a strict minimum. Finally, for e = 1 , M π , the unique root is u * π , where g ( π ) = g ( π ) = g ( π ) = 0 and g ( π ) = cos π = 1 0 : a cubic inflection. □

3.2. The Count Law

Theorem 2
(Count law). Let e > 1 and M ¬ ± c ( mod 2 π ) . The number N ( e , M ) of stationary points of d 2 is
N ( e , M ) = 2 M + c 2 π 2 M c 2 π 3 .
Among these, ( M + c ) / 2 π ( M c ) / 2 π 1 are local minima of d 2 and the rest are local maxima; in particular N is always odd. As P crosses a surface
z = b φ + 2 π k ± c ( a ρ / b 2 ) , k Z , ρ > b 2 / a ,
N changes by exactly ± 2 : a pair (one minimum, one maximum) is born on z = b ( φ + 2 π k c ( · ) ) and annihilated on z = b ( φ + 2 π k + c ( · ) ) .
Proof. 
By Lemma 1, N = # 1 + # 2 with # 1 = # { k : M c < 2 π k < M + c } (roots in I k , local minima) and # 2 = # { k : M c < 2 π k < M + c 2 π } (roots in J k , local maxima). Counting integers in open intervals yields # 1 = ( M + c ) / 2 π ( M c ) / 2 π 1 and # 2 = ( M + c ) / 2 π ( M c ) / 2 π 2 , whose sum is (9). The bifurcation statement follows from Lemma 1 and e = a ρ / b 2 : crossing M = 2 π k c upward adds the pair in I k J k 1 (birth), and crossing M = 2 π k + c upward removes the pair in I k J k (death). □
The degenerate cases on the bifurcation surfaces are described by the following refinement, in which roots are counted with multiplicity.
Theorem 3
(Multiplicity refinement). Let e > 1 . For every M R the number of roots of g counted with multiplicity is
N ˜ ( e , M ) = 2 M + c 2 π 2 M c 2 π 3 + 2 χ ( M ) , χ ( M ) = 1 , M ± c ( mod 2 π ) , 0 , otherwise ,
where the ceiling and floor in the first two terms are evaluated with their natural values on the fold lines (the arguments are integers there). The double roots lie at u = 2 π k ± α , are degenerate stationary points of d 2 (inflections, ( d 2 ) = 0 there), and are never minimizers; the distinct-root count equals N ˜ χ ( M ) .
Proof. 
Off the fold lines all roots are simple and (11) reduces to (9). On a fold line the two coalescing roots of Lemma 1(iii) merge into one double root: the distinct count drops by one and the multiplicity count equals the one-sided limit of (9) from the side where the pair exists, which is exactly N ˜ . At a double root u = 2 π k ± α one has g = 0 , hence ( d 2 ) = 0 : the stationary point is an inflection of d 2 (a cubic tangency in the u-direction, since g 0 ), and in particular is neither a local minimum nor a local maximum. □
Corollary 1
(Maximum number of stationary points). max M N ( e , M ) = 2 c / π 1 , and this maximum is attained on an open set. In particular N 5 iff e > e * , where e * = 4.60333884875 is the unique solution of c ( e * ) = 2 π ; for 1 < e e * there are at most three stationary points.
Proof. 
Put x = ( M c ) / 2 π . For generic M, x Z , and the count law gives # 1 = x + c / π x 1 and # 2 = x + c / π 1 x 1 . Since x Z , # 1 c / π and # 2 c / π 1 , and both upper bounds are attained simultaneously—e.g. whenever { x } > 1 { c / π } , a nonempty condition for every e > 1 , and trivially when c / π Z . Hence max N = c / π + ( c / π 1 ) = 2 c / π 1 . As N is odd and c / π 3 iff c > 2 π iff e > e * (by strict monotonicity of c), we have N 5 iff e > e * . For e e * , c 2 π , hence c / π 2 and max N = 3 . □
The constant e * 4.6033 is the first eccentricity at which five or more stationary points occur, and for larger e the maximum grows linearly, as quantified next.
Proposition 1
(Asymptotics). As e ,
c ( e ) = e + π 2 + 1 2 e + O ( e 3 ) , max M N ( e , M ) = 2 π e + O ( 1 ) .
Proof. 
Writing arccos ( 1 / e ) = π / 2 + arcsin ( 1 / e ) and expanding arcsin x = x + x 3 / 6 + O ( x 5 ) together with e 2 1 = e 1 / ( 2 e ) + O ( e 3 ) gives the first expansion. The second follows from Corollary 1, since 2 c / π 1 = 2 c / π + O ( 1 ) = 2 e / π + O ( 1 ) . □
Remark 1.
For a plane circle the squared distance has at most two stationary points; the helix, by virtue of its pitch, has up to 2 e / π of them. The count law therefore realizes, for a transcendental curve, the phenomenon that for algebraic curves is governed by the Euclidean distance degree [24]: the number of critical points of the squared distance is stratified, with jumps only across a discriminant-type locus, which here is explicit and spiral-shaped. Figure 1 shows the count landscape in the ( ρ , z ) plane with the bifurcation curves, and Figure 2 shows the universal bifurcation diagram in the ( e , M ) plane.

4. Focal Surfaces, the Cuspidal Edge, and the Cut Locus

4.1. A General Principle for Space Curves

For a plane curve, the data points at which the squared distance has a degenerate critical point are exactly the centers of curvature: the evolute. For space curves the degeneracy locus becomes two-dimensional. The following statement is classical (it is the distance-function version of the focal-set construction, see [25,26]); focal surfaces are a classical tool of differential geometry and of computer-aided geometric design, where they are used for surface interrogation [27,28]. We record the statement for completeness.
Proposition 2
(Focal surface as degeneracy locus). Let γ : I R 3 be a C 2 curve with | γ | > 0 and curvature κ > 0 , and let T , N , B be its Frenet frame. A point P R 3 is a degenerate critical point of d P 2 ( t ) = | γ ( t ) P | 2 at t (i.e., d P 2 has a critical point at t with ( d P 2 ) ( t ) = 0 ) if and only if
P = γ ( t ) N ( t ) κ ( t ) + μ B ( t )
for some μ R . The set F = { γ ( t ) N ( t ) / κ ( t ) + μ B ( t ) : t I , μ R } is thefocal surfaceof γ: the ruled surface swept by the binormal lines through the centers of curvature.
Proof. 
We have ( d 2 ) = 2 ( γ P ) · γ and ( d 2 ) = 2 ( | γ | 2 + ( γ P ) · γ ) . Degeneracy means ( γ P ) · γ = 0 and | γ | 2 + ( γ P ) · γ = 0 . Write γ P = λ N + μ B with ( λ , μ ) coordinates in the normal plane. Since N · γ = κ | γ | 2 and B · γ = 0 , the second condition is | γ | 2 + λ κ | γ | 2 = 0 , i.e. λ = 1 / κ . □
Remark 2.
By (4), for the helix a degenerate critical point of d 2 is exactly a double root of the Kepler equation, i.e. a point of the bifurcation surfaces (10). Proposition 2 therefore predicts that the bifurcation surfaces are the focal surfaces of the helix. We now verify this explicitly and derive the geometry of their edge.

4.2. The Focal Surfaces of the Helix Are the Bifurcation Surfaces

For the helix, with L = a 2 + b 2 , the binormal is B ( t ) = ( b sin t , b cos t , a ) / L and the center of curvature is given by (5). Hence
F = C ( t ) + μ B ( t ) : t , μ R .
Theorem 4
(Focal surfaces). Let a , b > 0 and e = a ρ / b 2 > 1 . A query point P = ( ρ cos φ , ρ sin φ , z ) lies on the focal surface F of the helix if and only if
z = b φ + 2 π k ± c ( e )
for some k Z . Thus the bifurcation surfaces (10) are exactly the focal surfaces of the helix. The two sheets z = b ( φ + 2 π k c ( e ) ) and z = b ( φ + 2 π k + c ( e ) ) meet along the cuspidal edge
ρ = b 2 a , z b ( φ + π ) ( mod 2 π b ) ,
which is precisely the evolute helix (5). Near the edge the two sheets are tangent with semicubical tangency: as E 0 + ,
c ( 1 + E ) π = 2 2 3 E 3 / 2 ( 1 + o ( 1 ) ) .
At a point of (14) the Kepler function has a cubic inflection: g = g = g = 0 , g = 1 0 .
Proof. 
Suppose P = C ( t ) + μ B ( t ) . From (5) and the binormal,
ρ 2 = b 4 a 2 + μ 2 b 2 L 2 μ = ± L b ρ 2 b 4 a 2 ,
and, writing q = μ b / L = ± ρ 2 b 4 / a 2 ,
ρ cos φ = b 2 a cos t + q sin t , ρ sin φ = b 2 a sin t q cos t .
Since ( b 2 / a ) 2 + q 2 = ρ 2 , there is δ with cos δ = b 2 / ( a ρ ) = 1 / e and sin δ = q / ρ , giving ρ cos φ = ρ cos ( t + δ ) and ρ sin φ = ρ sin ( t + δ ) , i.e. φ t + δ   ( mod 2 π ) . Here δ = ± α with α = arccos ( 1 / e ) , paired with q = ρ 2 b 4 / a 2 (and hence with the sign of μ ). Then
z = b t + μ a L = b ( φ δ + 2 π k ) + q a b ,
and, using q a / b = ± e b 1 1 / e 2 = ± b e 2 1 ,
z = b ( φ + 2 π k ) b δ ± b e 2 1 ,
which, for ( δ , q ) = ( α , q 0 ) and ( δ , q ) = ( α , + q 0 ) , yields exactly z = b ( φ + 2 π k c ( e ) ) . Conversely, every point of (13) is obtained this way, so the two sets coincide.
At ρ = b 2 / a one has e = 1 , μ = 0 , and P = C ( t ) : both sheets give z = b ( φ + 2 π k π ) , the same set modulo 2 π b . Since C ( t ) has azimuth φ t + π and height b t , a query point on the evolute helix satisfies z = b ( φ π ) b ( φ + π ) ( mod 2 π b ) , which is exactly (14). The semicubical tangency is Lemma 2 below. Finally, at a point of (14), (1) has e = 1 and M π , so g ( u ) = u + sin u π at u π satisfies g = g = g = 0 and g = cos π = 1 0 : a cubic inflection. □
The tangency order at the edge is computed by the envelope (stationary-phase) argument:
Lemma 2
(Semicubical cusp). c ( 1 + E ) π = 2 2 3 E 3 / 2 ( 1 + o ( 1 ) ) as E 0 + .
Proof. 
Write c ( e ) = ψ ( α ) with ψ ( θ ) = θ + e sin θ evaluated at the critical point α = arccos ( 1 / e ) . Differentiating c ( e ) = e ψ ( α ) = sin α = 1 1 / e 2 = e 2 1 / e 0 as e 1 + ; the first derivative vanishes at the edge, so c is tangent to its value π there, and the sheets meet with a tangency. For the order, parametrize the edge by e = 1 + E and Taylor-expand ψ around ( e , θ ) = ( 1 , π ) . With v = θ π and sin ( π + v ) = sin v ,
ψ ( π + v ) = ( π + v ) + ( 1 + E ) ( sin v ) = π + v ( 1 + E ) v v 3 6 + O ( v 5 ) = π E v + v 3 6 + O ( E v 3 + v 5 ) ,
and the critical points satisfy ψ θ = 1 ( 1 + E ) cos v = 0 , i.e. cos v = 1 / ( 1 + E ) , so v = ± 2 E ( 1 + O ( E ) ) . The value c ( 1 + E ) = ψ ( α ) is the local maximum of ψ , attained at v = 2 E ( 1 + O ( E ) ) ; substituting:
c ( 1 + E ) = ψ ( π + v ) = π E ( 2 E ) + ( 2 E ) 3 6 + O ( E 5 / 2 ) = π + 2 2 3 E 3 / 2 + O ( E 5 / 2 ) = π + 2 2 3 E 3 / 2 ( 1 + o ( 1 ) ) ,
which is (15) (at the local minimum, v = + 2 E , one obtains the symmetric value 2 π k π 2 2 3 E 3 / 2 of the lower sheet). □
Remark 3
(Geometry of the picture). Theorem 4 assembles the whole bifurcation structure geometrically. The helix, its evolute helix (the cuspidal edge), and the focal surface ruled by binormal lines are shown in Figure 3. The cylinder law of Theorem 1 says that the squared distance is convex exactly inside the focal cylinder ρ < b 2 / a ; at its boundary the fold lines are born at the cusp points ( e , M ) = ( 1 , ( 2 k + 1 ) π ) and spiral outward as e grows (Figure 1 and Figure 2). Crossing a sheet of the focal surface changes the number of normals through the query point—the number of stationary points of d 2 —by two, the standard fold behavior of a distance function at a caustic.

4.3. The Cut Locus

The focal surface is where stationary points are born and die. A second, complementary locus is where the minimizer switches: the set of query points with two distinct nearest points, the cut locus of the helix. It will follow from the principal-branch theorem (Theorem 6) that the cut locus is
M π ( mod 2 π ) , e > 1 ,
i.e., the helicoidal surfaces z = b ( φ + ( 2 k + 1 ) π ) , ρ > b 2 / a . In the ( e , M ) plane of Figure 2 these are the vertical (Maxwell) lines M = ( 2 k + 1 ) π , e > 1 . Note that they emanate from the same cusp points ( 1 , ( 2 k + 1 ) π ) from which the fold lines emanate: the cut locus meets the caustic exactly at its cuspidal edge—the classical endpoint behavior of cut loci, made explicit here for the helix.
Theorem 5
(Cut locus). For e > 1 , the query point has exactly two nearest points on the helix iff M π ( mod 2 π ) , in which case the two minimizers are the symmetric pair u = 2 π k 0 + θ 0 and u = 2 π ( k 0 + 1 ) θ 0 of Theorem 6. As e 1 + the two minimizers coalesce at u π : the cut locus (16) terminates on the evolute helix (14), and for e 1 the nearest point is always unique.
Proof. 
The first assertion is Theorem 6(b). For the coalescence, θ 0 = θ 0 ( e ) is defined by θ 0 + e sin θ 0 = π ; at e = 1 this forces θ 0 = π , and by the implicit function theorem θ 0 ( e ) π as e 1 + , so 2 π k 0 + θ 0 and 2 π ( k 0 + 1 ) θ 0 both tend to u π , the unique stationary point of the convex case (Theorem 1). □

4.4. Conditioning: A Trichotomy

The sensitivity of the minimizer to the data is not uniform in the query space. At a generic point it is O ( 1 ) ; on the focal surfaces it degrades to O ( δ 1 / 2 ) (fold); on the evolute it degrades to O ( δ 1 / 3 ) (cusp). For the minimizer itself the situation is much better: the principal-branch root is uniformly well-conditioned.
Proposition 3
(Conditioning trichotomy). Let e > 1 and let u * be the principal-branch root of Theorem 6.
(i) 
Generic (minimizer): d u * / d M = 1 / ( 1 + e cos θ 0 ) , where θ 0 = u * 2 π k 0 , and
0 < d u * d M < 1 e 1 , ( d 2 ) ( t * ) = 2 b 2 ( 1 + e cos θ 0 ) > 2 b 2 ( e 1 ) .
(ii) 
Fold (focal surface):at a threshold M 0 = 2 π k ± c the two roots coalesce at u 0 = 2 π k ± α , where g ( u 0 ) = e 2 1 , a quadratic tangency. For δ > 0 on the side where the pair exists the two roots are u 0 ± s ( δ ) with
s ( δ ) = 2 e 2 1 δ + O ( δ ) ,
so the pair resolves only at resolution O ( δ ) .
(iii) 
Cusp (evolute):at e = 1 , M = π + ε , the unique root satisfies
u ( ε ) π = ( 6 ε ) 1 / 3 + O ( ε 2 / 3 ) .
Proof. (i) By (4), the implicit function theorem gives d u * / d M = 1 / g ( u * ) , and the proof of Theorem 6 below shows | θ 0 | < θ * = arccos ( 1 2 / e ) ; hence cos θ 0 > cos θ * = 1 2 / e and g ( u * ) = 1 + e cos θ 0 > e 1 . The Hessian statement is ( d 2 ) ( t * ) = 2 b 2 g ( u * ) from (4). (ii) Write M = M 0 ± δ on the side of existence (above a birth, below a death). Expanding g at u 0 with g ( u 0 ) = g ( u 0 ) = 0 and g ( u 0 ) = e 2 1 :
0 = g M 0 ± δ ( u 0 + s ) = g ( u 0 ) 2 s 2 δ + O ( s 3 ) ,
hence s 2 = 2 δ / e 2 1 + O ( δ 3 / 2 ) , which is (18). (iii) For e = 1 , M = π + ε , the root is u = π + v with v sin v = ε ; since v sin v = v 3 / 6 + O ( v 5 ) , we get v = ( 6 ε ) 1 / 3 + O ( ε 2 / 3 ) . □
Remark 4.
Item (i) is the quantitative counterpart of the principal-branch theorem: not only is the principal branch the correct one, it is also thewell-conditionedone, with conditioning number improving like 1 / ( e 1 ) and asymptotically like 1 / e ; all other roots can be arbitrarily ill-conditioned near the focal surfaces, where g vanishes. The distance value itself is tame throughout: d ( P ) = min t | γ ( t ) P | is the minimum of 1-Lipschitz functions, hence 1-Lipschitz in P, and | d ( P ) | = 1 wherever the minimizer is unique.

5. The Principal-Branch Theorem

For a root u of g write u = 2 π k + θ , θ [ π , π ) . Using the root condition u + e sin u = M to eliminate the vertical term,
( b t z ) 2 = b 2 ( u M ) 2 = b 2 e 2 sin 2 u = a 2 ρ 2 b 2 sin 2 θ ,
we obtain
d 2 ( u ) = ρ 2 + a 2 + h ( θ ) , h ( θ ) = a 2 ρ 2 b 2 sin 2 θ 2 a ρ cos θ .
The angle θ measures the offset of the root from the turn of the helix facing the query point. The following lemma is the key structure statement.
Lemma 3.
Let e > 1 and θ * = arccos ( 1 2 / e ) ( 0 , α ) .
(i) 
h ( θ ) 2 a ρ = a ρ ( 1 + cos θ ) ( e ( 1 cos θ ) 2 ) ; in particular h ( θ ) 2 a ρ iff | θ | θ * , with equality only at | θ | = θ * and at | θ | = π .
(ii) 
h ( θ ) = 2 a ρ sin θ ( 1 + e cos θ ) > 0 for 0 < θ < θ * .
(iii) 
h ( 0 ) = 2 a ρ = min h ; h is even and 2 π -periodic.
Proof. (i) is a direct expansion of h ( θ ) 2 a ρ using 2 sin 2 θ = ( 1 cos θ ) ( 1 + cos θ ) : the quadratic e ( 1 cos θ ) 2 in cos θ changes sign at cos θ = 1 2 / e = cos θ * . (ii) follows since θ * < α ; then 1 + e cos θ > 0 on [ 0 , θ * ) . (iii): by (i) and (ii), h ( θ ) > 2 a ρ on ( θ * , π ) , and h is strictly increasing from h ( 0 ) = 2 a ρ to h ( θ * ) = 2 a ρ on [ 0 , θ * ] ; symmetry gives the rest. □
The strictly increasing function ψ ( θ ) = θ + e sin θ on [ 0 , α ] relates roots to branches: a root u = 2 π k + θ satisfies ψ ( θ ) = M 2 π k . Note that ψ ( θ * ) = θ * + 2 e 1 > π for all e > 1 : this is trivial when e 1 + π 2 / 4 , and for 1 < e < 1 + π 2 / 4 the elementary inequality cos s < ( 4 s 2 ) / ( 4 + s 2 ) ( 0 < s < π ; it follows from tan t > t with t = s / 2 ) with s = 2 e 1 gives cos s < 2 / e 1 = cos ( π θ * ) , hence s > π θ * , i.e. ψ ( θ * ) > π .
Theorem 6
(Principal branch). Let e > 1 and let k 0 Z be such that | M 2 π k 0 | π .
(a) 
If M ¬ π (mod 2 π ), then g has a unique root u 0 in the interval I k 0 = ( 2 π k 0 α , 2 π k 0 + α ) , and t * = φ + u 0 is the unique global minimizer of d 2 .
(b) 
If M π (mod 2 π ), then d 2 has exactly two global minimizers, corresponding to the two roots of g with θ = ± θ 0 , where θ 0 ( 0 , α ) is the unique solution of θ + e sin θ = π .
Proof. 
Existence: by (8) and c > π , g ( 2 π k 0 α ) = 2 π k 0 c M < 0 < 2 π k 0 + c M = g ( 2 π k 0 + α ) ; g is strictly increasing on I k 0 , so there is a unique root u 0 there. Let θ 0 = u 0 2 π k 0 ; then ψ ( θ 0 ) = M 2 π k 0 , and since ψ is odd and strictly increasing on [ 0 , θ * ] [ 0 , α ] ,
ψ ( | θ 0 | ) = | M 2 π k 0 | π < ψ ( θ * ) | θ 0 | < θ * ,
so h ( θ 0 ) < 2 a ρ by Lemma 3(i).
Now let u = 2 π k + θ be any other root, k k 0 . Then ψ ( | θ | ) = | ψ ( θ ) | = | M 2 π k | π ψ ( | θ 0 | ) , hence | θ | | θ 0 | (if | θ | α this is trivial). If | θ | θ * , then h ( θ ) 2 a ρ > h ( θ 0 ) by Lemma 3(i). If | θ | < θ * , then by Lemma 3(ii) and | θ | | θ 0 | , h ( θ ) h ( | θ 0 | ) = h ( θ 0 ) , with strict inequality unless | θ | = | θ 0 | . By (20), d 2 ( u ) d 2 ( u 0 ) with equality only if | θ | = | θ 0 | .
If | θ | = | θ 0 | , then | M 2 π k | = | M 2 π k 0 | ; as k k 0 , necessarily | M 2 π k 0 | = π , i.e. M π ( mod 2 π ) , and k = k 0 + 1 (or k 0 1 ) with θ = θ 0 . Conversely, when M π ( mod 2 π ) and θ 0 solves ψ ( θ 0 ) = π , both 2 π k 0 + θ 0 and 2 π ( k 0 + 1 ) θ 0 are roots of g with equal h, and no other root ties them. This proves (a) and (b). □
Geometric form. The theorem says that the closest point of the helix lies on the turn indexed by k 0 = round ( M / 2 π ) —the turn facing the query point—within the angular window ± α of its midpoint, and that no other turn can win. In the exceptional case M π ( mod 2 π ) the query point lies midway between two turns and the two symmetric minimizers straddle it (Figure 4 for e = 10 , M = π : seven roots, two symmetric global minimizers).
Remark 5
(On the initialization of Nievergelt). Nievergelt [9] initializes Newton’s method at the closest point on the supporting cylinder of the helix, i.e. at u = 0 . Theorem 6 shows that the correct branch is k 0 = round ( M / 2 π ) : the initializer is provably correct only when it lands in the interval I k 0 , i.e. essentially when | M | < π ( k 0 = 0 ). In general, Newton’s method started from the cylinder point converges to the root of the branch it lands in, which for | M | > π is not the global minimizer; in the benchmark of Section 6 this happens in 72.5 % of the trials with e ( 1.05 , 60 ) . The provably correct initializer is the midpoint of the principal turn, u 0 = 2 π round ( M / 2 π ) , i.e. the round-to-nearest-turn rule of track fitting [1,2], which Theorem 6 justifies rigorously.

6. A Certified Solver and Its Benchmark

Theorem 6 reduces the closest-point computation to solving g ( u ) = 0 on the single monotone interval I k 0 , where g is strictly increasing with g = 1 + e cos θ 0 (vanishing only at the endpoints). The natural solver is a bisection guard followed by Newton iteration.
Definition 1
(Principal-branch solver). Given e > 1 and M R , set k 0 = round ( M / 2 π ) and α = arccos ( 1 / e ) .
(i) 
Bisect on I k 0 = ( 2 π k 0 α , 2 π k 0 + α ) until
the bracket half-width is below η = ( e 1 ) / ( 2 e ) .
(ii) 
From the bracket midpoint, run Newton’s iteration u n + 1 = u n g ( u n ) / g ( u n ) until | g ( u n ) | tol · ( 1 + | u n | + e ) .
(iii) 
Return t * = φ + u ; if M π ( mod 2 π ) , solve on both I k and I k + 1 with k = M / 2 π and return the two symmetric minimizers (Theorem 6(b)).
Theorem 7
(Convergence). Let e > 1 and let u * be the principal-branch root, with g ( u * ) = 1 + e cos θ 0 > e 1 . Then:
(i) 
bisection on I k 0 has the a-priori bound | u n u * | 2 α · 2 n and reaches half-width η in n bis = log 2 ( 2 α e / ( e 1 ) ) steps;
(ii) 
from any u with | u u * | η , Newton’s iteration converges to u * with
| u j u * | e e 1 2 j 1 | u 0 u * | 2 j ,
i.e. quadratically with constant e / ( e 1 ) ; in particular | u 1 u * | 1 2 | u 0 u * | .
The solver returns u * to machine precision in n bis + O ( 1 ) iterations, uniformly in the branch index k 0 .
Proof. (i) is the standard bisection estimate. For (ii), on [ u * η , u * + η ] we have g ( v ) g ( u * ) e | v u * | ( e 1 ) e η = ( e 1 ) / 2 > 0 and | g ( v ) | e ; the classical Newton error recursion
| u n + 1 u * | = | g ( ξ n ) 2 g ( u n ) | | u n u * | 2 e e 1 | u n u * | 2
gives the claim; with | u 0 u * | η = ( e 1 ) / ( 2 e ) the first step satisfies | u 1 u * | ( e / ( e 1 ) ) η 2 = η / 2 . □
Remark 6.
The bracket I k 0 is valid foreveryM, including the exceptional case: there the two adjacent brackets I k and I k + 1 , k = M / 2 π , each contain exactly one of the two minimizers, and g > 0 in both. The solver is therefore certified: it terminates at a root inside the principal branch, which by Theorem 6 is the global minimizer, and its error bound does not depend on the branch index. The total cost is O ( log ( α e / ( e 1 ) ) ) bisection steps plus a handful of Newton steps, independent of M.

6.1. Benchmark: Root Selection, Not Root Finding, Is the Crux

We benchmarked the principal-branch solver against the two natural Newton initializations on 20 , 000 random instances with e ( 1.05 , 60 ) , M ( 40 , 40 ) (double precision; roots verified against an independent interval-isolation oracle). The results are in Table 1. The naive initialization u 0 = M (projecting the query point onto the axis, then iterating) converged to a wrong stationary point—a local minimum or maximum that is not the global minimizer—in 54.44 % of the trials and failed to converge in 3.25 % ; the erratic behavior of Newton’s iteration on Kepler-type equations is classical [29,30]. What we quantify here, in the helix setting, is the more damaging failure mode: convergence to the wrong minimizer. Newton from the cylinder point u 0 = 0 [9] did worse: 72.50 % wrong and 16.74 % non-convergent, because for | M | > π it starts in the wrong turn. The principal-branch solver terminates at the global minimizer in every trial, with a median of 6 and a maximum of 10 iterations. The observed Newton-phase error ratios were bounded by 1.02 , consistent with the constant e / ( e 1 ) 1.017 of Theorem 7 for e 60 . The conclusion is that in this problem the difficult step is not solving Kepler’s equation—it is selecting the branch containing the global minimizer, which is exactly what the principal-branch theorem provides.

7. Extensions: Coaxial Helices and Helix Arcs

7.1. Two Coaxial Helices of Equal Pitch

The same Kepler reduction governs the distance between two coaxial helices of equal pitch—the configuration relevant to comparing helical tracks or α -helix axes in structural biology.
Theorem 8
(Two coaxial helices). Let γ 1 ( t ) = ( a cos t , a sin t , b t ) and γ 2 ( s ) = ( c cos ( s + s 0 ) , c sin ( s + s 0 ) , b s + z 0 ) be two coaxial helices of equal pitch. Set
e = a c b 2 , M = z 0 b s 0 , u = t s s 0 .
Then the stationary configurations of D ( t , s ) = | γ 1 ( t ) γ 2 ( s ) | 2 are the level families t s = s 0 + u indexed by the roots of the Kepler equation u + e sin u = M , and
min t , s D ( t , s ) = a 2 + c 2 + min u a 2 c 2 b 2 sin 2 u 2 a c cos u ,
where the minimum over u ranges over the same root set. Consequently the cylinder law, the count law, the multiplicity refinement, the principal-branch theorem, and the conditioning bounds of this paper all transfer verbatim, with ( e , M ) replaced by ( e , M ) . In particular, the global minimum of D is attained at the principal branch k 0 = round ( M / 2 π ) , uniquely unless M π ( mod 2 π ) , when exactly two symmetric minimizers occur.
Proof. 
A direct expansion gives D ( t , s ) = a 2 + c 2 2 a c cos ( t s s 0 ) + ( b ( t s ) z 0 ) 2 , which depends on ( t , s ) only through u = t s s 0 :
D = a 2 + c 2 2 a c cos u + b 2 ( u M ) 2 .
The critical equation is 1 2 D ( u ) = a c sin u + b 2 ( u M ) = b 2 ( u + e sin u M ) , exactly the Kepler equation with ( e , M ) . Eliminating u M = e sin u at a root gives D = a 2 + c 2 + ( a 2 c 2 / b 2 ) sin 2 u 2 a c cos u . The one-variable reduction is coercive in u, so the global minimum is attained at one of the roots, and the one-to-one correspondence transfers all previous statements. □
Remark 7
(Helix arcs). For a helix segment  γ | [ t 0 , t 1 ] , the closest point is either an interior stationary point (enumerated by the count law, computable branch by branch as in Section 6) or one of the two endpoints. The count law therefore serves as a planning tool: the number of candidates is N + 2 , and the certification of global optimality requires only function evaluations at these candidates, no dense sampling.
Remark 8
(Beyond the helix). Proposition 2 applies to any space curve, so the focal-surface perspective of Section 4 extends to general transcendental space curves; what is special about the helix is that its focal surfaces, cut locus, and the selection of the global minimizer all admit closed forms through the Kepler equation. Curves whose stationary equation is a finite combination of the form u + j e j sin ( u δ j ) = M reduce to (1) with a single harmonic only when the frequencies coincide; otherwise new phenomena appear, as in the plane-curve case [25,26].

8. Numerical Verification

All claims were tested in double precision against an exact interval-isolation oracle: for a given ( e , M ) the roots of g are isolated by bisection on each of the monotonicity intervals of Lemma 1, which is complete and exact to machine precision. Table 2 summarizes the experiments.
Figure 5 and Figure 6 display the fold and evolute conditioning laws; Figure 1 and Figure 2 display the count landscape; Figure 3 displays the focal-surface geometry.

9. Conclusions

We have given a complete description of the point-to-helix closest-point problem. The cylinder law delimits the convex regime by the cylinder through the centers of curvature; the count law gives the exact number of stationary points for every eccentricity, with the multiplicity refinement on the bifurcation surfaces and the linear asymptotics 2 e / π ; the bifurcation surfaces are identified with the focal surfaces of the helix, whose cuspidal edge is the evolute helix, and the cut locus is determined; the principal-branch theorem selects the global minimizer as the unique root in the turn k 0 = round ( M / 2 π ) , with the symmetric exception M π ( mod 2 π ) ; the minimizer is provably well-conditioned with conditioning < 1 / ( e 1 ) ; and a certified solver terminates in a handful of iterations, where the standard initializations fail to select the global minimizer in 54– 73 % of nontrivial instances. All results were verified exhaustively in double precision.
Several directions are natural. For helix segments the endpoint competition of Remark 7 can be analyzed exactly along the same lines, giving a certified arc distance. For general space curves the focal-surface stratification of Proposition 2 governs the stationary-point count, and for curves whose stationary equation is a finite sum of harmonics the count law should generalize to a lattice-point formula in several frequencies. Finally, the conditioning trichotomy O ( 1 ) / O ( δ 1 / 2 ) / O ( δ 1 / 3 ) should hold, with the appropriate normal forms, for the distance to any curve with nonvanishing curvature: generic points, focal points, and curvature centers are the fold and cusp organizing centers of the distance function.

Author Contributions

Conceptualization, methodology, formal analysis, software, validation, writing—original draft preparation, and writing—review and editing: P.L. The author has read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The reproduction scripts (NumPy) implementing all experiments of Section 8 are available in a public GitHub repository, https://github.com/lpl8848/helix-kepler, and from the corresponding author upon request.

Conflicts of Interest

The author declares no conflicts of interest.

References

  1. Belle II Collaboration. Belle II Technical Design Report, 2010, [1011.0352].
  2. Strandlie, A.; Frühwirth, R. Track and vertex reconstruction: from classical to adaptive methods. Reviews of Modern Physics 2010, 82, 1419–1458.
  3. Frühwirth, R. Application of Kalman filtering to track and vertex fitting. Nuclear Instruments and Methods in Physics Research Section A 1987, 262, 444–450.
  4. Ai, X.; et al. A common tracking software project. Computing and Software for Big Science 2022, 6, 8. ACTS Collaboration.
  5. Hu, S.M.; Wallner, J. A second order algorithm for orthogonal projection onto curves and surfaces. Computer Aided Geometric Design 2005, 22, 251–260.
  6. Chen, X.D.; Yong, J.H.; Wang, G.; Paul, J.C.; Xu, G. Computing the minimum distance between a point and a NURBS curve. Computer-Aided Design 2008, 40, 1051–1054.
  7. Schneider, P.J.; Eberly, D.H. Geometric Tools for Computer Graphics; Morgan Kaufmann: San Francisco, CA, USA, 2003.
  8. Nievergelt, Y. Fitting helices to data by total least squares. Computer Aided Geometric Design 1997, 14, 707–718.
  9. Nievergelt, Y. Computing the distance from a point to a helix and solving Kepler’s equation. Nuclear Instruments and Methods in Physics Research Section A 2009, 598, 788–794.
  10. Gooding, R.H.; Odell, A.W. The hyperbolic Kepler equation (and the elliptic equation revisited). Celestial Mechanics 1988, 44, 267–282.
  11. Mikkola, S. A cubic approximation for Kepler’s equation. Celestial Mechanics 1987, 40, 329–334.
  12. Markley, F.L. Kepler equation solver. Celestial Mechanics and Dynamical Astronomy 1995, 63, 101–111.
  13. Odell, A.W.; Gooding, R.H. Procedures for solving Kepler’s equation. Celestial Mechanics 1986, 38, 307–334.
  14. Raposo-Pulido, V.; Peláez, J. An efficient code to solve the Kepler equation. Astronomy & Astrophysics 2018, 619, A129.
  15. Tommasini, D.; Olivieri, D.N. Two fast and accurate routines for solving the elliptic Kepler equation for all values of the eccentricity and mean anomaly. Astronomy & Astrophysics 2022, 658, A196.
  16. Tommasini, D.; Olivieri, D.N. Fast switch and spline function inversion algorithm with multistep optimization and k-vector search for solving Kepler’s equation in celestial mechanics. Mathematics 2020, 8, 2017.
  17. Philcox, O.H.E.; Goodman, J.; Slepian, Z. Kepler’s goat herd: an exact solution to Kepler’s equation for elliptical orbits. Monthly Notices of the Royal Astronomical Society 2021, 506, 6111–6116.
  18. Calvo, M.; Elipe, A.; Rández, A. On the integral solution of elliptic Kepler’s equation. Celestial Mechanics and Dynamical Astronomy 2023, 135, 26.
  19. Calvo, M.; Elipe, A.; Montijano, J.I.; Rández, L. A monotonic starter for solving the hyperbolic Kepler equation by Newton’s method. Celestial Mechanics and Dynamical Astronomy 2019, 131, 18.
  20. Farnocchia, D.; Bracali Cioci, D.; Milani, A. Robust resolution of Kepler’s equation in all eccentricity regimes. Celestial Mechanics and Dynamical Astronomy 2013, 116, 21–34.
  21. Colwell, P. Solving Kepler’s Equation over Three Centuries; Willmann-Bell: Richmond, VA, USA, 1993.
  22. Battin, R.H. An Introduction to the Mathematics and Methods of Astrodynamics, revised ed. ed.; AIAA Education Series: Reston, VA, USA, 1999.
  23. Montenbruck, O.; Gill, E. Satellite Orbits: Models, Methods and Applications; Springer: Berlin, Germany, 2000.
  24. Draisma, J.; Horobet, E.; Ottaviani, G.; Sturmfels, B.; Thomas, R.R. The Euclidean distance degree of an algebraic variety. Foundations of Computational Mathematics 2016, 16, 99–149.
  25. do Carmo, M.P. Differential Geometry of Curves and Surfaces; Prentice-Hall: Englewood Cliffs, NJ, USA, 1976.
  26. Bruce, J.W.; Giblin, P.J. Curves and Singularities, 2nd ed. ed.; Cambridge University Press: Cambridge, UK, 1992.
  27. Pottmann, H.; Wallner, J. Computational Line Geometry; Springer: Berlin, Germany, 2001.
  28. Hagen, H.; Hahmann, S. Generalized focal surfaces: a new method for surface interrogation. In Proceedings of the Proceedings of the IEEE Visualization ’92, Boston, MA, USA, 10 1992; pp. 70–76.
  29. Charles, E.D.; Tatum, J.B. The convergence of Newton–Raphson iteration with Kepler’s equation. Celestial Mechanics and Dynamical Astronomy 1997, 69, 357–372.
  30. Stumpf, L. Chaotic behaviour in the Newton iterative function associated with Kepler’s equation. Celestial Mechanics and Dynamical Astronomy 1999, 74, 95–109.
Figure 1. Count law landscape for a = 1 , b = 0.3 , φ = 0.7 : the number N of stationary points of d 2 in the ( ρ , z ) -plane (color), with the bifurcation curves (10) (black) and the cylinder boundary ρ = b 2 / a (dashed). Crossing a curve changes N by ± 2 .
Figure 1. Count law landscape for a = 1 , b = 0.3 , φ = 0.7 : the number N of stationary points of d 2 in the ( ρ , z ) -plane (color), with the bifurcation curves (10) (black) and the cylinder boundary ρ = b 2 / a (dashed). Crossing a curve changes N by ± 2 .
Preprints 228786 g001
Figure 2. Universal bifurcation diagram in the ( e , M ) plane: the fold lines M = 2 π k ± c ( e ) (black), the Maxwell lines M π ( mod 2 π ) (red dashed), and the cusp points ( e , M ) = ( 1 , ( 2 k + 1 ) π ) (open circles) on the evolute helix. The color encodes the number N of stationary points; the vertical dotted line is e = e * 4.6033 .
Figure 2. Universal bifurcation diagram in the ( e , M ) plane: the fold lines M = 2 π k ± c ( e ) (black), the Maxwell lines M π ( mod 2 π ) (red dashed), and the cusp points ( e , M ) = ( 1 , ( 2 k + 1 ) π ) (open circles) on the evolute helix. The color encodes the number N of stationary points; the vertical dotted line is e = e * 4.6033 .
Preprints 228786 g002
Figure 3. The helix (blue), its evolute helix (red, the locus of centers of curvature and the cuspidal edge of the focal surface), and the focal surface (orange, the envelope of the normal planes, ruled by the binormal lines through the centers of curvature, two of which are drawn in gray). The focal surface is exactly the set of query points at which the squared distance has a degenerate stationary point.
Figure 3. The helix (blue), its evolute helix (red, the locus of centers of curvature and the cuspidal edge of the focal surface), and the focal surface (orange, the envelope of the normal planes, ruled by the binormal lines through the centers of curvature, two of which are drawn in gray). The focal surface is exactly the set of query points at which the squared distance has a degenerate stationary point.
Preprints 228786 g003
Figure 4. Solution structure at e = 10 , M = π . Left: g ( u ) = u + e sin u M with its seven roots (dots). Right: d 2 ( u ) (using (20)) with the two symmetric global minimizers (green) and the remaining stationary points (red): the exceptional case of Theorem 6(b).
Figure 4. Solution structure at e = 10 , M = π . Left: g ( u ) = u + e sin u M with its seven roots (dots). Right: d 2 ( u ) (using (20)) with the two symmetric global minimizers (green) and the remaining stationary points (red): the exceptional case of Theorem 6(b).
Preprints 228786 g004
Figure 5. Quadratic-tangency conditioning at e = 10 : root separation versus offset δ from the threshold M 0 = c (dots), with the asymptote C δ , C = 2 2 / e 2 1 (dashed); C num = 0.8968 vs. C th = 0.8967 .
Figure 5. Quadratic-tangency conditioning at e = 10 : root separation versus offset δ from the threshold M 0 = c (dots), with the asymptote C δ , C = 2 2 / e 2 1 (dashed); C num = 0.8968 vs. C th = 0.8967 .
Preprints 228786 g005
Figure 6. Conditioning trichotomy: (a) fold, root separation C δ at e = 10 ; (b) evolute, root shift u π ( 6 ε ) 1 / 3 at e = 1 , M = π + ε .
Figure 6. Conditioning trichotomy: (a) fold, root separation C δ at e = 10 ; (b) evolute, root shift u π ( 6 ε ) 1 / 3 at e = 1 , M = π + ε .
Preprints 228786 g006
Table 1. Solver benchmark on 20 , 000 random instances, e ( 1.05 , 60 ) , M ( 40 , 40 ) . “Wrong” means convergence to a stationary point that is not the global minimizer; “failed” means no convergence in 100 iterations. The principal-branch solver returns the global minimizer by construction (Theorem 6).
Table 1. Solver benchmark on 20 , 000 random instances, e ( 1.05 , 60 ) , M ( 40 , 40 ) . “Wrong” means convergence to a stationary point that is not the global minimizer; “failed” means no convergence in 100 iterations. The principal-branch solver returns the global minimizer by construction (Theorem 6).
Initialization wrong (%) failed (%) iterations (median/max)
principal branch u 0 = 2 π round ( M / 2 π ) 0 0 6/10
naive u 0 = M (axis projection) 54.44 3.25
cylinder point u 0 = 0 [9] 72.50 16.74
Table 2. Numerical verification of the theorems (double precision; zero failures throughout). N form is the closed-form count; N ex is the exact root count by interval isolation.
Table 2. Numerical verification of the theorems (double precision; zero failures throughout). N form is the closed-form count; N ex is the exact root count by interval isolation.
Statement Specification Result
Count law (9) 20 , 000 random ( e , M ) , e ( 1 , 10 3 ] 0 mismatches
Multiplicity law (11) 3 , 000 fold-line + 3 , 000 generic 0 mismatches
Cylinder law (Thm. 1) 2 , 000 points, ρ b 2 / a unique stationary point, all
Bifurcation surfaces (Thm. 2) 600 crossings of (10) double roots; N jumps ± 2
Count-region grid 200 × 200 in ( ρ , z ) 64 crossings; max. loc. err. 10 3
Focal surface = bifurcation (Thm. 4) 400 random points of F degenerate root at t φ ; M 2 π k ± c
Cuspidal edge (Thm. 4) 100 points of the evolute helix e = 1 , M π , g = g = g = 0 , g = 1
Semicubical cusp (15) E = 10 1 , , 10 6 ratio 1.00002
Principal branch (Thm. 6) 20 , 000 random ( e , M ) 0 failures
Symmetric case (Thm. 6(b)) M π , e { 1.1 , 2 , 10 , 50 } exactly two minimizers
Cut-locus coalescence (Thm. 5) e 1 + θ 0 π
Conditioning bound (17) 20 , 000 random max κ ( e 1 ) = 0.9806 < 1
Hessian bound 20 , 000 random min ( 1 + e cos θ 0 ) / ( e 1 ) = 1.0197 > 1
Fold separation (18) e = 10 , δ [ 10 12 , 10 1 ] C num = 0.8968 vs. 0.8967
Evolute separation (19) e = 1 , ε [ 10 12 , 10 1 ] ( u π ) / ( 6 ε ) 1 / 3 1
Asymptotics (Prop. 1) e = 10 , , 10 3 ( c e π / 2 ) · 2 e 1
Two-helix reduction (Thm. 8) 300 random helix pairs 0 failures
Solver benchmark (Thm. 7) 20 , 000 instances see Table 1
1-Lipschitz distance 2 , 000 random pairs ( P , Q ) 0 violations
e * (Cor. 1) c ( e * ) = 2 π e * = 4.603338848752
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.