1. Home
  2. Explore
  3. Mathematics
  4. Modular Arithmetic and Group Theory

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Modular Arithmetic and Group Theory

  • 61Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Modular Groups
  • spaceFlip card
  • KI knew it
  • DI didn't know it
  • ←Previous card
  • →Next card

When does a residue aaa modulo nnn have a multiplicative inverse?

Tap to flipClick to flipspace

Exactly when gcd⁡(a,n)=1\gcd(a,n)=1gcd(a,n)=1. Bézout's identity then gives integers s,ts,ts,t such that sa+tn=1sa+tn=1sa+tn=1, so sa≡1(modn)sa\equiv 1\pmod nsa≡1(modn).

Or swipe the card

61 cards

  1. When does a residue aaa modulo nnn have a multiplicative inverse?

    Exactly when gcd⁡(a,n)=1\gcd(a,n)=1gcd(a,n)=1. Bézout's identity then gives integers s,ts,ts,t such that sa+tn=1sa+tn=1sa+tn=1, so sa≡1(modn)sa\equiv 1\pmod nsa≡1(modn).

  2. What does it mean for aaa to have a multiplicative inverse modulo nnn?

    There is a residue bbb such that ab≡1(modn)ab\equiv 1\pmod nab≡1(modn).

  3. What does Bézout's identity say when gcd⁡(a,n)=1\gcd(a,n)=1gcd(a,n)=1, and how does it yield an inverse?

    There are integers s,ts,ts,t with sa+tn=1sa+tn=1sa+tn=1. Reducing modulo nnn gives sa≡1(modn)sa\equiv 1\pmod nsa≡1(modn), so sss is an inverse of aaa.

  4. For prime ppp, which residues modulo ppp have multiplicative inverses?

    Every nonzero residue, since each is relatively prime to ppp.

  5. What is Zn∗\mathbb{Z}_n^*Zn∗​ under multiplication modulo nnn?

    The set of residues aaa modulo nnn satisfying gcd⁡(a,n)=1\gcd(a,n)=1gcd(a,n)=1, with multiplication modulo nnn.

  6. Why is Zn∗\mathbb{Z}_n^*Zn∗​ a group under multiplication modulo nnn?

    Products of residues coprime to nnn remain coprime to nnn, multiplication is associative, 111 is the identity, and each element has an inverse modulo nnn.

  7. When is the set of nonzero residues modulo nnn a group under multiplication?

    Exactly when nnn is prime. If nnn is composite, a nonzero residue sharing a factor with nnn has no multiplicative inverse.

  8. Why do the nonzero residues modulo a composite nnn fail to form a multiplicative group?

    Some nonzero residue aaa has gcd⁡(a,n)>1\gcd(a,n)>1gcd(a,n)>1, so it has no multiplicative inverse modulo nnn.

  9. What is the identity for addition modulo nnn, and what is the identity for multiplication modulo nnn?

    The additive identity is 000; the multiplicative identity is 111.

  10. What is the order of the multiplicative group of nonzero residues modulo a prime ppp?

    It has p−1p-1p−1 elements, since it contains every residue except 000.

  11. What are the four defining properties of a group?

    Closure, associativity, an identity element, and an inverse for every element.

  12. What does closure mean for a set GGG with operation ⋆\star⋆?

    For every a,b∈Ga,b\in Ga,b∈G, the result a⋆ba\star ba⋆b is also in GGG.

  13. What does associativity mean for a group operation?

    For all a,b,c∈Ga,b,c\in Ga,b,c∈G, (a⋆b)⋆c=a⋆(b⋆c)(a\star b)\star c=a\star(b\star c)(a⋆b)⋆c=a⋆(b⋆c).

  14. What is an identity element in a group?

    An element eee such that a⋆e=e⋆a=aa\star e=e\star a=aa⋆e=e⋆a=a for every aaa in the group.

  15. What is an inverse in a group?

    For each a∈Ga\in Ga∈G, an element a−1∈Ga^{-1}\in Ga−1∈G satisfies a⋆a−1=a−1⋆a=ea\star a^{-1}=a^{-1}\star a=ea⋆a−1=a−1⋆a=e.

  16. What is an abelian group?

    A group whose operation is commutative: a⋆b=b⋆aa\star b=b\star aa⋆b=b⋆a for all group elements.

  17. Why are the integers under addition an abelian group?

    Integer addition is closed, associative, and commutative; 000 is the identity, and the inverse of each integer aaa is −a-a−a.

  18. Why are the integers under multiplication not a group?

    Most integers do not have multiplicative inverses among the integers; for example, 222 would require the inverse 12\frac{1}{2}21​. Also, 000 has no inverse.

  19. Why do the nonzero rational numbers under multiplication form an abelian group?

    Multiplication is closed, associative, and commutative; 111 is the identity, and each nonzero rational aaa has the rational inverse 1/a1/a1/a.

  20. What is Zn\mathbb{Z}_nZn​ under modular addition, and why is it a finite group?

    It is the set of residues modulo nnn under addition modulo nnn. The operation is closed and associative, 000 is the identity, and each residue has an additive inverse.

  21. What is a subgroup HHH of a group GGG?

    A subset H⊆GH\subseteq GH⊆G that forms a group under the same operation as GGG.

  22. What extra closure condition must hold for a subset HHH to be a subgroup?

    If a,b∈Ha,b\in Ha,b∈H, then a⋆ba\star ba⋆b must lie in HHH, not merely in GGG.

  23. What must be true of inverses for HHH to be a subgroup of GGG?

    For every a∈Ha\in Ha∈H, its inverse must also belong to HHH.

  24. State Lagrange's theorem for a finite group GGG and subgroup HHH.

    The order of HHH divides the order of GGG: ∣H∣∣∣G∣|H|\mid |G|∣H∣∣∣G∣.

  25. What restriction does Lagrange's theorem place on subgroup sizes?

    Every subgroup's order must be a divisor of the order of the finite group. For example, a group of order 666 cannot have a subgroup of order 444.

  26. What is a left coset of HHH in GGG?

    For x∈Gx\in Gx∈G, the left coset xHxHxH is {x⋆h:h∈H}\{x\star h:h\in H\}{x⋆h:h∈H}.

  27. How are left cosets used to prove Lagrange's theorem?

    They partition GGG into disjoint pieces, each having the same size as HHH. Thus ∣G∣|G|∣G∣ is a whole-number multiple of ∣H∣|H|∣H∣.

  28. Why does every coset xHxHxH have the same size as HHH?

    The map h↦x⋆hh\mapsto x\star hh↦x⋆h is one-to-one: if x⋆h1=x⋆h2x\star h_1=x\star h_2x⋆h1​=x⋆h2​, left-multiplying by x−1x^{-1}x−1 and using associativity gives h1=h2h_1=h_2h1​=h2​. It also maps every element of HHH into xHxHxH.

  29. Why must two left cosets that intersect be the same coset?

    If xi⋆h1=xj⋆h2x_i\star h_1=x_j\star h_2xi​⋆h1​=xj​⋆h2​, then xj=xi⋆h1⋆h2−1x_j=x_i\star h_1\star h_2^{-1}xj​=xi​⋆h1​⋆h2−1​. Since h1⋆h2−1∈Hh_1\star h_2^{-1}\in Hh1​⋆h2−1​∈H, this shows xjH⊆xiHx_jH\subseteq x_iHxj​H⊆xi​H; the cosets are therefore equal.

  30. How can cosets be selected to cover a finite group without overlap?

    Repeatedly choose an element not yet covered and take its coset. Cosets that intersect are equal, so each newly chosen coset is disjoint from the previous ones; the process ends when all of GGG is covered.

  31. In Z7∗\mathbb{Z}_7^*Z7∗​ under multiplication, what is the subgroup generated by 222?

    It is {1,2,4}\{1,2,4\}{1,2,4}, since the successive powers of 222 modulo 777 are 2,4,12,4,12,4,1.

  32. Why is {1,2,4}\{1,2,4\}{1,2,4} a subgroup of Z7∗\mathbb{Z}_7^*Z7∗​?

    Its elements are powers of 222 modulo 777; multiplying powers adds exponents modulo the cycle, and the set includes the identity 111 and inverses (the inverses of 222 and 444 are each other).

  33. What are the orders of Z7∗\mathbb{Z}_7^*Z7∗​ and its subgroup {1,2,4}\{1,2,4\}{1,2,4}, and how do they illustrate Lagrange's theorem?

    Their orders are 666 and 333, respectively, and 333 divides 666.

  34. State Fermat's little theorem in its prime-modulus form.

    If ppp is prime and p∤ap\nmid ap∤a, then ap−1≡1(modp)a^{p-1}\equiv 1\pmod pap−1≡1(modp).

  35. How can Fermat's little theorem give the multiplicative inverse of aaa modulo prime ppp?

    For p∤ap\nmid ap∤a, ap−1≡1(modp)a^{p-1}\equiv1\pmod pap−1≡1(modp), so ap−2a^{p-2}ap−2 is an inverse: a⋅ap−2≡1(modp)a\cdot a^{p-2}\equiv1\pmod pa⋅ap−2≡1(modp).

  36. How is the least positive exponent kkk with ak≡1(modp)a^k\equiv1\pmod pak≡1(modp) shown to exist when p∤ap\nmid ap∤a?

    Among sufficiently many powers of aaa, two residues must coincide by the pigeonhole principle. If ai≡aj(modp)a^i\equiv a^j\pmod pai≡aj(modp) with i<ji<ji<j, cancel the invertible aia^iai to obtain aj−i≡1(modp)a^{j-i}\equiv1\pmod paj−i≡1(modp).

  37. What subgroup is formed by powers of aaa modulo prime ppp, and what is its order?

    The residues generated by powers of aaa form a subgroup of Zp∗\mathbb{Z}_p^*Zp∗​. If kkk is the least positive exponent with ak≡1(modp)a^k\equiv1\pmod pak≡1(modp), the subgroup has order kkk.

  38. How does Lagrange's theorem help prove Fermat's little theorem?

    The subgroup generated by aaa has order kkk, so Lagrange gives k∣p−1k\mid p-1k∣p−1. Writing p−1=ckp-1=ckp−1=ck yields ap−1=(ak)c≡1(modp)a^{p-1}=(a^k)^c\equiv1\pmod pap−1=(ak)c≡1(modp).

  39. What group-theoretic fact explains why Fermat's little theorem uses the exponent p−1p-1p−1?

    The nonzero residues modulo prime ppp form a group of order p−1p-1p−1, and the order of the subgroup generated by aaa divides that group order.

  40. What equivalent divisibility statement follows from Fermat's little theorem?

    For prime ppp, ppp divides ap−aa^p-aap−a for every integer aaa; for p∤ap\nmid ap∤a, this follows by multiplying ap−1≡1(modp)a^{p-1}\equiv1\pmod pap−1≡1(modp) by aaa.

  41. How can the number of strings of length ppp over an alphabet of size aaa be counted?

    There are apa^pap such strings, because each of the ppp positions has aaa choices.

  42. In the necklace argument for prime length ppp, how many strings correspond to a non-monochromatic necklace?

    Exactly ppp. A non-monochromatic necklace of prime length has ppp distinct rotations.

  43. Why does a monochromatic necklace of length ppp have only one distinct rotation?

    Every position has the same bead, so rotating the necklace leaves it unchanged.

  44. How many monochromatic necklaces are there for an alphabet with aaa bead types?

    There are aaa, one for each possible bead type.

  45. How does grouping strings into necklaces show that p∣ap−ap\mid a^p-ap∣ap−a when ppp is prime?

    The aaa monochromatic strings are fixed under rotation. All other ap−aa^p-aap−a strings fall into rotation classes of size ppp, so ppp divides ap−aa^p-aap−a.

  46. In the example of binary necklaces of length 555, how many strings are there, and which necklaces have fewer than five distinct rotations?

    There are 25=322^5=3225=32 strings. Only the all-red and all-blue necklaces have fewer than five distinct rotations; each has just one.

  47. State Euler's theorem for m=pqm=pqm=pq, where ppp and qqq are distinct primes.

    If gcd⁡(a,m)=1\gcd(a,m)=1gcd(a,m)=1, then a(p−1)(q−1)≡1(modm)a^{(p-1)(q-1)}\equiv1\pmod ma(p−1)(q−1)≡1(modm).

  48. What is the order of the multiplicative group Zpq∗\mathbb{Z}_{pq}^*Zpq∗​ when ppp and qqq are distinct primes?

    It is (p−1)(q−1)(p-1)(q-1)(p−1)(q−1).

  49. How is the size of Zpq∗\mathbb{Z}_{pq}^*Zpq∗​ counted?

    Among the pq−1pq-1pq−1 nonzero residues, exclude the multiples of ppp and the multiples of qqq. There are q−1q-1q−1 multiples of ppp and p−1p-1p−1 multiples of qqq, giving (pq−1)−(q−1)−(p−1)=(p−1)(q−1)(pq-1)-(q-1)-(p-1)=(p-1)(q-1)(pq−1)−(q−1)−(p−1)=(p−1)(q−1) residues coprime to pqpqpq.

  50. Why are residues coprime to mmm the relevant elements for Euler's theorem?

    They are exactly the residues with multiplicative inverses modulo mmm, and they form the group Zm∗\mathbb{Z}_m^*Zm∗​.

  51. How does the group-theoretic proof of Euler's theorem parallel the proof of Fermat's little theorem?

    For gcd⁡(a,m)=1\gcd(a,m)=1gcd(a,m)=1, powers of aaa return to 111 at a least positive exponent kkk. They form a subgroup, so kkk divides ∣Zm∗∣=(p−1)(q−1)|\mathbb{Z}_m^*|=(p-1)(q-1)∣Zm∗​∣=(p−1)(q−1), implying a(p−1)(q−1)≡1(modm)a^{(p-1)(q-1)}\equiv1\pmod ma(p−1)(q−1)≡1(modm).

  52. Why does Euler's theorem use (p−1)(q−1)(p-1)(q-1)(p−1)(q−1) rather than m−1m-1m−1 for m=pqm=pqm=pq?

    The group of invertible residues modulo mmm has order (p−1)(q−1)(p-1)(q-1)(p−1)(q−1), not m−1m-1m−1. Lagrange's theorem relates powers of an element to this group order.

  53. What cryptographic role is associated with the quantity (p−1)(q−1)(p-1)(q-1)(p−1)(q−1) in the content?

    It is identified as a key quantity for RSA encryption, because it is the order of the multiplicative group modulo pqpqpq and appears in Euler's theorem.

  54. What is a field, in terms of its two operations?

    A set with addition and multiplication such that addition makes the whole set an abelian group, the nonzero elements form an abelian group under multiplication, and multiplication distributes over addition.

  55. What are the additive and multiplicative identities in a field?

    The additive identity is 000; the multiplicative identity is 111, which belongs to the nonzero elements.

  56. What does the distributive property require in a field?

    For all a,b,ca,b,ca,b,c in the field, a(b+c)=ab+aca(b+c)=ab+aca(b+c)=ab+ac.

  57. What is the root bound for a polynomial of degree ddd over a field?

    A polynomial of degree d≥1d\geq1d≥1 with coefficients in a field has at most ddd roots in that field.

  58. What does it mean for xxx to be a root of a polynomial over a field?

    The value xxx belongs to the field and evaluating the polynomial at xxx gives 000.

  59. Does the bound of at most ddd roots apply only to real-valued polynomials?

    No. The degree-ddd root bound holds over any field, including finite fields.

  60. What is the basic threshold goal of secret sharing described in the content?

    Distribute a secret among nnn people so that any kkk can recover it, but fewer than kkk cannot.

  61. How can polynomials over finite fields be used in secret sharing?

    Use the secret as the polynomial's constant coefficient and give each participant a polynomial evaluation at a point. A sufficient number of points allows reconstruction by interpolation.

Card 1 of 61
Card 1 of 61

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent