De Morgan’s laws say how to negate “and” and “or”: the negation of “p and q” is “not p or not q”, and the negation of “p or q” is “not p and not q”. This lesson proves both laws with truth tables, extends them to three or more statements, and uses them to negate statements in words, comparisons such as “x < 3 or x > 7”, chains such as −2 < y < 4, conditionals and biconditionals.
Negating “and” and “or”
Lesson 1.4 (Truth tables) showed that a ¬ in front of a bracket cannot simply be moved onto each letter: ¬(p ∨ q) and ¬p ∨ ¬q differ in two rows. What the negation of a conjunction or a disjunction really is, is said by two equivalences, in the sense of lesson 1.8 (Logical equivalence).
For all statements p and q:
- ¬(p ∧ q) ≡ ¬p ∨ ¬q;
- ¬(p ∨ q) ≡ ¬p ∧ ¬q.
These two equivalences are called De Morgan’s laws.[1]
By the truth-table test of lesson 1.8, it is enough to compare the columns in a table with the letters p and q. The two tables below show them: in the first, the columns of ¬(p ∧ q) and ¬p ∨ ¬q are F, T, T, T; in the second, the columns of ¬(p ∨ q) and ¬p ∧ ¬q are F, F, F, T. The columns agree in all four rows, so the formulas are equivalent.[4]
The same proof in words. (1) ¬(p ∧ q) is true exactly when p ∧ q is false, that is (lesson 1.3), when at least one of p and q is false, that is, when at least one of ¬p and ¬q is true: exactly when ¬p ∨ ¬q is true. (2) ¬(p ∨ q) is true exactly when p ∨ q is false, that is, when p and q are both false, that is, when ¬p and ¬q are both true: exactly when ¬p ∧ ¬q is true.
| p | q | p ∧ q | ¬(p ∧ q) | ¬p | ¬q | ¬p ∨ ¬q |
|---|---|---|---|---|---|---|
| T | T | T | F | F | F | F |
| T | F | F | T | F | T | T |
| F | T | F | T | T | F | T |
| F | F | F | T | T | T | T |
| p | q | p ∨ q | ¬(p ∨ q) | ¬p | ¬q | ¬p ∧ ¬q |
|---|---|---|---|---|---|---|
| T | T | T | F | F | F | F |
| T | F | T | F | F | T | F |
| F | T | T | F | T | F | F |
| F | F | F | T | T | T | T |
In words: the negation of a conjunction is the disjunction of the negations of its parts,[5] and the negation of a disjunction is the conjunction of the negations of its parts.[6] Each part is negated, and the connective changes: ∧ becomes ∨, and ∨ becomes ∧.[7] The figure shows why, case by case.
| q T | q F | |
|---|---|---|
| p T | T | F |
| p F | F | F |
| q T | q F | |
|---|---|---|
| p T | F | T |
| p F | T | T |
| q T | q F | |
|---|---|---|
| p T | F | T |
| p F | T | T |
| q T | q F | |
|---|---|---|
| p T | T | T |
| p F | T | F |
| q T | q F | |
|---|---|---|
| p T | F | F |
| p F | F | T |
| q T | q F | |
|---|---|---|
| p T | F | F |
| p F | F | T |
The name is written “De Morgan’s laws” by Rosen and “DeMorgan’s laws” by Velleman.[1]
Use De Morgan’s laws to negate each statement, and check that the negation has the opposite truth value.
- “36 is a perfect square and 36 is odd.” Here p: 36 is a perfect square, true, since 36 = 6 × 6 (Perfect squares and square roots); q: 36 is odd, false, since 36 = 18 × 2. So p ∧ q is false. By law (1) its negation is ¬p ∨ ¬q: “36 is not a perfect square or 36 is not odd”. Its second part is true, so it is true.
- “35 is even or 35 is a multiple of 10.” Here p is false, since 35 = 17 × 2 + 1, and q is false, since 35 = 3 × 10 + 5. So p ∨ q is false. By law (2) its negation is ¬p ∧ ¬q: “35 is not even and 35 is not a multiple of 10”. Both parts are true, so it is true.
Answer: “36 is not a perfect square or 36 is not odd” (true) and “35 is not even and 35 is not a multiple of 10” (true). A whole number that is not even is odd (Even and odd numbers), so the second can also be written “35 is odd and is not a multiple of 10”.
A student negates “15 is odd and 15 is prime” as “15 is not odd and 15 is not prime”, that is, ¬(p ∧ q) as ¬p ∧ ¬q. Find the truth values and correct the negation.
- p: 15 is odd, true, since 15 = 7 × 2 + 1. q: 15 is prime, false, since 15 = 3 × 5. So p ∧ q is false, and its negation must be true.
- The student’s sentence ¬p ∧ ¬q is F ∧ T, which is false. It has the same truth value as the original, so it is not the negation.
- In the tables, ¬p ∧ ¬q is F, F, F, T and ¬(p ∧ q) is F, T, T, T: they differ in the rows TF and FT, where exactly one part is true. The statements of this example are the row TF.
- By law (1), the negation is ¬p ∨ ¬q: “15 is not odd or 15 is not prime”. It is F ∨ T, which is true.
Answer: the negation is “15 is not odd or 15 is not prime”. Negating both parts is not enough: the “and” must become “or”.
Test De Morgan’s laws
Type a formula, or build it with the buttons. The table shows every row and every part of the formula.
| Row | p | q | p ∧ q | ¬(p ∧ q) |
|---|---|---|---|---|
| 1 | T | T | T | F |
| 2 | T | F | F | T |
| 3 | F | T | F | T |
| 4 | F | F | F | T |
¬(p ∧ q) has 2 letters, so its table has 22 = 4 rows. It is true in 3 of them: it is true in some rows and false in others.
The builder starts with ¬(p ∧ q): F in row 1 and T in the other three rows. Type ¬p ∨ ¬q and the last column is the same; type ¬p ∧ ¬q and it differs in rows 2 and 3. The laws for three statements, in section 4, can be tested the same way, with ¬(p ∧ q ∧ r) and ¬p ∨ ¬q ∨ ¬r: both are F in row 1 and T in the other seven rows.
Negations in words
De Morgan’s laws let a negation be written without the phrase “it is not the case that …”, which marks a bracket; the result is usually clearer.[8] Two phrases of everyday language are De Morgan’s laws in disguise.
- “Neither p nor q” means “not p and not q”, ¬p ∧ ¬q.[9] By law (2), it is the negation of “p or q”.
- “Not both p and q” denies the conjunction: it is ¬(p ∧ q), which by law (1) is “not p or not q”.
Find the truth value of each statement by writing it with ¬, ∧ and ∨: (1) “Neither 51 nor 57 is prime.” (2) “16 and 18 are not both multiples of 4.” (3) “16 and 18 are both not multiples of 4.”
- (1) is ¬p ∧ ¬q with p: 51 is prime and q: 57 is prime. Since 51 = 3 × 17 and 57 = 3 × 19, both ¬p and ¬q are true: the statement is true. Its negation is “51 is prime or 57 is prime”, which is false.
- (2) is ¬(p ∧ q) with p: 16 is a multiple of 4 (true, 16 = 4 × 4) and q: 18 is a multiple of 4 (false, 18 = 4 × 4 + 2). So p ∧ q is false and the statement is true. By law (1) it says “16 is not a multiple of 4 or 18 is not a multiple of 4”: F ∨ T, true.
- (3) is ¬p ∧ ¬q: “16 is not a multiple of 4 and 18 is not a multiple of 4”. Its first part is false, so it is false.
Answer: true, true, false. “Not both” and “both not” are different statements: the first is ¬(p ∧ q), the second ¬p ∧ ¬q.
The position of “not” matters. “The numbers are not both even” is true as soon as one of them is odd; “the numbers are both not even” needs both of them odd.
Comparisons and chains
Conditions on numbers are often joined by “and” and “or”. Their negations combine De Morgan’s laws with the negations of comparisons of lesson 1.2 (Negation): for rational numbers, ¬(a > b) has the same truth value as a ≤ b, and ¬(a < b) the same truth value as a ≥ b. A sentence such as x < 3 is not a formula of logic but a sentence about a number, and one more step is needed to use such facts inside a longer sentence.
Let a sentence about a number x be built with connectives from simpler sentences, and let one of them, P, have the same truth value as a sentence P′ for every value of x. Replacing P by P′ gives a sentence that has the same truth value as the original for every value of x.
Fix a value of x. Then every part is a statement with a truth value, and the truth value of the whole is computed from the truth values of its parts, column by column, by the tables of the connectives (lesson 1.4). P and P′ have the same truth value, so every column computed after them is the same, and so is the last one. This is the proof of the replacement theorem of lesson 1.8, used for one row. The value of x was arbitrary.
Let x stand for a rational number. Write the negation of “x < 3 or x > 7” without the word “not”.
- Let p be x < 3 and q be x > 7. The sentence is p ∨ q.
- By law (2), its negation is ¬p ∧ ¬q: “not x < 3, and not x > 7”.
- By lesson 1.2, ¬(x < 3) has the same truth value as x ≥ 3 and ¬(x > 7) as x ≤ 7, for every x. By the Proposition, the negation says “x ≥ 3 and x ≤ 7”.
- x ≥ 3 is the same as 3 ≤ x,[10] and a conjunction of two comparisons is written as a chain[11] (lesson 1.3, Conjunction and disjunction): 3 ≤ x ≤ 7.
Answer: 3 ≤ x ≤ 7. Check the edges: for x = 3 the sentence “3 < 3 or 3 > 7” is false and 3 ≤ 3 ≤ 7 is true; for x = 9 the sentence is true and 3 ≤ 9 ≤ 7 is false, since 9 ≤ 7 is false. The common error 3 < x < 7 is wrong at the ends: for x = 7 both “7 < 3 or 7 > 7” and 3 < 7 < 7 are false.
Let y stand for a rational number. A student negates −2 < y < 4 as 4 ≤ y ≤ −2. Find the correct negation and explain what is wrong.
- The chain means “−2 < y and y < 4”: a conjunction.[11]
- By law (1), its negation is “not −2 < y, or not y < 4”.
- By lesson 1.2, ¬(−2 < y) has the truth value of −2 ≥ y, which is y ≤ −2,[10] and ¬(y < 4) has the truth value of y ≥ 4. So the negation is “y ≤ −2 or y ≥ 4”.
- Check: for y = −2 the chain is false, since −2 < −2 is false, and the negation is true, since −2 ≤ −2; for y = 1 the chain is true and both parts of the negation are false; for y = 4 the chain is false and the negation is true.
- The student’s 4 ≤ y ≤ −2 means “y ≥ 4 and y ≤ −2”, and no number is both: one that is at least 4 is positive, one that is at most −2 is negative. So it is false for every y, also for y = 6, where the chain is false as well.
Answer: “y ≤ −2 or y ≥ 4”. The negation of a chain is not a chain: the “and” hidden in the chain becomes “or”.
De Morgan’s laws also agree with lesson 1.2 on the sign ≤ itself. a ≤ b means “a < b or a = b”,[10] so by law (2) and the Proposition its negation is “a ≥ b and a ≠ b”. Of the three cases of the trichotomy law, a < b, a = b, a > b, the first is excluded by a ≥ b and the second by a ≠ b, so this holds exactly when a > b: the negation lesson 1.2 found directly.
Build the negation
- Round
- 1
- Score
- 0
- Streak
- 0
Build the negation of this sentence about a whole number n from 1 to 20. Tap a part to replace it by its negation, and tap the connective to change it.
Three or more statements
A chain of ∧, or a chain of ∨, may be written without brackets (lessons 1.3 and 1.4): p ∧ q ∧ r stands for (p ∧ q) ∧ r. De Morgan’s laws extend to such chains.[12]
- ¬(p ∧ q ∧ r) ≡ ¬p ∨ ¬q ∨ ¬r;
- ¬(p ∨ q ∨ r) ≡ ¬p ∧ ¬q ∧ ¬r.
(1) ¬(p ∧ q ∧ r) is ¬((p ∧ q) ∧ r). Substituting p ∧ q for p and r for q in law (1) (the substitution theorem of lesson 1.8) gives ¬((p ∧ q) ∧ r) ≡ ¬(p ∧ q) ∨ ¬r. Replacing the part ¬(p ∧ q) by the equivalent ¬p ∨ ¬q (the replacement theorem) gives (¬p ∨ ¬q) ∨ ¬r, which is written ¬p ∨ ¬q ∨ ¬r. By transitivity (lesson 1.8), the first formula is equivalent to the last. (2) is proved in the same way from law (2).
In words: a chain of “and” is false as soon as one of its parts is false, and a chain of “or” is false only when all of its parts are false. Repeating the same step gives the laws for four, five or any number of statements, as Rosen states them; making “repeating” precise is an argument by mathematical induction,[13]
Let n stand for a whole number. Negate “n is a multiple of 2, of 3 and of 5”, and decide the negation for n = 40, 45 and 0.
- The statement is p ∧ q ∧ r with p: n is a multiple of 2, q: of 3, r: of 5.
- By the Theorem, its negation is ¬p ∨ ¬q ∨ ¬r: “n is not a multiple of 2, or not a multiple of 3, or not a multiple of 5”.
- n = 40: 40 = 13 × 3 + 1 is not a multiple of 3, so the negation is true.
- n = 45: 45 = 22 × 2 + 1 is not a multiple of 2, so the negation is true.
- n = 0: 0 is a multiple of every whole number (Factors and multiples), so all three parts of the negation are false, and the negation is false: the original statement is true for 0.
Answer: “n is not a multiple of 2, or not a multiple of 3, or not a multiple of 5”; true for 40 and 45, false for 0.
Negating conditionals and biconditionals
Lesson 1.5 (Conditional statements) showed that ¬(p → q) ≡ p ∧ ¬q: a conditional fails exactly when its hypothesis holds and its conclusion does not. When the conclusion or the parts are themselves conjunctions or disjunctions, De Morgan’s laws finish the job.
Let n stand for a whole number. Negate “if n is prime, then n is odd and n is not a multiple of 3”, and use the negation to find every counterexample.
- With p: n is prime, q: n is odd, r: n is a multiple of 3, the statement is p → (q ∧ ¬r).
- Substituting q ∧ ¬r for q in ¬(p → q) ≡ p ∧ ¬q gives ¬(p → (q ∧ ¬r)) ≡ p ∧ ¬(q ∧ ¬r).
- By law (1), with q, ¬r for p, q, and replacement, this is equivalent to p ∧ (¬q ∨ ¬¬r), and by double negation (lesson 1.2) to p ∧ (¬q ∨ r): “n is prime, and n is not odd or n is a multiple of 3”, that is, “n is prime, and n is even or n is a multiple of 3”.
- A prime that is even has the factor 2, and its only factors are 1 and itself, so it is 2; in the same way, a prime that is a multiple of 3 is 3 (Prime and composite numbers). So the negation is true exactly for n = 2 and n = 3, and the conditional is false for these two numbers.
- For n = 7: 7 is prime, but 7 = 3 × 2 + 1 is odd and 7 = 2 × 3 + 1 is not a multiple of 3, so both parts of the bracket are false and the negation is false: the conditional is true for 7.
Answer: “n is prime, and n is even or n is a multiple of 3”. It is true exactly for n = 2 and n = 3, the only counterexamples to the conditional.
Find a formula without ↔ and without a ¬ in front of a bracket that is equivalent to ¬(p ↔ q), and use it for “n is a multiple of 6 if and only if n is a multiple of 3”, with n from 1 to 12.
- p ↔ q ≡ (p → q) ∧ (q → p) (lesson 1.7, Biconditional statements). Equivalent formulas have equivalent negations (replacement, lesson 1.8), so ¬(p ↔ q) ≡ ¬((p → q) ∧ (q → p)).
- By law (1), with p → q and q → p substituted for p and q: ≡ ¬(p → q) ∨ ¬(q → p).
- By lesson 1.5, used twice: ≡ (p ∧ ¬q) ∨ (q ∧ ¬p). A biconditional fails exactly when one of its two directions has a counterexample.
- With p: n is a multiple of 6 and q: n is a multiple of 3, the part p ∧ ¬q is never true, since 6 × k = 3 × (2 × k). The part q ∧ ¬p is true for the multiples of 3 that are not multiples of 6: 3 and 9.
Answer: ¬(p ↔ q) ≡ (p ∧ ¬q) ∨ (q ∧ ¬p). The biconditional is false for n = 3 and 9 and true for the other ten numbers; for n = 6, for instance, both parts are true. The same column, F, T, T, F, was found in lesson 1.8 in the form (p ∧ ¬q) ∨ (¬p ∧ q).
Lesson 1.10, “The laws of logic”, adds De Morgan’s laws to the list of standard equivalences used to simplify formulas. The negation of statements that begin with “every” or “there is” follows laws of the same kind, the subject of lesson 2.4, “Negating quantified statements”, in part 2 of this unit; the unit Sets has De Morgan’s laws for sets.
The laws are named after the English mathematician Augustus De Morgan (1806–1871).[1]
Sources differ on whether the laws began with De Morgan. MacTutor’s biography says that he introduced them.[19] Jeff Miller’s list, citing W. and M. Kneale’s The Development of Logic (1962), says that they were already known to medieval logicians and occur explicitly in the Summa Totius Logicae of William of Ockham,[20] who lived from about 1287 to 1347;[21] Miller adds that De Morgan rediscovered them.[22]
Exercises
Use De Morgan’s laws to write the negation of each statement, and give the truth values of the statement and its negation. (1) “64 is a perfect square and 64 is a multiple of 3.” (2) “27 is even or 27 is prime.”
▸ Show solution
- p: 64 is a perfect square, true (64 = 8 × 8); q: 64 is a multiple of 3, false (64 = 21 × 3 + 1). So p ∧ q is false. Negation: “64 is not a perfect square or 64 is not a multiple of 3”, F ∨ T, true.
- p: 27 is even, false (27 = 13 × 2 + 1); q: 27 is prime, false (27 = 3 × 9). So p ∨ q is false. Negation: “27 is not even and 27 is not prime”, T ∧ T, true; in short, “27 is odd and not prime”.
Let x stand for an integer. Write the negation of each sentence without the word “not”: (1) x ≤ −1 or x ≥ 5; (2) 0 < x ≤ 9; (3) x ≠ 2 and x ≠ 6.
▸ Show solution
- The negation of “x ≤ −1 or x ≥ 5” is “x > −1 and x < 5” (law (2) and lesson 1.2), that is, −1 < x < 5.
- 0 < x ≤ 9 means “0 < x and x ≤ 9”. Its negation is “0 ≥ x or x > 9” (law (1)), that is, “x ≤ 0 or x > 9”.
- The negation of “x ≠ 2 and x ≠ 6” is “x = 2 or x = 6”, since the negation of x ≠ 2 is x = 2 (double negation).
True or false? (1) “Neither 91 nor 93 is prime.” (2) “39 and 40 are not both even.” (3) “39 and 40 are both not even.”
▸ Show solution
- “Neither 91 nor 93 is prime” is “91 is not prime and 93 is not prime”. 91 = 7 × 13 and 93 = 3 × 31, so it is true.
- “39 and 40 are not both even” is ¬(p ∧ q) ≡ ¬p ∨ ¬q. 39 = 19 × 2 + 1 is not even, so it is true.
- “39 and 40 are both not even” is ¬p ∧ ¬q. 40 = 20 × 2 is even, so ¬q is false and the statement is false.
An alarm sounds when the temperature t, in degrees, satisfies “t < 2 or t > 8”. Write, without the word “not”, the condition under which it is silent.
▸ Show solution
The alarm is silent exactly when “t < 2 or t > 8” is false, that is, when its negation is true. By law (2) and lesson 1.2 the negation is “t ≥ 2 and t ≤ 8”: the alarm is silent when 2 ≤ t ≤ 8, including the temperatures 2 and 8 themselves.
Negate “n is odd, n > 20 and n is a perfect square”. For which whole numbers n from 1 to 30 is the negation false?
▸ Show solution
By De Morgan’s law for three statements, the negation is “n is even, or n ≤ 20, or n is not a perfect square” (for whole numbers, “not odd” is “even”, and ¬(n > 20) is n ≤ 20).
It is false exactly when all three parts are false: n odd, n > 20 and n a perfect square. From 21 to 30 the only perfect square is 25 = 5 × 5 (16 = 4 × 4 and 36 = 6 × 6 lie outside), and 25 is odd. So the negation is false only for n = 25.
Find a formula equivalent to ¬(p ∧ (q ∨ ¬r)) in which ¬ stands only in front of letters, and check one row.
▸ Show solution
By law (1), with q ∨ ¬r substituted for q: ¬(p ∧ (q ∨ ¬r)) ≡ ¬p ∨ ¬(q ∨ ¬r). By law (2) and replacement, ¬(q ∨ ¬r) ≡ ¬q ∧ ¬¬r, and by double negation ¬¬r ≡ r. So the formula is equivalent to ¬p ∨ (¬q ∧ r).
Check in the row p T, q F, r T: q ∨ ¬r is F ∨ F = F, so p ∧ (q ∨ ¬r) is F and its negation T; and ¬p ∨ (¬q ∧ r) is F ∨ (T ∧ T) = T.
Write the negation of “n is a multiple of 4 if and only if n is even” without “if and only if”. For which whole numbers n from 1 to 12 is the biconditional false?
▸ Show solution
By the example of section 5, the negation is “n is a multiple of 4 and n is not even, or n is even and n is not a multiple of 4”. Its first part is never true: a multiple of 4, 4 × k = 2 × (2 × k), is even. Its second part is true for the even numbers that are not multiples of 4: 2, 6 and 10. So the biconditional is false exactly for n = 2, 6, 10, and true for the other nine numbers.
Prove that ¬(p ∨ q ∨ r ∨ s) ≡ ¬p ∧ ¬q ∧ ¬r ∧ ¬s, using the law for three statements.
▸ Show solution
p ∨ q ∨ r ∨ s stands for (p ∨ q ∨ r) ∨ s. Substituting p ∨ q ∨ r for p and s for q in law (2) gives ¬((p ∨ q ∨ r) ∨ s) ≡ ¬(p ∨ q ∨ r) ∧ ¬s. By the law for three statements and replacement, ¬(p ∨ q ∨ r) may be replaced by ¬p ∧ ¬q ∧ ¬r, which gives (¬p ∧ ¬q ∧ ¬r) ∧ ¬s, written ¬p ∧ ¬q ∧ ¬r ∧ ¬s. By transitivity, the first formula is equivalent to the last.
Summary
- De Morgan’s laws: ¬(p ∧ q) ≡ ¬p ∨ ¬q and ¬(p ∨ q) ≡ ¬p ∧ ¬q. To negate a conjunction or a disjunction, negate each part and change the connective.
- “Neither p nor q” is ¬p ∧ ¬q, the negation of “p or q”; “not both” is ¬(p ∧ q), which differs from “both not”.
- With the negations of comparisons, the laws negate conditions on numbers: the negation of “x < 3 or x > 7” is 3 ≤ x ≤ 7, and the negation of a chain −2 < y < 4 is “y ≤ −2 or y ≥ 4”.
- The laws extend to any number of statements: a chain of “and” fails when one part fails, a chain of “or” when every part fails.
- Together with ¬(p → q) ≡ p ∧ ¬q, they negate conditionals and biconditionals: ¬(p ↔ q) ≡ (p ∧ ¬q) ∨ (q ∧ ¬p).
Sources
- 1.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 1, “The Foundations: Logic and Proofs”, section 1.3, “Propositional Equivalences” (1.3.2, “Logical Equivalences”), p. 27 (the whole topic: pp. 27).
“This logical equivalence is one of the two De Morgan laws, shown in Table 2, named after the English mathematician Augustus De Morgan, of the mid-nineteenth century.”
Used for: the name De Morgan’s laws (Rosen’s spelling); they are named after the English mathematician Augustus De Morgan. - 2.Daniel J. Velleman, How to Prove It: A Structured Approach (2nd ed., Cambridge University Press, 2006).Chapter 1, “Sentential Logic”, section 1.2, “Truth Tables”, p. 20 (the whole topic: pp. 19–21).
“This equivalence and the one discovered in Example 1.2.4 are called DeMorgan’s laws.”
Used for: the two equivalences are called De Morgan’s laws (Velleman spells the name “DeMorgan’s”). - 3.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 1, “The Foundations: Logic and Proofs”, section 1.3, “Propositional Equivalences” (1.3.2, “Logical Equivalences”, Table 2), p. 27 (the whole topic: pp. 27).
“¬(p ∧ q) ≡ ¬p ∨ ¬q”
Used for: the statement of De Morgan’s laws (Rosen’s Table 2 lists both laws; this is the first). - 4.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 1, “The Foundations: Logic and Proofs”, section 1.3, “Propositional Equivalences” (1.3.2, “Logical Equivalences”, Example 2), p. 27 (the whole topic: pp. 27).
“Because the truth values of the compound propositions ¬(p ∨ q) and ¬p ∧ ¬q agree for all possible combinations of the truth values of p and q”
Used for: the proof of the laws by a truth table in which the columns agree in every row (Rosen proves the second law this way). - 5.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 1, “The Foundations: Logic and Proofs”, section 1.3, “Propositional Equivalences” (1.3.3, “Using De Morgan’s Laws”), p. 30 (the whole topic: pp. 30).
“tells us that the negation of a conjunction is formed by taking the disjunction of the negations of the component propositions.”
Used for: the negation of a conjunction is the disjunction of the negations of its parts. - 6.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 1, “The Foundations: Logic and Proofs”, section 1.3, “Propositional Equivalences” (1.3.3, “Using De Morgan’s Laws”), p. 30 (the whole topic: pp. 30).
“tells us that the negation of a disjunction is formed by taking the conjunction of the negations of the component propositions.”
Used for: the negation of a disjunction is the conjunction of the negations of its parts. - 7.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 1, “The Foundations: Logic and Proofs”, section 1.3, “Propositional Equivalences” (1.3.3, “Using De Morgan’s Laws”, margin note), p. 30 (the whole topic: pp. 30).
“When using De Morgan’s laws, remember to change the logical connective after you negate.”
Used for: when De Morgan’s laws are used, the connective changes: ∧ becomes ∨ and ∨ becomes ∧. - 8.Donna Kirk and others, Contemporary Mathematics (OpenStax, Rice University, 2023).Chapter 2, “Logic”, section 2.6, “De Morgan’s Laws”: “Negation of Conjunctions and Disjunctions”, p. 103 (the whole topic: pp. 102–106).
“De Morgan’s Laws allow us to write the negation of conjunctions and disjunctions without using the phrase, “It is not the case that …” to indicate the parentheses.”
Used for: De Morgan’s laws let a negation be written without the phrase “it is not the case that”, which marks a bracket. - 9.Daniel J. Velleman, How to Prove It: A Structured Approach (2nd ed., Cambridge University Press, 2006).Chapter 1, “Sentential Logic”, section 1.2, “Truth Tables”, p. 20 (the whole topic: pp. 20).
“notice that the statements “Both the Yankees and the Red Sox lost last night” and “Neither the Yankees nor the Red Sox won last night” mean the same thing.”
Used for: “neither p nor q” means “not p and not q” (both fail), ¬p ∧ ¬q; the source gives this as a reason for the second law. - 10.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter Appendix 1, “Axioms for the Real Numbers and the Positive Integers”, section A1.1, “Axioms for Real Numbers” (“Order Axioms”), pp. A-2 (the whole topic: pp. A-2).
“We write x > y (and y < x) when x is greater than y, and we write x ≥ y (and y ≤ x) when x > y or x = y.”
Used for: x ≥ 3 is the same as 3 ≤ x (and −2 ≥ y the same as y ≤ −2); a ≤ b means “a < b or a = b”. - 11.Daniel J. Velleman, How to Prove It: A Structured Approach (2nd ed., Cambridge University Press, 2006).Chapter 1, “Sentential Logic”, section 1.1, “Deductive Reasoning and Logical Connectives”, p. 13 (the whole topic: pp. 13).
“This statement means 3 ≤ π and π < 4, so once again a word of logic has been hidden in mathematical notation.”
Used for: a chain such as 3 ≤ x ≤ 7 or −2 < y < 4 is a conjunction of two comparisons (the source’s example is 3 ≤ π < 4). - 12.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 1, “The Foundations: Logic and Proofs”, section 1.3, “Propositional Equivalences” (1.3.2, “Logical Equivalences”), p. 30 (the whole topic: pp. 30).
“Furthermore, note that De Morgan’s laws extend to”
Used for: De Morgan’s laws extend to chains of any number of statements (the source then states them for p1, …, pn). - 13.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 1, “The Foundations: Logic and Proofs”, section 1.3, “Propositional Equivalences” (1.3.2, “Logical Equivalences”), p. 30 (the whole topic: pp. 30).
“(Methods for proving these identities will be given in Section 5.1.)”
Used for: the laws for any number of statements are proved by a method of Rosen’s Section 5.1, which is mathematical induction (next entry). - 14.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 1, “The Foundations: Logic and Proofs”, section 1.3, “Propositional Equivalences”, biography of Augustus De Morgan, p. 31 (the whole topic: pp. 31).
“an important proof technique known as mathematical induction (discussed in Section 5.1 of this text)”
Used for: Rosen’s Section 5.1 treats mathematical induction (so the extended laws are proved by induction). - 15.Stanley Burris and Javier Legris, “The Algebra of Logic Tradition”, Stanford Encyclopedia of Philosophy (first published 2009, revised 2021).Section “2, “1847—The Beginnings of the Modern Versions of the Algebra of Logic””. plato.stanford.edu/entries/algebra-logic-tradition · open at the quoted passage.
“In late 1847, Boole and Augustus De Morgan (1806–1871) each published a book on logic—Boole’s Mathematical Analysis of Logic (1847) and De Morgan’s Formal Logic (1847).”
Used for: De Morgan lived from 1806 to 1871; his Formal Logic appeared in 1847, the year of Boole’s Mathematical Analysis of Logic. - 16.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 1, “The Foundations: Logic and Proofs”, section 1.3, “Propositional Equivalences”, biography of Augustus De Morgan, p. 31 (the whole topic: pp. 31).
“AUGUSTUS DE MORGAN (1806–1871)”
Used for: De Morgan’s dates, 1806–1871 (second source). - 17.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 1, “The Foundations: Logic and Proofs”, section 1.3, “Propositional Equivalences”, biography of Augustus De Morgan, p. 31 (the whole topic: pp. 31).
“In the 1840s De Morgan made fundamental contributions to the development of symbolic logic. He invented notations that helped him prove propositional equivalences, such as the laws that are named after him.”
Used for: in the 1840s De Morgan made fundamental contributions to symbolic logic and invented notations that helped him prove equivalences such as his laws. - 18.Jeff Miller, “Earliest Known Uses of Some of the Words of Mathematics (D)”, MacTutor History of Mathematics Archive, University of St Andrews.Section “De Morgan’s laws”. mathshistory.st-andrews.ac.uk/Miller/mathword/d · open at the quoted passage.
“Transactions of the Cambridge Philosophical Society, 9, (1850): "The contrary of an aggregate is the compound of the contraries of the aggregants: the contrary of a compound is the aggregate of the contraries of the components."”
Used for: De Morgan’s own statement of the laws, quoted by Miller from his paper of 1850 in the Transactions of the Cambridge Philosophical Society (Miller is the only source for the paper and its year; the lesson attributes the quotation to him). - 19.J. J. O’Connor and E. F. Robertson, “Augustus De Morgan”, MacTutor History of Mathematics Archive, University of St Andrews.
“He introduced De Morgan's laws and his greatest contribution is as a reformer of mathematical logic.”
Used for: MacTutor’s biography says that De Morgan introduced the laws. - 20.Jeff Miller, “Earliest Known Uses of Some of the Words of Mathematics (D)”, MacTutor History of Mathematics Archive, University of St Andrews.Section “De Morgan’s laws”. mathshistory.st-andrews.ac.uk/Miller/mathword/d · open at the quoted passage.
“these were known to medieval logicians and "occur explictly" in William of Ockham's (c.1287-1347) Summa Totius Logicae”
Used for: according to Miller, citing W. and M. Kneale, The Development of Logic (1962), p. 295 (the sentence begins “According to W. & M. Kneale”), the laws were known to medieval logicians and occur explicitly in Ockham’s Summa Totius Logicae (Miller’s page spells “explictly”). - 21.Paul Vincent Spade, Claude Panaccio and Jenny Pelletier, “William of Ockham”, Stanford Encyclopedia of Philosophy (first published 2002, revised 2024).
“William of Ockham (c. 1287–1347) is among the most prominent figures in the history of philosophy during the Late Middle Ages”
Used for: Ockham lived from about 1287 to 1347. - 22.Jeff Miller, “Earliest Known Uses of Some of the Words of Mathematics (D)”, MacTutor History of Mathematics Archive, University of St Andrews.Section “De Morgan’s laws”. mathshistory.st-andrews.ac.uk/Miller/mathword/d · open at the quoted passage.
“They were rediscovered by Augustus de Morgan”
Used for: according to Miller, De Morgan rediscovered the laws.