Let be integers and let denote the mapping
| | |
Let be the group of matrices such that . The substitution
leads to
| | |
where
| | | | | (1) |
| | | | |
| | | | |
So we define
to be the binary quadratic form with coefficients of , respectively as in (1). Putting in we have for any binary quadratic form .Now let be another matrix in . We must show that
| | |
Set . So we have
| | | | | (2) |
| | | | |
| | | | | (3) |
| | | | |
as desired.For the coefficient we get
| | | | |
| | | | |
| | | | |
and by evaluating the factors of , and, it can be checked that
| | |
This shows that
| | | (4) |
and therefore . Thus,(1) defines an action of on the set of (integer) binaryquadratic forms.Furthermore, the discriminant


of each quadratic form
in the orbit of under is.