Skip to main content

MATH 308 — Lec 3 — Logic I (Statements & Implications)

Math 308 · September 11, 2026

Lecture 3 --- Logic I: Statements, Negation, and Implications MATH 308  Bridge to Advanced Mathematics  Chartrand §2.1--2.5, 2.8

Goals for today. By the end of this lecture you should be able to:

  • decide whether a sentence is a statement and assign its truth value;

  • form and simplify the negation P\sim PP, and read a truth table;

  • build compound statements with \wedge (and), \vee (or), \Rightarrow (implies), and know exactly when each is true;

  • write the converse, inverse, and contrapositive of an implication and say which are equivalent;

  • verify a logical equivalence by truth table, including the two De Morgan laws for logic.

Statements (§2.1)

A statement (or proposition) is a declarative sentence that is either true or false --- never both, and never neither. Its truth value is TTT (true) or FFF (false). Questions, commands, and opinions are not statements; neither is a sentence with a free variable until we pin the variable down.

Example 1. Statements: "777 is prime." (TTT),  "2Q\sqrt{2}\in\mathbb{Q}2Q." (FFF),  "{1,2}\varnothing\subseteq\{1,2\}{1,2}." (TTT; recall Lecture 1, where this held vacuously). Not statements: "Is 101010 even?" (a question),  "Add 333 to xxx." (a command),  "x2=4x^2=4x2=4." (truth value undetermined until xxx is specified --- an open sentence, which we quantify in Lecture 4).

We name statements with letters P,Q,R,P, Q, R, \dotsP,Q,R, and record all combinations of their truth values in a truth table. With nnn component statements there are 2n2^n2n rows; for two statements P,QP, QP,Q we always list the rows in the order TT,TF,FT,FFTT, TF, FT, FFTT,TF,FT,FF.

Negation (§2.2)

Definition 1. The negation of a statement PPP is the statement "not PPP," denoted P\sim PP. Its truth value is always opposite to that of PPP.

PPTFFT\begin{array}{c|c} P & \sim P\\\hline T & F\\ F & T \end{array}PTFPFT

The art of negation is saying "not PPP" in plain language, not by bolting on "it is not the case that."

Example 2. PPP: "The integer 333 is odd."  P\sim PP: "The integer 333 is even." QQQ: "r2r \le 2r2."  Q\sim QQ: "r>2r > 2r>2" (not "r2r \ge 2r2"). RRR: "Every side of the triangle is equal."  R\sim RR: "Some side is unequal." The last one previews Lecture 4: negation turns "every" into "some."

Conjunction and disjunction (§2.3)

Definition 2. For statements P,QP, QP,Q:

  • the conjunction PQP \wedge QPQ ("PPP and QQQ") is true exactly when both are true;

  • the disjunction PQP \vee QPQ ("PPP or QQQ") is true exactly when at least one is true.

The "or" of mathematics is inclusive: PQP \vee QPQ is still true when both PPP and QQQ hold.

Example 3. Let PPP: "262 \mid 626" (TTT) and QQQ: "565 \mid 656" (FFF). Then PQP \wedge QPQ is false (not both), while PQP \vee QPQ is true (at least one). Compare Lecture 1: xABx \in A \cap BxAB means (xA)(xB)(x\in A)\wedge(x\in B)(xA)(xB), and xABx \in A \cup BxAB means (xA)(xB)(x\in A)\vee(x\in B)(xA)(xB). Set operations are logical connectives applied to membership.

The implication (§2.4)

The workhorse of the whole course is the implication.

Definition 3. For statements PPP (the hypothesis) and QQQ (the conclusion), the implication (or conditional) "if PPP, then QQQ" is denoted PQP \Rightarrow QPQ. It is false in exactly one case: when PPP is true but QQQ is false. In every other case it is true.

Here is the combined truth table for the three binary connectives.

PQPQPQPQTTTTTTFFTFFTFTTFFFFT\begin{array}{cc|ccc} P & Q & P\wedge Q & P\vee Q & P\Rightarrow Q\\\hline T & T & T & T & T\\ T & F & F & T & F\\ F & T & F & T & T\\ F & F & F & F & T \end{array}PTTFFQTFTFPQTFFFPQTTTFPQTFTT

