How this calculation works
Find fractional leading exponents suggested by the Newton polygon of a plane curve near the origin. The calculation reports the exact monomial balance and leading-coefficient equation for each candidate exponent. It deliberately stops before a full Newton–Puiseux expansion or branch classification.
For y~c x^r, a monomial a_ij x^i y^j has weight i+rj. A candidate r>0 requires the minimum weight to occur at least twice; Σ_(edge) a_ij c^j=0 with c≠0.A worked example
For y²−x³=0, balance 2r=3. The candidate exponent is r=3/2 and the coefficient equation is c²−1=0. Its roots ±1 are simple, giving the two complex Puiseux leading expressions y~±x^(3/2).
Good to know
Rational polynomial at origin, degree≤6. Positive y-as-function-of-x exponents only; exact edge equations, zero branch and vertical-component flags. No higher terms or automatic local point shift. Repeated coefficient roots flagged, never promoted to distinct resolved branches.
Reference: Bernd Sturmfels: Puiseux series and the minimum-weight rule (opens in a new tab) ↗
The local form being sought
The tool looks for nonzero branches that approach the origin with y behaving like c x^r, where r is a positive rational number and c is nonzero. This fixes x as the independent local variable.
The polynomial must vanish at the origin. A branch with y approaching a nonzero constant, a pole or a vertical component does not fit that expression. Exact zero branches and common x factors are reported separately instead of being forced into a positive-exponent formula.
Compare this with the Polynomial resultant calculator using the Sylvester matrix. A resultant eliminates variables without exposing fractional local branch exponents.
Weights turn substitution into geometry
Under y=c x^r, the monomial x^i y^j contributes c^j x^(i+rj). For the polynomial to vanish, the lowest power of x cannot come from a single nonzero monomial; at least two terms must share it.
Equating pairs of weights produces finitely many rational candidates. Each candidate is retained only when its common weight is globally minimal among all terms. This extra minimum test rejects balances that occur above the lower Newton boundary.
The leading coefficient equation
The terms attaining the minimum weight produce a polynomial in c. Its nonzero roots are the possible leading coefficients for that exponent; a factor c^k is removed because this stage assumes c is nonzero.
The equation is displayed exactly even when its roots are irrational or complex. Returning the polynomial avoids inventing a decimal root classification. A simple nonzero root is well behaved for subsequent formal refinement, while repeated roots require another Newton step.
Why repeated roots need caution
For (y−x)² plus higher terms, the first coefficient equation can have a repeated root. Several eventual branches may share its leading term, or the curve may contain a repeated component.
The resultant with the derivative detects repeated nonzero roots after the zero-coefficient factor is removed. A warning is an informative result: it says the current edge does not yet separate the local behavior, rather than pretending that multiplicity gives distinct finished expansions.
The cusp balance y squared equals x cubed
The two terms have weights 2r and3. Their equality gives r=3/2, and the lowest-order equation is c²−1=0. Both leading coefficients are simple and nonzero.
The expressions ±x^(3/2) are Puiseux series choices over a ramified parameter. They should not automatically be counted as two distinct irreducible algebraic curve components: y²−x³ is irreducible, and a parameter x=t², y=t³ describes its cusp.
Real branches and coordinate changes
A coefficient equation can have no real root even though it has complex roots. The Newton–Puiseux setting is naturally complex; a real plot requires an additional choice of side of the origin and a real determination of fractional powers.
The selected coordinate direction also matters. Swapping x and y can reveal vertical behavior as an ordinary graph. This version reports its coordinate convention explicitly and does not claim to classify every local branch in every direction.
Independent balance checks
For y²−x³, substituting y=c x^(3/2) factors out x³ and leaves c²−1, an exact independent check. The repeated-root fixture (y−x)² gives exponent one and coefficient equation (c−1)².
Author-hosted Newton–Puiseux notes explain the minimum-attained-twice rule and its lower-polygon interpretation. The prototype implements that finite rule directly, with no claim of complete higher-order series generation or a numerical error bound.
A few questions, answered
Is the output a complete Puiseux series?
No. It supplies candidate leading exponents and coefficient equations only.
Why must c be nonzero?
A zero coefficient means the proposed leading term vanishes, so a later term would actually lead the branch.
Does ±x^(3/2) mean two irreducible components?
No. Puiseux conjugates can describe one irreducible curve branch under a ramified parametrization.
What does a repeated characteristic root mean?
The leading balance has not fully separated the local behavior. Further Newton–Puiseux refinement is required.