Assignment 03 Solution
Assignment 03 Solution
Problem 1
Write NEGATION of the following statements (Careful, NEGATION is not the same as INVERSE)
a) If P is a square, then P is a rectangle.
b) If n is prime, then n is odd or n is 2.
c) If Aangloo is Meena's father, then Baangloo is her uncle and Bingli is her Aunt.
d) A positive integer is prime only if it has no divisors other than 1 and itself.
e) Being divisible by 3 is a necessary condition for this number to be divisible by 9.
Negation:
a) 𝑃 is a square and it is not a rectangle.
b) 𝑛 is prime and 𝑛 is not odd and 𝑛 is not 2.
c) Angloo is Meena’s father and Bangloo is not her uncle OR Bingli is
not her aunt.
d) A positive integer is prime and it has divisor other 1 or itself.
e) A number is divisible by 9 and it is not divisible by 3.
Problem 2
Write CONVERSE of the following statements.
a) If P is a square, then P is a rectangle.
b) If n is prime, then n is odd or n is 2.
c) If Aangloo is Meena's father, then Baangloo is her uncle and Bingli is her Aunt.
d) A positive integer is prime only if it has no divisors other than 1 and itself.
e) Being divisible by 3 is a necessary condition for this number to be divisible by 9.
Converse:
a) If 𝑃 is a rectangle, then 𝑃 is a square.
b) If 𝑛 is odd or 𝑛 is 2, then 𝑛 is prime.
c) If Baangloo is her uncle and Bingli is her Aunt, then Aangloo is
Meena's father.
d) If a number has no divisor other than 1 and itself, then it is a
prime number.
e) Being divisible by 9 is a necessary condition for the number to be
divisible by 3
(or we may write… If a number is divisible by 3, then it is divisible
by 9)
Problem 3
Write CONTRPOSITIVE of the following statements.
a) If P is a square, then P is a rectangle.
b) If n is prime, then n is odd or n is 2.
c) If Aangloo is Meena's father, then Baangloo is her uncle and Bingli is her Aunt.
d) A positive integer is prime only if it has no divisors other than 1 and itself.
e) Being divisible by 3 is a necessary condition for this number to be divisible by 9.
Contrapositive:
a) If 𝑃 is not a rectangle, then 𝑃 is not a square.
b) If 𝑛 is not odd and 𝑛 is not 2, then 𝑛 is not prime.
c) If Baangloo is nor her uncle OR Bingli is not her Aunt, then Aangloo
is not Meena's father.
d) If a number has divisor other than 1 or itself, then it is a not
prime number.
e) Being not divisible by 9 is a necessary condition for the number to
be not divisible by 3.
(or we may write… If a number is not divisible by 3, then it is not
divisible by 9)
Problem 4
Discrete Structures: Assignment # 03 Solution
a) If you have flu then you you miss the final exam.
b) You do not miss the final exam if and only if you pass the course.
c) If you miss the final exam then you do not pass the course.
d) You have the flu or you miss the final exam or you pass the course.
e) If you have the flu then you do not pass the course or if you miss the
final exam then you do not pass the course.
Problem 5
a)
𝒑 ¬𝒑 𝒑 → ¬𝒑
0 1 1
1 0 0
b)
𝒑 ¬𝒑 𝒑 ↔ ¬𝒑
0 1 0
1 0 0
c)
𝒑 𝒒 𝒑∨𝒒 𝒑 ⊕ (𝒑 ∨ 𝒒)
0 0 0 0
0 1 1 1
1 0 1 0
1 1 1 0
d)
𝒑 𝒒 𝒑∧𝒒 𝒑∨𝒒 (𝒑 ∧ 𝒒) → (𝒑 ∨ 𝒒)
0 0 0 0 1
0 1 0 1 1
1 0 0 1 1
1 1 1 1 1
e)
𝒑 𝒒 ¬𝒑 𝒒 → ¬𝒑 𝒑↔𝒒 (𝒒 → ¬𝒑) ↔
(𝒑 ↔ 𝒒)
0 0 1 1 1 1
0 1 1 1 0 0
Discrete Structures: Assignment # 03 Solution
1 0 0 1 0 0
1 1 0 0 1 0
Problem 6
Problem 8 –
Express the following statements using quantifiers, variables, and the predicates, with following
information:
𝐷 is set of all students
Discrete Structures: Assignment # 03 Solution
Problem 09 –
1. Let 𝐷 = {1,2,3, . . ,9}. Determine the truth value of each of the following statements.
a. (∀𝑥 ∈ 𝐷) 𝑥 + 4 < 15
b. (∃𝑥 ∈ 𝐷) 𝑥 + 4 = 10
c. (∀𝑥 ∈ 𝐷) 𝑥 + 4 ≤ 10
d. (∃𝑥 ∈ 𝐷) 𝑥 + 5 > 15
2. Let 𝐾(𝑥): 𝑥 is a student, 𝑀(𝑥): 𝑥 is clever, 𝑁(𝑥): 𝑥 is successful. Express the followings
using quantifiers.
a. There exists a student
b. Some students are clever
c. Some students are not successful
Problem 10 -
1. Show that ¬(𝑝⋁(¬𝑝⋀𝑞)) and ¬𝑝⋀¬𝑞 are logically equivalent by developing a series of logical
equivalencies.
Discrete Structures: Assignment # 03 Solution
2. Show that (𝑝 → 𝑞) → 𝑞 and 𝑝⋁𝑞 are logically equivalent by developing a series of logical
equivalencies.
Discrete Structures: Assignment # 03 Solution
3. Show that (¬𝑝⋁𝑞)⋀(𝑝⋀(𝑝⋀𝑞)) and 𝑝⋀𝑞 are logically equivalent by developing a series of
logical equivalencies.