Hints to exercises

6.1.1

  1. x1x2x3<lexy1y2y3 if and only if x1 comes before y1 in alphabetical order, or x1=y1 and x2 comes before y2 in alphabetical order, or x1=y1, x2=y2, and x3 comes before y3 in alphabetical order.

  2. {(a,a):aR}.

  3. S1={(y,x):y=sinx}.

  4. We show (SR)1R1S1. The reverse inclusion is left as an exercise.

    Suppose that R is a relation from A to B and S is a relation from B to C. Let (c,a)(SR)1. Then by definition of the inverse relation, (a,c)SR. By the definition of composition, there exists bB such that (a,b)R and (b,c)S. Hence, (b,a)R1 and (c,b)S1, implying that (c,a)R1S1.

6.2.1

  1. Anti-symmetric because if x is smarter than y, then y cannot be smarter than x.

  2. Symmetric because if x has the same astrological sign as y, then y has the same astrological sign as x.

  3. If x is smarter than y and y is smarter than z, then x is smarter than z.

    If x has the same astrological sign as y and y has the same astrological sign as z, then x, y, and z all have the astrological sign and so x has the same astrological sign as z.

  4. All relations in the following table are over R.

    Reflexive {(a,a)}
    Not reflexive {(a,b):a>b}
    Irreflexive {(a,b):ab}
    Not irreflexive {(a,b):ab}
    Symmetric {(a,b):a2+b2=1}
    Not symmetric {(a,b):a>b}
    Anti-symmetric {(a,b):a=b+1}
    Not anti-symmetric {(a,b):a2+b2=1}
    Transitive {(a,b):a>b}
    Not transitive {(a,b):a=b+1}
  5. 12 but it is not true that 21.

  6. Let a be a positive integer. Then aa since a=1a. Thus, divisibility over positive integers is reflexive.

    Let a and b be positive integers such that ab. If ba, then b>a. Thus, we cannot have ba, showing that divisibility over positive integers is anti-symmetric.

    If ab and bc, then there exist integers j and k such that b=ja and c=kb. Hence, c=k(ja)=(kj)a, giving ac since kj is a product of two integers and is thus an integer. Thus, divisibility over positive integers is transitive.

6.3.1

  1. We show that A reflexive, symmetric, and transitive. It is reflexive because every x has the same astrological sign as x; symmetric because if x has the same astrological sign as y, then y has the same astrological sign as x; transitive because if x has the same astrological sign as y and y has the same astrological sign as z, then x, y, and z all have the astrological sign and so x has the same astrological sign as z.

  2. It is not difficult to show that is reflexive, symmetric, and transitive.

    0/={0}
    1/={1,1}
    2/={2,2}
    3/={3,3}
    4/={4,4}
    5/={5,5}
  3. The solution becomes apparent by making the observation that two words are anagrams of each other if and only if they contain the same letters and matching in the number of occurrences.

  4. Label the outer nodes clockwise starting at the top in the following order: A, B, C, H, J, E. See if you can label the inner nodes so that connections between labelled vertices are preserved.

  5. Since ab=ba, we have (a,b)Q(a,b). Hence, Q is reflexive.

    Suppose that (a,b)Q(c,d). Then ad=bc, which is equivalent to cb=da, giving (c,d)Q(a,b). Hence, Q is symmetric.

    Suppose that (a,b)Q(c,d) and (c,d)Q(e,f). So ad=bccf=de, giving adcf=bcde. Since c and d are nonzero, we obtain af=be, giving (a,b)Q(e,f). Hence, Q is transitive.

  6. This can be seen from that the equivalence class (a,b)/Q contains all (c,d) such that cd=ab.

  7. We needed non-zero numbers in proving that Q is transitive.

6.4.1

  1. {Cow,Duck,Robin,Goose}

  2. 1: g, 2: f, 3: c, 4: d, 5: h, 6: b, 7: e, 8: a

  3. Draw two 3-dimensional cubes and connect make some appropriate connections between the two copies.

  4. Since 210=2357, there are 16 node labels which can be divided into those that are even and those that are odd. The Hasse diagram for the odd labels is a 3-dimensional cube. So is the Hasse diagram for the even labels.

  5. This exercise is similar to the previous one. Separate the labels into those that contain a and those that do not.

  6. Note that 11025=325272. How many nodes are there in the Hasse diagram for the poset of divisors of 11025?

  7. The following collection works: {a,a,b,b,c,c},{a,b,b,c,c},{a,a,b,c,c},{a,a,b,b,c},{a,b,c,c},{a,b,b,c},{a,a,b,c},{b,b,c,c},{a,a,c,c},{a,a,b,b},{b,c,c},{b,b,c},{a,c,c},{a,a,c},{a,c,c},{a,a,b,c,c},{a,b,c},{a,b},{a,c},{b,c},{a,a},{b,b},{c,c},{a},{b},{c},{}

6.5.1

  1. Note that any set containing the range can serve as the codomain.

    1. Domain: R. Range: [1,1].

    2. Domain: R. Range: (0,).

    3. Domain: R. Range: [0,).

    4. Domain: R{1,1}. Range: (,1](1,).

    5. Domain: R. Range: Z.

  2. Let f(n)=n12. It is not difficult to see that f is injective. To see that f is surjective, let y{0,1,}. Then x=(2y+1)2 is the square of an odd integer and f(x)=(2y+1)212=2y+112=y.

    Note that f1(n)=(2n+1)2.

  3. Let y>x>0. Then ln(y)ln(x)=yt=x1tdt>0 since 1t is positive over the interval [x,y]. Hence, ln(x) is strictly increasing on (0,).

    Let y be a positive real number. Since ln(2) is a fixed real number, setting b=y/ln(2), we get that ln(2b)=y.

  4. f(25)=4/5, f(29)=7/3, f1(3/4)=15.

6.6.1

  1. We can restrict to [0.5,) for example.

  2. T1(x)=1+1+8x2 with domain [18,).

  3. sin(t).

  4. f1(x)=x for all x[0,).

  5. π12(H) is the set of points on the unit circle on the xy coordinate plane. The other two are the sine and cosine curves.

  6. {(1,1),(2,1),(3,1),(4,0),(5,0),,(10,0)}.

  7. 1S1T=1ST.

  8. 12+13+15+17=247210.