De Morgan's Laws
A free Logic lesson from the “Logical Equivalence” unit, with a worked example and practice problems including step-by-step solutions.
De Morgan's Laws explain how not moves across and/or statements: not (p and q) becomes not p or not q; not (p or q) becomes not p and not q. Learning objective: Use De Morgan's Laws to negate and/or statements. Prerequisite: No formal prerequisite. Work in this lesson starts with ordinary language, then connects the idea to symbols only after the meaning is clear. Example 1: ¬(p ∧ q) is equivalent to ¬p ∨ ¬q. Example 2: A conditional is equivalent to its contrapositive, not necessarily to its converse. A common misconception is to treat familiar wording as proof; instead, check exactly what the statement says and what follows from it.
What you'll learn
- Use De Morgan's Laws to negate and/or statements
- Explain the idea in plain English before using symbols
- Use examples, non-examples, or counterexamples to check the reasoning
Worked example
Problem. Example case A (De Morgan's Laws): Worked example: Using De Morgan's Law, rewrite ¬(p ∧ q).
- Worked Example: First identify exactly what the question is asking: Example case A (De Morgan's Laws): Worked example: Using De Morgan's Law, rewrite ¬(p ∧ q).
- Use De Morgan's Laws: negating an and statement changes it to or, and negating an or statement changes it to and.
- De Morgan's Law switches ∧ to ∨.
- Both parts are negated.
Answer: ¬p ∨ ¬q
Practice problems
1. Practice case A (De Morgan's Laws): Practice: Using De Morgan's Law, rewrite ¬(p ∧ q).
Choices: ¬p ∨ ¬q · ¬p ∧ ¬q · p ∨ q · p ∧ ¬q
Show solution
- Warm-up: First identify exactly what the question is asking: Practice case A (De Morgan's Laws): Practice: Using De Morgan's Law, rewrite ¬(p ∧ q).
- Use De Morgan's Laws: negating an and statement changes it to or, and negating an or statement changes it to and.
- De Morgan's Law switches ∧ to ∨.
- Both parts are negated.
- So ¬(p ∧ q) becomes ¬p ∨ ¬q.
- Verify the selected choice by checking that it preserves the stated logical meaning and that the other choices change the rule or claim.
Answer: ¬p ∨ ¬q
2. Practice case B (De Morgan's Laws): Practice: Using De Morgan's Law, rewrite ¬(p ∨ q).
Choices: ¬p ∧ ¬q · ¬p ∨ ¬q · p ∧ q · p → q
Show solution
- Warm-up: First identify exactly what the question is asking: Practice case B (De Morgan's Laws): Practice: Using De Morgan's Law, rewrite ¬(p ∨ q).
- Use De Morgan's Laws: negating an and statement changes it to or, and negating an or statement changes it to and.
- De Morgan's Law switches ∨ to ∧.
- Both parts are negated.
- So ¬(p ∨ q) becomes ¬p ∧ ¬q.
- Verify the selected choice by checking that it preserves the stated logical meaning and that the other choices change the rule or claim.
Answer: ¬p ∧ ¬q
3. Practice case C (De Morgan's Laws): Practice: Which statement is equivalent to ¬(p ∧ q)?
Choices: ¬p ∨ ¬q · ¬p ∧ ¬q · p ∨ q · p ∧ q
Show solution
- Equivalent statements match in every row.
- De Morgan gives ¬(p ∧ q) = ¬p ∨ ¬q.
- The connective flips and both parts negate.
Answer: ¬p ∨ ¬q
4. Practice case D (De Morgan's Laws): Practice: Which statement is equivalent to ¬(p ∨ q)?
Choices: ¬p ∧ ¬q · ¬p ∨ ¬q · p ∧ q · p ↔ q
Show solution
- Equivalent statements match in every row.
- De Morgan gives ¬(p ∨ q) = ¬p ∧ ¬q.
- The connective flips and both parts negate.
Answer: ¬p ∧ ¬q
5. Practice case E (De Morgan's Laws): Practice: Which is an INCORRECT rewrite of ¬(p ∧ q)?
Choices: ¬p ∧ ¬q · ¬p ∨ ¬q · not (p and q) · ¬q ∨ ¬p
Show solution
- Core Practice: First identify exactly what the question is asking: Practice case E (De Morgan's Laws): Practice: Which is an INCORRECT rewrite of ¬(p ∧ q)?
- Use De Morgan's Laws: negating an and statement changes it to or, and negating an or statement changes it to and.
- The correct rewrite is ¬p ∨ ¬q.
- Leaving the connective as ∧ is the classic mistake.
- So ¬p ∧ ¬q is incorrect.
- Verify the selected choice by checking that it preserves the stated logical meaning and that the other choices change the rule or claim.
Answer: ¬p ∧ ¬q
Practice this interactively with instant feedback and an AI tutor.
Practice De Morgan's Laws Take the free placement check