GRaded Assignment 2
GRaded Assignment 2
Semester 2
Graded Assignment 2
April 3, 2021
Prepared for
Robert Geofroy
By
Dane Sinclair
320032023
Dane Sinclair 320032023 2
A relation R on a set S is called a partial ordering, or partial order, if it is reflexive, antisymm
etric, and transitive. A set together with a partial ordering R is called a partially ordered set,
or poset, and is denoted by (S, R). Members of S are called elements of the poset.
.
Since a ≤ a holds for all integers a, the relation ≤ is reflexive.
Since a ≤ b and b ≤ a ,implies that a = b, the relation is antisymmetric.
Since a ≤ b and b ≤ c implies that a ≤ c, the relation is transitive.
The “less than or equal to” relation ≤ on the set of integers is a partial order relation
iff for all a, b ∈ Z, either a ≤ b or b ≤ a, the partial order is a poset denoted by (S,R), hence the poset
is ( Z , ≤ ) which denotes a total order because a ≤ b or b ≤ a whenever a and b are integers.
Dane Sinclair 320032023 3
If S has n elements then the cardinalities of the smallest equivalence relation on S will be n and the
largest equivalence on S will be n2
S × S={( 1,1 ) (1,2 ) ( 1,3 ) ( 2,1 )( 2,2 ) ( 2,3 ) (3,1 )( 3,2 ) (3,3 ) }
Smallest set of equivalence relation is { ( 1,1 ) , ( 2,2 ) ,(3,3) } as this is reflexive, symmetric and
transitive, hence cardinality is n ( S )=3
Let n ∈ N and let a, b ∈ Z. We say that a is congruent to b modulo n iff n|(a−b). We write this as a ≡ b
(mod M), m ∈ N and a, b ∈ Z
Proof:
So it is a equivalence relation on ¿ ¿
So R yields a partition on ¿ ¿
U ( 0 )=¿
U ( 0 )=¿
¿ { 0,3,6,9 , … … }
U ( 1 )=¿
¿¿
¿
¿ { 1 , 4 , 7 , 10 , … … }
U ( 2 )=¿
¿¿
¿¿
¿ { 2 ,5 , 8 , 11, … … }
There are only 3 equivalence classes w.r.t. R. i.e., {[a]R : a Z} = {[0]R , [1]R , [2]R }
Dane Sinclair 320032023 6
Let the children be pigeons and the days of the week be pigeonholes
There are 12 children (pigeons) which we are placing into 7 days of the week (pigeonholes).
We have 5 children (pigeons) left to place, so by the PHP, some day of the week has two
children.
The family members be pigeons and the months of year be pigeon holes.
There are 14 family members (pigeons) and only 12 months they can be born in (holes), thus
there is 2 family members left to place so some two family members must be born in the
same month by the PHP.
Since the house has 4 bedrooms for children consider them as holes and the let the 12
children be pigeons. If we put 2 pigeon ( children) in 1 hole (bedroom) we have 8 children in
4 bedrooms. We will then have to place the remaining 4 children into bedrooms. Therefore
by pigeonhole principle at least three children sleep in at least one room.
Dane Sinclair 320032023 7
If each of the 4 child gets 1 then there are 18-4=14 candies remaining, since it’s possible to have
repetition the solution can be found usingC ( n+ r−1 , r−1 ) where r =4∧n=14