Predicates and Quantifiers – Set 2
Last Updated :
28 Jan, 2024
Prerequisite :
Predicates and Quantifiers Set 1
,
Propositional EquivalencesLogical 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, given below-
1. [Tex]\forall x(P(x)\wedge Q(x)) \equiv \forall xP(x) \wedge \forall xQ(x)[/Tex]
2. [Tex]\exists x(P(x)\vee Q(x)) \equiv \exists xP(x) \vee \exists xQ(x)[/Tex]
One is compelled to think 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 two statements
[Tex]P
[/Tex]
and
[Tex]Q
[/Tex]
are equivalent if-
[Tex]P\Leftrightarrow Q[/Tex], which can also be restated as [Tex]P\Rightarrow Q \wedge Q\Rightarrow P[/Tex].
If they are equivalent then,
[Tex]\forall x(P(x)\vee Q(x)) \Leftrightarrow \forall xP(x) \vee \forall xQ(x)
[/Tex]
and,
[Tex]\exists x(P(x)\wedge Q(x)) \Leftrightarrow \exists xP(x) \wedge \exists xQ(x)
[/Tex]
both must be true. Let us first check for
[Tex]\forall x(P(x)\vee Q(x)) \Leftrightarrow \forall xP(x) \vee \forall xQ(x)
[/Tex]
. Is
[Tex]\forall x(P(x)\vee Q(x)) \Rightarrow \forall xP(x) \vee \forall xQ(x)
[/Tex]
true? No.
Proof –
Suppose that the Hypothesis
[Tex]\forall x(P(x)\vee Q(x))
[/Tex]
is true. That means there are certain
[Tex]x
[/Tex]
for which
[Tex]P(x)
[/Tex]
is true and others where
[Tex]Q(x)
[/Tex]
is true. It is also possible that for some
[Tex]x
[/Tex]
both
[Tex]P(x)
[/Tex]
and
[Tex]Q(x)
[/Tex]
are true. But in any case, all
[Tex]x
[/Tex]
must either satisfy
[Tex]P(x)
[/Tex]
or
[Tex]Q(x)
[/Tex]
or both, since the hypothesis is true. The conclusion(RHS) is true when the disjunction is true. As is clear from the above reasoning that
[Tex]P(x)
[/Tex]
is true for some values of
[Tex]x
[/Tex]
and
[Tex]Q(x)
[/Tex]
for some. Thus both
[Tex]\forall xP(x)
[/Tex]
and
[Tex]\forall xQ(x)
[/Tex]
are false, since neither of them are true for all values of
[Tex]x
[/Tex]
. In the case where
[Tex]P(x)
[/Tex]
and
[Tex]Q(x)
[/Tex]
hold for all
[Tex]x
[/Tex]
then this equivalence is true, but otherwise it is false. So,
[Tex]\forall xP(x) \vee \forall xQ(x) \equiv F
[/Tex]
. 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
[Tex]\forall x(P(x)\vee Q(x)) \Rightarrow \forall xP(x) \vee \forall xQ(x)
[/Tex]
is false.
Since one conditional is false, the complete biconditional is false.
Hence, [Tex]\forall x(P(x)\vee Q(x)) \not\equiv \forall xP(x) \vee \forall xQ(x)[/Tex].
In a similar way, it can also be proved that,
[Tex]\exists x(P(x)\wedge Q(x)) \not\equiv \exists xP(x) \wedge \exists xQ(x)
[/Tex]
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.
Negating Quantified statements
Consider the statement “Every Computer Science Graduate has taken a course in Discrete Mathematics.” The above statement is a universal quantification,
[Tex]xP(x)
[/Tex]
where
[Tex]P(x)
[/Tex]
is the statement “x has taken a course in Discrete Mathematics” and the domain of
[Tex]x
[/Tex]
is all Computer Science Graduates. The negation of this statement is “It is not the case that every computer science graduate has taken a course in Discrete Mathematics” or simply “There is a computer science graduate who has not taken a course in Discrete Mathematics”. The above statement can be expressed using an existential quantification.
[Tex]\exists x \neg P(x)
[/Tex]
Thus, we get the following logical equivalence-
[Tex]\neg \forall xP(x) \equiv \exists x \neg P(x)
[/Tex]
Similarly,
[Tex]\neg \exists xP(x) \equiv \forall x \neg P(x)
[/Tex]
These equivalences are nothing but rules for negations of quantifiers. They are also known as
De Morgans’s laws for quantifiers.
In summary,
[Tex]\begin{tabular}{||c||c||c||c||}\hlineNegation & Equivalent statement & When true? & When false?\\\hline\hline\neg \exists xP(x) & \forall x \neg P(x) & P(x) \equiv F,\:for\:all\:x & P(x) \equiv T, \:for\:some\:x \\\hline\neg \forall xP(x) & \exists x \neg P(x) & \neg P(x) \equiv T,\:for\:some\:x & P(x) \equiv T, \:for\:all\:x \\\hline\end{tabular}[/Tex]
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,
[Tex]\forall x \exists y (x + y = 0)
[/Tex]
The above statement is read as “For all
[Tex]x
[/Tex]
, there exists a
[Tex]y
[/Tex]
such that
[Tex]x +
y = 0
[/Tex]
.
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.
In summary,
[Tex]\begin{tabular}{||c||c||c||}\hlineStatement & When true? & When False? \\\hline\hline\forall x \forall y P(x,y) & P(x,y) \equiv T\: for\: every\: (x,\:y)& P(x,y) \equiv F \: for \:some\:(x,\:y)\\\forall y \forall x P(x,y) & & \\\hline \forall x \exists y P(x,y) & \shortstack{For\:every\:x\:there\:is\:a\:y\:such\:that \\ P(x,y) \equiv T}&\shortstack{There\:is\:an\:x\:such\:that\\P(x,y) \equiv F \: for \:all\:y}\\[3ex]\hline\exists x \forall y P(x,y) &\shortstack{There\:is\:an\:x\:such\:that\\P(x,y) \equiv T \: for \:all\:y}& \shortstack{For\:every\:x\:there\:is\:a\:y\:such\:that\\P(x,y) \equiv F\:}\\[3ex]\hline\exists x \exists y P(x,y) & P(x,y) \equiv T\: for\: some\: (x,\:y)& P(x,y) \equiv F \: for \:all\:(x,\:y)\\\exists y \exists x P(x,y) & & \\\hline\end{tabular}[/Tex]
GATE CS Corner Questions
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. It is highly recommended that you practice them. 1.
GATE CS 2012, Question 17
2.
GATE CS 2013, Question 27
3.
GATE CS 2013, Question 47
4.
GATE CS 2010, Question 30
5.
GATE CS 2009, Question 26
6.
GATE CS 2005, Question 36
7.
GATE CS 2016 Set-2, Question 37 Majority of the questions asked in GATE from Discrete Mathematics focus on Predicate Logic. Almost all of them involve quantifiers.
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 - [Tex]\exists~x~such~that~x~\neq~a^2~+~b^2,~where~\:x,~a,~b\in~Z[/Tex]Which in Simple En
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 prop
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.
7 min read
Predicates and Quantifiers - Set 2
Prerequisite : Predicates and Quantifiers Set 1 , Propositional EquivalencesLogical 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 t
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
10 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. These collections are called sets. A set is simply a group of distinct things, like numbers, letters, or even everyday objects, that are grouped together based on some common property. A set is a well-defined collection of
3 min read
Set Operations
Set Operations can be defined as the operations performed on two or more sets to obtain a single set containing a combination of elements from all the sets being operated upon. There are three types of operation on sets in Mathematics; they are The Union of Sets (âª), the Intersection of Sets (â©), an
7 min read