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

  • 63Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Modular Arithmetic

What does it mean for an element to have a multiplicative inverse modulo nnn?

63 questions

  1. 1

    What does it mean for an element to have a multiplicative inverse modulo nnn?

    Model answer

    An element aaa has a multiplicative inverse modulo nnn if there is an element bbb such that ab≡1(modn)ab\equiv 1\pmod nab≡1(modn).

    Explanation

    Multiplying the element by its inverse gives the multiplicative identity modulo nnn.

  2. 2

    What condition on aaa and nnn determines whether aaa has a multiplicative inverse modulo nnn?

    Model answer

    It has an inverse exactly when gcd⁡(a,n)=1\gcd(a,n)=1gcd(a,n)=1.

    Explanation

    If the greatest common divisor is 111, an inverse exists; if it is not 111, no inverse exists.

  3. 3

    How does an equation involving sa+tns a+t nsa+tn show that aaa has an inverse modulo nnn?

    Model answer

    If integers s,ts,ts,t satisfy sa+tn=1sa+tn=1sa+tn=1, then reducing modulo nnn gives sa≡1(modn)sa\equiv1\pmod nsa≡1(modn), so sss is an inverse of aaa.

    Explanation

    The term tntntn is divisible by nnn and therefore is congruent to 000 modulo nnn.

  4. 4

    Why does every nonzero element modulo a prime ppp have a multiplicative inverse?

    Model answer

    For nonzero aaa modulo ppp, gcd⁡(a,p)=1\gcd(a,p)=1gcd(a,p)=1, so the inverse criterion guarantees an inverse.

    Explanation

    A prime has no positive divisors other than 111 and itself, and a nonzero residue is not divisible by ppp.

  5. 5

    Why can a nonzero element modulo a composite number fail to have an inverse?

    Model answer

    It can share a factor greater than 111 with the modulus, so its greatest common divisor with the modulus is not 111.

    Explanation

    The inverse criterion requires the element and modulus to be relatively prime.

  6. 6

    What is a group?

    Model answer

    A group is a set together with a binary operation that satisfies closure, associativity, identity, and inverse properties.

    Explanation

    The group consists of both the elements and the operation governing how they combine.

  7. 7

    What does closure mean for a group operation?

    Model answer

    Combining any two elements of the group produces another element of the same group.

    Explanation

    Closure ensures the operation is well-defined within the set.

  8. 8

    State the associativity property for a group operation ⋆\star⋆.

    Model answer

    For all group elements a,b,ca,b,ca,b,c, (a⋆b)⋆c=a⋆(b⋆c)(a\star b)\star c=a\star(b\star c)(a⋆b)⋆c=a⋆(b⋆c).

    Explanation

    Associativity means changing the placement of parentheses does not change the result.

  9. 9

    What is an identity element in a group?

    Model answer

    It is an element eee such that combining it with any element on either side leaves that element unchanged.

    Explanation

    Thus, a⋆e=e⋆a=aa\star e=e\star a=aa⋆e=e⋆a=a for every group element aaa.

  10. 10

    What does the inverse property require in a group?

    Model answer

    Every element aaa must have an inverse a−1a^{-1}a−1 such that combining them in either order gives the identity.

    Explanation

    The condition is a⋆a−1=a−1⋆a=ea\star a^{-1}=a^{-1}\star a=ea⋆a−1=a−1⋆a=e.

  11. 11

    When is a group called abelian?

    Model answer

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

    Explanation

    Commutativity is an additional property, not one of the four basic group axioms.

  12. 12

    Why does the set alone not determine whether a structure is a group?

    Model answer

    Whether it is a group depends on both the set and the chosen operation.

    Explanation

    The same set can satisfy the group axioms under one operation but fail them under another.

  13. 13

    Can a group have infinitely many elements? Give an example from the content.

    Model answer

    Yes. The integers under addition form an infinite group.

    Explanation

    The group definition allows potentially infinite sets.

  14. 14

    Why do the integers under addition form an abelian group?

    Model answer

    Integer addition is closed and associative, 000 is the identity, each integer has its negative as an inverse, and addition is commutative.

    Explanation

    These facts verify all four group axioms and the extra property of commutativity.

  15. 15

    Why are the integers under multiplication not a group?

    Model answer

    They lack inverses for all elements: 000 has no multiplicative inverse, and the inverse of 222 is not an integer.

    Explanation

    A group requires every element to have an inverse within the set.

  16. 16

    Why do the nonzero rational numbers under multiplication form a group?

    Model answer

    They are closed under multiplication, have identity 111, and every nonzero rational has a rational reciprocal; multiplication is associative and commutative.

    Explanation

    Removing 000 ensures that every element has a multiplicative inverse in the set.

  17. 17

    What is the group structure of the two residues modulo 222 under modular addition?

    Model answer

    The residues are even and odd classes, and addition modulo 222 keeps the result within those two classes.

    Explanation

    The sums of two even classes or two odd classes are even, while an even plus an odd is odd.

  18. 18

    For prime nnn, why do the nonzero residues modulo nnn form a group under multiplication?

    Model answer

    Multiplication modulo nnn is closed and associative, 111 is the identity, and every nonzero residue has an inverse because its greatest common divisor with nnn is 111.

    Explanation

    The inverse condition is the key property that would fail for some nonzero residues when the modulus is composite.

  19. 19

    Why do the nonzero residues modulo a composite nnn fail to form a group under multiplication?

    Model answer

    At least one nonzero residue shares a factor with nnn and therefore has no multiplicative inverse modulo nnn.

    Explanation

    A group must provide an inverse for every element.

  20. 20

    Define Zn∗\mathbb{Z}_n^*Zn∗​ as used for multiplication modulo nnn.

    Model answer

    Zn∗\mathbb{Z}_n^*Zn∗​ is the set of residues aaa modulo nnn for which gcd⁡(a,n)=1\gcd(a,n)=1gcd(a,n)=1.

    Explanation

    It keeps precisely the residues that have multiplicative inverses modulo nnn.

  21. 21

    Why does Zn∗\mathbb{Z}_n^*Zn∗​ form a group under multiplication modulo nnn?

    Model answer

    Its elements have multiplicative inverses, and multiplication modulo nnn satisfies closure, associativity, and the identity property on this set.

    Explanation

    Restricting to residues relatively prime to nnn removes the inverse failures found among all nonzero residues.

  22. 22

    What is a subgroup?

    Model answer

    A subgroup is a subset of a group that forms a group under the same operation.

    Explanation

    The subset must itself satisfy the group properties, not merely be contained in the larger group.

  23. 23

    What stronger closure condition must a subgroup satisfy?

    Model answer

    If a,ba,ba,b belong to the subgroup HHH, then a⋆ba\star ba⋆b must also belong to HHH.

    Explanation

    Closure in the larger group only guarantees a result in GGG; subgroup closure requires the result to stay in HHH.

  24. 24

    What inverse condition must hold for a subset to be a subgroup?

    Model answer

    For every aaa in the subset HHH, its inverse in the larger group must also belong to HHH.

    Explanation

    The subgroup must contain its own inverses rather than requiring elements outside HHH.

  25. 25

    What is the order of a finite group?

    Model answer

    The order of a finite group is its number of elements.

    Explanation

    It is commonly denoted by ∣G∣|G|∣G∣.

  26. 26

    How many elements are in the multiplicative group of nonzero residues modulo a prime ppp?

    Model answer

    It has p−1p-1p−1 elements, since it contains all residues except 000.

    Explanation

    There are ppp residues modulo ppp, and removing 000 leaves p−1p-1p−1.

  27. 27

    If m=pqm=pqm=pq for distinct primes ppp and qqq, how many elements are in Zm∗\mathbb{Z}_m^*Zm∗​?

    Model answer

    It has (p−1)(q−1)(p-1)(q-1)(p−1)(q−1) elements.

    Explanation

    This counts the residues not divisible by either prime factor.

  28. 28

    How can inclusion-exclusion be used to count the elements of Zpq∗\mathbb{Z}_{pq}^*Zpq∗​ for distinct primes p,qp,qp,q?

    Model answer

    Start with pq−1pq-1pq−1 nonzero residues, subtract the p−1p-1p−1 multiples of qqq and the q−1q-1q−1 multiples of ppp, giving (p−1)(q−1)(p-1)(q-1)(p−1)(q−1).

    Explanation

    No nonzero residue below pqpqpq is a multiple of both distinct primes ppp and qqq.

  29. 29

    How does the set {1,2,4}\{1,2,4\}{1,2,4} form a subgroup of the nonzero residues modulo 777 under multiplication?

    Model answer

    It consists of the powers of 222 modulo 777: 20≡12^0\equiv120≡1, 21≡22^1\equiv221≡2, and 22≡42^2\equiv422≡4. Multiplication adds exponents modulo the cycle, keeping the results in the set.

    Explanation

    For example, 2⋅4≡1(mod7)2\cdot4\equiv1\pmod 72⋅4≡1(mod7), and the inverses of 222 and 444 in the set are each other.

  30. 30

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

    Model answer

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

    Explanation

    The theorem constrains which subgroup sizes are possible inside a finite group.

  31. 31

    What restriction does Lagrange’s theorem place on subgroup sizes in a group of order 666?

    Model answer

    Every subgroup must have an order that divides 666, so a subgroup of order 444 is impossible.

    Explanation

    The positive divisors of 666 are the only possible subgroup orders under the theorem.

  32. 32

    What is a left coset of a subgroup HHH by an element xxx?

    Model answer

    The left coset xHxHxH is the set of all elements x⋆yx\star yx⋆y as yyy ranges over HHH.

    Explanation

    The element from the group is combined on the left with each element of the subgroup.

  33. 33

    How does a right coset differ from a left coset?

    Model answer

    A right coset places the group element on the right of each subgroup element rather than on the left.

    Explanation

    The left coset is written xHxHxH; the corresponding right coset reverses the placement of xxx.

  34. 34

    What is the basic coset strategy for proving Lagrange’s theorem?

    Model answer

    Partition the group into disjoint cosets of the subgroup, each having the same size as the subgroup.

    Explanation

    If the partition contains kkk cosets, then ∣G∣=k∣H∣|G|=k|H|∣G∣=k∣H∣, so ∣H∣|H|∣H∣ divides ∣G∣|G|∣G∣.

  35. 35

    Why does each coset xHxHxH have the same number of elements as HHH?

    Model answer

    The map y↦x⋆yy\mapsto x\star yy↦x⋆y is one-to-one: if x⋆h1=x⋆h2x\star h_1=x\star h_2x⋆h1​=x⋆h2​, multiplying by x−1x^{-1}x−1 and using associativity gives h1=h2h_1=h_2h1​=h2​.

    Explanation

    Thus distinct elements of HHH produce distinct elements of the coset, and every element of the coset comes from an element of HHH.

  36. 36

    Why can two cosets selected in the greedy partition process not intersect?

    Model answer

    If xih1=xjh2x_i h_1=x_j h_2xi​h1​=xj​h2​, then xj=xih1h2−1x_j=x_i h_1h_2^{-1}xj​=xi​h1​h2−1​. Since h1h2−1∈Hh_1h_2^{-1}\in Hh1​h2−1​∈H, this puts xjx_jxj​ in the earlier coset xiHx_iHxi​H, contradicting its selection as uncovered.

    Explanation

    The contradiction uses the subgroup’s closure under products and inverses.

  37. 37

    How does the coset partition prove the divisibility conclusion of Lagrange’s theorem?

    Model answer

    If GGG is partitioned into kkk disjoint cosets and each coset has ∣H∣|H|∣H∣ elements, then ∣G∣=k∣H∣|G|=k|H|∣G∣=k∣H∣.

    Explanation

    This expresses the order of GGG as an integer multiple of the order of HHH.

  38. 38

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

    Model answer

    If ppp is prime and ppp does not divide aaa, then ap−1≡1(modp)a^{p-1}\equiv1\pmod pap−1≡1(modp).

    Explanation

    The condition that ppp does not divide aaa ensures that aaa is a nonzero residue modulo ppp.

  39. 39

    How does Fermat’s little theorem give an explicit formula for the inverse of a nonzero residue modulo prime ppp?

    Model answer

    The inverse of aaa is ap−2a^{p-2}ap−2 modulo ppp, because ap−2a=ap−1≡1(modp)a^{p-2}a=a^{p-1}\equiv1\pmod pap−2a=ap−1≡1(modp).

    Explanation

    The theorem turns the inverse into a power of the element.

  40. 40

    How is the integer kkk defined in the group-theoretic proof of Fermat’s little theorem?

    Model answer

    It is the smallest positive integer such that ak≡1(modp)a^k\equiv1\pmod pak≡1(modp).

    Explanation

    This is the first positive power of aaa that returns to the multiplicative identity.

  41. 41

    Why must some positive power of nonzero aaa be congruent to 111 modulo prime ppp?

    Model answer

    Among sufficiently many powers of aaa, two must have the same residue modulo ppp by the pigeonhole principle; cancellation using the inverse of aaa then gives a positive power congruent to 111.

    Explanation

    There are only finitely many residues modulo ppp, so the powers cannot all be distinct.

  42. 42

    How does a collision ai≡aj(modp)a^i\equiv a^j\pmod pai≡aj(modp) with i<ji<ji<j imply that a power of aaa is 111 modulo ppp?

    Model answer

    Since aaa has an inverse modulo ppp, cancel aia^iai to obtain aj−i≡1(modp)a^{j-i}\equiv1\pmod paj−i≡1(modp).

    Explanation

    The positive exponent j−ij-ij−i supplies a power returning to the identity.

  43. 43

    What subgroup is formed by the powers of a nonzero residue aaa modulo ppp, and what is its order?

    Model answer

    The powers of aaa form a subgroup, and its order is kkk, the smallest positive integer for which ak≡1(modp)a^k\equiv1\pmod pak≡1(modp).

    Explanation

    The powers repeat after the first return to the identity, so there are kkk distinct elements in the subgroup.

  44. 44

    How does Lagrange’s theorem connect the order kkk of the powers-of-aaa subgroup to ppp?

    Model answer

    The full nonzero multiplicative group modulo ppp has order p−1p-1p−1, so Lagrange’s theorem implies kkk divides p−1p-1p−1.

    Explanation

    The powers of aaa form a subgroup of the group of nonzero residues modulo ppp.

  45. 45

    How does the divisibility k∣(p−1)k\mid(p-1)k∣(p−1) complete the group-theoretic proof of Fermat’s little theorem?

    Model answer

    Write p−1=ckp-1=ckp−1=ck. Then ap−1=(ak)c≡1c≡1(modp)a^{p-1}=(a^k)^c\equiv1^c\equiv1\pmod pap−1=(ak)c≡1c≡1(modp).

    Explanation

    By definition of kkk, ak≡1(modp)a^k\equiv1\pmod pak≡1(modp).

  46. 46

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

    Model answer

    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).

    Explanation

    The exponent is the order of the multiplicative group Zm∗\mathbb{Z}_m^*Zm∗​.

  47. 47

    Why does the group-theoretic proof of Euler’s theorem resemble the proof of Fermat’s little theorem?

    Model answer

    The powers of aaa form a subgroup whose order divides the order of Zm∗\mathbb{Z}_m^*Zm∗​, which is (p−1)(q−1)(p-1)(q-1)(p−1)(q−1).

    Explanation

    Because aaa is relatively prime to mmm, it has an inverse, allowing the same collision argument to establish a power equal to 111.

  48. 48

    How does the exponent in Euler’s theorem differ from the exponent in Fermat’s little theorem, and why?

    Model answer

    For prime modulus ppp, the exponent is p−1p-1p−1; for m=pqm=pqm=pq with distinct primes, it is (p−1)(q−1)(p-1)(q-1)(p−1)(q−1). These are the orders of the respective multiplicative groups.

    Explanation

    The relevant exponent is determined by the size of the group of invertible residues for the modulus.

  49. 49

    How can Fermat’s little theorem be rewritten as a divisibility statement?

    Model answer

    It implies that ppp divides ap−aa^p-aap−a when ppp is prime.

    Explanation

    Multiplying ap−1≡1(modp)a^{p-1}\equiv1\pmod pap−1≡1(modp) by aaa gives ap≡a(modp)a^p\equiv a\pmod pap≡a(modp).

  50. 50

    For the combinatorial example with a=2a=2a=2 and p=5p=5p=5, what objects are counted by 252^525?

    Model answer

    It counts length-555 strings made from two bead types, such as red and blue.

    Explanation

    Each of the five positions can independently contain either bead type.

  51. 51

    How does identifying rotations change a string into a necklace in the combinatorial proof?

    Model answer

    The ends of the string are joined, and rotations of the resulting arrangement are treated as the same necklace.

    Explanation

    Several different linear strings can therefore represent one necklace.

  52. 52

    For prime length ppp, how many strings correspond to a non-monochromatic necklace in the necklace argument?

    Model answer

    There are ppp distinct strings, one for each rotation.

    Explanation

    A non-monochromatic necklace of prime length cannot be unchanged by a nontrivial rotation, so its rotations give ppp distinct strings.

  53. 53

    Why are monochromatic necklaces exceptions in the prime-length counting argument?

    Model answer

    A monochromatic necklace looks the same under every rotation, so it corresponds to only one string rather than ppp distinct strings.

    Explanation

    There are aaa monochromatic necklaces when there are aaa available bead types.

  54. 54

    How does counting necklaces establish that ppp divides ap−aa^p-aap−a for prime ppp?

    Model answer

    There are apa^pap strings in total and aaa monochromatic strings; the remaining ap−aa^p-aap−a strings fall into groups of ppp rotations, so their number is divisible by ppp.

    Explanation

    This gives a combinatorial proof of the divisibility form of Fermat’s little theorem.

  55. 55

    What two operations are part of a field, and what group properties do they satisfy?

    Model answer

    A field has addition and multiplication; addition forms an abelian group, and the nonzero elements form an abelian group under multiplication.

    Explanation

    The additive identity is 000, while the multiplicative identity is 111.

  56. 56

    What is the distributive property required of a field?

    Model answer

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

    Explanation

    Distributivity links the field’s addition and multiplication operations.

  57. 57

    State the root bound for a polynomial of degree ddd over a field.

    Model answer

    A nonzero polynomial of degree ddd over a field has at most ddd roots in that field.

    Explanation

    The bound applies to general fields, not only to the real numbers.

  58. 58

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

    Model answer

    It means that xxx is an element of the field and the polynomial evaluates to 000 at xxx.

    Explanation

    The polynomial’s coefficients and the values considered are taken from the field.

  59. 59

    How is a secret-sharing scheme with threshold kkk intended to work?

    Model answer

    A secret is divided among nnn people so that any kkk people can recover it, while fewer than kkk cannot.

    Explanation

    The threshold determines how many participants are needed to reconstruct the secret.

  60. 60

    How are polynomials used in the described secret-sharing approach?

    Model answer

    The secret is represented by the polynomial’s constant coefficient, and each participant receives an evaluation of the polynomial at a point.

    Explanation

    Enough point-value pairs allow the participants to interpolate the polynomial and recover its constant coefficient.

  61. 61

    Why use finite fields rather than the real numbers for the described secret-sharing scheme?

    Model answer

    The scheme is constructed using values from a finite field, so its secret and polynomial evaluations come from a finite set.

    Explanation

    The described approach uses finite-field polynomial evaluations to distribute information.

  62. 62

    What later cryptographic application is associated with Euler’s theorem in the content?

    Model answer

    Euler’s theorem is identified as a basis for RSA encryption.

    Explanation

    The theorem provides a modular exponentiation relationship used in the RSA discussion.

  63. 63

    What later application is associated with the polynomial root bound?

    Model answer

    The root bound is identified as a basis for modern secret sharing.

    Explanation

    The content connects the behavior of polynomials over finite fields to secret-sharing schemes.

1 of 63
Question 1 of 63

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent