Past exam of the mathematics course of the University of Cambridge 2002 ib Paper 3 19F Solution Created 2026-09-24 Updated 2026-10-14
Use the standard reduced-form convention , with when or . To reduce a positive definite integral binary quadratic form, choose a primitive integer vector at which the positive integer value is least. Complete that vector to a unimodular basis; it makes the leading coefficient that least value. A shear of the second basis vector by an integer multiple of the first replaces by , allowing . The new is the value at another primitive vector, hence . If , a shear makes without changing ; if and , the determinant-one swap reverses its sign. Thus every form is properly equivalent to a reduced positive definite binary quadratic form. This argument also gives the reduction algorithm for a positive definite binary quadratic form by successively decreasing its positive leading coefficient.
For a negative integral discriminant or , a prime is represented by some integral form of discriminant exactly whenIndeed a representing vector is primitive, since a common divisor of its coordinates would have its square divide . A unimodular change takes it to the first basis vector, giving a form and . Conversely a solution gives the positive definite form , which represents at . For odd this is the discriminant criterion for prime representation by a binary quadratic form: must be a square modulo , with parity chosen to satisfy the modulo-four condition.
For and odd , the Legendre symbol is . The supplementary laws make it positive exactly for . The prime also works directly, since has discriminant and represents . ThereforeThe class here consists only of the prime .
For a reduced form, , so . The integer checks yield the reduced forms of discriminant minus thirty-two:If one omits the boundary sign convention, also appears, but is properly equivalent to . The middle form is imprimitive and represents no odd integer. An odd integer represented by has odd and is . For to be odd, one of must be odd and the other even; substitution modulo eight gives in either case. If both are odd or both even, the value is even. Thus a prime represented by the last form is necessarily .
Conversely, a prime is represented by some discriminant- form, which reduces to one of the three displayed forms without changing its represented integers. The first and second cannot represent it, so the third must. ConsequentlyThe prime is not an exception for this particular form: its minimum positive value is , as also follows from .
Past exam of the mathematics course of the University of Cambridge 2003 ib Paper 3 9G Solution Created 2026-09-24 Updated 2026-10-14
The discriminant of a binary quadratic form is ; it is unchanged by a unimodular matrix change of integral variables and satisfies or . For such a , the discriminant criterion for prime representation by a binary quadratic form says that some integral binary quadratic form of discriminant of a binary quadratic form represents an odd prime exactly when is a square modulo , including zero. Equivalently,These versions agree: a square root modulo can be chosen even when and odd when , by adding if needed, and then the Chinese remainder theorem applies.
For completeness, if , then is primitive, since any common divisor would have its square divide . Complete to a basis of with determinant one using Bézout's identity. The transformed binary quadratic form has leading coefficient and discriminant of a binary quadratic form . Conversely, a suitable makes an integral binary quadratic form representing at .
For , the discriminant of a binary quadratic form is . The prime is represented. If is represented, reducing modulo gives , which also excludes . To prove sufficiency for , quadratic reciprocity givesThe criterion constructs a positive definite binary quadratic form of discriminant of a binary quadratic form . It is primitive: a common divisor of its coefficients would divide , and if that divisor were , then would divide , impossible for .
We must still establish that this form is equivalent to , rather than merely some form of the same discriminant of a binary quadratic form. In a positive definite integral binary quadratic form, replace by to arrange . If , apply and repeat. Each such exchange strictly decreases the positive integer leading coefficient, so this reduction algorithm for a positive definite binary quadratic form terminates with . Then , so . With , parity forces , giving . With , the only integral choices are , and these are not primitive. Thus every primitive positive definite binary quadratic form of discriminant of a binary quadratic form is equivalent to , and preserves its represented integers. Therefore
Past exam of the mathematics course of the University of Cambridge 2008 ii Paper 2 1H Solution Created 2026-09-24 Updated 2026-10-14
For an integral binary quadratic form with and , the reduced positive definite binary quadratic form convention is , with on either boundary or . Since , the enumeration of reduced binary quadratic forms for has . The integer is odd. For , only is retained and ; for , both give . Thus the complete list isA proper representation of a prime uses a primitive representing vector. Completing that vector to a matrix in transforms a representing form to , so its discriminant of a binary quadratic form gives . Conversely, choose an odd satisfying this congruence and put . This is integral, and is positive definite and represents at . This proves the discriminant criterion for prime representation by a binary quadratic form here.
For , quadratic reciprocity gives . Including the ramified prime, the answer is thereforeFor example supplies a proper representation of . Reduction transfers every such representation to one of the three displayed forms.
Past exam of the mathematics course of the University of Cambridge 2017 ii Paper 4 10G b Solution Created 2026-09-24 Updated 2026-10-05
Write an integral binary quadratic form as , with discriminant of a binary quadratic form . If is prime, then : any common divisor would have its square dividing . Complete to a matrix in using Bezout identity. After the associated integral change of variables, the properly equivalent form has leading coefficient , say . Its discriminant of a binary quadratic form gives , hence .
Conversely suppose . Since is an integral-form discriminant of a binary quadratic form, or . Choose with even integer parity for and odd integer parity for . This is possible because is odd. Then is divisible by , andis an integral form of discriminant of a binary quadratic form representing . This proves the discriminant criterion for prime representation by a binary quadratic form, including the case ; no assumption that is a fundamental discriminant was used.
Necessity follows by reducing modulo three. For a prime , quadratic reciprocity gives , so the discriminant criterion for prime representation by a binary quadratic form constructs a primitive positive definite form of discriminant of a binary quadratic form representing . Reduction gives and . The only primitive reduced form is : the alternatives are not primitive. Integral equivalence preserves represented integers, establishing sufficiency.
The reduced-form bound leaves . Checking and the boundary sign convention gives precisely the displayed forms. The middle one is imprimitive and represents the prime two. Odd represented primes are or modulo eight by the discriminant criterion for prime representation by a binary quadratic form. The first form represents only modulo eight among odd integers, and the last only , so a prime is represented by exactly when it is modulo eight.