Polynomials in two variables #
For φ : MvPolynomial (Fin 2) R the monomial with exponent s : Fin 2 →₀ ℕ is
X₀ ^ s 0 * X₁ ^ s 1, of degree s 0 + s 1. This file records the evaluation of φ at a pair
(a, b) as a sum over these monomials, and the description of the total degree of φ as the
largest s 0 + s 1 over its support. These are the forms in which a plane curve equation
φ(x, y) = 0 of degree n is manipulated term by term.
Main results #
MvPolynomial.aeval_fin_two_eq_sum:φ(a, b) = ∑ₛ cₛ a ^ s 0 b ^ s 1.MvPolynomial.aeval_monomial_fin_two: the monomialc X₀ ^ s 0 X₁ ^ s 1evaluates at(a, b)toc a ^ s 0 b ^ s 1.MvPolynomial.coeff_X_zero_pow_mul_X_one_pow: the coefficient ofX₀ ^ i X₁ ^ jinX₀ ^ r X₁ ^ mis1when(r, m) = (i, j)and0otherwise.MvPolynomial.IsHomogeneous.add_eq_of_mem_support: every monomial of a homogeneousφof degreenhas degreen.MvPolynomial.add_le_totalDegree_of_mem_support: every monomial ofφhas degree at most the total degree ofφ.MvPolynomial.exists_mem_support_add_eq_totalDegree: a nonzeroφhas a monomial of degree exactly its total degree.MvPolynomial.eq_single_one_of_mem_support: ifφhas total degree at mostn, its only possible monomial with exponentninX₁isX₁ ^ n.MvPolynomial.totalDegree_pos_of_aeval_eq_zero: if the coefficient ofX₁ ^ ninφis1, wherenis the total degree ofφ, andφhas a zero, thennis positive.MvPolynomial.sum_coeff_mul_div_pow_mul_inv_pow_eq_zero: dividing a relationφ(x, y) = 0byy ^ totalDegree φgives a vanishing sum in the variablesx / yandy⁻¹.MvPolynomial.exists_sum_coeff_mul_pow_ne_zero: over a domain with more thandeg φelements, the leading formφ_nofφsatisfiesφ_n(c, 1) ≠ 0for somec.MvPolynomial.natDegree_minpoly_le_totalDegree: ifφ(u + c y, y) = 0withu ∈ Kandφ_n(c, 1) ≠ 0, thenyhas degree at mostdeg φoverK.Polynomial.Bivariate.aeval_equivMvPolynomial: evaluatingp ∈ R[X][Y]atyover anR[X]-algebra is evaluating the correspondingφ ∈ R[X₀, X₁]at(X, y); this reads a plane curve equationφas a polynomial inX₁overR[X₀].Polynomial.Bivariate.aeval_map_eq_aeval_equivMvPolynomial: the same, after mappingptoK[Y]for anR[X]-algebraK.Polynomial.Bivariate.monic_equivMvPolynomial_symmandPolynomial.Bivariate.natDegree_equivMvPolynomial_symm: ifφhas total degree at mostnand the coefficient ofX₁ ^ nis1, thenφ, read as a polynomial inX₁overR[X₀], is monic of degreen.Polynomial.Bivariate.isAlgebraic_of_aeval_algebraMap_eq_zero: ifφ(a, T) ≠ 0andφ(a, y) = 0for a constanta ∈ k, thenyis algebraic overk.Polynomial.Bivariate.isAlgebraic_of_isAlgebraic_of_aeval_eq_zero: ifφhas coefficient1onX₁ ^ (total degree),φ(u, y) = 0anduis algebraic overk, thenyis algebraic overk.
The chart at infinity #
For n at least the total degree of φ, the degree-n homogenization of φ is
Φ(X₀, X₁, X₂) = ∑ₛ cₛ X₀ ^ s 0 X₁ ^ s 1 X₂ ^ (n - s 0 - s 1), and φ = Φ(X₀, X₁, 1). In the
affine chart where the first homogeneous coordinate does not vanish, with coordinates
(X₂ / X₀, X₁ / X₀), the equation Φ = 0 reads MvPolynomial.inftyChart n φ = Φ(1, X₁, X₀),
that is X₀ ^ n φ(1 / X₀, X₁ / X₀). When n is the total degree of φ, Φ = 0 is the
projective closure of the curve φ = 0; for larger n it also contains the line at infinity
X₂ = 0. In the case n = φ.totalDegree, this chart contains the points at infinity of
φ = 0 other than (0 : 1 : 0), and when the coefficient of X₁ ^ n is nonzero that point is
not on the curve.
MvPolynomial.coeff_inftyChartandMvPolynomial.inftyChart_monomial: the coefficients of the chart equation.MvPolynomial.inftyChart_dehomogenize: forGhomogeneous of degreenin three variables, the chart at infinity of the affine equationTauCeti.dehomogenize 2 Gis the dehomogenizationTauCeti.dehomogenize 0 Gwith its two coordinates swapped.MvPolynomial.aeval_inftyChart:ψ(x⁻¹, y x⁻¹) = x⁻ⁿ φ(x, y)forψ = inftyChart n φ.MvPolynomial.aeval_pderiv_one_inftyChart:∂ψ/∂X₁ (x⁻¹, y x⁻¹) = x^(1 - n) ∂φ/∂X₁ (x, y).MvPolynomial.totalDegree_inftyChart_leandMvPolynomial.coeff_single_one_inftyChart: the chart equation again has total degree at mostn, with the same coefficient ofX₁ ^ n.
A polynomial in two variables evaluated at (a, b) is the sum of its terms
c_s a ^ s 0 b ^ s 1.
Evaluating the monomial c X₀ ^ s 0 X₁ ^ s 1 at (a, b) gives c a ^ s 0 b ^ s 1.
The coefficient of X₀ ^ i X₁ ^ j in the monomial X₀ ^ r X₁ ^ m is 1 when r = i and
m = j, and 0 otherwise.
Every monomial of a homogeneous polynomial of degree n in two variables has degree n.
Every monomial of a polynomial in two variables has degree at most its total degree.
A nonzero polynomial in two variables has a monomial whose degree is its total degree.
A monomial of a polynomial in two variables of total degree at most n whose exponent of
X₁ is n is X₁ ^ n.
If the coefficient of X₁ ^ n in a polynomial in two variables of total degree n is 1,
and the polynomial has a zero, then n is positive.
The chart at infinity #
The equation of a plane curve in the chart at infinity: for φ = ∑ₛ cₛ X₀ ^ s 0 X₁ ^ s 1,
inftyChart n φ = ∑ₛ cₛ X₀ ^ (n - s 0 - s 1) X₁ ^ s 1, which is X₀ ^ n φ(1 / X₀, X₁ / X₀) when
n is at least the total degree of φ. It is the degree-n homogenization of φ,
dehomogenized in the affine chart where the first homogeneous coordinate does not vanish; when
n = φ.totalDegree this is the equation of the projective closure of φ = 0 in that chart.
Instances For
Passing to the chart at infinity is additive.
The chart equation at infinity of the monomial c X₀ ^ s 0 X₁ ^ s 1 is
c X₀ ^ (n - s 0 - s 1) X₁ ^ s 1.
The coefficients of the chart equation at infinity: for φ of total degree at most n,
the coefficient of X₀ ^ a X₁ ^ b in inftyChart n φ is the coefficient of
X₀ ^ (n - a - b) X₁ ^ b in φ if a + b ≤ n, and 0 otherwise.
The chart at infinity as a dehomogenization: let G be homogeneous of degree n in the
homogeneous coordinates (X₀ : X₁ : X₂). The chart at infinity of the affine equation
G(X₀, X₁, 1) is G(1, X₁, X₀), that is the dehomogenization of G at the first coordinate
with its two remaining coordinates swapped.
The chart equation at infinity of a polynomial of total degree at most n again has total
degree at most n.
Passing to the chart at infinity keeps the coefficient of X₁ ^ n.
Dividing a plane relation φ(x, y) = 0 by y ^ totalDegree φ gives a vanishing sum in the
variables x / y and y⁻¹.
Evaluating the chart equation at infinity: for x ≠ 0 and φ of total degree at most
n, inftyChart n φ (x⁻¹, y x⁻¹) = x⁻ⁿ φ(x, y).
The partial derivative in X₁ in the chart at infinity: for x ≠ 0 and φ of total
degree at most n, ∂(inftyChart n φ)/∂X₁ (x⁻¹, y x⁻¹) = x^(1 - n) ∂φ/∂X₁ (x, y).
Over a domain with more than n elements, the leading form φ_n of a nonzero polynomial φ
of total degree n satisfies φ_n(c, 1) ≠ 0 for some c.
If φ(u + c y, y) = 0 with u ∈ K and the leading form of φ does not vanish at (c, 1),
then y has degree at most deg φ over K: it is a root of φ(u + c Y, Y), whose coefficient of
Y ^ n is φ_n(c, 1). The coefficients may lie in any commutative semiring mapping faithfully
into K, and y may lie in any commutative K-algebra.
A nonzero plane polynomial does not vanish at some point whose first coordinate is nonzero
and whose slope v 1 / v 0 avoids a given finite set.
Evaluating p ∈ R[X][Y] at y in an R[X]-algebra A is evaluating the corresponding
polynomial in two variables at the image of X and at y.
Evaluating p ∈ R[X][Y], mapped to K[Y] for an R[X]-algebra K, at y in a K-algebra
F is evaluating the corresponding polynomial in two variables at the image of X and at y.
The monomial c X₀ ^ s 0 X₁ ^ s 1, read as a polynomial in X₁ over R[X₀].
A polynomial in two variables of total degree at most n has degree at most n in X₁.
For a polynomial in two variables of total degree at most n, the coefficient of X₁ ^ n
over R[X₀] is the constant polynomial given by the coefficient of X₁ ^ n.
A polynomial in two variables of total degree at most n in which X₁ ^ n has coefficient
1 is monic as a polynomial in X₁ over R[X₀].
A polynomial in two variables of total degree at most n in which X₁ ^ n has coefficient
1 has degree n as a polynomial in X₁ over R[X₀].
If φ ∈ k[X₀, X₁] and a ∈ k are such that φ(a, T) ≠ 0 and φ(a, y) = 0, then y is
algebraic over k: it is a root of the nonzero polynomial φ(a, T). This applies in particular
when φ is monic in X₁ over k[X₀] and k is nontrivial.
If φ ∈ k[X₀, X₁] has coefficient 1 on X₁ ^ φ.totalDegree (so it is monic in X₁ over
k[X₀]), φ(u, y) = 0 and u is algebraic over k, then y is algebraic over k.