Skip to content

Mathematics and Statistics · Ch 1 — Mathematical Logic

Negation of Compound Statements and Quantifiers

6

Negation of Compound Statements and Quantifiers

Negating a compound statement correctly is a skill in its own right, because the negation must move inside the connectives, not merely sit in front of the whole sentence. The tools are De Morgan's laws, the conditional equivalence, and involution.

Negation of the basic compounds.

  • Conjunction: ∼(p∧q)≡∼p∨∼q\sim(p \wedge q) \equiv \sim p \vee \sim q — "not (both pp and qq)" means "pp is false or qq is false".
  • Disjunction: ∼(p∨q)≡∼p∧∼q\sim(p \vee q) \equiv \sim p \wedge \sim q — "not (either pp or qq)" means "both are false".
  • Conditional: since p→q≡∼p∨qp \rightarrow q \equiv \sim p \vee q, its negation is ∼(p→q)≡∼(∼p∨q)≡p∧∼q.\sim(p \rightarrow q) \equiv \sim(\sim p \vee q) \equiv p \wedge \sim q. So "it is not the case that if pp then qq" means "pp holds and qq fails". This is the single most common negation asked, and the one most often got wrong.
  • Biconditional: ∼(p↔q)≡(p∧∼q)∨(∼p∧q)\sim(p \leftrightarrow q) \equiv (p \wedge \sim q) \vee (\sim p \wedge q) — the two parts have different truth values.

Quantifiers. Many mathematical statements make a claim about all or some members of a set. The two quantifiers capture this:

  • The universal quantifier ∀\forall reads "for all" / "for every". The statement ∀x∈A, p(x)\forall x \in A,\ p(x) asserts that p(x)p(x) is true for every xx in the set AA.
  • The existential quantifier ∃\exists reads "there exists" / "for some". The statement ∃x∈A, p(x)\exists x \in A,\ p(x) asserts that p(x)p(x) is true for at least one xx in AA.

For example, over the set of natural numbers N\mathbb{N}, the statement "∀x∈N, x+1>x\forall x \in \mathbb{N},\ x + 1 > x" is true, while "∃x∈N, x+5=2\exists x \in \mathbb{N},\ x + 5 = 2" is false (no natural number satisfies it). …

Definition 1Negation of a conditional

The negation of 'if p then q' is 'p and not q': ~(p -> q) = p and (not q), because p -> q is equivalent to (not p) or q …

Definition 2Quantifier

A symbol expressing how many members of a set satisfy an open sentence: the universal quantifier (for all) claims it holds for every member; the existential quantifier (there exists) claims …

Definition 3Negation of a quantified statement

Negating a quantified statement swaps the quantifier and negates the inner sentence: not(for all x, p(x)) = there exists x with not p(x); not(there exists x, …