1.4 Predicates And Quantifiers

Ex: 1, 3, 6, 8, 9, 10, 14, 16

  • Propositional function P(x)P(x)
  • Convert a propositional function to a proposition, and evaluate it.
  • Quantification
    1. Universal quantification - ∀xP(x)≡P(x1)∧P(x2)∧⋯P(xn)\forall x P(x) \equiv P(x_1) \land P(x_2) \land \cdots P(x_n)
    2. Existential quantification - ∃xP(x)≡P(x1)∨P(x2)∨⋯P(xn)\exists x P(x) \equiv P(x_1) \lor P(x_2) \lor \cdots P(x_n)
  • Negation of quantified expressions
    1. ¬∀xP(x)≡∃x¬P(x)\lnot \forall x P(x) \equiv \exists x \neg P(x)
    2. ¬∃xP(x)≡∀x¬P(x)\lnot \exists x P(x) \equiv \forall x \neg P(x)

Homework

p74: 11, 13, 30, 36, 52

11. Let P(x)P(x) be the statement "x=x2.""x = x^2." If the domain consists of the integers, what are these truth values?
a) P(0)P(0)   b) P(1)P(1)   c) P(2)P(2)   d) P(−1)P(-1)   e) ∀xP(x)\forall xP(x)   f) ∃xP(x)\exists xP(x)

Solution

a) P(0)P(0) is the statement "0=020 = 0^2", and it's true.
b) P(1)P(1) is the statement "1=121 = 1^2", and it's true.
c) P(2)P(2) is the statement "2=222 = 2^2", and it's false.
d) P(−1)P(-1) is the statement "−1=(−1)2-1 = (-1)^2", and it's false.
e) P(x)P(x) is not true for every integer, for instance, P(−1)P(-1) is false. That is, x=−1x=-1 is a counterexample for ∀xP(x)\forall xP(x). Thus ∀xP(x)\forall xP(x) is false.
f) P(x)P(x) is sometimes true, for instance, P(0)P(0) is true. Thus ∃xP(x)\exists xP(x) is true.

13. Determine the truth value of each of these statements if the domain consists of all integers.
a) ∀n(n+1>n)\forall n(n + 1 > n)   b) ∃n(2n=3n)\exists n(2n = 3n)   c) ∃n(n=−n)\exists n(n = -n)   d) ∀n(3n⩽4n)\forall n(3n \leqslant 4n)

Solution

a) n+1>nn + 1 > n is true for all integers. Thus ∀n(n+1>n)\forall n(n + 1 > n) is true.
b) 2n=3n2n = 3n is sometimes true, for instance, 2×0=3×02\times 0 = 3 \times 0. Thus ∃n(2n=3n)\exists n(2n = 3n) is true.
c) n=−nn = -n is sometimes true, for instance, 0=−(0)0 = -(0). Thus ∃n(n=−n)\exists n(n = -n) is true.
d) 3n⩽4n3n \leqslant 4n is not true for every integer, for instance, 3×(−1)⩽4×(−1)3 \times (-1) \leqslant 4 \times (-1) is false. That is x=−1x=-1 is a counterexample for ∀n(3n⩽4n)\forall n(3n \leqslant 4n). Thus ∀n(3n⩽4n)\forall n(3n \leqslant 4n) is false.

30. Suppose the domain of the propositional function P(x,y)P(x, y) consists of pairs xx and yy, where xx is 1, 2, or 3 and yy is 1, 2, or 3. Write out these propositions using disjunctions and conjunctions.
a) ∃xP(x,3)\exists x P (x, 3)   b) ∀yP(1,y)\forall yP(1, y)   c) ∃y¬P(2,y)\exists y \neg P (2, y)   d) ∀x¬P(x,2)\forall x \neg P (x, 2)

Solution

a) ∃xP(x,3)⇔P(1,3)∨P(2,3)∨P(3,3)\exists x P (x, 3) \Bi P(1, 3) \lor P(2, 3) \lor P(3, 3)
b) ∀yP(1,y)⇔P(1,1)∧P(1,2)∧P(1,3)\forall yP(1, y) \Bi P(1, 1) \land P(1, 2) \land P(1, 3)
c) ∃y¬P(2,y)⇔¬P(2,1)∨¬P(2,2)∨¬P(2,3)\exists y \neg P (2, y) \Bi \neg P(2, 1) \lor \neg P(2, 2) \lor \neg P(2, 3)
d) ∀x¬P(x,2)⇔¬P(1,2)∧¬P(2,2)∧P(3,2)\forall x \neg P (x, 2) \Bi \neg P(1, 2) \land \neg P(2, 2) \land P(3, 2)

36. Find a counterexample, if possible, to these universally quantified statements, where the domain for all variables consists of all real numbers.
a) ∀x(x2=x)\forall x(x^2=x)   b) ∀x(x2=2)\forall x(x^2 =2)   c) ∀x(∣x∣>0)\forall x(|x| > 0)

Solution

a) x=2x=2 is a counterexample. When x=2x=2, x2=xx^2=x is false.
b) x=2x=2 is a counterexample. When x=2x=2, x2=2x^2=2 is false.
c) x=0x=0 is a counterexample. When x=0x=0, ∣x∣>0|x|>0 is false.

52. As mentioned in the text, the notation ∃!xP(x)\exists !xP(x) denotes "There exists a unique xx such that P(x)P(x) is true." If the domain consists of all integers, what are the truth values of these statements?
a) ∃!x(x>1)\exists !x(x > 1)   b) ∃!x(x2=1)\exists !x(x^2 = 1)   c) ∃!x(x+3=2x)\exists !x(x + 3 = 2x)   d) ∃!x(x=x+1)\exists !x(x = x + 1)

Solution

a) ∃!x(x>1)\exists !x(x > 1) is false. Because there exists more than one xx such that x>1x>1, for instance, x=2x=2, x=3x=3.
b) ∃!x(x2=1)\exists !x(x^2 = 1) is false. Because there exists more than one xx such that x2=1x^2 = 1, for instance, x=1x=1, x=−1x=-1.
c) ∃!x(x+3=2x)\exists !x(x + 3 = 2x) is true. x+3=2xx + 3 = 2x is true only if x=3x=3.
d) ∃!x(x=x+1)\exists !x(x = x + 1) is false. Because x=x+1x=x+1 is always false for all integers.