Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2002 Paper 2 8 Solution Created 2026-10-18 Updated 2026-10-20
Cosets and counting. A left coset of a subgroup in a group is . The left cosets partition and each has elements. Lagrange's theorem states that for a finite group, ; in particular, the subgroup order divides the group order.
The matrix group. Work throughout in the finite field , so every nonzero entry has a multiplicative inverse. Denote a matrix by , with . Ordinary matrix multiplication, interpreted using modular arithmetic, givesIts diagonal entries remain nonzero, proving closure. Associativity is inherited from matrix multiplication, is the identity element, andThis lies in the same set and multiplication checks the inverse in either order. Thus these matrices form a group. There are four choices each for and and five for , giving .
The subgroup. Write . ThenIt contains the identity , is closed, and has inverse . Interchanging the two factors leaves the product unchanged because multiplication in is commutative. Therefore is an abelian subgroup, withEquivalently is isomorphic to by , which also explains its abelian property. Its order divides , verifying Lagrange's theorem.
There are five distinct left cosets. Representatives can be taken as , : indeedEvery matrix lies in exactly the coset specified by this unique .
Elements whose square is the identity. Squaring givesThus and . For equal signs, in , so . For opposite signs, and all five values work. The complete set is thereforeIt contains elements, including the identity; the other eleven are involutions. Since does not divide , Lagrange's theorem proves that this set is not a subgroup.
Apply Fermat's little theorem and Wilson's theorem in the ring of integers modulo n with modulus . They giveA vanishing modular congruence modulo is precisely divisibility by , so both divisibilities hold, without requiring .
For an odd prime number , Euler's criterion states thatwhere the Legendre symbol is zero if , one if is a nonzero quadratic residue, and minus one otherwise. Including the zero case makes this formulation valid for every integer .
Apply Euler's criterion to , , and . Multiplication in modular arithmetic givesIf divides either factor, both sides are zero. Otherwise both sides belong to ; these two values are distinct modulo the odd prime number . The congruence is therefore an equality of integers, proving multiplicativity of the Legendre symbol:
The binomial theorem isolates the only terms that can survive reduction modulo the prime number :For , neither nor is divisible by , whereas is. Consequently , and every intermediate term vanishes in modular arithmetic. ThusThis works for arbitrary integers , including those divisible by . It is the additive identity behind the Frobenius endomorphism in characteristic .
Equality of remainders after division by eight is a Euclidean relation. If , have the same remainder and , have the same remainder, then , have the same remainder. In the notation of modular arithmetic,Hence
In modular arithmetic, calculations may be performed after replacing each input by its remainder. For a positive modulus , write for the remainder in . ThenEquivalently, if and , addition and multiplication give and , and a fixed nonnegative integer exponent gives . One cannot in general reduce the exponent modulo by this rule.
This is equality of remainders in modular arithmetic. It is reflexive because , symmetric because implies , and transitive because and imply by addition. ThusIts three equivalence classes areIf zero is included in , it belongs to ; otherwise that class starts at three.
Using with integers ,The quantity in parentheses is an integer, so the divisibility criterion for modular arithmetic gives
The decimal expansion is . Since , repeated use of the multiplication rule in part (b)(ii) gives for every . Repeated use of the addition rule in part (b)(i) now givesIf , the left side is congruent to zero, whenceThis is the decimal digit-sum divisibility test for three, derived directly from modular arithmetic.
The stated identity has an even right side because is even. Its left side is an odd integer times the integer binomial coefficient . An odd multiplier preserves integer parity, so that coefficient must be even. Equivalently, reducing the identity in modular arithmetic gives
Use modular arithmetic modulo eight: , , and . The squared difference is consequently congruent to one, giving the remainder
Reduction of both coefficients in modular arithmetic givesMore explicitly,The first expression is divisible by exactly when the last parenthesis is. By the definition of a integer congruence, the two congruences are equivalent.
Take . These are four distinct positive integers and . Their products are and , whose difference is , so . Here the correct reduced modulus is , and indeed . The example illustrates why cancelling a noninvertible factor may change the modulus in modular arithmetic.
Pisano period 2026-10-20
The Pisano period is the period of the Fibonacci number sequence in modular arithmetic modulo , with and . Consecutive residues evolve by the invertible update on a finite set, so the pair sequence returns to and is periodic from the start.
Work in the finite field , using modular arithmetic modulo five. Consider the two original polynomial examplesThe distributive property gives , so all coefficients of cancel: is identically zero. In contrast, in this finite field, with nonzero leading coefficient. Its roots of a polynomial are exactly one and two: a product in a field is zero only if a factor is zero.
The complete polynomial evaluations, displayed as representatives modulo five, areIn particular, is a nonzero witness, which disproves identity without examining other points. At one or two, a zero value fails to reveal that is nonzero. A random variable with a uniform distribution on a finite set hits those two polynomial roots with probability .
A crucial limit appears with . Its coefficients make it a nonzero polynomial of polynomial degree five in , yet direct polynomial evaluation gives zero at all five field elements: the values before reduction are , all divisible by five. Thus induces the same polynomial function as the zero polynomial. Any number of trials restricted to will falsely accept this identity. This is compatible with the Schwartz-Zippel lemma: the ratio of polynomial degree to sampling-set size is , which gives no useful guarantee.
When a polynomial's representation permits polynomial evaluation over a larger field extension, a larger sampling set can restore the useful degree ratio. Access only to the induced polynomial function on the original finite field cannot distinguish from zero.[ref]
Lecture 9: Polynomial Identity Testing by the Schwartz-Zippel Lemma. CPSC 536N: Randomized Algorithms; Lecture 9: Polynomial Identity Testing by the Schwartz-Zippel Lemma, §1.4: formal nonzero polynomials can vanish everywhere on a finite field; extension-field evaluations need a suitable representation
Prime field Created 2026-10-03 Updated 2026-10-14
The prime field of a field is its smallest subfield: the arithmetic forced upon us by the identity element . Every subfield must contain , its repeated sums, their additive inverses, and the multiplicative inverses of nonzero results. In characteristic zero these operations produce a copy of the rational numbers . In positive characteristic of a field , they produce a copy of , with addition and multiplication given by modular arithmetic.
For example, inside the field with four elements, repeated addition of gives . Thus its prime field is , and the other two elements cannot be reached by repeatedly adding . This is why a finite field need not consist entirely of ordinary integer residues: a larger finite field extends the arithmetic of its prime field with additional elements.
The positive characteristic of a field must be a prime number. If its least vanishing multiple of were with , then would exhibit zero divisors. The absence of zero divisors rules this out. The prime field supplies the scalars when viewing as a vector space; its basis then explains the possible sizes of a finite field.
Prime-row binomial coefficient divisibility 2026-10-13
For a prime number , the identity has right side divisible by , while is coprime to . Cancellation in modular arithmetic proves the divisibility.
// Target: combinatorics.bigb
Quotient set Created 2026-09-28 Updated 2026-10-14
A quotient set packages each equivalence class as a single new set element. It remembers which class an original set element belongs to and forgets which member of that class it was. For an equivalence relation on a set ,Each set element of the quotient set is itself a nonempty subset of . The canonical projection of a quotient set sends an original set element to this entire equivalence class. [ref]
https://www.math.umd.edu/~pbrosnan/notes/ugalg/sect0018.html. Patrick Brosnan, Undergraduate Algebra, §2.10, Definitions 2.78 and 2.80
For integer congruence modulo three restricted to , the quotient set isIt has cardinality three. The set is a choice of equivalence class representatives, not literally this quotient set: is an integer, while is a set. The function sending each chosen equivalence class representative to its equivalence class is a bijection between these two different sets.
The quotient projection sends nine elements to three classes, with each class appearing as one fiber
. Details. A quotient set alone specifies no arithmetic. To obtain the familiar modular arithmetic example with addition, use integer congruence on the whole set of integers. Its quotient set is , where is an infinite residue class. Define addition byThe answer must be independent of the equivalence class representatives. If and , then , so both sums have the same residue class. This is what it means for the group operation to be well-defined. With this addition, the quotient set is a cyclic group, with identity and inverse for . [ref]
https://math-cs.gordon.edu/ntic/ntic2017/section-cong-props.html. Karl-Dieter Crisman, Number Theory: In Context and Interactive, §4.3, Proposition 4.3.2: congruence arithmetic is well-defined
For example, . Choosing and as different representatives of an equivalence class for gives the same sum; choosing and gives again. These calculations use residue classes of all integers. Raw addition on the finite does not stay in : . The formula for addition on therefore cannot be applied as a raw inherited operation on that finite example.

