PYQ Vault

HSC Maths · Mathematical Logic

Quantifiers, Duals and Negations

The quantifiers 'for all' and 'there exists', the dual of a statement pattern, and the rules for negating compound and quantified statements.

Why this matters

80 questions. Eight were set in board papers: the negation of 'p and (if q then r)' as an MCQ (2016 and 2022), the dual of a pattern (2024, and twice in 2026), the negation of a 'there exists' statement (2025), and which quantified statement about a set is not true (2025 and 2026). The textbook adds dozens of negations with the rule named, and duals with t and c.

Concept 1 of 4: Quantifiers and their truth values

'For all' makes a promise about every member of a set, so one member that fails breaks it. 'There exists' asks for just one member that works, so one example is enough. Test the members of the set one by one.

Definition

  • 'There exists' is the existential quantifier, written ∃\exists. 'For all' is the universal quantifier, written ∀\forall.
  • Every quantified statement has a collection (a set) and a condition.
  • A ∀\forall statement is true if all objects in the collection satisfy the condition, and false if at least one object does not.
  • An ∃\exists statement is true if at least one object satisfies the condition, and false if no object does.

Worked example

If A={2,4,6,8}A = \{2, 4, 6, 8\}, determine the truth value of (i) ∀x∈A, x+3>6\forall x \in A,\ x + 3 > 6 (ii) ∃x∈A\exists x \in A such that x2=36x^2 = 36.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

Maharashtra HSC Class 12 · 2026 · Q. 1. (i)Moderate

Example 1 · Mathematical Logic · Quantifiers, Duality and Negation of Statements

If A={1,2,3,4,5}A = \{1, 2, 3, 4, 5\} then which of the following is not true?

Testing only the first element

For ∀\forall, check every element, or find one that fails. For ∃\exists, keep going until you find one that works. Stopping at the first element answers neither.

Using a value outside the set

A witness for ∃x∈A\exists x \in A must belong to A. If the equation is solved only by a number outside A, the statement is false.

Concept 2 of 4: Negating a quantified statement

To deny 'every student passed', you do not need 'no student passed'; one student who failed is enough. So the negation of 'for all' is 'there exists ... not', and the negation of 'there exists' is 'for all ... not'.

Definition

  • Replace 'all' by 'some' and 'for every' by 'there exists', and the other way round. Then negate the condition.
  • The negation of 'Some A are B' is 'No A is B'.
  • Negate the condition carefully: the negation of >> is ≤\leq, of << is ≥\geq, and of == is ≠\neq.

Negating quantifiers

∼(∀x, P(x))≡∃x such that ∼P(x),∼(∃x such that P(x))≡∀x, ∼P(x)\sim(\forall x,\ P(x)) \equiv \exists x \text{ such that } \sim P(x), \qquad \sim(\exists x \text{ such that } P(x)) \equiv \forall x,\ \sim P(x)

Worked example

Write the negation of '∀x∈R, x2+1>0\forall x \in R,\ x^2 + 1 > 0.'
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

Maharashtra HSC Class 12 · 2025 · Q. 2. (i)Easy

Example 2 · Mathematical Logic · Quantifiers, Duality and Negation of Statements

Write the negation of the statement: '∃n∈N\exists n \in N such that n+8>11n + 8 > 11'.

Negating 'all' with 'none'

The negation of 'All natural numbers are rational' is 'Some natural numbers are not rational', not 'No natural number is rational'.

Changing the quantifier but not the condition

Both parts change. Swapping ∃\exists for ∀\forall while keeping >> gives a statement that is not the negation.

Concept 3 of 4: The dual of a statement pattern

The dual is a mirror image of a pattern: every 'and' becomes 'or', every 'or' becomes 'and', and the tautology t and contradiction c swap places. Nothing else changes, not the letters and not the negation signs.

Definition

  • Two statements are duals of each other if one is obtained from the other by interchanging ∧\land with ∨\lor, and t with c.
  • The letters and the ∼\sim signs stay as they are. The brackets stay where they are.
  • For an equivalence, take the dual of each side and keep ≡\equiv: the dual of (p∨q)∨r≡p∨(q∨r)(p \lor q) \lor r \equiv p \lor (q \lor r) is (p∧q)∧r≡p∧(q∧r)(p \land q) \land r \equiv p \land (q \land r).
  • For example, the dual of p∨qp \lor q is p∧qp \land q, and the dual of t∧pt \land p is c∨pc \lor p.

