Negation of Nested Quantifiers
Learn how to negate a statement with nested quantifiers.
We'll cover the following...
How to negate nested quantifiers
For a domain , and predicate , we know that,
and
This is due to the DeMorgan’s laws. If we have nested quantifiers, we can use the same knowledge to deal with them.
Negation of
Assume an arbitrary domain and predicate on two variables, both quantified universally.
We can apply DeMorgan’s law twice as follows.
In the second step, we have,
Therefore,
Let’s look at some examples to see the effect of negation.
Examples
Assume the domain of integers and define the following predicate.
- :
Let’s make a statement by quantifying as follows:
- : The product of any two integers is greater than their sum.
The truth value of is false. We can construct a counterexample by taking to be three and to be a negative one. Because , is false.
Let’s look at :
-
-
-
: There exists a pair of integers, such that,
The truth value of is true, as we have already observed that such a pair exists.
Again, assume the domain of integers and define the following predicate:
- :
Let’s quantify to make a statement as follows:
- : For every pair of integers, the greater number has a greater square.
We can represent the negation of as follows:
- : There exists a pair of integers such that the square of the greater number is not greater.
If we take and , we observe a counterexample for .
Therefore, is false and is true.
Negation of
Apply DeMorgan’s law twice as follows:
In the second step, we have,
Therefore,
Examples
Let’s go through some examples.
Take the domain of integers and define the following predicate:
- :
Let’s quantify the variables in to make a statement as follows:
- : There exists a pair of integers, , such that,
If we look at , it will follow.
- : For every pair of integers,
If we take and , we observe that, .
So, is true and is false.
Again, consider the domain of integers and define the following predicate:
- :
Let’s make a statement by quantifying as follows.
- : There exists a pair of integers, such that,
The negation of statement is as follows:
- : For every pair of integers,
Let’s see if is true or its negation. If we take and , we observe that evaluates to zero. Therefore, is true.
Negation of
Again, we deal with nested quantifiers by applying DeMorgan’s law twice.
In the second step, we have,
So,
Examples
Take integers as the domain and define the following predicate:
- :
Let’s make a statement by quantifying as follows:
- : For every integer , we have an integer such that their sum is zero.
The negation of is as follows:
- : There is an integer whose sum with any integer is not zero.
If we take any non-zero integer as , then by taking , their sum is zero. For , take . Therefore, is true.
Consider the set, , of students enrolled in a discrete mathematics class and a set of grades Taking these two sets, we define the following predicate:
- : has grade in discrete mathematics.
Let’s quantify to make a statement as follows:
- : Every student in the discrete mathematics class got some grade.
The negation of is as follows:
- : There is a student in the discrete mathematics class who got no grade.
Negation of
We can apply DeMorgan’s law twice as follows:
In the second step, we have,
So,
Examples
Consider a town named Happyhill. Let be the set of people, and be the set of buildings in the Happyhill. With this, we can construct the following predicate.
- : is a post office, and can post his mail through it.
We can quantify to make a statement as follows.
- : There is at least one post office building in Happyhill, and everyone in Happyhill can post their mail through it.
We can write it in simple words as follows:
- : Happyhill has one or more post offices for everyone to post their mail.
We can negate as follows:
- : For every building, there is someone who can not post their mail through that building in Happyhill.
Considering the set of integers, we can construct the following predicate:
- : is an additive inverse of .
We can quantify to make a statement as follows:
- : There exists an integer that is an additive inverse of all integers.
We know that is a false statement. Let’s look at its negation:
- : Every integer is not additive inverse of some integer.
The negation of is true. We can take any integer; it is not an additive inverse of it’s successor.
Summary
Let’s summarize the results regarding the negation of nested quantifiers covered in this lesson.