If we multiply two expressions of the form , we get an expression of the same form. That is
where and
A way to see this is by writing , as a product of conjugates elements (norm) in . So we have
Note the forms we are multiplying have the same discriminant ( in our case). What happens if we take another two forms of the same discriminant and multiply them together?
Let say
We can again write this as times
and group the first and third terms together, and their conjugate second and fourth terms together, to get another quadratic form of the same discriminant .
Equivalences: A form of discriminant obtained by change of coordinates also represents the same form– that is they represent the same set of integers for instance. For to be a change of coordinates we need be invertible. Hence if we are concerned with integral quadratic forms, we need the determinant to be . Two form such that are called equivalent and properly equivalent if the matrix has determinant , improperly equivalent if the determinant is
Example: Using the change of coordinates we see that the form
is equivalent to
Similary using we see that the form
is equivalent to
Under equivalence, the discriminant of the forms is preserved. To see that note that
and hence the action
so the action on the coefficients is given by
which preserves the determinant which is equal to
and hence the discriminant.
OK, so we have these forms and equivalences under the action of these matrices. How many such equivalence classes exist? Rather can we get all the forms starting from a single form by these equivalence (changing the coordinates). That answer is no! It depends on the discriminant and the set of proper equivalences classes is called the class group
Reduction Theory: Is there some way to describe the equivalence classes? (Maybe by listing the representatives?) There is a way to reduce a given form under equivalence so that all of the forms are equivalent to one of the reduced forms. The theory now crucially depends on the sign of the discriminant.
Negative Discriminant (positive definite forms): is reduced if
We can apply the transformations to the form to make sure that has the highest imaginary part, one we finish the process we get a reduced form. The conditions will give and hence the classes are finite. Also except for and , reduced forms represent distinct equivalence classes. The reduction is related to the fundamental domain of the action of the matrices of determinant one on the upper-half of the complex plane: . Note that the root only for negative discriminants.
Positive Discriminant: The reduction theory is slightly more complicated here. The roots are real numbers. A form is called reduced if
Again it’s easy to see that there are only finitely many reduced forms, and that every form is equivalent to a reduced form. But the new feature is that the reduced forms can be partioned into cycles of forms which are all equivalent. Each cycle of the form corresponds to the continued fraction of the root which is periodic for quadratic irrationals.
And we described a way to compose form in the beginning- We can in fact check that the composition respects the equivalences and we have a composition law on the class group (these equivalences classes). In fact, a beautiful observation of Gauss is that the composition is a “group” law – that is we have natural properties like associativity and invertibility. The class of inverse of is represented by (Note that this proper equivalence, if we allow improper equivalence, these forms are in fact equivalent under The identity element is the form or (depends on the discriminant or , that is )
We already saw that composition is related to arithmetic in , in fact in modern terms the composition, group law, invertibility etc can be seen phrased in terms of invertible ideals of the order of the given discriminant. The map is
The equivalence in the forms will correspond to change of basis for the ideals and the equivalence of ideals up to principal ideals, that is if . The composition of form is just multiplication of ideals.
Explicit descriptions of the composition is helpful to understand the arithmetic of the class group better.
Dirichlet’s “United” Forms: Two forms and of the same discriminant are called united if the gcd of , and is
If we have united forms we have transform them into form that look like
Now the composition of the form is defined to be
In fact, if given united form , we can choose such that
and the composition is
If the forms are primitive that is if the coefficients are coprime , we can choose representatives such that , so that the forms are united. If they are not primitive we can always separate the common factor to get primitive forms.
Example: Let , then the identity form is . Because the coefficient is 1, any form is united with this form. Take . Then satisfies the above properties.
And the composition is
Similarly if , the identity is and we have satisfying all the conditions. Therefore the composition is
Now we want to show that primitive forms and represent inverse classes.
The forms as given are not necessarily united because . But use and now are united. Again satisfies the required properties. So we have
Now apply and then
for and
for
We saw invertibility and the identity operations for the composition law. The associativity can also be similarly seen in fact given three forms , we can choose representative that look like
and now we have
Remarks: Proper vs Improper equivalence- the distinction is important – the group structure is only defined on the proper equivalence classes. If you add the improper equivalence we put the relation on the proper equivalence classes, and this is not consistent with the group operation. For instance, nothing happens to ambiguous classes, other classes are identified with their inverses. And we get that every squared class is improperly equivalent to the principal class. A direct way to see it is the following identity
Gauss’s Direct Composition: Gauss “direct composition” defined below makes some choices- the choices are not-canonical but up to proper equivalence well defined.
For instance there are many choices to compose to have the following
where
are integral bilinear forms
The formula for the square of form given above is one such expression. But not all of them give group laws!
Only the choices of positive signs give the group law.
The composition up to proper equivalence loses some structure- for instance it’s possible to define classes with just weaker equivalence under action by the matrix and define a group structure.
We can also consider equivalence under “congruence” subgroup of , like which will be give “ray” class groups– ideals coprime to modulo ideals principal