Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

Assignment 1

( \newcommand{\kernel}{\mathrm{null}\,}\)

Exercise 1

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.

Exercise 1

Define a relation R on A=Z by

aRb if and only if 4(3a+b), for a,bZ.

Answer

R is reflexive on Z.

Proof:

Let aZ.

We shall show that aRa, specifically 4|(3a+a).

Consider 3a+a=4a and aZ.

Thus 4|(3a+a),  and aRa.

Therefore R is reflexive on Z.◻

 

 R is symmetric on Z.

Proof:

Let a,bZ s.t. 4|(3a+b).

Thus 3a+b=4m for some mZ.

We will show that 43b+a.

Since 3a+b=4m, 3ab=4m.

Then 4(a+b)3ab=4(a+b)4m.

Thus 3b+a=4(a+bm) where a+bmZ.

Hence 4|(3b+a). Hence bRa.

Thus R is symmetric on Z.

 

 R is not antisymmetric on Z.

Counterexample:

Let a=0 and b=4.

Then 4|(3(0)+4) and 4|(3(4)+0). Thus 4R0 and 0R4

However, since 04 R is not antisymmetric on Z.◻

 

R is transitive on Z.

Proof:

Let a,b,cZ s.t. aRb and bRc.

Since aRb, 4|(3a+b) and bRc, 5|(3b+c).

We will show that aRc, that is  4|(3a+c).

Since 4|(3a+b), 3a+b=4(k) for some kZ.

Since 4|(3b+c), 3b+c=4(m) for some mZ.

Consider 3a+c=(3a+b)+(3b+c)4b=4(k)+4(m)(b)=5(k+mb), where k+mbZ. 

Hence 4|3a+c. Thus  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 4|(3a+b) are [0],[1],[2] and [3].

Let aZ, then [a]={aZ:xa}.

[0]={xZ:x0}

      ={xZ:4|(3x+(0))}

      ={xZ:4|3x}

      ={xZ:3x=4m,mZ}

      ={,8,4,0,4,8,}.

  

[1]={xZ:x1}

     ={xZ:4|(3x+(1))}

      ={xZ:4|(3x+1)}

      ={xZ:3x+1=4m,mZ}

      ={xZ:3x=4m1,mZ}

      ={,7,3,1,5,9,}.

  

[2]={xZ:x2}

     ={xZ:4|(3x+2)}

      ={xZ:3x+2=4m,mZ}

      ={xZ:3x=4m2,mZ}

      ={,6,2,2,6,10,}.

 

[3]={xZ:x3}

     ={xZ:4|(3x+3)}

      ={xZ:3x+3=4m,mZ}

      ={xZ:3x=4m3,mZ}

      ={,5,1,3,7,11,}.    

  
Exercise 2

Define a relation R on A=N by aRb if and only if 2a2+b, for a,bN. 

Answer

Proof of Reflexivity:

Let aN.

We shall show that a2+a=2m,mZ.

We can show this directly or using cases:

Directly:

 Since , and are consecutive integers,

is even. Thus R is reflexive on N.

 

Proof of Symmetry:

Let a,bN  such that aRb.

That means a2+b=2m,mZ.

We will show that b2+a=2k,kZ.

Since

,  .

Thus 

.

Since a(a+1) is even,  is even.

Thus R is symmetric on N.

Antisymmetry: 

Caution: 0N.

Let a=1,b=3.

12+3=2(2),  and 32+1=2(5)

But 13, hence, R is \textbf{not} antisymmetric on N.

Proof of Transitivity:

Leta,b,cN such that 2|a2+b and2|b2+c.

We will show that 2|a2+c.

Consider a2+b=2m,mZ and b2+c=2n,nZ.

Further, consider that a2+c=2mb+2nb2=2(m+n)(b2+b).

Since R is reflexive on Nb2+b=2q,qZ

Thus a2+c=2(m+nq),m,n,qZ.

Thus R is transitive on N.

Having shown that R is reflexive, symmetric and transitive on Z,R is an equivalence relation on Z.◻

 

Let aZ, then [a]={xZ:xa}Caution: 0N.

a=1:

[1]={xZ:x1}

   ={xZ:2|(x2+1)}

   ={xZ:x2+1=2m,mZ}

  ={±1,±3,}.

 

a=2:

[2]={xZ:x2}

   ={xZ:2|(x2+2)}

   ={xZ:x2+2=2m,mZ}

  ={0,±2,±4,}

Exercise 3

Let A=R×R. Define (x,y)R(x1,y1) if and only if x2+y2=x21+y21,  for (x,y),(x1,y1)R×R.

Answer

Reflexive

Proof:

Let (a,b)R×R.

Since a2+b2=a2+b2, (a,b)R(a,b)

Thus R is reflexive.

Symmetric:

Proof:

Let (a,b),(a1,b1)R×R, s.t  (a,b)R(a1,b1)

Thus a2+b2=a21+b21

We shall show bRa.

Since a2+b2=a21+b21,  a21+b21=a2+b2

Thus (a1,b1)R(a,b), and R is symmetric.

antisymmetric:

Counterexample

let a=1,b=2,a1=2,b1=1

then (1)+(2)2=5=22+12

Thus (a,b)R(a1,b1) and  (a1,b1)R(a,b)

But (1,2)(2,1)

Thus R is not anti-symmetric

Transitive:

Proof:

Let (a,c),(a1,c1),(a2,c2)R×R such that (a,c)R(a1,c1) and (a1,c1)R(a2,c2).

Since (a,c)R(a1,c1)a2+b2=a21+b21.

Since (a1,c1)R(a2,c2)b2+c2=b21+c21

Thus, a2+c2=a21+c21

Hence (a,c)R(a2,c2) and R is transitive.

 

Since  R is reflexive, symmetric and transitive, R is an equivalence relation on A.

The equivalence classes are 

[(0,0)]={(x1,y1)R×Rx21+y21=0}{0}

[(x,y)]={(x1,y1)R×Rr2=x21+y21=x2+y2}

 

Exercise 2

Consider the function f:ZZ define by f(n)=n2+1.

Determine whether f is one-to-one and whether f is onto. If f is not onto, find the range of f.

Answer

 

No, f is not injective.

Counterexample:

Let x1=2 and x2=2.

Then f(2)=(2)2+4=8 andf(2)=(2)2+4=8.

Thus  f(2)=f(2) but22 .

Therefore h is not injective.◻

 

No,h is not surjective.

 

Counterexample:

LetA=Z andB=Z s.t.h:AB is defined byf(x)=x2+1 .

Note that3B .

Thus3=x2+1x=±2A.

Thus, f is not surjective. Range of f={x2+1xZ}={1,2,5,10,17,26}.

Exercise 3

Suppose f:BC and g:AB are functions.

Prove or disprove the following statements:

  1. If fg is onto then g is onto.
  2. If fg is onto and f is one-to-one, then g is onto.
Answer

1. Let .

Let and

Let f(x)=1, for all xB.clipboard_e0f058fb501f0fde99b3dc601cf0e3daa.png

We will show that , s.t. .

Note that is surjective since s.t. .

However s.t. .

Thus is not surjective.◻

2. Proof:

Let .

We shall show that .

Since is a function,   by definition of a function.

Since is surjective, s.t. .

Thus .

Since is injective, means that .

Thus s.t  .

Thus .

Since and .◻

 


This page titled Assignment 1 is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Pamini Thangarajah.

  • Was this article helpful?

Support Center

How can we help?