ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Discrete Structures
    GE-167
    Progress0 / 67 topics
    Topics
    1. Mathematical Reasoning: Propositional and Predicate Logic2. Propositional Logic: Logical Operators3. Translations Between Symbolic Expressions and Formal English Expression4. Logical Equivalences5. Predicate Logic: Quantifiers6. Nested Quantification7. Equivalences in Predicate Logic8. Translations Between Symbolic Forms and Formal English9. Rules of Inference: Proof Methods and Strategies10. Direct Proof11. Proof by Contraposition12. Proof by Induction13. Proof by Implication14. Existence Proof15. Uniqueness Proofs16. Trivial Proofs17. Vacuous Proofs18. Sets: Notations and Set Operations19. Venn Diagrams20. Countable and Uncountable Sets21. Relations: Equivalence Relations and Partitions22. Partial Orderings23. Recurrence Relations24. Functions: Injective, Surjective, Bijective25. Special Types of Functions26. Function Composition27. Inverse Functions28. Recursive Functions29. Compositions30. Number Theory: Sequences and Series31. Counting: Inclusion and Exclusion Principle32. Pigeonhole Principle33. Permutations and Combinations34. Integers and Divisibility: Division Theorem35. Modular Arithmetic36. LCM and GCD37. Euclidean and Extended Euclidean Method38. Finding Solutions to Congruence39. Primes: Fundamental Theorem of Arithmetic40. Characterizations of Primes41. Mersenne Primes42. Induction: Weak Induction43. Strong Induction44. Recursion and Recurrences: Formulation of Recurrences45. Closed Formulas46. Counting: Product Rule and Sum Rule47. Principle of Inclusion-Exclusion48. Binomial Coefficients49. Pascal's Identity and Pascal’s Triangle50. Binomial Theorem51. Relations: Reflexive, Symmetric, Transitive, and Antisymmetric52. Equivalence Relations and Equivalence Classes53. Partial Orders54. Graph Theory: Terminologies55. Elements of Graph Theory56. Planar Graphs57. Graph Coloring58. Euler Graph59. Hamiltonian Path60. Rooted Trees61. Graph Traversals62. Handshaking Lemma and Corollary63. Special Families of Graphs64. Graph Isomorphism65. Planarity in Graphs66. Eulerian and Hamiltonian Graphs67. Trees in Graph Theory
    GE-167›Logical Equivalences
    Discrete StructuresTopic 4 of 67

    Logical Equivalences

    9 minread
    1,578words
    Intermediatelevel

    Logical Equivalences

    In propositional logic, logical equivalences refer to relationships between two logical statements that always have the same truth value in every possible situation. In other words, two expressions are logically equivalent if, no matter what truth values are assigned to their components, the truth values of the expressions are identical.

    Logical equivalences are fundamental in simplifying complex logical expressions, proving theorems, and reasoning about logical statements.

    Here are some of the most important logical equivalences and their applications.


    1. Double Negation Law

    • Statement: ¬(¬p)≡p\neg (\neg p) \equiv p¬(¬p)≡p
    • Explanation: The negation of the negation of a proposition is logically equivalent to the original proposition. If a statement is false, negating it twice will bring it back to true.
    • Example: If ppp is "It is raining," then ¬(¬p)\neg (\neg p)¬(¬p) is "It is not true that it is not raining," which simplifies to "It is raining."

    2. De Morgan's Laws

    De Morgan's laws provide equivalences for negations of conjunctions and disjunctions.

    First Law: ¬(p∧q)≡¬p∨¬q\neg (p \land q) \equiv \neg p \lor \neg q¬(p∧q)≡¬p∨¬q

    • Explanation: The negation of a conjunction is equivalent to the disjunction of the negations. In other words, "not (both ppp and qqq)" is the same as saying "either not ppp, or not qqq."
    • Example:
      • ppp: "It is raining."
      • qqq: "It is cold."
      • ¬(p∧q)\neg (p \land q)¬(p∧q): "It is not true that it is both raining and cold."
      • ¬p∨¬q\neg p \lor \neg q¬p∨¬q: "Either it is not raining, or it is not cold."

    Second Law: ¬(p∨q)≡¬p∧¬q\neg (p \lor q) \equiv \neg p \land \neg q¬(p∨q)≡¬p∧¬q

    • Explanation: The negation of a disjunction is equivalent to the conjunction of the negations. In other words, "not (either ppp or qqq)" is the same as saying "neither ppp nor qqq."
    • Example:
      • ppp: "It is raining."
      • qqq: "It is cold."
      • ¬(p∨q)\neg (p \lor q)¬(p∨q): "It is not true that it is either raining or cold."
      • ¬p∧¬q\neg p \land \neg q¬p∧¬q: "It is neither raining nor cold."

    3. Commutative Laws

    These laws describe how the order of the propositions in conjunctions and disjunctions does not affect the truth value.

    For Conjunction: p∧q≡q∧pp \land q \equiv q \land pp∧q≡q∧p

    • Explanation: The order in which you combine two propositions with AND does not change the result. If ppp and qqq are both true, so is q∧pq \land pq∧p.

    For Disjunction: p∨q≡q∨pp \lor q \equiv q \lor pp∨q≡q∨p

    • Explanation: Similarly, the order in which you combine two propositions with OR does not change the result. If at least one of ppp or qqq is true, then both p∨qp \lor qp∨q and q∨pq \lor pq∨p are true.

    4. Associative Laws

    These laws describe how the grouping of propositions in conjunctions and disjunctions does not affect the truth value.

    For Conjunction: (p∧q)∧r≡p∧(q∧r)(p \land q) \land r \equiv p \land (q \land r)(p∧q)∧r≡p∧(q∧r)

    • Explanation: The grouping of propositions in a conjunction does not matter. If all propositions are true, then the result will be true, no matter how you group them.

    For Disjunction: (p∨q)∨r≡p∨(q∨r)(p \lor q) \lor r \equiv p \lor (q \lor r)(p∨q)∨r≡p∨(q∨r)

    • Explanation: The grouping of propositions in a disjunction does not matter. If at least one of the propositions is true, the result will be true, regardless of the grouping.

    5. Identity Laws

    These laws show how a proposition combined with itself or with a neutral element affects the result.

    For Conjunction: p∧True≡pp \land \text{True} \equiv pp∧True≡p

    • Explanation: Conjunction with True leaves the original proposition unchanged. If ppp is true, then p∧Truep \land \text{True}p∧True is just ppp.

    For Disjunction: p∨False≡pp \lor \text{False} \equiv pp∨False≡p

    • Explanation: Disjunction with False leaves the original proposition unchanged. If ppp is true, then p∨Falsep \lor \text{False}p∨False is just ppp.

    6. Domination Laws

    These laws describe how combining propositions with true or false can dominate the result.

    For Conjunction: p∧False≡Falsep \land \text{False} \equiv \text{False}p∧False≡False

    • Explanation: Conjunction with False always results in False, regardless of the truth value of ppp.

    For Disjunction: p∨True≡Truep \lor \text{True} \equiv \text{True}p∨True≡True

    • Explanation: Disjunction with True always results in True, regardless of the truth value of ppp.

    7. Idempotent Laws

    These laws describe how repeating the same proposition in conjunctions or disjunctions does not change the result.

    For Conjunction: p∧p≡pp \land p \equiv pp∧p≡p

    • Explanation: Repeating the same proposition in a conjunction does not change its value. If ppp is true, p∧pp \land pp∧p is just ppp.

    For Disjunction: p∨p≡pp \lor p \equiv pp∨p≡p

    • Explanation: Repeating the same proposition in a disjunction does not change its value. If ppp is true, p∨pp \lor pp∨p is just ppp.

    8. Absorption Laws

    These laws describe how combining a proposition with a conjunction or disjunction involving a part of that proposition can be simplified.

    For Conjunction: p∧(p∨q)≡pp \land (p \lor q) \equiv pp∧(p∨q)≡p

    • Explanation: The conjunction of ppp and (p∨q)(p \lor q)(p∨q) simplifies to just ppp, because if ppp is true, the whole expression is true regardless of qqq.

    For Disjunction: p∨(p∧q)≡pp \lor (p \land q) \equiv pp∨(p∧q)≡p

    • Explanation: The disjunction of ppp and (p∧q)(p \land q)(p∧q) simplifies to just ppp, because if ppp is true, the whole expression is true regardless of qqq.

    9. Contradiction and Tautology

    Contradiction: p∧¬p≡Falsep \land \neg p \equiv \text{False}p∧¬p≡False

    • Explanation: A proposition ppp and its negation ¬p\neg p¬p cannot both be true at the same time, so their conjunction is always false.

    Tautology: p∨¬p≡Truep \lor \neg p \equiv \text{True}p∨¬p≡True

    • Explanation: A proposition ppp or its negation ¬p\neg p¬p must be true, so their disjunction is always true.

    10. Implication and Disjunction

    An implication can be rewritten as a disjunction.

    Implication: p→q≡¬p∨qp \to q \equiv \neg p \lor qp→q≡¬p∨q

    • Explanation: An implication p→qp \to qp→q is logically equivalent to ¬p∨q\neg p \lor q¬p∨q. If ppp is false, p→qp \to qp→q is true, which is equivalent to ¬p∨q\neg p \lor q¬p∨q being true.

    Conclusion

    Understanding logical equivalences is essential for simplifying logical expressions, solving logical puzzles, and proving logical statements. By applying these equivalences, you can transform complex logical formulas into simpler or more useful forms, making it easier to reason about their truth values and relationships.

    Previous topic 3
    Translations Between Symbolic Expressions and Formal English Expression
    Next topic 5
    Predicate Logic: Quantifiers

    Past Papers

    Open this section to load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time9 min
      Word count1,578
      Code examples0
      DifficultyIntermediate