Exercises Lesson 1 & 2
Exercises Lesson 1 & 2
Pablo Rosero
Computational Sciences & Christian Chávez
Abstract Algebra
Problem Set 1
Basic Arithmetic
Lesson 1 & 2
1. For each of the following pairs of integers a and b, determine their greatest
common divisor, their least common multiple, and write their greatest
common divisor in the form ax + by for some integers x and y.
2. Prove that if n is composite then there are integers a and b such that n
divides ab but n does not divide either a or b.
3. If p is a prime, prove that there do not exist nonzero integers a and b such
√
that a2 = pb2 . (Why this proves p is not a rational number.)
4. Write down explicitly all the elements in the residue classes of Z/18Z.
7. Prove that the squares of the elements in Z/4Z are just 0 and 1.
11. Let n ∈ Z, n > 1, and let a ∈ Z with 1 ≤ a ≤ n. Prove if a and n are not
relatively prime, there exists an integer b with 1 ≤ b < n such that ab ≡ 0
(mod n) and deduce that there cannot be an integer c such that ac ≡ 1
(mod n).
12. Let n ∈ Z, n > 1, and let a ∈ Z with 1 ≤ a ≤ n. Prove that if a and n
are relatively prime then there is an integer c such that ac ≡ 1 (mod n).
(Use the fact that the g.c.d. of two integers is a Z-linear combination of
the integers.)
13. Conclude from the previous two exercises that (Z/nZ)× is the set of
elements ā of Z/nZ with ( a, n) = 1 and hence prove Proposition 4 .
Verify this directly in the case n = 12.
1
14. (a) Prove that if n is squarefree (i.e., n > 1 and n is not divisible by the
√
square of any prime), then n is irrational.
√
(b) Prove that 3 2 is irrational.
15. Let a and b be nonzero integers and let d = ( a, b). Prove that a/d and b/d
are relatively prime.
18. If a and b are relatively prime and if each divides an integer n, then their
product ab also divides n.
19. Let a, b, c ∈ Z with a > 0. Prove that a(b, c) = ( ab, ac). (One must assume
that a > 0 lest a(b, c) be negative.)
(b) Show that the Pythagorean triple (9, 12, 15) (which is not primitive)
is not of the type given in part (a).
21. Let X and Y be finite sets. Show that there is a bijection f : X → Y if and
only if | X | = |Y |. (By definition, a set is finite if it is empty or if it can
be put in a one-to-one correspondence with [k ] = {1, 2, . . . , k }, for some
integer k ≥ 1.)
22. (Pigeonhole Principle) If X and Y are finite sets with the same number of
elements, show that the following conditions are equivalent for a function
f : X → Y.
(a) f is bijective
(b) f is injective
(c) f is surjective
23. (a) Let f : X → Y be a function, and let (Si )i∈ I be a family of subsets of
X. Prove that !
[ [
f Si = f ( Si )
i∈ I i∈ I
2
(b) If S1 and S2 are subsets of a set X, and if f : X → Y is any function,
prove that f (S1 ∩ S2 ) ⊆ f (S1 ) ∩ f (S2 ). Give an example in which
f ( S1 ∩ S2 ) ̸ = f ( S1 ) ∩ f ( S2 ) .
(b) If B ⊆ Y, prove that f −1 B∁ = f −1 ( B)∁ , where B∁ denotes the
complement of B respect to Y.