The Lumenary · Early undergraduate
Algebraic structures: monoids, groups and rings
Name: ______________________
Date: ______________________
You will learn to
- Define binary operations, monoids, groups, rings and fields, and test examples and non-examples such as , , , , matrices and functions under composition
- Prove that an identity element is unique and that inverses in a monoid are unique, and derive the basic rules of algebra in a group
- Explain why is a ring but not a field while is a field, and prove that is a field exactly when is prime
- Show that the functions from a set to itself form a monoid under composition whose invertible elements form the symmetric group
- Recognise homomorphisms and isomorphisms, and prove that a group homomorphism preserves identities and inverses
- 1.
Which of these are groups? (Choose all that apply.)
- A.
- B.
- C.
- D., the positive rationals
- E.
- F.the bijections under composition
- 2.
The operation on is associative and commutative. Which natural number is its identity element, i.e. satisfies for every ?
- 3.
Find the inverse of in : the number with . (This is the key step in decoding an affine cipher.)
- 4.
The proof that inverses in a monoid are unique reads: if and then . Which equality uses associativity?
- A.
- B.
- C.
- D.
- 5.
Between groups, any with automatically satisfies . Which example shows that this fails for monoids, so that must be required separately?
- A.,
- B.
- C., , for multiplication
- D.the identity map
- 6.
is not a field. Find the smallest with , which exhibits as a zero divisor.
- 7.
Which Lean statement correctly formalises "in a monoid, a left inverse and a right inverse of the same element are equal"?
- A.
theorem t {M : Type*} [Monoid M] {a b c : M} (hb : b * a = 1) (hc : a * c = 1) : b = c - B.
theorem t {M : Type*} [Monoid M] {a b c : M} (hb : a * b = 1) (hc : a * c = 1) : b = c - C.
theorem t {M : Type*} [Monoid M] {a b c : M} : b * a = 1 ∧ a * c = 1 ∧ b = c - D.
theorem t {M : Type*} [Group M] {a b : M} (h : b * a = 1) : b = a⁻¹
- A.
- 8.
Write
is_group(elements, op)that returnsTrueexactly whenop(a Python function of two arguments) is a group operation on the finite listelements: check closure, associativity, an identity, and inverses. Then test it on addition modulo 5, multiplication modulo 6, and multiplication modulo 12 on the units .Computational — Practice