Nicholas G. Vlamis
mathematician | nvlamis@gc.cuny.edu

Homework 1
MATH 301/601 (Spring 2025)
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.
  1. (a)

    Give an example of a function that is injective but not surjective.

  2. (b)

    Give an example of a function that is surjective but not injective.

  3. (c)

    Give an example of a bijection from .


Exercise 2.

Let f:AB and g:BC. Prove the following statements.

  1. (a)

    If f and g are both injective, then gf is injective.

  2. (b)

    If gf is surjective, then g is surjective.

  3. (c)

    If gf is injective and f is onto, then g is injective.


Exercise 3.

Let f:XY be a function, let A1,A2X, and let B1,B2Y.

  1. (a)

    Prove that f(A1A2)=f(A1)f(A2).

  2. (b)

    Prove that f(A1A2)f(A1)f(A2), and then give an example where f(A1A2)f(A1)f(A2).

  3. (c)

    Prove that f1(B1B2)=f1(B1)f1(B2), where f1(B)={xX:f(x)B}.

  4. (d)

    Prove that f1(B1B2)=f1(B2)f1(B2).


*Exercise 4.

Let S such that 1S and n+1S whenever nS. Prove that S=. (Hint: Use the well-ordering principle.)


**Exercise 5.

Define the ordering < on × by (a,b)<(c,d) if a<c or a=c and b<d (this is called the lexicographical ordering). Prove that (×,<) is well ordered, that is, show that given a nonempty subset S of × there exists sS such that s<s for all sS{s}.
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 a,b,c,m,n. Prove that if ab and ac, then a(mb+nc).



Exercise 7.

Let a,b. Prove that if ab and ba, then either a=b or a=b.


*Exercise 8.

Let n. Prove that the remainder obtained from dividing n2 by 4 is either 0 or 1.


Exercise 9.

Use the Euclidean algorithm to compute the following greatest common divisors:

  1. (a)

    gcd(42,55)

  2. (b)

    gcd(14,30)

  3. (c)

    gcd(234,165)

  4. (d)

    gcd(1739,9923)


*Exercise 10.

Let a,b{0}. Prove that if there exists s,t such that as+bt=1, then gcd(a,b)=1.