Quantifier
A quantifier specifies how many elements in the domain of a variable a logical statement is making a claim about. In other words, it defines the scope of the assertion. A statement with a universal or existential quantifier is a quantified statement. Quantifiers are applied before any logical operations, so be sure to make use of parentheses to indicate order.
Notably, quantifiers bind variables, allowing predicates to become propositions whose truth values can be determined. The variable bound by a quantifier is always specified immediately after the quantifier symbol. If a predicate contains multiple variables, all must be bound (either by quantifiers or by substituting in specific values) in order for it to become a proposition.
Universal quantifiers
Applying universal quantifiers to statements results in universal statements. If \(P(x)\) is a predicate, then \(\forall x P(x)\) is the proposition "for all \(x\), \(P(x)\) is true," or, reworded, "for every \(x\), \(P(x)\) is true." In order for this universal statement to be true, \(P(x)\) must be true for every element in the domain of \(x.\)
If \(x\) has a finite domain \(D\) of size \(n\), written as \(D=\set {a_1, ... a_n}\):
As you can see, universally quantifying the predicate \(P(x)\) results in the proposition \(\forall x P(x)\), which is logically equivalent to the conjunction of all propositions that result from evaluating that predicate for every element in the domain of \(x.\)
When the domain is small, you can prove a universal statement is true by checking that the predicate is true for every element in the domain. However, when the domain is large or infinite, this becomes totally impractical! That's why universal generalization is preferred, since we often work with infinite domains. To show a universal statement is false, come up with a counterexample.
Existential quantifiers
Applying existential quantifiers to statements results in existential statements. If \(P(x)\) is a predicate, then \(\exists x P(x)\) is the proposition "there exists an \(x\) such that \(P(x)\) is true." In order for this existential statement to be true, \(P(x)\) must be true for at least one element in the domain of \(x.\)
If \(x\) has a finite domain \(D\) of size \(n\), written as \(D=\set {a_1, ... a_n}\):
As you can see, existentially quantifying the predicate \(P(x)\) results in the proposition \(\exists x P(x)\), which is logically equivalent to the disjunction of all propositions that result from evaluating that predicate for every element in the domain of \(x.\)
You can prove an existential statement is true by coming up with an example, an element in the domain for which the predicate is true. To show an existential statement is false, you will have to prove its negation true, which, by De Morgan's law for quantified statements, is a universal statement. Therefore, you'll need to prove the negation with universal generalization.