Predicates and Quantifiers - Set 2
Last Updated :
25 Apr, 2025
Before diving into the article, you need to know about predicates, quantifiers, and propositional logic rules.
Logical Equivalences involving Quantifiers
Two logical statements involving predicates and quantifiers are considered equivalent if and only if they have the same truth value no matter which predicates are substituted into these statements irrespective of the domain used for the variables in the propositions.
There are two very important equivalences involving quantifiers :
- ∀x (P(x) ∧ Q(x)) ≡∀x P(x) ∧ ∀x Q(x)
- ∃x (P(x) ∨ Q(x)) ≡ ∃x P(x) ∨ ∃x Q(x)
The question arises whether the equivalences would hold if the conjunction is replaced with disjunction in (1) and disjunction is replaced with the conjunction in (2).
The answer may seem like Yes, but on second thought, you would realize that the answer is No. To prove why they are not equivalent, we must understand what makes two statements equivalent as explained in the previous article Propositional Equivalences.
If after interchanging, they are equivalent, then,
∀x (P(x) ∨ Q(x)) ⇔ ∀x P(x) ∨ ∀x Q(x)
and
∃x (P(x) ∧ Q(x)) ⇔ ∃x P(x) ∧ ∃x Q(x)
both must be true.
Let us first check for ∀x (P(x) ∨ Q(x)) ⇔ ∀x P(x) ∨ ∀x Q(x). Is ∀x ((P(x) ∨ Q(x)) ⇒∀x P(x) ∨ ∀x Q(x) is true?
The answer is No.
Proof:
Suppose the hypothesis ∀x (P(x) ∨ Q(x)) is true. This means there are certain x values for which P(x) is true and others where Q(x) is true. It is also possible that for some x values, both P(x) and Q(x) are true. But in any case, all x values must either satisfy P(x), Q(x), or both, since the hypothesis is true. The conclusion (right-hand side) is true when the disjunction (P(x) ∨ Q(x)) is true.
From the reasoning above, we can see that P(x) is true for some values of x, and Q(x) is true for others. Thus, both "∀x P(x)" and "∀x Q(x)" are false, since neither of them is true for all values of x.
If P(x) and Q(x) are true for all x, then this equivalence would be true. However, in all other cases, it is false. Therefore,
∀x P(x) ∨ ∀x Q(x) ≡ F
According to our assumption, the hypothesis is true, but our conclusion turned out to be false. This cannot be true for a conditional, therefore the conditional
∀x (P(x) ∨ Q(x)) ⇒ ∀x P(x) ∨ ∀x Q(x) is false.
Since one conditional is false, the complete biconditional is false.
Hence, ∀x(P(x) ∨ Q(x)) \not\equiv ∀xP(x) ∨ ∀xQ(x)
In a similar way, it can also be proved that,
∃x(P(x) ∧ Q(x)) \not\equiv ∃xP(x) ∧ ∃xQ(x)
As an exercise, prove the above non-equivalence and also the equivalences involving quantifiers stated above. Remember to prove the bi-conditional and not just one conditional.
Negation of Quantifiers
Rules of Negations :
When we negate statements with quantifiers, the type of quantifier is reversed. A negated universal quantifier turns into an existential quantifier, and a negated existential quantifier turns into a universal quantifier.
¬∀x P(x) ≡ ∃x ¬P(x)
"It is not true that for all x, P(x) is true" is same as "There exists an x such that P(x) is false."
Similarly:
¬∃x P(x) ≡∀x ¬P(x)
"There does not exist an x such that P(x) is true" is same as "For all x, P(x) is false."
Example of Negating Universal Quantifier :
Consider the statement : ∀x P(x) as
"Every Computer Science Graduate has taken a course in Discrete Mathematics."
The above statement is a universal quantification. Here, P(x) is the statement "x has taken a course in Discrete Mathematics" and the domain of x is all Computer Science Graduates.
The negation of this statement is ¬∀x P(x) and can be expressed using an existential quantification as ∃x ¬P(x) :
"It is not the case that every computer science graduate has taken a course in Discrete Mathematics"
or
"There is a computer science graduate who has not taken a course in Discrete Mathematics".
Nested Quantifiers
It is possible to use two quantifiers such that one quantifier is within the scope of the other one. In such cases the quantifiers are said to be nested. For example,
∀x ∃y (x + y = 0)
The above statement is interpreted as
"For all x, there exists a y such that x + y = 0"
Note: The relative order in which the quantifiers are placed is important unless all the quantifiers are of the same kind i.e. all are universal quantifiers or all are existential quantifiers.
GATE CS Corner Questions
Majority of the questions asked in GATE from Discrete Mathematics focus on Predicate Logic. Almost all of them involve quantifiers. Practicing the following questions will help you test your knowledge. All questions have been asked in GATE in previous years or in GATE Mock Tests.
Similar Reads
Propositional Logic Logic is the basis of all mathematical reasoning and all automated reasoning. The rules of logic specify the meaning of mathematical statements. These rules help us understand and reason with statements such as -\exists~x~such~that~x~\neq~a^2~+~b^2,~where~\:x,~a,~b\in~ZWhich in Simple English means
10 min read
Propositions Laws and Algebra Propositional logic is the foundation of logical reasoning, playing a vital role in understanding mathematical proofs and algorithms. It is especially important for college students preparing for competitive exams like GATE.This article explores: Fundamental laws and concepts in the algebra of propo
7 min read
Propositional Equivalences Propositional equivalences are fundamental concepts in logic that allow us to simplify and manipulate logical statements. Understanding these equivalences is crucial in computer science, engineering, and mathematics, as they are used to design circuits, optimize algorithms, and prove theorems. This
7 min read
Predicates and Quantifiers Predicates and Quantifiers are fundamental concepts in mathematical logic, essential for expressing statements and reasoning about the properties of objects within a domain. These concepts are widely used in computer science, engineering, and mathematics to formulate precise and logical statements.
6 min read
Predicates and Quantifiers - Set 2 Before diving into the article, you need to know about predicates, quantifiers, and propositional logic rules.Logical Equivalences involving QuantifiersTwo logical statements involving predicates and quantifiers are considered equivalent if and only if they have the same truth value no matter which
5 min read
Mathematics | Some Theorems on Nested Quantifiers Quantifiers are expressions that indicate the scope of the term to which they are attached, they are predicates. A predicate is a property the subject of the statement can have. For example, in the statement "the sum of x and y is greater than 5", the predicate 'Q' is- sum is greater than 5, and the
6 min read
Rules of Inference Rules of Inference: Rules of inference are logical tools used to derive conclusions from premises. They form the foundation of logical reasoning, allowing us to build arguments, prove theorems, and solve problems in mathematics, computer science, and philosophy. Understanding these rules is crucial
9 min read
PDNF and PCNF in Discrete Mathematics PDNF (Principal Disjunctive Normal Form)It stands for Principal Disjunctive Normal Form. It refers to the Sum of Products, i.e., SOP. For eg. : If P, Q, and R are the variables then (P. Q'. R) + (P' . Q . R) + (P . Q . R') is an example of an expression in PDNF. Here '+' i.e. sum is the main operato
4 min read
Set Theory Set theory is a branch of mathematics that deals with collections of objects, called sets. A set is simply a collection of distinct elements, such as numbers, letters, or even everyday objects, that share a common property or rule.Example of SetsSome examples of sets include:A set of fruits: {apple,
3 min read
Set Operations A set is simply a collection of distinct objects. These objects can be numbers, letters, or even peopleâanything! We denote a set using curly brackets.For example: A = {1, 2, 3}Set Operations can be defined as the operations performed on two or more sets to obtain a single set containing a combinati
10 min read