How this calculation works
Analyze the local lowest-order behavior of a plane algebraic curve at one exact rational point. After shifting the point to the origin, the tool extracts the tangent cone and multiplicity. For quadratic cones it distinguishes two real tangents, conjugate complex tangents and a repeated tangent requiring further analysis.
F(a+u,b+v)=F_m(u,v)+F_(m+1)(u,v)+⋯; m is multiplicity and F_m is the tangent cone. For Au²+Buv+Cv², Δ=B²−4AC.A worked example
At (0,0), F=y²−x²−x³ starts with y²−x². Its multiplicity is2 and tangent cone factors as (y−x)(y+x). The quadratic discriminant is4, so this is an ordinary real node with two distinct real tangent lines.
Good to know
Nonzero rational bivariate polynomials total degree≤6, exact rational point. Checks point membership. Returns multiplicity/tangent cone and quadratic ordinary-double-point classification only. Repeated tangent does not prove cusp; no full branch resolution or global singular-point search.
Reference: Magma handbook: ordinary curve singularities and tangent directions (opens in a new tab) ↗
Choose a point on the curve
The input defines a plane curve F(x,y)=0, and the specified point must satisfy that equation exactly. The tool analyzes this one location; it does not search the plane for every singularity.
Enter polynomial terms and point coordinates as exact rationals. A nearby measured point may fail the membership check even when visually close to a plotted curve. That is a mathematical input mismatch, rather than evidence of a numerical defect.
Compare this with the Implicit differentiation calculator for first and second derivatives. Implicit differentiation rejects zero-gradient cases and does not analyze their tangent cones.
Shifting makes local order visible
Substitute x=a+u and y=b+v and expand with exact binomial coefficients. The smallest total degree carrying a nonzero coefficient is the local multiplicity, and its homogeneous part is the tangent cone.
The constant term must vanish for a point on the curve. If the first surviving degree is one, the point is smooth and its linear tangent cone gives the usual tangent line. A zero polynomial has no finite multiplicity in this workflow.
Multiplicity and vanishing gradient
A nonzero linear part means at least one first derivative is nonzero. Multiplicity at least two means both first derivatives vanish, so ordinary implicit differentiation cannot determine a unique slope from the gradient.
Multiplicity measures the first nonzero homogeneous order. It does not count visible real branches by itself: a multiplicity-two point may have two real tangent directions, only conjugate complex directions, or a repeated tangent shared by more complicated branches.
Classifying a quadratic tangent cone
For Au²+Buv+Cv², the discriminant B²−4AC controls its real factorization. A positive value gives two distinct real lines; a negative value gives two conjugate complex lines; zero gives a repeated line.
A nonzero discriminant identifies an ordinary double point over the algebraic closure. A negative discriminant can describe an isolated real point. A zero discriminant is deliberately left unresolved because higher-degree terms distinguish cusps, tacnodes and nonreduced behavior.
The nodal cubic worked example
For y²−x²−x³ at the origin, the degree-two part is y²−x² and the degree-three term does not change the tangent cone. The two tangent lines are y=x and y=−x.
The multiplicity is two and the quadratic discriminant is four, giving an ordinary real node. This establishes the local tangent structure without claiming that the entire curve is equivalent to the union of its tangent lines.
Why a repeated tangent is not a cusp proof
The cusp y²=x³ and the tacnode y²=x⁴ have the same degree-two tangent cone y². Their local branch behavior differs, and a tangent-cone-only analysis cannot legitimately give both the same complete singularity type.
Repeated curve factors introduce another issue: F=(y−x)² describes a nonreduced equation whose multiplicity reflects algebraic repetition. The output therefore keeps the polynomial assumption visible and avoids silently replacing F by its squarefree part.
Exact checks and supported outputs
SymPy independently reconstructs the shifted coefficients for a node, a cusp, an isolated real double point and a translated cusp at (1,2). Exact coefficient comparison checks the shift before interpreting the geometry.
Degree-six and rational-input limits keep expansion finite. Higher multiplicity still yields its exact homogeneous tangent cone, but full factorization into algebraic tangent directions and a complete singularity invariant list are outside this version.
A few questions, answered
Does zero gradient mean there is no tangent?
No. It means the linear tangent formula is insufficient. The tangent cone can contain one or several tangent directions.
Does a repeated tangent prove a cusp?
No. A cusp, tacnode and nonreduced curve can share a repeated tangent cone.
Are complex tangents an error?
No. They describe valid complex local geometry and can occur at isolated real points.
Will this find every singular point?
No. It analyzes only the rational point you supply.