Quantifiers and Negation of Quantified Statements
1. Quantifiers
Quantifiers are symbols used in predicate logic to express the quantity of elements in a domain for which a propositional function is true. They convert propositional functions into propositions.
There are two main types:
a) Universal Quantifier ( ∀ )
Denoted as:
∀xP(x)
Read as: “For all x, P(x) is true”
- This statement is true if P(x) is true for every x in the domain.
- It is false if there is at least one value of x for which P(x) is false.
Example:
Let P(x):x+1>x, over domain Z
Then ∀xP(x): True
b) Existential Quantifier ( ∃ )
Denoted as:
∃xP(x)
Read as: “There exists an x such that P(x) is true”
- This statement is true if there is at least one value of x in the domain for which P(x) is true.
- It is false if P(x) is false for every value of x.
Example:
Let Q(x):x2=16, over domain Z
Then ∃xQ(x): True (since x=4 or x=−4 work)
2. Negation of Quantified Statements
To negate quantified statements, you switch the quantifier and negate the predicate.
a) Negation of Universal Quantifier
¬(∀xP(x))≡∃x¬P(x)
Meaning: "It is not true that P(x) is true for all x"
⇨ "There exists at least one x for which P(x) is false"
b) Negation of Existential Quantifier
¬(∃xP(x))≡∀x¬P(x)
Meaning: "It is not true that there exists an x for which P(x) is true"
⇨ "For every x, P(x) is false"
3. Examples of Negating Quantified Statements
Example 1:
Statement:
∀x∈N, x+1>x
Negation:
∃x∈N such that x+1≤x
Example 2:
Statement:
∃x∈Z, x2=−1
Negation:
∀x∈Z, x2=−1
This negated statement is true because no integer squared gives −1.
Example 3 (Verbal Form):
Original: “All students passed the exam.”
Negation: “Some students did not pass the exam.”
Original: “There exists a number that is both even and prime.”
Negation: “No number is both even and prime.”
4. Quantifier Order Matters
Changing the order of quantifiers changes the meaning.
Example:
- ∀x∃y(x<y): For every x, there is a y greater than x (True in R)
- ∃y∀x(x<y): There is a single y that is greater than all x (False in R)