Content and primitive forms of fixed discriminant #
The content of an integral binary quadratic form is the nonnegative gcd of its three coefficients. Dividing by it gives a primitive form whenever the original form is nonzero. The content is also the gcd of all represented values, which makes it invariant under proper integral changes of variables. Scaling the form multiplies its content by the absolute value of the scalar and its discriminant by the scalar's square. Dividing a nonzero integer vector by its gcd gives coprime coordinates and divides every represented value by the square of that gcd.
The invariance of discriminant and primitivity packages primitive forms of a fixed
discriminant in the subaction primitiveForms D, stable under SL(2, ℤ). This gives the
carrier for proper-equivalence and orbit constructions among forms of that discriminant.
Intersecting with the positive definite forms gives PosDefProperClass n, the proper
equivalence classes of primitive positive definite forms of discriminant -n.
Two forms (a, B, a'C) and (a', B, aC) sharing the middle coefficient have Dirichlet
composition (aa', B, C), of the same discriminant B² - 4aa'C; if both are primitive so is
the composition (isPrimitive_mk_mul_of_isPrimitive). The principal form of discriminant
D ≡ 0, 1 mod 4 is x² + δxy + ((δ - D)/4)y² with δ = D mod 2 (principalForm); it is
primitive of discriminant D, and positive definite when D < 0.
References #
- D. A. Cox, Primes of the Form x² + ny², §2, and §3 for Dirichlet composition.
Dividing a nonzero integer vector by its gcd gives coprime coordinates and scales its represented value by the square of the gcd.
The nonnegative gcd of the three coefficients of an integral binary quadratic form.
Instances For
The zero form has content zero.
An integral binary quadratic form is primitive when its coefficients have gcd one.
Instances For
Primitivity is equivalent to content one.
The zero form is not primitive.
A primitive integral form is nonzero.
The coefficients of a primitive form generate the unit ideal of every commutative ring R.
The content divides the leading coefficient.
The content divides the middle coefficient.
The content divides the last coefficient.
Content zero occurs exactly for the form with all coefficients zero.
Every nonzero binary quadratic form has positive content.
Natural scalar multiplication multiplies the content by that scalar.
Negation preserves the content.
Divide all three coefficients by the content. The zero form has zero primitive part.
Instances For
The leading coefficient of the primitive part.
The middle coefficient of the primitive part.
The last coefficient of the primitive part.
The primitive part of the zero form is zero.
The original form is its content times its primitive part, including for the zero form.
A form has zero primitive part exactly when the form itself is zero.
The primitive part of a nonzero form has content one.
A primitive form is its own primitive part.
A scalar multiple of a primitive form has content the absolute scalar.
For a primitive form, scalar normalization retains the sign times the form itself.
Primitive normalization commutes with negation.
The decomposition into positive content and a primitive form is unique.
Proper integral changes of variables preserve the content.
Primitivity is preserved by proper integral changes of variables.
Primitive forms of fixed discriminant, with the proper special-linear action.
Instances For
Membership in the primitive fixed-discriminant forms.
A form is primitive positive definite of discriminant -n exactly when it has discriminant
-n, positive leading coefficient and coprime coefficients.
The proper equivalence classes of primitive positive definite forms of discriminant -n.
Instances For
Taking primitive parts commutes with proper integral changes of variables.
A form and its primitive part have the same proper automorphs.
The discriminant of a primitive part is invariant under proper changes of variables.
Dirichlet composition of united forms #
The Dirichlet composition of primitive united forms is primitive. If (a, B, a'C) and
(a', B, aC) are primitive, then so is (aa', B, C).
The principal form #
The principal form of discriminant D, x² + δxy + ((δ - D)/4)y² with δ = D mod 2.
For D ≡ 0, 1 mod 4 it has discriminant D (discrim_principalForm).
Instances For
The leading coefficient of the principal form is 1.
The middle coefficient of the principal form is D mod 2.
The last coefficient of the principal form is (D mod 2 - D) / 4.
The principal form is primitive.