The Timpson Lyceum seal

The Timpson Lyceum · College Algebra

Lecture 1 (College Algebra)

Overview

This lecture opens the course with propositional logic, the foundation on which all of mathematics is built. Because mathematics is constructed entirely out of logic, we begin by isolating the parts of language that are perfectly unambiguous and learning to manipulate them precisely. We define a statement, build new statements from old ones using the connectives and, or, not, implies, and if and only if, and capture each connective's behavior in a truth table. We use these tools to negate compound statements (De Morgan's laws), to distinguish a conditional from its converse and contrapositive, and to define logical equivalence. By the end you can determine the truth value of any compound statement from the truth values of its parts.

Key Concepts

Three kinds of reasoning.

Statement (proposition). A sentence that is either true or false, but not both. "Statement" and "proposition" mean the same thing; we usually denote statements by Greek letters α,β\alpha, \beta. Examples: "2×2=52 \times 2 = 5" is a (false) statement; "Go home" and "x+2=5x + 2 = 5" are not statements — the latter is a predicate whose truth depends on xx, and it only becomes a statement once a quantifier is added.

Sentential connectives. Words/phrases that build new sentences from existing ones. We study only the truth-functional ones: the truth value of the result is fully determined by the truth values of its parts. (Words like "but," "since," "Jack believes…," and "it is probable that…" are not truth-functional and are excluded.) The five we use:

Truth tables. Two statements give 22=42^2 = 4 rows of possible truth combinations; the table records the result of the connective in each row.

α\alphaβ\betaα∧β\alpha\land\betaα∨β\alpha\lor\betaα→β\alpha\to\beta
TTTTT
TFFTF
FTFTT
FFFFT

Vacuous truth. When the antecedent of an implication is false, the implication is automatically true (there is no case to violate). E.g. "If α\alpha is true then β\beta is true" holds vacuously whenever α\alpha cannot be satisfied.

Phrasings of α→β\alpha \to \beta. All of these mean the same thing: "if α\alpha then β\beta," "β\beta if α\alpha," "α\alpha only if β\beta," "α\alpha is sufficient for β\beta," "β\beta is necessary for α\alpha." Note that "α\alpha only if β\beta" is α→β\alpha \to \beta (not β→α\beta \to \alpha): there is fire only if there is oxygen means fire →\to oxygen.

Contradictory vs. contrary. α\alpha and ¬α\lnot\alpha are contradictory — exactly one is always true. "All swans are white" and "some swans are not white" are contradictory (correct negation). "All swans are white" and "all swans are black" are merely contrary — both can be false (e.g. all swans yellow).

Negating quantifiers. ¬(for all x, P(x))\lnot(\text{for all } x,\ P(x)) becomes "there exists xx such that ¬P(x)\lnot P(x)," and ¬(there exists x, P(x))\lnot(\text{there exists } x,\ P(x)) becomes "for all x, ¬P(x)x,\ \lnot P(x)." So the negation of "x+2=5x + 2 = 5 holds for all xx" is "there exists xx with x+2≠5x + 2 \ne 5."

De Morgan's laws. Negation distributes across ∧\land and ∨\lor by flipping the connective:

Converse and contrapositive of α→β\alpha \to \beta.

For example, x=3→x2=9x = 3 \to x^2 = 9 is true, but its converse x2=9→x=3x^2 = 9 \to x = 3 is false (since x=−3x = -3 also gives 99); its contrapositive x2≠9→x≠3x^2 \ne 9 \to x \ne 3 is true.

Proof, at a high level. Every theorem has the form α→β\alpha \to \beta. Mathematics never asserts the antecedent itself — not even axioms are called "true"; we only assert that the axioms imply their theorems. This is why mathematical truth is independent of the physical world.

Order of precedence (loosest binds last, like == in arithmetic): ¬\lnot, then ∧\land, then ∨\lor, then →\to, then ↔\leftrightarrow. So α∨β∧¬α\alpha \lor \beta \land \lnot\alpha parses as α∨(β∧¬α)\alpha \lor (\beta \land \lnot\alpha).

Worked Example

Prove De Morgan's law ¬(α∧β)≡¬α∨¬β\lnot(\alpha \land \beta) \equiv \lnot\alpha \lor \lnot\beta by building both columns of a truth table and checking they match in every row.

¬(α∧β)≡?¬α∨¬βα=T, β=T:¬(T∧T)=¬T=F,¬T∨¬T=F∨F=Fα=T, β=F:¬(T∧F)=¬F=T,¬T∨¬F=F∨T=Tα=F, β=T:¬(F∧T)=¬F=T,¬F∨¬T=T∨F=Tα=F, β=F:¬(F∧F)=¬F=T,¬F∨¬F=T∨T=T\begin{aligned} &\lnot(\alpha \land \beta) \overset{?}{\equiv} \lnot\alpha \lor \lnot\beta \\ &\alpha=\text{T},\ \beta=\text{T}: &&\lnot(\text{T}\land\text{T}) = \lnot\text{T} = \text{F}, &&\lnot\text{T}\lor\lnot\text{T} = \text{F}\lor\text{F} = \text{F} \\ &\alpha=\text{T},\ \beta=\text{F}: &&\lnot(\text{T}\land\text{F}) = \lnot\text{F} = \text{T}, &&\lnot\text{T}\lor\lnot\text{F} = \text{F}\lor\text{T} = \text{T} \\ &\alpha=\text{F},\ \beta=\text{T}: &&\lnot(\text{F}\land\text{T}) = \lnot\text{F} = \text{T}, &&\lnot\text{F}\lor\lnot\text{T} = \text{T}\lor\text{F} = \text{T} \\ &\alpha=\text{F},\ \beta=\text{F}: &&\lnot(\text{F}\land\text{F}) = \lnot\text{F} = \text{T}, &&\lnot\text{F}\lor\lnot\text{F} = \text{T}\lor\text{T} = \text{T} \end{aligned}

The two expressions produce identical outputs (F, T, T, T) for every combination of inputs, so they are logically equivalent. Concretely, the negation of "today is Monday and the weather is cold" is "today is not Monday or the weather is not cold."

Summary