Mathematical Reasoning • Topic 2 of 3

Quantifiers and Implications

Many mathematical claims speak about how many objects satisfy a property. The words that carry this meaning are the quantifiers. There are two:

  • The existential quantifier "there exists", symbol $\exists$ — asserts that at least one object has the property.
  • The universal quantifier "for all" (or "for every"), symbol $\forall$ — asserts that every object has the property.
$$\exists\, x \in \mathbb{R} : x^2 = 2 \qquad\qquad \forall\, x \in \mathbb{R},\ x^2 \ge 0$$

The first reads "there exists a real number $x$ such that $x^2 = 2$" (true). The second reads "for all real $x$, $x^2 \ge 0$" (also true). Quantifiers turn an open sentence into a genuine statement, because once the quantifier fixes the scope, the sentence has a definite truth value. A key skill is negating quantified statements: the negation of "for all" is "there exists … not", and the negation of "there exists" is "for all … not".

StatementNegation
$\forall\, x,\ P(x)$$\exists\, x : \sim P(x)$
$\exists\, x : P(x)$$\forall\, x,\ \sim P(x)$

So the negation of "Every student passed" is "There exists a student who did not pass" — not "Every student failed". To disprove a "for all" claim you only need a single exception; to disprove a "there exists" claim you must rule out every case.

Implications: the "if-then" statement. The most important compound form in mathematics is the conditional "if $p$ then $q$", written $p \Rightarrow q$. Here $p$ is the hypothesis (or antecedent) and $q$ is the conclusion (or consequent). The conditional is false in exactly one case — when the hypothesis is true but the conclusion is false. In every other case it is true (including, perhaps surprisingly, whenever $p$ is false, which is called vacuously true).

$p$$q$$p \Rightarrow q$
TTT
TFF
FTT
FFT

The same conditional $p \Rightarrow q$ can be phrased in several equivalent ways, and recognising them is essential:

  • if $p$, then $q$
  • $p$ implies $q$
  • $p$ is sufficient for $q$
  • $q$ is necessary for $p$
  • $p$ only if $q$
  • $q$ if $p$

Converse and contrapositive. From $p \Rightarrow q$ we build two related conditionals:

$$\textbf{Converse: } q \Rightarrow p \qquad\qquad \textbf{Contrapositive: } \sim q \Rightarrow \sim p$$

The contrapositive is logically equivalent to the original — it has the same truth value in every case, which is exactly why proving the contrapositive proves the original. The converse is not equivalent: a statement may be true while its converse is false. For "If a number is divisible by $6$, then it is divisible by $3$" (true), the converse "If a number is divisible by $3$, then it is divisible by $6$" is false ($9$ is a counter-example).

The biconditional: "if and only if". When both $p \Rightarrow q$ and its converse $q \Rightarrow p$ hold, we write $p \Leftrightarrow q$, read "$p$ if and only if $q$" (often abbreviated "iff"). It asserts that $p$ and $q$ are equivalent — each is both necessary and sufficient for the other. The biconditional is true exactly when $p$ and $q$ share the same truth value.

$$p \Leftrightarrow q \ \equiv\ (p \Rightarrow q) \wedge (q \Rightarrow p)$$

Deeper Insight — "necessary vs sufficient" and the contrapositive are the real prizes: Two ideas in this topic do far more work than the rest. First, the language of necessary and sufficient: in $p \Rightarrow q$, $p$ guarantees $q$ (sufficient) while $q$ is merely required by $p$ (necessary) — confusing the two is the same error as confusing a statement with its converse, and it is the most frequent mistake in proofs. Second, the equivalence of a conditional with its contrapositive: because $\sim q \Rightarrow \sim p$ always matches $p \Rightarrow q$, you can freely swap to whichever direction is easier to argue. This single equivalence is the engine behind the method of contrapositive in the next topic. Memorise that only the contrapositive (not the converse) preserves truth, and most reasoning questions become routine.

1
Worked Example
Write in symbols and state the truth value: "There exists a natural number whose square is $16$."
Solution
  1. Use the existential quantifier: $\exists\, n \in \mathbb{N} : n^2 = 16$.
  2. $n = 4$ works.

Answer: $\exists\, n \in \mathbb{N} : n^2 = 16$ — true (take $n = 4$).

2
Worked Example
Write the negation of "For every real number $x$, $x^2 > 0$." Is the original true?
Solution
  1. Negation of $\forall$ is $\exists \dots \sim$: "There exists a real $x$ such that $x^2 \not> 0$" i.e. $x^2 \le 0$.
  2. Check the original: $x = 0$ gives $x^2 = 0$, which is not $> 0$.

Answer: Negation: "There exists a real number $x$ with $x^2 \le 0$." The original is false (counter-example $x = 0$).

