Discrete Mathematics - Predicate Logic
Discrete Mathematics - Predicate Logic
Predicate Logic deals with predicates, which are propositions containing variables.
Quantifiers
The variable of predicates is quantified by quantifiers. There are two types of quantifier in predicate
logic − Universal Quantifier and Existential Quantifier.
Universal Quantifier
Universal quantifier states that the statements within its scope are true for every value of the
specific variable. It is denoted by the symbol ∀
∀ .
∀
∀xxP
P((x
x)) is read as for every value of x, P(x) is true.
https://www.tutorialspoint.com/discrete_mathematics/discrete_mathematics_predicate_logic.htm 1/2
8/10/2020 Discrete Mathematics - Predicate Logic - Tutorialspoint
is the predicate which denotes x is mortal and the universe of discourse is all men.
Existential Quantifier
Existential quantifier states that the statements within its scope are true for some values of the
specific variable. It is denoted by the symbol ∃
∃ .
∃
∃xxP
P((x
x)) is read as for some values of x, P(x) is true.
Example − "Some people are dishonest" can be transformed into the propositional form
∃
∃xxP
P((x
x)) where P(x) is the predicate which denotes x is dishonest and the universe of discourse
is some people.
Nested Quantifiers
If we use a quantifier that appears within the scope of another quantifier, it is called nested
quantifier.
Example
∀
∀ a
a∃∃b
bPP(
(xx,, y
y)) where P
P((a
a,, b
b)) denotes a
a++b
b =
= 0
0
∀
∀ a
a∀∀b
b∀∀c
cPP(
(aa,, b
b,, c
c)) where P
P((a
a,, b
b)) denotes a
a++(
(bb+
+cc)
) =
= (
(aa+
+bb)
)++c
c
Note − ∀
∀aa∃
∃bbP
P((x
x,, y
y)) ≠
≠ ∃
∃aa∀
∀bbP
P((x
x,, y
y))
https://www.tutorialspoint.com/discrete_mathematics/discrete_mathematics_predicate_logic.htm 2/2