Homework 1
MATH 301/601
Test #1 is on Tuesday, February 18
Instructions. Read the Homework Guide to make sure you understand how to successfully complete the assignment. Click here for a pdf version of the homework.
*Exercise 1.
-
(a)
Give an example of a function that is injective but not surjective.
-
(b)
Give an example of a function that is surjective but not injective.
-
(c)
Give an example of a bijection from .
Exercise 2.
Let and . Prove the following statements.
-
(a)
If and are both injective, then is injective.
-
(b)
If is surjective, then is surjective.
-
(c)
If is injective and is onto, then is injective.
Exercise 3.
Let be a function, let , and let .
-
(a)
Prove that .
-
(b)
Prove that , and then give an example where .
-
(c)
Prove that , where .
-
(d)
Prove that .
*Exercise 4.
Let such that and whenever . Prove that . (Hint: Use the well-ordering principle.)
**Exercise 5.
Define the ordering on by if or and (this is called the lexicographical ordering).
Prove that is well ordered, that is, show that given a nonempty subset of there exists such that for all .
Aside: as a set with no additional structure, is equivalent to , as there is a bijection between them (can you find it?); however, as ordered sets, these sets are not equivalent (meaning, there is no order-preserving bijection between them), as bounded sets need not be finite in the lexicographical ordering. Various notions of equivalence are very important in mathematics.
Exercise 6.
Let . Prove that if and , then .
Exercise 7.
Let . Prove that if and , then either or .
*Exercise 8.
Let . Prove that the remainder obtained from dividing by 4 is either 0 or 1.
Exercise 9.
Use the Euclidean algorithm to compute the following greatest common divisors:
-
(a)
-
(b)
-
(c)
-
(d)
*Exercise 10.
Let . Prove that if there exists such that , then .
Exercise 11.
Let and be nonzero integers, and let . Prove that an integer is a linear combination of and if and only if .
Definition. Two nonzero integers are relatively prime if their greatest common divisor is one.
Exercise 12.
Let and be relatively prime integers. Prove that if such that , then .
Exercise 13.
Let be prime. Prove that if such that , then there exists such that . (Hint: Use induction, with Euclid’s lemma as the base case.)
Definition. Given two nonzero integers and , an integer is a common multiple of and if and . The least common multiple of and , denoted , is the smallest positive common multiple of and .
*Exercise 14.
Let and be nonzero integers.
-
(1)
Prove that the least common multiple of and exists.
-
(2)
Prove that if is a common multiple of and , then divides . (Hint: divide by using the division algorithm.)
**Exercise 15.
Let and be nonzero integers.
-
(1)
Prove that the product of and is equal to . (Hint: the product is divisible by . Let . Now, let be a common multiple of and . Write as a linear combination in and , and use this to express the fraction as an integer.)
-
(2)
Prove that if and only if .
Exercise 16.
Let . Use induction to prove that
for all . (Note: you are inducting on , not .)
*Exercise 17.
Let with . Prove that if is prime, then is prime. (Hint: you will find the previous exercise helpful.)