1. Express the assertions given below as propositions of predicate logic using
the following predicates. The universe is the set of objects. [15]
: is a composite number.
: is divisible by .
: is a natural number.
: is a prime number.
a) Not every natural number is a composite number.
b) A natural number is a prime number only if it is not divisible by any number.
c) For a natural number to be a prime number, it is necessary that the natural number is
not a composite number.
2 (a) Recursively define the relation on the set of natural numbers. [8]
(b) Recursively define
that is
for sets , , , ..., . [7]
3. Which of the following statements are true and which are false ?
and are sets. [10]
(a)
(b)
(c) If , then .
(d) If and , then
.
(e)
(f)
(g)
is a function from N to N,
where N is the set of natural numbers.
(h)
is a one-to-one function from N to N.
(i) is a onto function from N to N.
(j) The subset relation on a collection of sets is a partial order.
4 (a) Prove by mathematical induction that
. [8]
(b) Prove that any amount of postage greater than or equal to 2 cents can be built
using only 2-cent and 3-cent stamps. [7]
5. Let be a binary relation on a set . Suppose that is symmetric and transitive
and every element of is related to some element by . Prove that is an equivalence relation. [15]
6. Fill in the table below with "Y" if the relation has the corresponding property, else
with "N". In the table the following abbreviations are used.
Ref: Reflexive, Irref: Irreflexive, Antisym: Antisymmetric, Sym: Symmetric, Tran: Transitive. [15]
Relation | Ref | Irref | Antisym | Sym | Tran |
on naturals | |||||
on naturals | |||||
"Taking same courses" relation on people | |||||
Ancestor-descendant relation on people | |||||
on naturals, where iff |
7. Let be a binary relation on a set .
Prove by mathematical induction that
. You may use the following
definition of :
Basis Clause: , where is the equality relation.
Inductive Clause: For any natural number ,
.
(Note that no extremal clause is necessary in this case because is
a natural number.) [15]