Logical Statements and Conditions

Contracts, safety rules and computer code all hinge on the exact meaning of tiny words like "if", "only if" and "and". "You get free delivery if you spend £50" promises one thing; "free delivery only if you spend £50" promises something quite different — and mixing the two up costs real money. Mathematics pins these words down so nothing slips through the cracks.

All of mathematics — every proof you will ever read or write — rests on a handful of small, precise logical words: a statement that is true or false, "if… then… ", "if and only if", and the difference between a necessary and a sufficient condition. They look like ordinary English, but in maths they have exact meanings, and getting them right is the thing that separates a watertight argument from a plausible-sounding fallacy.

A statement (or proposition) is a sentence that is definitely true or definitely false — "7 is prime" (true), "9 is prime" (false). "Is it raining?" and "x + 1" are not statements: one is a question, the other has no truth value until we know x. Logic is the machine for combining statements without ever slipping from true to false by accident.

Implication and converse

An implication P \Rightarrow Q reads "if P then Q" — we say "P implies Q". It promises that whenever P is true, Q must be true as well.

P \Rightarrow Q \quad\equiv\quad \text{if } P \text{ then } Q

Swapping the two sides gives the converse Q \Rightarrow P. The converse is a different statement — it is not automatically true just because the original is. When both directions hold we write P \Leftrightarrow Q, read "P if and only if Q".

For example, x = 2 \Rightarrow x^2 = 4 is true. But its converse x^2 = 4 \Rightarrow x = 2 is false: from x^2 = 4 we could also have x = -2. So an implication can hold while its converse fails. The single value x = -2 that breaks it is called a counterexample — one is all it takes to sink a claim.

Necessary and sufficient

These two words name the two directions of an implication.

If P \Leftrightarrow Q, then P is both necessary and sufficient for Q — the two statements stand or fall together.

For statements P and Q:

Worked examples

1 · Write the converse and judge it. Take "if a number ends in 0, then it is divisible by 5" — true. Its converse swaps the halves: "if a number is divisible by 5, then it ends in 0". False15 is divisible by 5 but ends in 5. The counterexample 15 settles it.

2 · Necessary, sufficient, both, or neither? Compare "being a square" with "being a rectangle". Every square is a rectangle, so

\text{square} \Rightarrow \text{rectangle}.

So being a square is sufficient for being a rectangle (it's enough to guarantee it) — but not necessary, because a long thin rectangle is a rectangle without being a square. Turn it around: being a rectangle is necessary for being a square (you can't be a square without being one) but not sufficient. Same two shapes, opposite roles — that is exactly why the words are worth keeping straight.

3 · Kill a converse with a counterexample. "If it is raining, the ground is wet" is true. Is the converse "if the ground is wet, it is raining"? No — a running sprinkler makes the ground wet under a clear sky. One counterexample, and the converse is dead.

The most common logical slip in all of mathematics is quietly assuming that because P \Rightarrow Q is true, its converse Q \Rightarrow P is true too. It usually isn't.

"If it's raining, the ground is wet" does not mean "if the ground is wet, it's raining" — a sprinkler, a burst pipe, or a spilled bucket all wet the ground with no rain in sight. An implication travels one way only; to get the return trip you have to prove it separately.

And keep necessary apart from sufficient: "necessary" means the condition must hold (no Q without it), while "sufficient" means it is enough on its own. Oxygen is necessary for a fire but not sufficient; a lit match in petrol is sufficient but not the only way. Confusing the two is how arguments smuggle in conclusions they never earned.

Precise logical language is the bedrock of maths, computer science, and law — and a single muddled "if" has caused real software bugs, real legal disputes, and real medical blunders. The gap between a statement and its converse is exactly the conditional-probability confusion between P(A \mid B) and P(B \mid A).

In a courtroom it becomes the "prosecutor's fallacy": "the chance of this DNA match if the suspect were innocent is one in a million" (that's P(\text{match} \mid \text{innocent})) is not "the chance the suspect is innocent given the match" (P(\text{innocent} \mid \text{match})) — swapping them has helped convict innocent people. Mastering "necessary vs sufficient" and "statement vs converse" isn't just exam technique; it's a genuine life skill for spotting bad arguments everywhere they hide.

See it explained