linear congruences in any number of variables, first developed with precision by Smith. In any particular case, it is best to replace as many as possible of the given congruences by an equivalent set obtained by successively eliminating the variables π₯, π¦, π§, . . . in order. An important problem is to find a number which has given
residues with respect to a given set of moduli. When possible, the solution is of the form π₯β‘π (mod π), where π is the least common
multiple of the moduli. Supposing that π is a prime, and that we have a corresponding table of indices, the solution of ππ₯β‘π (mod π)
can be found by observing that ind π₯ β‘ ind πβind π (mod πβ1).
31. Quadratic Residues. Law of Reciprocity.βTo an odd prime modulus π, the numbers 1, 4, 9, . . . (πβ1)2 are congruent to 1/2(πβ1) residues only, because (πβπ₯)2οΌπ₯2. Thus for π=5, we have 1, 4, 9, 16β‘1, 4, 4, 1 respectively. There are therefore 1/2(πβ1) quadratic residues and 1/2(πβ1) quadratic non-residues prime to π; and there is a corresponding division of incongruent classes of integers with respect to π. The product of two residues or of two non-residues is a residue; that of a residue and a non-residue is a non-residue; and taking any primitive root as base the index of any number is even or odd according as the number is a residue or a non-residue. Gauss writes πRπ, πNπ to denote that π, is a residue or non-residue of π respectively.
Given a table of indices, the solution of when possible, is found from 2ind π₯β‘ind π (mod πβ1), and the result may be written in the form π₯β‘Β±π (mod π). But it is important to discuss the congruence π₯2β‘π without assuming that we have a table of indices. It is sufficient to consider the case π₯2β‘π (mod π), where π is a positive prime less than π; and the question arises whether the quadratic character of π with respect to π can be deduced from that of π with respect to π. The answer is contained in the following theorem, which is called the law of quadratic reciprocity (for real positive odd primes): if π, π are each or one of them of the form 4π+1, then π, π are each of them a residue, or each a non-residue of the other; but if π, π are each of the form 4π+3, then according as π is a residue or non-residue of π we have π a non-residue or a residue of π.
Legendre introduced a symbol which denotes + 1 or β1 according as πRπ or πNπ being a positive odd prime and π any number prime to π); with its help we may express the law of reciprocity in the form
This theorem was first stated by Legendre, who only partly proved it; the first complete proof, by induction, was published by Gauss, who also discovered five (or six) other more or less independent proofs of it. Many others have since been invented.
There are two supplementary theorems relating to β1 and 2 respectively, which, may be expressed in the form
,
where π is any positive odd prime.
It follows from the definition that
and that if . As a simple application of the law of reciprocity, let it be required to find the quadratic character of 11 with respect to 1907. We have
because 6N11. Hence 11R1907.
Legendreβs symbol was extended by Jacobi in the following manner. Let P be any positive odd number, and let π, πβ², πβ³, &c. be its (equal or unequal) prime factors, so that PοΌππβ²πβ³. . . . Then if Q is any number prime to P, we have a generalized symbol defined by
This symbol obeys the law that, if Q is odd and positive,
with the supplementary laws
,
It is found convenient to add the conventions that
when Q and P are both odd; and that the value of the symbol is 0 when P, Q are not co-primes.
In order that the congruence π₯2β‘π (mod π) may have a solution it is necessary and sufficient that π be a residue of each distinct prime factor of π. If these conditions are all satisfied, and , where π, π, &c., are the distinct odd prime factors of π, being t in all, the number of incongruent solutions of the given congruence is , or , according as , , or respectively. The actual solutions are best found by a process of exhaustion. It should be observed that is a necessary but not a sufficient condition for the possibility of the congruence.
32. Quadratic forms.βIt will be observed that the solution of the linear congruence ππ₯β‘π(mod π) leads to all the representations of π in the form ππ₯+ππ¦, where π₯, π¦ are integers. Many of the earliest researches in the theory of numbers deal with particular cases of the problem: given four numbers π, π, π, π, it is required to find all the integers π₯, π¦ (if there be any) which satisfy the equation ππ₯2+ππ₯π¦+ππ¦2οΌπ. Fermat, for instance, discovered that every positive prime of the form 4π+1 is uniquely expressible as the sum of two squares. There is a corresponding arithmetical theory for forms of any degree and any number of variables; only those of linear forms and binary quadratics are in any sense complete, as the difficulty of the problem increases very rapidly with the increase of the degree of the form considered or of the number of variables contained in it.
The form will be denoted by (π, π, π ) (x,\ y)^2</math> or more simply by (π, π, π ) when there is no need of specifying the variables. If π is the greatest common factor of π, π, π, we may write (π, π, π)οΌπ(πβ², πβ², πβ²) where (πβ², πβ², πβ²) is a primitive form, that is, one for which dv (πβ², πβ², πβ²)οΌ1. The other form is than said to be derived from (πβ², πβ², πβ²) and to have a divisor π. For the present we shall concern ourselves only with primitive forms. Writing DοΌb2β4ππ, the invariant D is called the determinant of (π, π, π), and there is a first classification of forms into definite forms for which D is negative, and indefinite forms for which D is positive. The case DοΌ0 or a positive square is rejected, because in that case the form breaks up into the product of two linear factors. It will be observed that Dβ‘0, 1 (mod 4) according as π is even or odd; and that if π2 is any odd square factor of D there will be forms of determinant D and divisor π.
If we write , , we have identically
where
Hence also
.
Supposing that are integers such that , a number different from zero, is said to be transformed into by the substitution of the πth order. If π2οΌ1, the two forms are said to be equivalent, and the equivalence is said to be proper or improper according as ποΌ1 or ποΌβ1. In the case of equivalence, not only are π₯β², π¦β² integers wherever π₯, π¦ are so, but conversely; hence every number representable by (π, π, π) is representable by (πβ², πβ², πβ²) and conversely. For the present we shall deal with proper equivalence only and write π~πβ² to indicate that the forms π,πβ² are properly equivalent. Equivalent forms have the same divisor. A complete set of equivalent forms is said to form a class; classes of the same divisor are said to form an order, and of these the most important is the principal order, which consists of the primitive classes. It is a fundamental theorem that for a given determinant the number of classes is finite; this is proved by showing that every class must contain one at least of a certain finite number of so-called reduced forms, which can be found by definite rules of calculation.
33. Method of Reduction.βThis differs according as D is positive or negative, and will require some preliminary lemmas. Suppose that any complex quantity π§οΌπ₯+π¦π is represented in the usual way by a point (π₯, π¦) referred to rectangular axes. Then by plotting off all the points corresponding to (Ξ±π§+Ξ²) / (Ξ³π§ + Ξ΄), we obtain a complete set of properly equivalent points. These all lie on the same side of the axis of π₯, and there is precisely one of them and no more which satisfies the conditions: (i.) that it is not outside the area which is bounded by the lines 2π₯οΌΒ±1; (ii.) that it is not inside the circle π₯2+π¦2οΌ1; (iii.) that it is not on the line 2π₯οΌ1, or on the arcs of the circle π₯2+π¦2οΌ1 intercepted by 2π₯οΌ1 and π₯οΌ0. This point will be called the reduced point equivalent to π§. In the positive half-plane (π¦>0) the aggregate of all reduced points occupies the interior and half the boundary of an area which will be called the fundamental triangle, because the areas equivalent to it, and finite, are all triangles bounded by circular arcs, and having angles 1/3Ο, 1/3Ο, 0 and the fundamental triangle may be considered as a special case when one vertex goes to infinity. The aggregate of equivalent triangles forms a kind of mosaic which fills up the whole of the positive half-plane. It will be convenient to denote the fundamental triangle (with its half-boundary, for which π₯<0) by β; for a reason which will appear later, the set of equivalent triangles will be said to make up the modular dissection of the positive half-plane.