3
Worked Example
Negate: "There exists a triangle that is equilateral and right-angled."
Solution
  1. Negation of $\exists$ is $\forall \dots \sim$.
  2. Apply it to the property "equilateral and right-angled".

Answer: "For every triangle, it is not the case that it is both equilateral and right-angled", i.e. "No triangle is both equilateral and right-angled".

4
Worked Example
Identify the hypothesis and conclusion in "If a quadrilateral is a square, then it is a rhombus", and write the converse.
Solution
  1. Hypothesis $p$: "a quadrilateral is a square."
  2. Conclusion $q$: "it is a rhombus."
  3. Converse swaps them: $q \Rightarrow p$.

Answer: Converse: "If a quadrilateral is a rhombus, then it is a square." (This converse is false.)

5
Worked Example
Write the contrapositive of "If $n$ is an even integer, then $n^2$ is even."
Solution
  1. Contrapositive of $p \Rightarrow q$ is $\sim q \Rightarrow \sim p$.
  2. $\sim q$: "$n^2$ is not even" (odd); $\sim p$: "$n$ is not even" (odd).

Answer: "If $n^2$ is odd, then $n$ is odd." (Logically equivalent to the original.)

6
Worked Example
Rewrite "$p$ only if $q$" and "$p$ is sufficient for $q$" as if-then statements.
Solution
  1. "$p$ only if $q$" means $q$ is required for $p$: if $p$ then $q$.
  2. "$p$ is sufficient for $q$" means $p$ guarantees $q$: if $p$ then $q$.

Answer: Both translate to the same conditional: "if $p$, then $q$" ($p \Rightarrow q$).

7
Worked Example
Write "A triangle is equilateral if and only if all its angles are equal" as two conditionals.
Solution
  1. A biconditional $p \Leftrightarrow q$ is $(p \Rightarrow q) \wedge (q \Rightarrow p)$.
  2. Let $p$: "a triangle is equilateral", $q$: "all its angles are equal".

Answer: "If a triangle is equilateral then all its angles are equal" and "If all the angles of a triangle are equal then it is equilateral".

8
Worked Example
For "If you live in Delhi, then you live in India", write the converse and the contrapositive, and state which is true.
Solution
  1. Converse ($q \Rightarrow p$): "If you live in India, then you live in Delhi."
  2. Contrapositive ($\sim q \Rightarrow \sim p$): "If you do not live in India, then you do not live in Delhi."
  3. The contrapositive matches the (true) original; the converse is false.

Answer: Converse is false; contrapositive is true (equivalent to the original).

9
Worked Example
Determine the truth value of "If $2 + 2 = 5$, then the Moon is made of cheese."
Solution
  1. Hypothesis $p$: "$2 + 2 = 5$" is false.
  2. A conditional with a false hypothesis is true regardless of the conclusion (vacuously true).

Answer: True — the conditional is vacuously true because the hypothesis is false.

10
Worked Example
Express "$q$ is necessary for $p$" and "$q$ is sufficient for $p$" as conditionals.
Solution
  1. "$q$ is necessary for $p$": $p$ cannot hold without $q$, so $p \Rightarrow q$.
  2. "$q$ is sufficient for $p$": $q$ guarantees $p$, so $q \Rightarrow p$.

Answer: "$q$ necessary for $p$" $\equiv p \Rightarrow q$; "$q$ sufficient for $p$" $\equiv q \Rightarrow p$.

Key Points

  • $\exists$ ("there exists") asserts at least one case; $\forall$ ("for all") asserts every case.
  • Negating $\forall x,\ P(x)$ gives $\exists x : \sim P(x)$; negating $\exists x : P(x)$ gives $\forall x,\ \sim P(x)$.
  • The conditional $p \Rightarrow q$ is false only when $p$ is true and $q$ is false; a false hypothesis makes it vacuously true.
  • $p \Rightarrow q$ reads as "$p$ is sufficient for $q$", "$q$ is necessary for $p$", and "$p$ only if $q$".
  • Converse of $p \Rightarrow q$ is $q \Rightarrow p$; contrapositive is $\sim q \Rightarrow \sim p$.
  • The contrapositive is equivalent to the original; the converse is not.
  • The biconditional $p \Leftrightarrow q$ ("if and only if") $\equiv (p \Rightarrow q) \wedge (q \Rightarrow p)$ and is true when $p,q$ share a truth value.
Tap an option to check your answer0 / 4
Q1.The negation of "For all $x$, $P(x)$" is:
Explanation: Negating "for all" gives "there exists … not".
Q2.$p \Rightarrow q$ is false only when:
Explanation: A conditional fails only when a true hypothesis leads to a false conclusion.
Q3.The contrapositive of $p \Rightarrow q$ is:
Explanation: The contrapositive is $\sim q \Rightarrow \sim p$ and is logically equivalent to the original.
Q4."$p$ if and only if $q$" is equivalent to:
Explanation: The biconditional is the conjunction of a conditional and its converse.