Remark 1. The last two rows unsettle everyone at first: how can "if PPP then QQQ" be true when PPP is false? Think of a promise: "If you get an A on the final, then you get an A in the course." The promise is broken only if you earn the A on the final and are still denied the grade (row 2). If you don't earn the A on the final (rows 3--4), the promise was never triggered, so it was not broken --- hence counted true. This is the same "vacuously true" idea behind A\varnothing \subseteq AA from Lecture 1.

The tie to sets is exact and worth stating. If P(x)P(x)P(x) and Q(x)Q(x)Q(x) are open sentences, then "P(x)Q(x)P(x)\Rightarrow Q(x)P(x)Q(x) for every xxx" says precisely {x  :  P(x)}{x  :  Q(x)}\left\{\, x \;:\; P(x) \,\right\} \subseteq \left\{\, x \;:\; Q(x) \,\right\}{x:P(x)}{x:Q(x)}: the hypothesis-region sits inside the conclusion-region.

P Q pictured with the truth-regions: everything that makes P true also makes Q true. ``Subset is implication in disguise'' (Lecture 1).

PQP \Rightarrow QPQ pictured with the truth-regions: everything that makes PPP true also makes QQQ true. ``Subset is implication in disguise'' (Lecture 1).

Converse, inverse, contrapositive

From one implication we can manufacture three relatives by swapping and/or negating.

Definition 4. For the implication PQP \Rightarrow QPQ:

QPconverse,(P)(Q)inverse,(Q)(P)contrapositive.\underbrace{Q \Rightarrow P}_{\text{converse}}, \qquad \underbrace{(\sim P) \Rightarrow (\sim Q)}_{\text{inverse}}, \qquad \underbrace{(\sim Q) \Rightarrow (\sim P)}_{\text{contrapositive}}.converseQP,inverse(P)(Q),contrapositive(Q)(P).

Example 4. PQP \Rightarrow QPQ: "If nnn is a multiple of 444, then nnn is even." (TTT)

  • Converse QPQ \Rightarrow PQP: "If nnn is even, then nnn is a multiple of 444." False (n=6n=6n=6).

  • Inverse (P)(Q)(\sim P)\Rightarrow(\sim Q)(P)(Q): "If nnn is not a multiple of 444, then nnn is odd." False (n=6n=6n=6).

  • Contrapositive (Q)(P)(\sim Q)\Rightarrow(\sim P)(Q)(P): "If nnn is odd, then nnn is not a multiple of 444." True.

Notice the original and its contrapositive share a truth value, and so do the converse and inverse. That is no accident.

The four related conditionals. Diagonals are logically equivalent: an implication its contrapositive, and its converse its inverse.

The four related conditionals. Diagonals are logically equivalent: an implication \equiv its contrapositive, and its converse \equiv its inverse.

Logical equivalence and De Morgan

Definition 5. Two compound statements RRR and SSS built from the same components are logically equivalent, written RSR \equiv SRS, if they have the same truth value in every row of the truth table.

Proposition 1 (Implication as "or"; and its contrapositive). *For all statements P,QP, QP,Q:

PQ  (P)Q,PQ  (Q)(P).P \Rightarrow Q \ \equiv\ (\sim P) \vee Q, \qquad P \Rightarrow Q \ \equiv\ (\sim Q) \Rightarrow (\sim P).PQ  (P)Q,PQ  (Q)(P).

Proof. Build one truth table and compare columns.

PQPQ(P)QQ(Q)(P)TTTTFTTFFFTFFTTTFTFFTTTT\begin{array}{cc|cccc} P & Q & P\Rightarrow Q & (\sim P)\vee Q & \sim Q & (\sim Q)\Rightarrow(\sim P)\\\hline T & T & T & T & F & T\\ T & F & F & F & T & F\\ F & T & T & T & F & T\\ F & F & T & T & T & T \end{array}PTTFFQTFTFPQTFTT(P)QTFTTQFTFT(Q)(P)TFTT

