Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 3.5.4 (New proof of Theorem 3.13)
Exercise 3.5.4 (New proof of Theorem 3.13)
Show that a binary quadratic form properly represents an integer if and only if there is a form equivalent to in which the coefficient of is . Use this and (3.3) to give a second proof of Theorem 3.13.
Answers
Proof.
- (a)
-
Suppose first that there is a form equivalent to
in which the coefficient of
is
, so that
. Then
, where
, so
properly represents
.
Conversely let be the quadratic form which properly represents . By definition there are integers such that and . By Problem 3, there exist integers such that (since ).
Put . Then , and
where is in place of some coefficients whose value has no interest here. Thus is (properly) equivalent to : there is a form equivalent to in which the coefficient of is .
A binary quadratic form properly represents an integer if and only if there is a form properly equivalent to in which the coefficient of is .
- (b)
-
We give a new proof of Theorem 3.13.
Theorem 3.13 (Louis Lagrange) Let and be given integers with . There exists a binary quadratic form of discriminant that represents properly if and only if the congruence has a solution.
The direct part is the same:
Suppose that is a solution of the congruence , with , say. Then the form has integral coefficients and discriminant . Moreover, is a proper representation of .
Now we prove the converse, using part (a).
Suppose that there exists a binary quadratic form of discriminant that represents properly. By part (a), there is a quadratic form , properly equivalent to , in which the coefficient of is . Since and have same discriminant , , thus , and so the congruence has a solution.