13 Quantifiers
13 Quantifiers
Quantifiers
Ahsan Azhar
Quantifiers
The area of logic that deals with predicates and quantifiers is called the predicate
calculus.
When the variables in the propositional function are assigned values, the resulting
statement becomes a proposition with certain truth value.
Quantification is another way “To create a proposition from propositional function”.
Quantification express the extent to which a predicate is true over a range of
elements.
Note: specifying domain is mandatory when quantifiers are used. Domain of
discourse or universe of discourse.
Universal Quantifier
DEFINITION
The universal quantification of is the statement
“ for all values of in the domain.”
The notation denotes the universal quantification of . Here is called the universal
quantifier. We read as “for all ” or “for every .” An element for which is false is called a
counterexample to .
Solution: Because P(x) is true for all real numbers x, the quantification is true.
Example: Let be the statement What is the truth value of the quantification where the
domain consists of all real numbers?
Solution: is not true for every real number , because, for instance,
is false. That is, is a counterexample for the statement
Thus, is false.
Universal Quantifier
Example: Suppose that is “.” To show that the statement is false where the universe of
discourse consists of all integers, we give a counterexample. We see that is a
counterexample becausewhen , so that is not greater than when
Looking for counterexamples to universally quantified statements is an important activity in
the study of mathematics.
Example: What does the statement mean if is “Computer is connected to the network” and
the domain consists of all computers on campus?
Solution: The statement means that for every computer on campus, that computer is
connected to the network. This statement can be expressed in
English as
“Every computer on campus is connected to the network.”
Universal Quantifier Over Finite Domains
When the domain of a quantifier is finite, that is, when all its elements can be listed,
quantified statements can be expressed using propositional logic.
In particular, when the elements of the domain are , where is a positive integer, the universal
quantification is the same as the conjunction
because the domain consists of the integers . Because , which is the statement “,” is false, it
follows that is false.
Universal Quantifier : Exercise
Exercise: Let be “ must take Discrete Mathematics course”, And let be “ is a
Computer Science student”. The Universe of discourse is all UCP students. Express
the statement mathematically:
We use the notation for the existential quantification of . Here is called the existential
quantifier.
Example: Let denote the statement “.” What is the truth value of the quantification , where
the domain consists of all real numbers?
Solution: Because is false for every real number x, the existential quantification of ,
which is , is false.
Existential Quantifier
Example: Let denote the statement What is the truth value of the quantification , where
the domain consists of all real numbers?
Solution: Because is sometimes true—for instance, when the existential quantification
of , which is , is true.
Example: Let denote the statement “.” What is the truth value of the quantification , where
the domain consists of all real numbers?
Solution: Because is false for every real number x, the existential quantification of ,
which is , is false.
Generally, an implicit assumption is made that all domains of discourse
for quantifiers are nonempty. If the domain is empty, then is false
whenever is a propositional function because when the domain is empty,
there can be no element in the domain for which is true.
Existential Quantifier Over Finite Domains
When the elements of the domain are , where is a positive integer, the existential
quantification is the same as the disjunction
Solution: Because the domain is the proposition is the same as the disjunction
Or we may write
Truth Values of Quantifiers
In general when are quantified statements are true or false.
“
This statement is a universal quantification, namely,
where is the statement “” and the domain consists of the students in your class.
The negation of this statement is
This is equivalent to
“”
Negating Quantified Expressions
Negation Of Universal Quantifier:
And this is simply the existential quantification of the negation of the original
propositional function, namely,
where is the statement “” and the domain consists of the students in your class.
The negation of this statement is
This is equivalent to
Negating Quantified Expressions
Negation Of Existential Quantifier:
And this is simply the universal quantification of the negation of the original
propositional function, namely,
Solution:
According to the statement
set of the students
is genius
So the statement is
Its negation
Negating Quantified Expressions
Example: What is the negation of the statement
Solution:
set of the students is genius
Which also can be written
Which is
And we know
Negating Quantified Expressions
Example: What is the negation of the statement
Solution:
According to the statement
set of the teachers
is cute
So the statement is
Its negation
Negating Quantified Expressions
Example: What is the negation of the statement
Solution
set of the teachers is cute
Which is
And we know
Negating Quantified Expressions
Example: Show that
Solution:
As we know
As implication is equivalent to
So