
Math 109: Homework 2
Due Wednesday, April 16th, 2oo8
Starred problems are optional
1. For the set Rare the following relations: Reflexive? Symmetric? Transitive? If not, give a counterex-
ample.
ā¢aā¼bif and only if ab = 0 ā¢aā¼bif and only if ab 6= 0
ā¢aā¼bif and only if |aāb|<5ā¢aā¼bif and only if aā„b.
2. On R, define aā¼bif and only if |a|=|b|. Show that this is an equivalence relation. What are the
elements of the equivalence class of 0? What about [1]?
3. Let f:RāRbe defined by f(x) = x2. On Rdefine aā¼bif and only if f(a) = f(b). Show that
this is an equivalence relation. What are the elements of the equivalence class of 0? What about [1]?
4. Let a, b āRand define aā¼bif an only if aābāZ. Show that this is an equivalence relation and
describe the equivalence classes. (Try to think of a way of indexing the equivalence classes.)
5. On Zdefine aā¼bif and only if a+bis even. Is this an equivalence relation? Justify your answer: If
yes, then demonstrate that the 3 properties hold. If no, find a counterexample to one of the properties.
6. *Consider the unit square in R2with corners (0,0), (0,1), (1,0), and (1,1). Define a relation on the
square via (a, b)ā¼(c, d)if and only if [a=cand b=d] or [|aāc|= 1 and b= 1 ād]. Show this is
an equivalence relation. (Note that this only affects the right and left edges. Why?) Name two distinct
points that are equivalent under this relation. What is the quotient space of this relation? (Watch this:
http://youtube.com/watch?v=4bcm-kPIuHE )
7. *Suppose you are given a partition (a collection of disjoint subsets of Asuch that the union is all of
A)Sof a set A. For a, b āA, define aā¼bif an only if aand blie in the same subset of the partition.
Prove that this defines an equivalence relation.
8. Suppose a, b, c āZ. Prove that if a|band a|c, then a|b+cand a|bāc.
9. Suppose a, b, c āZ. Prove that if a|(b+c)and a|b, then a|c.
10. Prove that for nāN,5|nif and only if 5|n2.
11. Prove that any perfect square is of the form 4kor 4k+ 1 for some kāNāŖ {0}.
12. *Prove that if nis a perfect square, then 2nā1is not prime.
13. How many triples of primes, p,p+ 2, and p+ 4 are there? Prove your answer.
14. Find gcd(219,69), gcd(901,952), and gcd(377,233).
15. Find integers mand nsuch that 219m+ 69n=gcd(219,69). Make sure you know how to do this
without guessing.
16. *Find gcd(13,21), gcd(21,34), and gcd(34,55). Notice how tedious this was. These numbers are all
elements of the Fibonacci sequence. Make a conjecture about the numbers 233 and 377.
17. *Prove that gcd(a, b)Ā·lcm(a, b) = ab.
1