The foundation of logical thinking โ statements, negations, compound statements, and proofs
"Mathematics is the science of drawing necessary conclusions." โ Benjamin Peirce
Mathematical reasoning is about making logical arguments and proving things rigorously. It starts with statements โ sentences that are either true or false, but not both.
A statement (or proposition) is a sentence that is either true or false, but not both.
Examples of statements:
โข "2 + 2 = 4" โ TRUE
โข "The Earth is flat" โ FALSE
โข "7 is a prime number" โ TRUE
NOT statements:
โข "x + 1 = 5" โ depends on x (open sentence)
โข "Is it raining?" โ question, not true/false
โข "Close the door!" โ command, not true/false
Every statement has a truth value โ either TRUE (T) or FALSE (F). We cannot have both or neither.
The negation of a statement is its opposite. If the original is true, the negation is false, and vice versa.
Statement p: "It is raining"
Negation ~p: "It is NOT raining"
Statement p: "2 + 3 = 5"
Negation ~p: "2 + 3 โ 5"
Rule: If p is TRUE, then ~p is FALSE. If p is FALSE, then ~p is TRUE.
โข "All are" โ "Some are not"
โข "None are" โ "Some are"
โข "Some are" โ "None are"
โข "Always" โ "Sometimes not"
โข "Sometimes" โ "Never"
We can combine simple statements using AND (โง) and OR (โจ) to create compound statements.
p โง q is TRUE only when BOTH p and q are TRUE.
Example: "It is raining AND it is cold"
True only if both conditions are met.
p โจ q is TRUE when AT LEAST ONE of p or q is TRUE.
Example: "You can have cake OR ice cream"
True if you get cake, ice cream, or both.
An implication is an "if-then" statement. It's one of the most important structures in mathematics.
p โ q means "if p is true, then q must be true"
Example: "If it rains, then the ground gets wet"
โข p: It rains
โข q: Ground gets wet
p โ q is FALSE only when p is TRUE and q is FALSE.
The contrapositive of p โ q is: ~q โ ~p
Example:
โข Original: "If it rains, then ground gets wet"
โข Contrapositive: "If ground doesn't get wet, then it didn't rain"
A statement and its contrapositive always have the same truth value!
The converse of p โ q is: q โ p
Example:
โข Original: "If it rains, then ground gets wet"
โข Converse: "If ground gets wet, then it rains"
Warning: A statement and its converse do NOT always have the same truth value! (Ground could get wet from a sprinkler)
p โ q means both p โ q AND q โ p
Example: "A number is even if and only if it's divisible by 2"
This means: If even โ divisible by 2, AND if divisible by 2 โ even
How do we prove a statement is true? There are several methods:
To prove p โ q:
Assume p is true, then show q must be true.
Example: Prove "If n is even, then nยฒ is even"
Assume n is even โ n = 2k for some integer k
Then nยฒ = (2k)ยฒ = 4kยฒ = 2(2kยฒ) โ even โ
To prove p โ q:
Instead prove ~q โ ~p (the contrapositive)
Example: Prove "If nยฒ is even, then n is even"
Contrapositive: "If n is odd, then nยฒ is odd"
Assume n is odd โ n = 2k+1
Then nยฒ = (2k+1)ยฒ = 4kยฒ + 4k + 1 = 2(2kยฒ+2k) + 1 โ odd โ
Assume the statement is false, then show this leads to a contradiction.
Example: Prove โ2 is irrational
Assume โ2 is rational = p/q (in lowest terms)
Then 2 = pยฒ/qยฒ โ pยฒ = 2qยฒ โ p is even โ p = 2k
Then 4kยฒ = 2qยฒ โ qยฒ = 2kยฒ โ q is even
But if both p and q are even, the fraction isn't in lowest terms โ contradiction!
โข Statement: A sentence that is either TRUE or FALSE, not both
โข Negation (~p): Opposite truth value of p
โข AND (p โง q): True only when both are true
โข OR (p โจ q): True when at least one is true
โข Implication (p โ q): False only when p is true and q is false
โข Contrapositive (~q โ ~p): Same truth value as original
โข Converse (q โ p): May have different truth value
โข Proof methods: Direct, Contrapositive, Contradiction