0E: Exercises
( \newcommand{\kernel}{\mathrm{null}\,}\)
Define h:Z→Z by h(x)=x2+4. Determine (with reasons) whether or not h is one−to−one and whether or not h is onto.
Suppose f:A→B and g:B→C are functions. Prove or disprove the following statements:
-
If g∘f is one-to-one then g is one-to-one.
-
If g∘f is one-to-one and f is onto, then g is one-to-one.
-
If g∘f is onto and g is one-to-one, then f is onto.
Determine whether or not each of the following binary relations R on the given set A is reflexive, symmetric, antisymmetric, or transitive. If a relation has a certain property, prove this is so; otherwise, provide a counterexample to show that it does not. If R is an equivalence relation, describe the equivalence classes of A.
-
Let S={0,1,2,3,4,5,6,7,8,9}. Define a relation R on A=S×S by (a,b)R(c,d) if and only if 10a+b≤10c+d.
-
Let A=Z∖{0}. Define a relation R on A, by aRb if and only if ab>0.
-
Define a relation R on A=Z by aRb if and only if 4|(3a+b).
-
Define a relation R on A=Z by aRb if and only if 3|(a2−b2).
-
Let A=R, If a,b∈R, define aRb if and only if a−b∈Z.
-
Define a relation R on the set Z×Z by (a,b)R(c,d) if and only if ac=bd.
-
Define a relation R on Z by aRb if and only if 2∣a2+b.
-
Let A=R, If a,b∈R, define aRb if and only if a−b∈Q.
-
Let A=R×R, If (x,y),(x1,y1)∈R×R, define (x,y)R(x1,y1) if and only if x2+y2=x21+y21. -
Define a relation R on Z by aRb if and only if 5|(2a+3b).
- Answer
-
- R is reflexive on Z.
Proof:
Let a∈Z.
We shall show that aRa, specifically 5|(2a+3a).
Consider that 2a+3a=5a and a∈Z.
Thus 5|(2a+3a), and aRa.
Therefore R is reflexive on Z.◻
2. R is symmetric on Z.
Proof:
Let a,b∈Z s.t. 5|(2a+3b.
Thus 2a+3b=5m for some m∈Z.
We will show that 3a+2b=5k for some k∈Z.
Consider that −2a−3b=−5m for some m∈Z.
Then 5(a+b)−2a−3b=5(a+b)−5m.
Thus 3a+2b=5(a+b−m) where a+b−m=k∈Z.
Hence 5|(3a+2b) and bRa.
Since bRa, R is symmetric on Z.
3. R is not antisymmetric on Z.
Counter Example:
Let a=0 and b=5.
Then 5|(2(0)+3(5)) and 5|(2(5)+3(0).
However, since 0≠5 R is not antisymmetric on Z.◻
4. R is transitive on Z.
Let a,b,c∈Z s.t. aRb, 5|(2a+3b) and bRa, 5|(2b+3c).
We will show that aRc, 5|(2a+3c).
Since 5|(2a+3b), 2a+3b=5(k) for some k∈Z.
Since 5|(2b+3c), 2b+3c=5(m) for some m∈Z.
Consider 2a+3c=(2a+3b)+(2b+3c)−5b
=5(k)+5(m)−5(b)
=5(k+m−b), where k+m−b∈Z.
Hence 5|2a+3c and aRc.
Hence R is transitive on Z.◻
Since R is reflexive, symmetric and transitive on Z, R is an equivalence relation.
Te equivalence classes of aRb iff 5|(2a+3b) are [0],[1],[2],[3] and [4].
Let a∈Z, then [a]={a∈Z:x∼a}.
[0]={x∈Z:x∼0}
={x∈Z:5|(2x+3(0))}
={x∈Z:5|2x}
={x∈Z:2x=5m,m∈Z}
={…,−10,−5,0,5,10,…}.
[1]={x∈Z:x∼1}
={x∈Z:5|(2x+3(1))}
={x∈Z:5|(2x+3)}
={x∈Z:2x+3=5m,m∈Z}
={x∈Z:2x=5m−3,m∈Z}
={…,−9,−4,1,6,11,…}.
[2]={x∈Z:x∼2}
={x∈Z:5|(2x+3(2))}
={x∈Z:5|(2x+6)}
={x∈Z:2x+6=5m,m∈Z}
={x∈Z:2x=5m−6,m∈Z}
={…,−8,−3,2,7,12,…}.
[3]={x∈Z:x∼3}
={x∈Z:5|(2x+3(3))}
={x∈Z:5|(2x+9)}
={x∈Z:2x+9=5m,m∈Z}
={x∈Z:2x=5m−9,m∈Z}
={…,−7,−2,3,8,13,…}.
[4]={x∈Z:x∼4}
={x∈Z:5|(2x+3(4))}
={x∈Z:5|(2x+12)}
={x∈Z:2x+12=5m,m∈Z}
={x∈Z:2x=5m−12,m∈Z}
={…,−6,−1,4,9,14,…}