How Math Works
Discrete & Logicconceptfoundations

Propositions: True or False

ā€œA statement and its contrapositive travel together — the converse does not.ā€

The formula

(p → q) ≔ (~q → ~p)

How to read it: 'if p then q' and its contrapositive 'if not q then not p' always share the same truth value

p → q
— 'if p then q' — a conditional (the original statement)
~p
— the negation of p — 'not p'
≔
— the two statements always have the same truth value

The hook

In math a 'proposition' isn't a feeling or an opinion — only a sentence that comes out definitively true or false counts.

In plain words

A proposition is a sentence you can clearly judge true or false. A conditional like 'if p then q' always shares the same truth value as its contrapositive.

The intuition

If 'if it rains, the ground gets wet' is true, then the flipped 'if the ground isn't wet, it didn't rain' must be true too. It's the same fact told from the other side, so their truth values travel together.

How it's built

A proposition takes exactly two values, true or false. Negation (~) flips that value. In the conditional 'p→q', negating both p and q and reversing the direction gives the contrapositive '~q→~p', and the original and its contrapositive always share the same truth value.

Example

'if x=2 then x²=4' is true. Its contrapositive 'if x²≠4 then x≠2' is also true. But the converse 'if x²=4 then x=2' is false, since x=āˆ’2 is a counterexample.

Common mistake

A true statement doesn't make its converse true. 'x=2 → x²=4' is true, but the converse 'x²=4 → x=2' is false (x=āˆ’2). What shares the truth is the contrapositive, not the converse.

Where it's used

Every proof and logical argument in math, the conditions in a program (if), the reading of legal and contract clauses — anywhere you weigh 'true or false'.

Where it came from

Logic that treats propositions rigorously as true-or-false objects traces back to Aristotle, and in the 1800s Boole recast it into a form you can calculate with, like algebra.

Prerequisites

Quick check

Which of the following is a 'proposition'?

  • 3 is an even numberāœ“
  • this painting is beautiful
  • close the window
  • x+1

Practice

Which of the following is a 'proposition' — something you can judge true or false?

Answer: 0

Solution:
  1. A proposition = a sentence with a definite truth value
  2. '7 is a prime number' is a true proposition
  3. Opinions, questions, and single words can't be judged true or false, so they aren't propositions

Takeaway: A proposition must be judgeable as true/false — opinions, commands, and questions are out.

Is the proposition '5 is greater than 3' true or false? Then write its negation on your notepad.

Answer: undefined

Solution:
  1. '5 is greater than 3' is true
  2. Negation: '5 is not greater than 3' → i.e. '5 ≤ 3', which is false
  3. Negation flips the truth value of the original

Takeaway: Negation flips true to false and false to true.

The statement 'if it is equilateral, then it is isosceles' is true. Which of the following must also be true?

Answer: 1

Solution:
  1. If the original is true, its contrapositive must be true too
  2. Contrapositive: 'if it is not isosceles, then it is not equilateral' → true
  3. The converse 'if isosceles then equilateral' can be false

Takeaway: Only the contrapositive is guaranteed to share the truth — the converse must be checked separately.

Is 'if x²=9 then x=3' true? If not, jot down a counterexample on your notepad.

Answer: undefined

Solution:
  1. If x²=9 then x=3 or x=āˆ’3
  2. x=āˆ’3 gives x²=9 but x≠3 → a counterexample exists
  3. So the statement is false

Takeaway: A single counterexample is enough to bring a proposition down.

Related mathematicians

Keep learning in the app

Touch-and-drag widgets, self-graded practice and daily formulas — free on iOS and Android.