The columns for PQP\Rightarrow QPQ, (P)Q(\sim P)\vee Q(P)Q, and (Q)(P)(\sim Q)\Rightarrow(\sim P)(Q)(P) agree row by row, so all three are equivalent. ◻

This first equivalence has a striking consequence for negation: since PQ(P)QP \Rightarrow Q \equiv (\sim P)\vee QPQ(P)Q, negating an implication gives (PQ)P(Q)\sim(P\Rightarrow Q) \equiv P \wedge (\sim Q)(PQ)P(Q) --- "the hypothesis holds but the conclusion fails." That single fact is the engine behind proof by contradiction (Lecture 9), and the contrapositive equivalence is what licenses proof by contrapositive (Lecture 5).

Theorem 2 (De Morgan's Laws for logic). *For all statements P,QP, QP,Q:

(PQ)  (P)(Q),(PQ)  (P)(Q).\sim(P \vee Q) \ \equiv\ (\sim P) \wedge (\sim Q), \qquad \sim(P \wedge Q) \ \equiv\ (\sim P) \vee (\sim Q).(PQ)  (P)(Q),(PQ)  (P)(Q).

Proof. We verify the first law; the second is analogous.

PQPQ(PQ)P(P)(Q)TTTFFFTFTFFFFTTFTFFFFTTT\begin{array}{cc|cccc} P & Q & P\vee Q & \sim(P\vee Q) & \sim P & (\sim P)\wedge(\sim Q)\\\hline T & T & T & F & F & F\\ T & F & T & F & F & F\\ F & T & T & F & T & F\\ F & F & F & T & T & T \end{array}PTTFFQTFTFPQTTTF(PQ)FFFTPFFTT(P)(Q)FFFT

The fourth and sixth columns match in every row, so (PQ)(P)(Q)\sim(P\vee Q) \equiv (\sim P)\wedge(\sim Q)(PQ)(P)(Q). ◻

Remark 2. This is the same De Morgan we met for sets in Lecture 1, (AB)c=AcBc(A\cup B)^{c} = A^{c}\cap B^{c}(AB)c=AcBc. Reading membership as truth --- xAx\in AxA is the statement PPP, xBx\in BxB is QQQ, and xScx\in S^{c}xSc is (xS)\sim(x\in S)(xS) --- the set law is exactly the logic law applied pointwise. (We use AcA^cAc, never A\overline{A}A; the overline is reserved for closure.) The two theorems are one theorem wearing two costumes.

In-class problems

  1. Which are statements? Give the truth value of each that is.  (a) "171717 is even."  (b) "Solve x+1=0x+1=0x+1=0."  (c) "QR\mathbb{Q}\subseteq\mathbb{R}QR."  (d) "n20n^2\ge 0n20" (with nnn unspecified).

  2. State a clean negation (no "it is not the case that"):  (a) "x5x\ge 5x5."  (b) "333 divides nnn and nnn is even."  (c) "777 is prime or 888 is prime."

  3. Build the full truth table for (P)Q(\sim P)\vee Q(P)Q and confirm it matches the column for PQP\Rightarrow QPQ.

  4. For "If n2n^2n2 is odd, then nnn is odd," write the converse, inverse, and contrapositive. Which of the four are true?

  5. Use a truth table to verify the second De Morgan law (PQ)(P)(Q)\sim(P\wedge Q)\equiv(\sim P)\vee(\sim Q)(PQ)(P)(Q), and connect it to (AB)c=AcBc(A\cap B)^{c}=A^{c}\cup B^{c}(AB)c=AcBc from Lecture 1.

  6. Show (PQ)P(Q)\sim(P\Rightarrow Q)\equiv P\wedge(\sim Q)(PQ)P(Q) by a truth table, and state in words what it means for the implication "If it rains, then the game is cancelled" to be false.

Suggested textbook exercises (Chartrand §2.1--2.5, 2.8): 2.1, 2.4, 2.11, 2.13, 2.19, 2.24, 2.30, 2.36.

Back to Math 308