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›Rules of Inference: Proof Methods and Strategies
    Discrete StructuresTopic 9 of 67

    Rules of Inference: Proof Methods and Strategies

    10 minread
    1,691words
    Intermediatelevel

    Rules of Inference: Proof Methods and Strategies

    In formal logic, a rule of inference is a logical rule that justifies the step-by-step reasoning process used in a proof. These rules allow you to derive conclusions from premises, ensuring that the argument is valid. They form the core foundation of mathematical proofs, and understanding them is essential for logical reasoning and deductive reasoning in fields like mathematics, computer science, and philosophy.

    Proof methods and strategies are techniques used to construct proofs, typically starting from premises (assumptions) and applying rules of inference to derive conclusions.


    1. Rules of Inference

    1.1 Modus Ponens (Affirming the Antecedent)

    • Rule: If P→QP \to QP→Q (if P then Q) is true, and PPP is true, then QQQ must also be true.

    • Form:

      • Premise 1: P→QP \to QP→Q
      • Premise 2: PPP
      • Conclusion: QQQ
    • Example:

      • Premise 1: "If it rains, the ground will be wet." ( R→WR \to WR→W )
      • Premise 2: "It rains." ( RRR )
      • Conclusion: "The ground will be wet." ( WWW )

    1.2 Modus Tollens (Denying the Consequent)

    • Rule: If P→QP \to QP→Q (if P then Q) is true, and ¬Q\neg Q¬Q (not Q) is true, then ¬P\neg P¬P (not P) must be true.

    • Form:

      • Premise 1: P→QP \to QP→Q
      • Premise 2: ¬Q\neg Q¬Q
      • Conclusion: ¬P\neg P¬P
    • Example:

      • Premise 1: "If it rains, the ground will be wet." ( R→WR \to WR→W )
      • Premise 2: "The ground is not wet." ( ¬W\neg W¬W )
      • Conclusion: "It did not rain." ( ¬R\neg R¬R )

    1.3 Disjunctive Syllogism

    • Rule: If P∨QP \lor QP∨Q (P or Q) is true, and ¬P\neg P¬P (not P) is true, then QQQ must be true.

    • Form:

      • Premise 1: P∨QP \lor QP∨Q
      • Premise 2: ¬P\neg P¬P
      • Conclusion: QQQ
    • Example:

      • Premise 1: "Either it rains or the sun is shining." ( R∨SR \lor SR∨S )
      • Premise 2: "It does not rain." ( ¬R\neg R¬R )
      • Conclusion: "The sun is shining." ( SSS )

    1.4 Hypothetical Syllogism

    • Rule: If P→QP \to QP→Q (if P then Q) is true, and Q→RQ \to RQ→R (if Q then R) is true, then P→RP \to RP→R (if P then R) must also be true.

    • Form:

      • Premise 1: P→QP \to QP→Q
      • Premise 2: Q→RQ \to RQ→R
      • Conclusion: P→RP \to RP→R
    • Example:

      • Premise 1: "If it rains, the ground will be wet." ( R→WR \to WR→W )
      • Premise 2: "If the ground is wet, the grass will grow." ( W→GW \to GW→G )
      • Conclusion: "If it rains, the grass will grow." ( R→GR \to GR→G )

    1.5 Conjunction

    • Rule: If PPP is true, and QQQ is true, then P∧QP \land QP∧Q (P and Q) is true.

    • Form:

      • Premise 1: PPP
      • Premise 2: QQQ
      • Conclusion: P∧QP \land QP∧Q
    • Example:

      • Premise 1: "It rains." ( RRR )
      • Premise 2: "The ground is wet." ( WWW )
      • Conclusion: "It rains and the ground is wet." ( R∧WR \land WR∧W )

    1.6 Simplification

    • Rule: If P∧QP \land QP∧Q (P and Q) is true, then PPP is true, and QQQ is true separately.

    • Form:

      • Premise 1: P∧QP \land QP∧Q
      • Conclusion 1: PPP
      • Conclusion 2: QQQ
    • Example:

      • Premise 1: "It rains and the ground is wet." ( R∧WR \land WR∧W )
      • Conclusion: "It rains." ( RRR )
      • Conclusion: "The ground is wet." ( WWW )

    1.7 Addition

    • Rule: If PPP is true, then P∨QP \lor QP∨Q (P or Q) is also true, for any QQQ.

    • Form:

      • Premise 1: PPP
      • Conclusion: P∨QP \lor QP∨Q
    • Example:

      • Premise 1: "It rains." ( RRR )
      • Conclusion: "It rains or the sun is shining." ( R∨SR \lor SR∨S )

    2. Proof Methods

    The process of reasoning through a formal proof involves applying the appropriate rules of inference step by step. There are various methods of proof, which include direct proofs, indirect proofs, and proof by contradiction. Here are some common methods:

    2.1 Direct Proof

    In a direct proof, you assume the premises are true and use rules of inference to directly derive the conclusion. This is the most straightforward method of proof.

    • Example: Prove that if nnn is an even integer, then n2n^2n2 is even.
      • Premise: nnn is even, so n=2kn = 2kn=2k for some integer kkk.
      • n2=(2k)2=4k2n^2 = (2k)^2 = 4k^2n2=(2k)2=4k2, which is even because 4k24k^24k2 is divisible by 2.
      • Conclusion: n2n^2n2 is even.

    2.2 Proof by Contradiction

    In a proof by contradiction, you assume the negation of the statement you want to prove, and then show that this assumption leads to a contradiction.

    • Example: Prove that 2\sqrt{2}2​ is irrational.
      • Assume 2\sqrt{2}2​ is rational, so it can be written as pq\frac{p}{q}qp​, where ppp and qqq are integers with no common factors.
      • Squaring both sides: 2=p2q22 = \frac{p^2}{q^2}2=q2p2​, or p2=2q2p^2 = 2q^2p2=2q2.
      • This implies that p2p^2p2 is even, and therefore ppp must be even. Let p=2kp = 2kp=2k.
      • Substituting p=2kp = 2kp=2k into p2=2q2p^2 = 2q^2p2=2q2, we get 4k2=2q24k^2 = 2q^24k2=2q2, or 2k2=q22k^2 = q^22k2=q2.
      • This implies that q2q^2q2 is even, and hence qqq must also be even.
      • But if both ppp and qqq are even, they have a common factor of 2, which contradicts our assumption that they had no common factors.
      • Therefore, 2\sqrt{2}2​ is irrational.

    2.3 Proof by Contrapositive

    A proof by contrapositive is a form of indirect proof where you prove the contrapositive of the statement. The contrapositive of P→QP \to QP→Q is ¬Q→¬P\neg Q \to \neg P¬Q→¬P, and the contrapositive is logically equivalent to the original statement.

    • Example: Prove that if n2n^2n2 is odd, then nnn is odd.
      • The contrapositive is: "If nnn is not odd (i.e., nnn is even), then n2n^2n2 is not odd (i.e., n2n^2n2 is even)."
      • Assume nnn is even, so n=2kn = 2kn=2k for some integer kkk.
      • Then n2=(2k)2=4k2n^2 = (2k)^2 = 4k^2n2=(2k)2=4k2, which is even.
      • Therefore, if nnn is even, n2n^2n2 is even.
      • Hence, the contrapositive is true, which implies that if n2n^2n2 is odd, nnn must be odd.

    3. Strategies for Constructing Proofs

    • Break down complex statements: In complex proofs, break the statement into smaller, manageable parts and prove each part separately using rules of inference.
    • Choose the right proof method: Depending on the problem, select an appropriate proof technique, such as direct proof, contradiction, or contrapositive.
    • Assume premises are true: Always assume your premises or hypotheses are true and apply rules of inference step by step.
    • Look for contradictions: If you encounter a contradiction while assuming the negation of the conclusion, use proof by contradiction.
    • Use counterexamples: If you are asked to disprove a statement, providing a counterexample can be an effective strategy.

    Conclusion

    Rules of inference form the foundation of logical reasoning and are essential for constructing valid formal proofs. Mastery of these rules and proof strategies is crucial in mathematics, computer science, and philosophy, where rigorous reasoning is required. By applying appropriate rules of inference and proof methods (such as direct proof, proof by contradiction, and proof by contrapositive), you can establish the truth of logical statements step by step.

    Previous topic 8
    Translations Between Symbolic Forms and Formal English
    Next topic 10
    Direct Proof

    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 time10 min
      Word count1,691
      Code examples0
      DifficultyIntermediate