Worked example

Write the dual of (p∨c)∧(∼q∨t)(p \lor c) \land (\sim q \lor t).
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

Maharashtra HSC Class 12 · 2024 · Q. 1. (i)Easy

Example 3 · Mathematical Logic · Quantifiers, Duality and Negation of Statements

The dual of statement t∨(p∨q)t \vee (p \vee q) is __________.

Negating the letters

A dual never adds or removes ∼\sim. Turning p into ∼p\sim p is negation, a different operation.

Forgetting t and c

Change every ∧\land and ∨\lor, and also every t and c. An answer that swaps the connectives but keeps t is wrong.

Concept 4 of 4: Negating a compound statement

'6 is even and perfect' is false if 6 is not even or 6 is not perfect, so the negation of 'and' is 'or' with both parts negated. A conditional 'if p then q' is false only when p happens and q does not, so its negation is 'p and not q'.

Definition

  • De Morgan's laws: ∼(p∧q)≡∼p∨∼q\sim(p \land q) \equiv \sim p \lor \sim q and ∼(p∨q)≡∼p∧∼q\sim(p \lor q) \equiv \sim p \land \sim q.
  • Negation of a conditional: ∼(p→q)≡p∧∼q\sim(p \to q) \equiv p \land \sim q.
  • Negation of a biconditional: ∼(p↔q)≡(p∧∼q)∨(q∧∼p)\sim(p \leftrightarrow q) \equiv (p \land \sim q) \lor (q \land \sim p).
  • Double negation: ∼(∼p)≡p\sim(\sim p) \equiv p.
  • Work from the outside in, one rule per line, and name the rule in brackets at the end of the line.
  • In words: negate each simple statement and change 'and' to 'or' (or 'or' to 'and'). The negation of 7>37 > 3 is 7≤37 \leq 3.
  • For a conditional p→qp \to q, the textbook's Exercise 1.3 also asks for the converse q→pq \to p, the inverse ∼p→∼q\sim p \to \sim q and the contrapositive ∼q→∼p\sim q \to \sim p; the next page teaches them.

Rules of negation

∼(p∧q)≡∼p∨∼q,∼(p∨q)≡∼p∧∼q,∼(p→q)≡p∧∼q\sim(p \land q) \equiv \sim p \lor \sim q, \quad \sim(p \lor q) \equiv \sim p \land \sim q, \quad \sim(p \to q) \equiv p \land \sim q

Worked example

Using the rules of negation, write the negation of p∨(∼q→r)p \lor (\sim q \to r), stating the rules used.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

Maharashtra HSC Class 12 · 2016 · Q. 1. (A) i.Moderate

Example 4 · Mathematical Logic · Quantifiers, Duality and Negation of Statements

The negation of p∧(q→r)p \land (q \rightarrow r) is __________.

Negating a conditional as another conditional

The negation of p→qp \to q is p∧∼qp \land \sim q, a conjunction. Writing ∼p→∼q\sim p \to \sim q gives the inverse, which is not the negation.

Keeping the connective

De Morgan changes the connective as well as the parts: the negation of 'and' is 'or'. 'It is not cold and not raining' is not the negation of 'It is cold and raining'.

Naming no rule

When the question says 'stating the rules used', each line needs its rule in brackets. The rule names carry marks.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (2)

  • Negating a quantified statement

    Negating quantifiers

    ∼(∀x, P(x))≡∃x such that ∼P(x),∼(∃x such that P(x))≡∀x, ∼P(x)\sim(\forall x,\ P(x)) \equiv \exists x \text{ such that } \sim P(x), \qquad \sim(\exists x \text{ such that } P(x)) \equiv \forall x,\ \sim P(x)
  • Negating a compound statement

    Rules of negation

    ∼(p∧q)≡∼p∨∼q,∼(p∨q)≡∼p∧∼q,∼(p→q)≡p∧∼q\sim(p \land q) \equiv \sim p \lor \sim q, \quad \sim(p \lor q) \equiv \sim p \land \sim q, \quad \sim(p \to q) \equiv p \land \sim q

Watch out for (9)

Test yourself on Mathematical Logic

10 past MH HSC 12 questions from this chapter, timed at 15 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.