Discrete Mathematics Notes Unit 1
Discrete Mathematics Notes Unit 1
Solutions
Q1. State De Morgan's Laws
April/May-23(R16), JNTU-H, Q3(a), M[3]
Answer:
De Morgan's Laws describe how negations distribute over conjunctions and disjunctions:
¬(p ∧ q) = ¬p ∨ ¬q
¬(p ∨ q) = ¬p ∧ ¬q
Answer:
Definition of Conjunction:
Conjunction is a logical connective that combines two statements and results in true only if both
statements are true. It is represented by the symbol ∧ (AND). If p and q are two statements, then their
conjunction is written as p ∧ q.
Thus, p ∧ q is true only when both p and q are true; otherwise, it is false.
Answer:
Thus, ¬(−p) = p, which means applying double negation has no effect on the original statement.
Q4. The converse of a statement is given below. Write the inverse and
contrapositive statements. "If he is considerate of others, then a man is a
gentleman"
July/Aug.-24(R22), JNTU-H, Q1(b), M[1]
Answer:
Given Converse Statement is: "If he is considerate of others, then a man is a gentleman."
Answer:
Truth Table:
From the truth table, we observe that the columns for ¬(P ∧ Q) and (¬P ∨ ¬Q) have identical truth values
for all possible values of P and Q.
Conclusion: Since both expressions always yield the same truth values, we conclude that ¬(P ∧ Q) is
logically equivalent to (¬P ∨ ¬Q). This is also known as De Morgan's Theorem.
Answer:
Quantifiers are symbols used in predicate logic to specify the quantity of subjects to which a predicate
applies. There are two main types:
Universal Quantifier (∀): It denotes that a statement is true for all elements in a given domain.
Notation: ∀x P(x) means "for all x, P(x) is true." Example: "All humans are mortal" → ∀x (Human(x) →
Mortal(x))
Existential Quantifier (∃): It signifies that there exists at least one element in the domain for which the
predicate is true. Notation: ∃x P(x) means "there exists at least one x for which P(x) is true." Example:
"Some students passed the exam" → ∃x (Student(x) ∧ Passed(x))
These quantifiers help in expressing logical statements with variables more precisely in predicate calculus.
Answer:
Consider L.H.S.
∴ p → (q → r) ⇔ (p ∧ q) → r
Solution:
The truth table for the above compound statement is given below.
Solution:
Answer:
Q11. Find the PDNF and PCNF by constructing the truth table: (P ∧ Q) ∨ (¬P
∧ R) ∨ (Q ∧ R)
April/May-23(R16), JNTU-H, Q3(a), M[8]
Solution:
Q12. Obtain the principal conjunctive normal form of the formula given by
(¬P→R) ∧ (Q⇔P)
July/Aug.-24(R22), JNTU-H, Q2(a), M[5]
Solution:
Given statement (¬P → R) ∧ (Q ⇔ P)
Let, S = (P ∨ Q ⇔ P) ⇒ P ∧ Q ⇔ (P → Q)
Solution:
Let, M = (P ∧ Q) ∨ (¬P ∧ R)
= (T ∧ (Q ∨ ¬P)) ∧ (P ∨ R ∨ F) ∧ (Q ∨ R ∨ F))
= (Q ∨ ¬P ∨ F) ∧ (P ∨ R ∨ (Q ∧ ¬Q)) ∧ (Q ∨ R ∨ (P ∧ ¬P))
= (Q ∨ ¬P ∨ F) ∧ (P ∨ R ∨ (Q ∧ ¬Q)) ∧ (Q ∨ R ∨ (P ∧ ¬P))
Q14. Define Quantifiers and types of Quantifiers with examples. Write a brief
note on universal quantifiers. (Refer only Universal Qualifiers)
Dec.-24/Jan.-25(R22), JNTU-H, Q2(b), M[5]
Answer:
Quantifiers
Quantifiers are the words like all, some, none, at least one, that indicate the quantity.
1. Existential quantifier
2. Universal quantifier.
1. Existential Quantifier
It is denoted as ∃ x and refers to the word "some". It can be expressed in any of the following phrases.
2. Universal Quantifier
It is denoted as ∀ x, and refers to the word "all". It can be expressed in any of the following phrases.
Universal Quantifier
It denotes that a statement is true for all elements in a given domain. Notation: ∀x P(x) means "for all x,
P(x) is true." Example: "All humans are mortal" → ∀x (Human(x) → Mortal(x))
Existential Quantifier
It signifies that there exists at least one element in the domain for which the predicate is true. Notation:
∃x P(x) means "there exists at least one x for which P(x) is true." Example: "Some students passed the
exam" → ∃x (Student(x) ∧ Passed(x))
These quantifiers help in expressing logical statements with variables more precisely in predicate calculus.
For any x and y, if x is intelligent than y, then it is not true that y is intelligent than x.
∀x∀y.s(x,y) →¬ s(y,x)