The Geometric Quadrature Method (GQM): A Singularity-Free Spatial Formulation for Constrained Motion on Arbitrary Planar Curves ()
1. Introduction
The motion of a particle constrained to a smooth curve under gravity has been a cornerstone of classical mechanics since the seventeenth century, motivating the brachistochrone problem [1], the calculus of variations [2], and Lagrangian mechanics [3]. The brachistochrone itself has spurred a rich line of research into optimal descent curves under dissipation: Šalinić [4] obtained a closed-form solution for descent with Coulomb friction using variational calculus, and Šalinić et al. [5] subsequently extended this to arbitrary conservative and non-conservative force fields via optimal control. More recently, Cherkasov et al. [6] unified the brachistochrone and the Goddard thrust-maximisation problem for a mass point subject to gravity and viscous friction, constructing the optimal synthesis in slope-angle-velocity-mass space. These variational treatments all require the normal contact force as an ingredient of the friction term, making the efficient computation of
as a function of arc length a prerequisite for, and not merely a by-product of, the trajectory problem.
Despite this maturity, computational treatments for arbitrary planar curves remain fragmented. A persistent bottleneck is the use of the horizontal coordinate
as the independent variable, which introduces the geometric factor
into the equations of motion. This term diverges at vertical tangents, fails for closed curves such as ellipses, and obscures the underlying differential geometry—a deficiency long recognised in multibody dynamics [7] but not systematically resolved for the single-particle constrained-motion setting.
The Frenet-Serret frame offers a natural remedy. Shabana [7] studied curvature singularities arising in Frenet-frame formulations and introduced Frenet-oscillation concepts for general motion-trajectory analysis. Bettamin et al. [8] applied the Frenet frame to decompose contact forces along recorded railroad vehicle trajectories, demonstrating the practical value of frame-based force analysis. Friction in such curved-contact settings is governed by the normal force; Marques et al. [9] provide a comprehensive comparison of Coulomb and viscous friction models for multibody systems, establishing the theoretical foundation that the GQM’s kernel table (Section 3) draws upon. For the numerical treatment of constrained Hamiltonian systems over long times, Hairer et al. [10] establish that symplectic integrators conserve a modified (shadow) Hamiltonian, suppressing secular energy growth but leaving period errors of
per cycle, so that phase drift still accumulates as
—precisely the limitation that the GQM’s exact half-period tiling is designed to overcome. In astrodynamics, the Binet equation [11] and Kepler-equation inversion [12] provide classical examples of spatial-domain techniques that bypass temporal integration entirely, and the GQM’s Pass-2 time-of-flight quadrature is the direct analogue for general planar curves.
The present work unifies these perspectives into a robust, coordinate-invariant framework built on three interlocking contributions:
Three-Pass Pipeline: Separation into 1) exact spatial quantities via the speed-field identity, 2) a single scalar quadrature for time-of-flight, and 3) exact half-period tiling for conservative (periodic) systems yields phase stability unattainable by direct ODE integration. The tiling strategy, analogous to Kepler-equation inversion [12], bounds accumulated phase error at
regardless of the number of periods, whereas symplectic methods reduce energy drift but do not eliminate phase drift [10].
Speed-Field Identity: The squared speed
is identified as the primary physical descriptor. Combined with the Frenet-Serret normal projection, it yields the full rail loading map
in exact closed form—a result not available from prior arc-length treatments [7] [8], and a prerequisite for the friction kernels of [4] [9].
Unified Kernel Table: Speed-field kernels are derived for six physical regimes: frictionless sliding, rigid rolling, Coulomb friction, quadratic drag, surface-tension adhesion, and non-inertial rotating frames. Each kernel is a modular component in the three-pass pipeline, making extension to new force laws straightforward. Together with an eight-family dimensional reduction table, this provides a single reusable framework.
The paper is organized as follows. Table 1 establishes the notation. Section 2 develops the arc-length formulation and the three-pass pipeline, preceded by Section 2.1 which traces the method’s conceptual origin. Section 3 derives the speed-field kernels. Section 4 presents the dimensional reduction table. Section 5 provides numerical validation, followed by a discussion in Section 6 and conclusions in Section 7.
Table 1. Table of notation.
Symbol |
Definition |
Unit |
|
Arc-length parameter along the curve |
m |
|
Generic curve parameter (angle, polar angle, etc.) |
varies |
|
Position vector
|
m |
|
Horizontal and vertical coordinates |
m |
|
Unit tangent vector
|
- |
|
Unit normal vector
|
- |
|
Signed curvature |
m−1 |
|
Inclination angle
|
rad |
|
Arc-length speed
|
m∙s−1 |
|
Initial speed at
|
m∙s−1 |
|
Initial height
|
m |
|
Turning-point arc-length where
|
m |
|
Normal contact force (positive = inward) |
N |
|
Particle mass |
kg |
|
Gravitational acceleration |
m∙s−2 |
|
Coulomb friction coefficient |
- |
|
Rolling inertia ratio
|
- |
|
Quadratic drag coefficient (
) |
kg∙m−1 |
|
Surface tension coefficient (droplet model) |
N m−1 |
|
Characteristic contact length (droplet model) |
m |
|
Speed-field kernel (influence kernel) |
m∙s−2 |
|
Generalized speed-field kernel |
m∙s−2 |
|
Gravitational speed-field kernel,
|
m∙s−2 |
|
Oscillation period |
s |
|
Arc-length element |
m |
2. Mathematical Formulation
2.1. Conceptual Origin of the Method
We developed the GQM as a spatial-domain framework by building on the simple case of constrained motion: a mass sliding on a flat inclined plane with a constant slope
. In this configuration, Newton’s second law projected onto the surface tangent yields a constant acceleration
, resulting in an exact closed-form quadratic trajectory. This solution requires no numerical approximation, as it follows entirely from the geometry of the slope and the initial conditions. We show that the GQM successfully preserves this exactness even when the slope varies, extending the precision of the inclined plane to arbitrary, non-linear curves.
2.1.1. Stitching Planes: Discrete Convolution in Space
For a piecewise-linear surface with
segments of slope
, the solution applies exactly on each segment, and the exit state of segment
becomes the entry state of segment
through a kinematic handoff. The full trajectory is a superposition of
parabolic arcs gated by Heaviside functions:
(1)
This is a discrete spatial convolution: each slope element contributes an acceleration impulse that propagates forward over the residual time
, weighted by the causal gate. The convolution kernel
is the Green’s function of
, applied here in the spatial domain.
2.1.2. Continuous Limit and the Kernel Structure
As
, (1) passes to a spatial integral. Using the tangential equation of motion
and multiplying both sides by
gives
, which is a first-order ODE in
for the arc-length speed
. Integrating from
to
yields the spatial speed field and arrival time:
(2)
The arc-length framework in Section 2.5 generalizes (2) to any smooth plane curve via
.
The integrand of (2) encapsulates the method’s design principle. The speed-field kernel
(3)
factors the force law (
) from the geometry (
) multiplicatively. The kernel
acts as an influence kernel: it encodes how a gravitational increment at location
contributes to the cumulative speed change downstream, in exact analogy with the discrete convolution kernel of (1). Replacing gravity with a different physical force—Coulomb friction, quadratic drag, a rotating-frame potential—modifies only
, leaving the quadrature pipeline intact. The kernel is thus a plug-and-play module, a property formalized and tabulated in Section 3. Equation (2) is the work-energy theorem expressed in Cartesian form: the kernel
is the rate of height gain, and the integral
is precisely the gravitational potential increment. The arc-length formulation of Section 2.5 generalizes this directly:
in (12) is the same kernel expressed in arc-length coordinates.
2.2. Arc-Length Parametrization and the Frenet-Serret Frame
Let
be a smooth planar curve represented by a unit-speed parametrization
(4)
where
is arc length, so that the unit-speed identity
(5)
holds by definition. This single identity replaces all occurrences of
in Cartesian formulations and is valid regardless of whether
is a graph, a closed curve, or has vertical tangents. The Frenet-Serret frame consists of
(6)
(7)
with
and
by (5). The signed curvature is defined as
(8)
and the Frenet-Serret equations read and .
Remark (Globally oriented normal). In the classical Frenet frame,
is required to point toward the center of curvature, forcing a 180˚ discontinuous flip whenever the curve passes through an inflection point (where
). GQM avoids this by defining
in (7) as a fixed counter-clockwise rotation of the tangent, independent of the sign of
. This globally oriented normal remains continuous and well-defined through inflection points. The signed curvature
then carries the full geometric information: positive
means the curve bends in the
direction, negative
means it bends opposite. As a result, the normal contact force
in (15) transitions continuously between inward and outward loading without any special treatment at the inflection boundary (see Example 2 and Section 3.2).
Remark. When
is a Cartesian graph
, one has
,
, and
, recovering the standard Cartesian expressions as a special case.
2.3. Scope and Standing Assumptions
Before proceeding, we state explicitly the conditions under which each pass of the pipeline (Section 2.7) is valid. These assumptions are used silently throughout Sections 3 - 5 and are collected here for reference.
(A1) Regularity and smoothness of the curve.
The curve
is assumed at least
on the domain of interest, i.e.
and
possess continuous second derivatives, so that the signed curvature (8) is well-defined and continuous. Pass-1 closed-form results (Theorem 1, Theorem 3) require only
to be differentiable; the
requirement is needed specifically for
and hence for the normal force (15). Curves with
but not
regularity (e.g. a cusp or a corner where the tangent direction is discontinuous) fall outside the present formulation; see the extended discussion in Section 6.7.
(A2) Existence of an arc-length parametrization.
The map
is assumed regular, i.e.
on the domain of interest, so that arc length
is a strictly increasing, and hence invertible, function of
. This guarantees that the unit-speed parametrization (4) exists and that
may be used as the independent variable throughout Section 2.7. The curve is further assumed rectifiable (finite arc length on any bounded sub-interval), which follows automatically from
regularity on a compact domain.
(A3) Conservative vs. dissipative force models.
Theorem 1, Proposition 2, and the exact half-period tiling of Pass 3 (18) all assume that the only tangential force is the conservative gravitational projection
(or, more generally, the gradient of a fixed potential
, as in the rotating-frame kernel of Section 3). Under this assumption the motion is time-reversible and periodic between turning points, which is what permits tiling. When a dissipative term is present (Coulomb friction, quadratic drag, or the droplet kernel of Table 2), the speed-squared field
is no longer a single-valued function of position alone—it depends on the direction and history of motion through
and
—so the motion is in general non-periodic and Pass 3 reduces to direct interpolation on the Pass-2 table without tiling, exactly as already noted after (18) and in Section 6.6.
Table 2. Speed-field kernels
for six physical models.
and
are unit tangent and normal;
is signed curvature;
is the total turning angle. The viscous drag row uses quadratic (Rayleigh) drag
;
.
Model |
Kernel
|
|
Frictionless sliding |
|
|
Frictionless rolling (rigid body,
) |
|
|
Coulomb friction (
= friction coeff.) |
|
|
Viscous (quadratic) drag (
= drag/mass ratio) |
|
First-order linear ODE in
; integrating factor
:
|
Droplet (surface tension) (
= surface tension,
= contact length) |
|
Numerical; closed form only forconstant-curvature curves |
Rotating frame (Ω = angular velocity) |
|
|
(A4) Existence of turning points.
Proposition 2 locates a turning point as a root of
. Such a root exists within the curve’s domain if and only if
attains the value
for some
in the admissible range; this holds, for example, whenever
is continuous and the curve is bounded above by at least this height (true for all eight families of Table 3 on a sufficiently large domain). If no such root exists—e.g. an unbounded monotonic ramp with
exceeding the total rise available—the particle never turns back,
throughout, and Pass 2’s integration domain
must be treated as open-ended rather than bounded by
; Pass 3 tiling is then inapplicable since there is no periodic motion to tile. For the dissipative kernels of Section 3, the analogous turning point must instead be obtained as the first zero of
from the kernel ODE (e.g. (23)) rather than from (14), as already remarked after Proposition 2.
Table 3. Dimensional reduction: arc-length formulation specialised to eight curve families.
denotes
; ;
;
for implicit curves.
Geometry |
|
|
|
|
Cartesian graph
|
|
|
|
|
Circle/Pendulum
(
from downward vertical;
at pivot, min at
) |
|
|
|
|
Ellipse
|
(eccentric) |
|
|
|
Parabola
|
|
|
|
|
Log. Spiral
|
|
|
|
|
Catenary
|
|
|
|
|
Cycloid
,
|
|
|
|
|
Implicit
|
|
1 |
|
|
2.4. Force Decomposition
The gravitational force per unit mass is
. Its projections onto the Frenet-Serret frame are:
(9)
(10)
Equation (9) embodies the key simplification: the tangential driving term is simply
, the rate of height change with arc length—two symbols replacing the Cartesian
.
2.5. Equation of Motion and the Spatial Speed Field
Newton’s second law projected onto
(frictionless case) gives
(11)
Let
. Then
, so (11) becomes
(12)
Integrating from
to
:
Theorem 1 (Spatial Speed Field). For frictionless, holonomic constrained motion on a smooth planar curve under gravity, the arc-length speed satisfies
(13)
where
is the initial height.
Proof. Direct integration of (12) from
to
gives
. 
Remark. Equation (13) requires only the height function
and involves no arc-length quadrature. For a curve parametrized by a generic parameter
, one simply substitutes
directly; the arc-length element
enters only in Pass 2.
Proposition 2 (Turning Points). A turning point
satisfies
(14)
independent of parametrization and dependent only on height.
Remark. Equation (14) is a pure Pass-1 result: it requires only the height function
and the initial conditions, involving no quadrature. In practice it serves two purposes. First, it provides a geometry-based upper bound on the reachable arc, allowing Pass-2 to be restricted to a finite integration domain
without searching for the zero of
during time integration. Second, for the frictionless case it furnishes an independent check on the Pass-2 turning-point location computed by root-finding on the speed field. Note that (14) applies only when gravity is the sole force; with dissipative forces such as Coulomb friction the turning point must be determined from the appropriate kernel ODE (Section 3), as in Example 2.
2.6. Normal Contact Force
Newton’s second law projected onto
gives
Theorem 3 (Normal Contact Force).
(15)
Proof. Newton’s second law projected onto
gives the centripetal balance
. Substituting from (10) and rearranging yields (15). 
The first term
is the static weight component perpendicular to the slope; the second term
is the dynamic centripetal contribution. Both are computed from Pass-1 quantities alone. For a bilateral constraint,
may be positive (inward) or negative (outward); the particle remains on the track in both cases.
Corollary 1 (Force Sign and Bilateral Constraint). For a unilateral constraint, contact is lost when
:
(16)
Substituting (13) transforms (16) into an algebraic equation in
solvable from Pass-1 data. For bilateral constraints, (16) locates the transition between inward and outward rail loading.
2.7. The Three-Pass Solution Pipeline
2.7.1. Pass 1—Spatial Quantities (Exact)
Given the curve
and initial conditions
:
1) Compute
,
,
from (8) and (6).
2) Evaluate
from (13)—exact, no quadrature.
3) Evaluate
from (15)—exact.
4) Solve (14) for turning point(s)—algebraic.
All Pass-1 results are closed-form elementary functions whenever
is.
2.7.2. Pass 2—Temporal Quadrature
(17)
The integral (17) is non-elementary in general—for a circular arc it reduces to the elliptic integral
, which is irreducibly non-elementary (Abel’s result for elliptic integrals; the general algebraic case is covered by Liouville’s theorem [13]). It is evaluated by adaptive Gauss-Kronrod quadrature [14] to machine precision. This choice is well-suited to the integrand structure: the integrand
is smooth on the interior of each half-period arc but develops an integrable algebraic singularity of the form
near turning points; Gauss–Kronrod rules with adaptive subdivision concentrate nodes near such singularities automatically, achieving machine precision with a modest number of function evaluations without requiring a change of variable or special endpoint treatment. The half-period
is computed once and stored; this formula gives the true half-period only when the initial point
is itself a turning point (
). For
, the half-period must instead be computed as the time-of-flight between the two bounding turning points of the orbit.
2.7.3. Pass 3—Inversion and Tiling
Since
is strictly monotone on each arc between turning points, the inverse
is computed by interpolation on the precomputed Pass-2 table. For conservative (periodic) systems, global trajectories for large
are recovered by exact tiling:
, with arc direction reversed after each half-period.(18)
The tiling phase error in (18) is bounded by
, where
is the quadrature precision of
; tiling introduces no additional quadrature at large time (see Section 6.6 for the full error bound). For dissipative systems the motion is non-periodic, tiling is inapplicable, and
is obtained by direct interpolation on the Pass-2 table alone. This contrasts with direct ODE integration, where phase error accumulates as
for a
-th order method with step size
.
3. Speed-Field Kernels
The tangential equation of motion (11) can be written in the unified form
(19)
where the speed-field kernel
encodes the physical force model. Structurally,
acts as an influence kernel for the speed-squared field: it specifies the contribution of each arc-length element
to the total speed change, in exact analogy with the discrete convolution kernel of (1). When
is independent of
, (19) integrates to a closed-form
. When
depends linearly on
, it becomes a first-order linear ODE in
with an integrating-factor solution.
The kernel structure is the key to extensibility: any force law that can be expressed as a function of arc-length position (and possibly
) yields a modified kernel
, while the downstream Pass-2 and Pass-3 steps remain unchanged. Table 2 summarises the kernels and their solutions for six models.
Note on Coulomb row:
is the part of the kernel that does not multiply
, and
is the accumulated turning angle from the initial position. The closed-form solution in the
column is piecewise: it holds on each sub-arc
over which
does not change and the direction of motion
is constant (the case
underlying (24)); if
on a sub-arc, the sign in the exponent of the integrating factor flips accordingly. Here
is the speed-squared at the left endpoint
of that sub-arc. At each crossing where
(i.e.
), the sign of
must be re-evaluated from (23) and the integration restarted with the current state as the new initial condition. The general multi-sign-change algorithm is described in Section 3.2 (Equations (22)-(23)).
The rotating-frame kernel in the last row illustrates how non-gravitational potential fields are accommodated: the term
is simply the centrifugal potential gradient projected onto the tangent, and it contributes additively to the kernel
alongside gravity. Any conservative force whose potential
is known can be incorporated by replacing the gravitational term
with , yielding
as the generalized Pass-1 result. The quadrature pipeline of Pass 2 and tiling of Pass 3 then proceed unchanged.
3.1. Rolling with Inertia
For a rigid body rolling without slipping, the moment of inertia
modifies the effective mass through the Lagrange-d’Alembert constraint:
(20)
so that
with
, where
is the radius of the rolling body itself, not the radius of curvature of the track. For a solid sphere
; for a solid cylinder
; for a thin ring
.
3.2. Coulomb Friction
With kinetic friction force
opposing motion, (11) becomes
(21)
From (15),
, which may be positive or negative for a bilateral constraint. Since
, the friction term is most transparently written without introducing
:
(22)
Equation (22) is valid for all signs of
and
without restriction. To convert it to a linear ODE in
one writes
, which requires
. This identity holds whenever the contact force computed from Pass 1 correctly predicts the sign of
, i.e. whenever
and
share the same sign. If the particle approaches liftoff (
) or if
becomes large enough to change the bracket’s sign,
must be re-evaluated from the current state before advancing. Subject to this condition, substituting
and multiplying through by
gives
(23)
This is a first-order linear ODE in
. In the practically common case where contact is inward (
, so
) and motion is in the positive-
direction (
), (23) reduces to
(24)
which has the integrating-factor solution shown in Table 2, with integrating factor
where
is the total turning angle (equal to 2π for a closed convex curve, by the Gauss–Bonnet theorem). In Example 2,
changes at
m; the pipeline monitors
at each quadrature node and updates
accordingly, so (23) remains valid throughout.
Practical Procedure for Repeated Sign Changes and Liftoff
Equation (23) is piecewise-valid: it holds on each maximal sub-arc over which
is constant, and must be restarted whenever that sign changes. In a track with multiple inflections or oscillatory normal loading,
may cross zero more than once, so the following stepwise rule is applied uniformly (this is the procedure formalized in the Pass-2 sign-monitoring/restart steps of Algorithm 1):
Algorithm 1. The GQM three-pass pipeline.
1) Initialize. At the current sub-arc’s left endpoint
, evaluate
and use this as
in (23) for the remainder of the sub-arc.
2) Monitor. While integrating (23) forward (by quadrature or by the equivalent linear-ODE closed form), evaluate the bracketed quantity
at each quadrature node (or at each adaptive step).
3) Detect a sign change. If the bracketed quantity’s sign disagrees with
at some node, a crossing
has occurred between the previous and current node. Bracket
between these two nodes and locate it by root-finding (bisection or Brent’s method) on
, using the already-computed
on that sub-arc.
4) Restart. Terminate the current sub-arc integration at
. Set the new initial condition
, recompute
from the (now opposite) sign of the bracketed quantity just past
, and resume integration of (23) with the updated
as the new
. Repeat from Step (2).
5) Liftoff (unilateral constraints only). If the constraint is unilateral and the bracketed quantity approaches zero from the positive (inward-contact) side without the centripetal term
being able to restore
immediately afterward—i.e. the particle would require
to remain on the track—then contact is lost at
rather than merely changing sign. In this case the friction force vanishes identically beyond
(there is no normal load to generate it), the particle leaves the curve, and its subsequent motion is governed by free-flight (projectile) kinematics under gravity alone, decoupled from the curve’s geometry. This regime is outside the scope of the constrained-motion pipeline of Section 2.7 and is not pursued further here (see Section 6.7). For a bilateral constraint, by contrast, no such hand-off is needed:
is simply allowed to become negative (outward loading), and Step (4) applies as stated.
For practical implementation, Step (3)’s bracket search is most robust when performed on the dense/continuous output of the Pass-2 quadrature (or an auxiliary fine grid) rather than relying solely on the adaptive quadrature’s own node spacing, since Gauss-Kronrod nodes are optimized for integral accuracy rather than for resolving zero crossings of
to high precision.
4. Dimensional Reduction Table
The arc-length formulation specialises to each coordinate system by substituting the appropriate expressions for
,
, and
. Table 3 collects these for eight standard curve families. In every case Pass 1 is exact:
requires only
. The arc-length element
appears only in the Pass-2 time integral (17).
5. Numerical Examples
The GQM pipeline is evaluated on two representative test cases: a simple pendulum loop and a cubic curve with an inflection point and Coulomb friction. For each case, GQM results are compared against conventional time-stepping schemes. Table 4 summarizes key accuracy metrics for the long-duration pendulum simulation.
5.1. Example 1: Simple Pendulum Loop
We first benchmark GQM against a fixed-step fourth-order Runge-Kutta scheme (RK4,
s) for a simple pendulum over a long simulation window
. The pendulum has length
and is released from rest (
) at an initial angle
rad, which is 1.2 rad above the equilibrium position
. The pendulum angle
is measured from the horizontal, so the pivot is at the origin, the lowest position corresponds to
, and the height function is
(not
as in the
Table 4. Numerical precision metric comparing GQM against explicit RK4 (simple pendulum,
,
,
,
). This is the single metric directly computed and reported by the supplementary script GQM_Plots.py; see the discussion following the table for the analytical bound governing GQM’s expected drift on metrics not computed here.
Performance metric |
Explicit RK4 (
), measured vs. GQM reference |
Proposed GQM(self-consistency) |
Angular phase drift
(at
) |
1.0 × 10−4 rad |
not an independent angular measurement* |
*GQM’s angular drift is not measured against an independent reference in this experiment (GQM is itself the reference against which RK4 is compared); rather, GQM reconstructs
analytically from the closed-form speed field (25) via exact half-period tiling (18), so its self-consistency error is bounded by the time-domain quantity
(a time, not an angle; see (32) and Section 6.6 for the derivation and its units), evaluated at
periods with
and
. This is not an independently measured angular residual.
angle-from-vertical convention of Table 3). The two conventions describe the same physical circle; here
is used throughout so that equilibrium at
gives
, consistent with the figure. This value is used consistently in the text, figure, and all numerical results; the full simulation parameters are also encoded in the supplementary script GQM_Plots.py. For reproducibility, the Pass-1 speed field and Pass-2 integrand are stated explicitly:
(25)
and the Pass-2 time-of-flight integral is
(26)
with the half-period
computed as
where
satisfies
, i.e.
. The equation
admits two solutions: the trivial root
and the physical (reachable) turning point
, which is the point symmetric to
about the bottom
. The arc-length element for the circle of radius
is
, which has been substituted directly into (26). All numerical results in Table 4 and Figure 1 were obtained using equations (25)-(26).
As shown in Figure 1 and Table 4, conventional RK4 integration exhibits gradual phase drift and amplitude decay due to truncation error. At
, the RK4 solution differs from the GQM reference by
. GQM’s own self-consistency error is bounded by the time-domain quantity
(see (32)); converting this to an angular-equivalent bound via , with
of order 1 rad/s near the bottom of the swing, gives an angular drift on the order of 10−12 - 10−13 rad—many orders of magnitude below the 10−4 rad RK4 drift. Because GQM reconstructs the motion
![]()
Figure 1. Benchmark verification for a simple pendulum loop (
; release angle
, corresponding to a displacement of 1.2 rad above the equilibrium position
). The top-left panel shows phase alignment over the initial swings. The top-right panel compares the GQM and RK4 solutions at
and highlights the accumulated phase difference
. The bottom panels show the instantaneous relative energy variation and the cumulative energy error, demonstrating that GQM maintains energy to machine precision over the full simulation.
using exact half-period tiling based on high-accuracy spatial quadrature, it reduces phase and energy drift to this level, maintaining near-machine-precision agreement over the full time horizon.
5.2. Example 2: Cubic Curve with Inflection Point and Coulomb Friction
5.2.1. Physical Setup
A unit-mass particle slides along the cubic track
from an initial point
with starting speed
and Coulomb friction coefficient
. The track passes through the origin, where the signed curvature
changes sign: the segment in the third quadrant (
) is convex, while the segment in the first quadrant (
) is concave. This curvature sign reversal constitutes an inflection point and represents a scenario where conventional Frenet-frame implementations produce a 180˚ flip in the normal direction, introducing artificial discontinuities in the computed normal reaction force.
In GQM the normal
is defined by a fixed global rotation of the tangent (cf. (7)), so it remains continuous and well-defined through the inflection point. The signed curvature
transitions smoothly through zero at the origin without any discontinuity in the frame or loss of numerical stability.
5.2.2. Pass-1 Spatial Quantities (Exact)
Using the Cartesian-graph row of Table 3 with
:
(27)
(28)
The speed field under Coulomb friction is governed by the linear ODE (23) with
and
. At the inflection point
one has
, so the normal force reduces to
(since
). The kernel (23) then gives
(29)
using
. This is finite and continuous—confirming that no special treatment is needed at the inflection point.
5.2.3. Turning Point and Normal-Force Sign Change
The particle decelerates due to both the rising elevation and friction, coming to rest at the dissipative turning point where
. This turning point is located at
(30)
computed to machine precision using a single adaptive Gauss–Kronrod evaluation, where
denotes the arc-length coordinate at
. The normal reaction
changes sign at
,
, just before the inflection point; for a unilateral constraint this is the location at which contact would be lost.
5.2.4. Results and Figure
Figure 2 shows the geometric path and the continuous signed curvature profile
along the cubic track. The left panel displays the particle trajectory from
through the inflection at the origin to the turning point
, colour-coded by the sign of the normal reaction
. The right panel shows
passing smoothly through zero at
with no discontinuity, providing a stable and continuous input to the dissipative kernel throughout the motion. Table 5 summarises the corresponding Pass-1 numerical results.
![]()
Figure 2. Example 2: Cubic track
with inflection point and Coulomb friction (
,
,
,
,
). Left panel—geometric path from
through the origin to the dissipative turning point
; colour coding indicates the sign of the normal reaction
. Right panel—continuous signed curvature
along the track, passing smoothly through zero at
(the inflection point) and providing a stable input to the dissipative kernel with no frame-flip artefacts.
Table 5. Example 2 (Cubic curve with inflection)—numerical results. All Pass-1 quantities are exact closed-form results from (13) and (15) with
,
,
,
.
Metric |
Value |
Unit |
Turning point position
|
(0.8367, 0.5857) |
m |
Arc length
:
|
2.6502 |
m |
crossing position
|
−0.1052 |
m |
at inflection (
) |
0 (exact) |
m−1 |
Frame continuity through inflection |
Continuous (no flip) |
- |
5.2.5. Independent Verification by Direct Time-Domain Integration
The GQM results above are obtained by solving the spatial kernel ODE (23) in the arc-length (equivalently,
) domain, with the sign-monitoring and restart procedure of Section 3.2. As an independent check, we additionally integrate the same physical model—Newton’s second law (21) with the friction law
—directly in the time domain, using the state vector
and a standard adaptive Runge-Kutta scheme (Dormand-Prince RK45), entirely independent of the spatial quadrature pipeline. The two formulations share only the underlying physics, not the numerical method: the spatial integration of Section 3.2 advances
as a function of
via quadrature with explicit sign-of-
bookkeeping, whereas the time-domain check advances
as a function of
via a general-purpose ODE solver with event detection for
and a posteriori root-finding for
.
Table 6 compares the two computations. The turning-point location and the
crossing agree to within 10−6 m (limited by the time-domain integrator’s step-size tolerance,
); this agreement confirms that the spatial pipeline’s sign-monitoring and restart logic (Section 3.2, Algorithm 1) correctly reproduces the physical model rather than an artefact of the spatial-quadrature implementation.
Table 6. Example 2 cross-check: GQM spatial pipeline vs. independent direct time-domain integration (Dormand-Prince RK45, adaptive step, event-based turning-point and
detection) of the same Coulomb-friction model (21).
Quantity |
GQM (spatial pipeline) |
Time-domain RK45 |
Difference |
Turning point
(m) |
0.83669 |
0.83669 |
1.2 × 10−6 |
Turning point
(m) |
0.58573 |
0.58573 |
2.5 × 10−6 |
Arc length to
(m) |
2.65020 |
2.65020* |
2.7 × 10−6 |
crossing
(m) |
−0.10523 |
−0.10523 |
3.1 × 10−10 |
Time of flight to
(s) |
-† |
0.8203 |
- |
*Arc length along the time-domain trajectory is recovered by evaluating (17)’s arc-length integral
on the RK45-computed
path. †The spatial pipeline does not require the time-of-flight value to obtain
or the
crossing (these are recovered purely from Pass-1 and the quadrature in
); the time-domain figure is reported here only as an additional consistency datum, since it falls out naturally from the time-domain solve.
6. Discussion
6.1. Advantages of the Arc-Length Formulation
The primary advantage is the elimination of the
factor, which diverges at vertical tangents and prevents the Cartesian formulation from treating the upper arc of a circle, ellipse sides, or any polar curve where
. The arc-length formulation is coordinate-free and applies to any rectifiable plane curve.
A secondary advantage is algebraic transparency. The speed field (13) states in three symbols that squared speed equals its initial value minus twice the height gain. The normal force (15) is similarly compact:
is the fraction of gravitational weight supported by the surface, and
is the centripetal demand. Both derive from Newton’s second law—energy conservation is a consequence of the constraint geometry, not an independent postulate.
6.2. Pass-1 Exactness and the Role of Height
Theorem 1 establishes that the speed field requires only
, regardless of parametrization. For all eight families in Table 3,
is a simple closed-form expression, making Pass 1 always exactly solvable. For the cubic track, this means the full rail loading map
—including the inward/outward loading transition and the exact
crossing—is available without any numerical integration, even as the curvature changes sign continuously through the inflection point.
6.3. Continuous Frame through Inflection Points
A key feature of GQM, demonstrated in Example 2, is the use of an algebraically signed curvature
and a globally oriented normal
. In standard Frenet-frame implementations, the normal is constrained to point toward the center of curvature, forcing a 180˚ flip when the curve passes an inflection point. This flip produces an artificial jump in the computed normal force
that has no physical basis. By defining
via a fixed counter-clockwise rotation of the tangent (Equation (7)), GQM avoids this discontinuity entirely:
passes smoothly through zero at the inflection,
remains continuous, and
transitions continuously between inward and outward loading without any special treatment at the inflection boundary.
6.4. Inescapability of Non-Elementary Functions in Pass 2
By Liouville’s theorem on integration in finite terms, as formalized by Ritt [13], the time integral
is non-elementary whenever
introduces algebraic functions of degree exceeding two. (The non-elementary character of elliptic integrals is the classical special case, with the general non-elementarity criterion formalized by Liouville and Ritt extending it to the broader setting used here.) For circular arcs this is
; for the cubic
the height function introduces a quartic algebraic relationship through the arc-length element. No reformulation can circumvent this: GQM confines the non-elementary computation to a single scalar quadrature in Pass 2, keeping all spatial quantities (Pass 1) exactly elementary.
6.5. The Pendulum as Validator, Not Primary Target
For the pendulum, the motion is governed by a well-known equation whose long-time behavior can be tracked by high-order integrators to high but not unlimited accuracy. GQM reconstructs the motion using exact half-period tiling based on high-accuracy spatial quadrature, reducing phase and energy drift by many orders of magnitude compared with direct ODE integration (Table 4). Both RK4 and Störmer-Verlet accumulate phase error that grows as
; as shown in (32), GQM’s total pipeline phase error after
periods is bounded, in time-domain terms, by
, where
and the interpolation term does not grow with
[15]; the corresponding angular-equivalent bound, obtained by multiplying through by the local angular rate
, is correspondingly smaller than RK4’s angular drift by many orders of magnitude. The pendulum thus serves as a validation case, not the primary target of the method.
For any other smooth planar curve—ellipses, spirals, catenaries, cycloids, arbitrary surface profiles—no closed-form trajectory formula exists or can exist (Liouville’s theorem [13]). In this universally applicable regime, among the methods compared in Table 7—direct ODE integration, symplectic integration, perturbation/series expansion, and special-function solutions—GQM is, to the authors’ knowledge, the only one that simultaneously provides exact Pass-1 spatial quantities, machine-precision time-of-flight by a single quadrature, and phase-error bounded at
at arbitrarily large time. This claim is scoped to the comparison performed here and to the class of conservative planar-curve problems satisfying assumptions (A1) - (A4) of Section 2.3; it is not asserted as an exhaustive survey of the broader numerical-methods literature. Table 7 summarises.
Table 7. Comparison of solution methods. “Exact” = machine precision in one evaluation. “N-exact, drift
” = machine precision per period; accumulated phase error bounded by
, with
and
non-accumulating across periods (see (32)). “Drifts” = phase error grows as
. The bold row is the present method. †marks structurally empty columns.
Method |
Circle/pendulum only |
Arbitrary smooth curve |
,
|
, large
|
,
|
, large
|
Jacobi/special functions |
Exact |
Exact, no drift |
†None exists |
†None exists |
Direct ODE (RK4) |
N-exact |
N-exact, drifts |
N-exact |
N-exact, drifts |
Symplectic (Störmer-Verlet) |
N-exact |
Energy bounded; phase drifts |
N-exact |
Energy bounded; phase drifts |
Perturbation/series |
Approx. |
Small amplitude only |
Approx. |
Restricted validity |
Spatial method (GQM) |
Exact (P1) |
N-exact, drift
|
Exact (P1) |
N-exact, drift
|
6.6. Phase Stability at Large Time
The analysis in this section applies to conservative (periodic) systems, for which Pass 3 exact half-period tiling is applicable. For dissipative systems (e.g. Coulomb friction, Example 2), the motion is non-periodic and Pass 3 reduces to direct interpolation on the Pass-2 table without tiling; the phase-stability comparison below does not apply to that case.
A
-th order explicit integrator accumulates a local truncation error of
per step, giving a global phase error of
per period, growing to
(31)
over the full integration. Symplectic integrators conserve a shadow Hamiltonian exactly, suppressing secular energy growth, but the shadow Hamiltonian differs from the true one by
, giving a period error of
per cycle and accumulated phase error of
—identical in scaling to RK4 [15].
GQM bounds drift via two contributions that must be accounted for separately. The first is the quadrature error: the half-period
is computed once by adaptive Gauss-Kronrod quadrature [14] to absolute precision
, and exact half-period tiling then contributes a phase error of at most
after
periods. The second is the Pass-3 inversion error:
is recovered by interpolation on the precomputed Pass-2 table
, and the interpolation error
depends on the table resolution
and the chosen scheme. For a cubic-spline interpolant on a uniform table with spacing
, the inversion error is
per query, independent of
. The total pipeline phase error at
periods is therefore bounded by
(32)
where the second term does not grow with
. In the numerical experiments of Table 4, a cubic-spline table with
s was used. For the
pendulum (
, period
,
periods), this gives
and a tiling contribution
—many orders of magnitude below both RK4 and symplectic integrators, with the interpolation error non-accumulating across periods. To illustrate the scaling advantage at larger horizons: for a hypothetical run of
periods with
, the bound gives
, still far below ODE-integrator drift of
. This bound applies to the class of conservative planar-curve problems addressed by this paper (assumptions (A1) - (A4)); within this class, and among the standard time-stepping and series-based alternatives compared in Table 7, no competing approach is known to the authors that achieves phase stability of this form for general (non-circular) planar curves.
6.7. Limitations
The present formulation assumes:
1) A planar (2D) curve;
2) A particle (point mass), though the rolling extension admits rigid bodies with a single rolling degree of freedom;
3) Gravity as the primary potential force (the rotating-frame kernel extends this to centrifugal potential, and any conservative force can be accommodated by replacing the gravitational kernel
as described in Section 3).
Extension to space curves (3D) requires the full Darboux frame and is deferred to future work.
Beyond the dimensional and force-model restrictions above, the formulation also relies on the regularity assumptions (A1) - (A2) of Section 2.3, which may fail or require modification in the following cases:
Non-smooth tracks and cusps.
At a cusp or any point where
or the tangent direction is discontinuous, the curve fails to be
, the unit-speed parametrization (4) cannot be extended across the point, and the curvature (8) is undefined there. GQM as formulated requires a piecewise treatment in this case: each smooth segment is parametrized and solved independently by the three-pass pipeline, and the segments are joined by a kinematic hand-off analogous to the discrete stitching of Section 2.1 (continuity of position and speed, but not necessarily of tangent direction, across the cusp). This is a natural but currently unimplemented extension of the piecewise-linear limiting case already used to motivate the method.
Self-intersecting curves.
The arc-length map
is one-to-one by construction, but if the underlying curve self-intersects, several distinct values of
correspond to the same point
in the plane. GQM’s spatial quantities (Pass 1) remain valid along the single-valued arc-length path, since all computations are functions of
rather than of
directly. However, any query that requires identifying where on the physical curve the particle currently is—e.g. for collision detection with another branch of the same curve—requires additional bookkeeping beyond the arc-length state, since
alone no longer determines
uniquely. The present formulation implicitly assumes a simple (non-self-intersecting) curve over the domain of integration; self-intersections are not treated.
Separatrix-like and asymptotic motions.
Pass 3 tiling (18) assumes a finite half-period
. For a trajectory approaching an unstable equilibrium asymptotically (e.g. a pendulum released exactly at the inverted position, or more generally any orbit asymptotic to a separatrix),
and the Pass-2 quadrature (17) converges arbitrarily slowly near the equilibrium, since the integrand’s singularity there is no longer the generic
algebraic type assumed in Section 2.7 but a logarithmically divergent one. In this boundary regime the finite-quadrature-cost guarantee of Pass 2 and the bounded-tiling guarantee of Pass 3 (Section 6.6) no longer hold without separate asymptotic treatment (e.g. analytic matching near the equilibrium), which is not developed in the present work.
Loss of monotonicity of t(s).
Pass 3 explicitly assumes (Section 2.7) that
is strictly monotone on each arc between turning points, which holds whenever
maintains a single sign on that arc. This can fail in two ways: 1) for dissipative kernels with multiple sign changes of
(Section 3.2), if the restart procedure of Section 3.2 is not applied correctly the computed
may become spuriously negative or oscillate near a crossing, corrupting monotonicity of
; and 2) more fundamentally, if the force model itself permits
to reverse sign without
being reached exactly (not possible for the conservative and friction/drag kernels of Table 2, but conceivable for a more general velocity-dependent kernel
not considered here). In either case the Pass-3 interpolation/inversion step becomes ill-posed and the GQM pipeline as stated does not apply without modification.
7. Conclusions
The Geometric Quadrature Method (GQM) reformulates constrained particle dynamics on arbitrary planar curves as a three-pass spatial pipeline, delivering capabilities unavailable from standard ODE-based methods.
Pass 1 yields the speed field and normal contact force in exact closed form for any curve with an analytic height function—no quadrature, no approximation. This is the core structural advantage: the entire rail loading map, including force sign transitions and liftoff conditions, is accessible algebraically. Pass 2 confines the irreducibly non-elementary time-of-flight computation to a single adaptive quadrature, evaluated to machine precision. Pass 3 recovers phase-stable long-time trajectories for conservative (periodic) systems by exact half-period tiling, bounding phase error at
independently of
; for dissipative kernels the motion is non-periodic and Pass 3 reduces to direct table inversion without tiling.
A central element enabling the method’s extensibility is the speed-field kernel
, which encodes the physical force model in a modular, plug-and-play form. The kernel specifies how each arc-length element contributes to the total speed change—in exact analogy with the convolution kernel of the discrete piecewise-linear limit (Section 2.1). Six kernels are derived covering frictionless sliding, rolling with inertia, Coulomb friction, quadratic drag, surface tension, and rotating frames. A complementary dimensional reduction table (Table 3) reduces eight standard curve families—Cartesian graphs, circles, ellipses, parabolas, logarithmic spirals, catenaries, cycloids, and implicit curves—to this single framework by providing the arc-length element and curvature for each geometry. Importantly, any conservative force field can be accommodated: replacing the gravitational term in
with
for an arbitrary potential
yields the generalized Pass-1 result
, with Pass 2 and Pass 3 proceeding unchanged.
The method’s position is clear. For the simple pendulum, the phase-stability benchmark shows that GQM reduces accumulated phase and energy drift by many orders of magnitude compared with all standard time-stepping schemes—explicit and symplectic alike—over long simulations (see Equation (32) and Table 4). For every other smooth planar curve—ellipses, spirals, catenaries, cycloids, cubic profiles, and arbitrary numerically defined tracks—Liouville’s theorem [13] guarantees that no closed-form trajectory exists. In this vast, practically relevant regime, and among the methods surveyed in Table 7, GQM is the only approach we are aware of that provides both exact spatial quantities and phase-stable trajectories, within the conservative, planar, point-mass setting of assumptions (A1) - (A4).
The cubic track example further demonstrates a geometric robustness advantage unique to GQM: the use of an algebraically signed normal and a continuously signed curvature eliminates the frame-flip artefacts that conventional Frenet-frame solvers produce at inflection points. This makes GQM directly applicable to realistic engineering tracks that combine convex and concave segments.
Practical applications include rail loading prediction, long-time phase-stable simulation of non-circular oscillators, parametric sweeps over curve families in design optimization, and any setting where exact spatial force maps are needed without full trajectory integration. The kernel substitution principle of Section 3 opens further domains: replacing the gravitational term with a central-force gradient
recovers the vis-viva equation in Pass 1 and the Kepler time-of-flight integral in Pass 2, extending naturally to perturbed non-Keplerian orbits. For geometries that evolve slowly relative to the particle’s oscillation frequency—vibrating rails, flexible beams—the kernel can be updated quasi-statically each period, preserving Pass-1 exactness in the adiabatic regime.
Future work will extend the framework to 3D space curves via the Darboux frame, and to impact and rebound modeling.
Data Availability
The Python script GQM_Plots.py used to generate all numerical results and figures is provided as supplementary material. No other datasets were generated or analysed during the current study.
Appendix
Curvature Formulas for Standard Parametrizations
Cartesian graph
:
(33)
Parametric curve
:
(34)
where dots denote
.
Polar curve
:
(35)
Implicit curve
:
(36)