SlideShare a Scribd company logo
UNIVERSITI PENDIDKAN SULTAN IDRIS




                    PREPARED BY : MOHAMAD AL FAIZ BIN
                                 SELAMAT
Slide subtopic 4
Tautology:
A proposition that is always true for all possible value of its propositional
variables.




Example of a Tautology
The compound proposition p ˅¬p is a tautology because it is always true.


                     P                   ¬p                 p ˅ ¬p

                     T                    F                   T

                     F                    T                   T
Slide subtopic 4
P   ¬p   p ˅ ¬p

T   F      F

F   T      F
Slide subtopic 4
A contingency table is a table of counts. A two-dimensional
        contingency table is formed by classifying subjects by two
     variables. One variable determines the row categories; the other
       variable defines the column categories. The combinations of
      row and column categories are called cells. Examples include
      classifying subjects by sex (male/female) and smoking status
         (current/former/never) or by "type of prenatal care" and
       "whether the birth required a neonatal ICU" (yes/no). For the
1.
        mathematician, a two-dimensional contingency table with r
           rows and c columns is the set {xi j: i =1... r; j=1... c}.
Slide subtopic 4
:


,



    Definition:
    An argument is a sequence of propositions written

    The symbol ∴ is read “therefore.” The propositions, ,… are
    called the hypotheses (or premises) or the proposition q is
    called the conclusion. The argument is valid provide that if the
    proposition are all true, then q must also be true; otherwise,
    the argument is invalid (or a fallacy).
Slide subtopic 4
p→q
Determine whether the argument
                                              p
                                                  ∴q
Is valid
        [First solution] We construct a
truth table for all the propositions
involved.
              P        q      p→q         p   q


              T        T        T         T   T


              T        F        F         T   F


              F        T        T         F   T


              F        F        T         F   F
Slide subtopic 4
Rule of inference   Name
             p→q    Modus ponens
             p
              ∴q
             p→q    Modus tollens
             ⌐q
             ∴ ⌐p
                    Addition
             p
            ∴p˅q
                    Simplification
              p˅q
             ∴p
              p     Conjunction
              q
            ∴p˅q
            p→q     Hypothetical syllogism
            q→r
            ∴p→r
             p˅q    Disjunctive syllogism
             ⌐p
             ∴q
Slide subtopic 4
Represent the argument.
     The bug is either in module 17 or in module 81
     The bug is a numerical error
     Module 81 has no numerical error
     ___________________________________________
     ∴ the bug is in module 17.

Given the beginning of this section symbolically and
  show that it is valid.
  If we let
      p : the bug is in module 17.
      q : the bug is in module 81.
      r : the bug is numerical error.
Slide subtopic 4
The argument maybe written
                 pVq
                 r
                 r → ⌐q
                 ∴p
From r → ⌐q and r, we may use modus
  ponens to conclude ⌐q. From r V q and
  ⌐q, we may use the disjunctive syllogism to
  conclude p. Thus the conclusion p follows
  from the hypotheses and the argument is
  valid.
Slide subtopic 4
This method is based on Modus Ponens,
[(p ⇒ q) ˄ p ] ⇒ q
Virtually all mathematical theorems are
  composed of implication of the type,
          (
The are called the hypothesis or premise, and
  q is called conclusion. To prove a theorem
  means to show the implication is a tautology.
  If all the are true, the q must be also true.
Slide subtopic 4
Solution:
Let p: x is odd, and q: x2 is odd. We want to prove
  p → q.
Start: p: x is odd
→ x = 2n + 1 for some integer n
→ x2 = (2n + 1)2
→ x2 = 4n2 + 4n + 1
→ x2 = 2(2n2 + 2n) + 1
→ x2 = 2m + 1, where m = (2n2 + 2n) is an
  integer
→ x2 is odd
→ q
Slide subtopic 4
Definition:
An indirect proof uses rules of inference on the negation of
the conclusion and on some of the premises to derive the
negation of a premise. This result is called a contradiction.



    Contradiction: to prove a conditional proposition
     p ⇒ q by contradiction, we first assume that the
     hypothesis p is true and the conclusion is false
     (p˄ ~ q). We then use the steps from the proof of
     ~q ⇒ ~p to show that ~p is true. This leads to a
     contradiction (p˄ ~ p), which complete the proof.
Slide subtopic 4
Proof: Assume that x is even (negation of
 conclusion).
Say x = 2n             (definition of even).
Then = (substitution)
= 2n · 2n       (definition of exponentiation)
= 2 · 2n2       (commutatively of
 multiplication.)
Which is an even number (definition of even)
This contradicts the premise that is odd.
Slide subtopic 4

More Related Content

PPTX
Slide subtopic 2
PPTX
Slide subtopic 3
PPTX
Slide subtopic 1
DOCX
PPTX
Propositional logic
PPT
Propositional And First-Order Logic
PPTX
Mathematical Logic
PPT
Per3 logika&pembuktian
Slide subtopic 2
Slide subtopic 3
Slide subtopic 1
Propositional logic
Propositional And First-Order Logic
Mathematical Logic
Per3 logika&pembuktian

What's hot (19)

PDF
Chapter 1 Logic of Compound Statements
PPT
Discrete mathematics
PPT
Logic&proof
PPTX
CMSC 56 | Lecture 2: Propositional Equivalences
PDF
Logic (slides)
PDF
Mathematical Logic
PPT
Mathematical Logic - Part 1
PPT
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
PPT
Prpositional2
PPT
Logic (PROPOSITIONS)
PPTX
Propositional logic
PPT
PPTX
Truth table
PPTX
Computer Organization and Assembly Language
PPTX
Method of direct proof
PPT
Discrete Math Lecture 02: First Order Logic
PPTX
Logic - Logical Propositions
PPT
C2.0 propositional logic
PPTX
Chapter1p1
Chapter 1 Logic of Compound Statements
Discrete mathematics
Logic&proof
CMSC 56 | Lecture 2: Propositional Equivalences
Logic (slides)
Mathematical Logic
Mathematical Logic - Part 1
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
Prpositional2
Logic (PROPOSITIONS)
Propositional logic
Truth table
Computer Organization and Assembly Language
Method of direct proof
Discrete Math Lecture 02: First Order Logic
Logic - Logical Propositions
C2.0 propositional logic
Chapter1p1
Ad

Viewers also liked (6)

PPT
IT1101 Mathematics for Computing II 2001
PPT
Lec 02 logical eq (Discrete Mathematics)
PPTX
Propositions - Discrete Structures
PPT
Propositional logic
PPTX
Discrete Mathematics - Propositional Logic
PPT
Discrete Mathematics - All chapters
IT1101 Mathematics for Computing II 2001
Lec 02 logical eq (Discrete Mathematics)
Propositions - Discrete Structures
Propositional logic
Discrete Mathematics - Propositional Logic
Discrete Mathematics - All chapters
Ad

Similar to Slide subtopic 4 (20)

PPTX
DOCX
DOCX
PDF
Course notes1
PDF
PDF
logicproof-141212042039-conversion-gate01.pdf
PDF
Chapter 01 - p3.pdf
PPTX
Arguments and methods of proof
PPTX
Chapter1p3.pptx
PDF
Ch1_part3.pdfเานดวย่ากจวาเครากนยวกวสดสสนยดสรตสะารนสเ
PDF
unit-3.pdf SRM MATHS DISCREATE MATHS 2024
PPTX
UNIT-III-PPT.pptx
PPTX
Math in the modern world math as a language.pptx
PPTX
Week 3 Logic and Proof Logic and Proof Logic and Proof
PPTX
Ex 1.6 Rules of Inference s2025.pptxjdjddidjdjdjdjdjd
PPTX
Slide subtopic 2
PPTX
Valid and Invalid Arguments.pptx
PPTX
Valid & invalid arguments
PPTX
The logic
Course notes1
logicproof-141212042039-conversion-gate01.pdf
Chapter 01 - p3.pdf
Arguments and methods of proof
Chapter1p3.pptx
Ch1_part3.pdfเานดวย่ากจวาเครากนยวกวสดสสนยดสรตสะารนสเ
unit-3.pdf SRM MATHS DISCREATE MATHS 2024
UNIT-III-PPT.pptx
Math in the modern world math as a language.pptx
Week 3 Logic and Proof Logic and Proof Logic and Proof
Ex 1.6 Rules of Inference s2025.pptxjdjddidjdjdjdjdjd
Slide subtopic 2
Valid and Invalid Arguments.pptx
Valid & invalid arguments
The logic

More from Eli Lilly and Company (13)

PPTX
Slide subtopic 5
DOCX
DOCX
DOCX
Akses dan ekuiti
PPTX
Isu profesional guru dalam pengajaran matematik
PPT
kurikulum dan kelainan upaya
PPTX
jantina dan bangsa
PPTX
jantina dan bangsa
PPTX
Jantina dan bangsa
PPTX
PPT
Trend kurikulum
PPTX
Isu profesional guru dalam pengajaran matematik
Slide subtopic 5
Akses dan ekuiti
Isu profesional guru dalam pengajaran matematik
kurikulum dan kelainan upaya
jantina dan bangsa
jantina dan bangsa
Jantina dan bangsa
Trend kurikulum
Isu profesional guru dalam pengajaran matematik

Recently uploaded (20)

PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPTX
TLE Review Electricity (Electricity).pptx
PPTX
observCloud-Native Containerability and monitoring.pptx
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
August Patch Tuesday
PPT
What is a Computer? Input Devices /output devices
PPTX
cloud_computing_Infrastucture_as_cloud_p
PPTX
Tartificialntelligence_presentation.pptx
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
Getting started with AI Agents and Multi-Agent Systems
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
project resource management chapter-09.pdf
Final SEM Unit 1 for mit wpu at pune .pptx
DP Operators-handbook-extract for the Mautical Institute
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
NewMind AI Weekly Chronicles - August'25-Week II
TLE Review Electricity (Electricity).pptx
observCloud-Native Containerability and monitoring.pptx
Hindi spoken digit analysis for native and non-native speakers
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
A contest of sentiment analysis: k-nearest neighbor versus neural network
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
Developing a website for English-speaking practice to English as a foreign la...
August Patch Tuesday
What is a Computer? Input Devices /output devices
cloud_computing_Infrastucture_as_cloud_p
Tartificialntelligence_presentation.pptx
Enhancing emotion recognition model for a student engagement use case through...
Getting started with AI Agents and Multi-Agent Systems
gpt5_lecture_notes_comprehensive_20250812015547.pdf
project resource management chapter-09.pdf

Slide subtopic 4

  • 1. UNIVERSITI PENDIDKAN SULTAN IDRIS PREPARED BY : MOHAMAD AL FAIZ BIN SELAMAT
  • 3. Tautology: A proposition that is always true for all possible value of its propositional variables. Example of a Tautology The compound proposition p ˅¬p is a tautology because it is always true. P ¬p p ˅ ¬p T F T F T T
  • 5. P ¬p p ˅ ¬p T F F F T F
  • 7. A contingency table is a table of counts. A two-dimensional contingency table is formed by classifying subjects by two variables. One variable determines the row categories; the other variable defines the column categories. The combinations of row and column categories are called cells. Examples include classifying subjects by sex (male/female) and smoking status (current/former/never) or by "type of prenatal care" and "whether the birth required a neonatal ICU" (yes/no). For the 1. mathematician, a two-dimensional contingency table with r rows and c columns is the set {xi j: i =1... r; j=1... c}.
  • 9. : , Definition: An argument is a sequence of propositions written The symbol ∴ is read “therefore.” The propositions, ,… are called the hypotheses (or premises) or the proposition q is called the conclusion. The argument is valid provide that if the proposition are all true, then q must also be true; otherwise, the argument is invalid (or a fallacy).
  • 11. p→q Determine whether the argument p ∴q Is valid [First solution] We construct a truth table for all the propositions involved. P q p→q p q T T T T T T F F T F F T T F T F F T F F
  • 13. Rule of inference Name p→q Modus ponens p ∴q p→q Modus tollens ⌐q ∴ ⌐p Addition p ∴p˅q Simplification p˅q ∴p p Conjunction q ∴p˅q p→q Hypothetical syllogism q→r ∴p→r p˅q Disjunctive syllogism ⌐p ∴q
  • 15. Represent the argument. The bug is either in module 17 or in module 81 The bug is a numerical error Module 81 has no numerical error ___________________________________________ ∴ the bug is in module 17. Given the beginning of this section symbolically and show that it is valid. If we let p : the bug is in module 17. q : the bug is in module 81. r : the bug is numerical error.
  • 17. The argument maybe written pVq r r → ⌐q ∴p From r → ⌐q and r, we may use modus ponens to conclude ⌐q. From r V q and ⌐q, we may use the disjunctive syllogism to conclude p. Thus the conclusion p follows from the hypotheses and the argument is valid.
  • 19. This method is based on Modus Ponens, [(p ⇒ q) ˄ p ] ⇒ q Virtually all mathematical theorems are composed of implication of the type, ( The are called the hypothesis or premise, and q is called conclusion. To prove a theorem means to show the implication is a tautology. If all the are true, the q must be also true.
  • 21. Solution: Let p: x is odd, and q: x2 is odd. We want to prove p → q. Start: p: x is odd → x = 2n + 1 for some integer n → x2 = (2n + 1)2 → x2 = 4n2 + 4n + 1 → x2 = 2(2n2 + 2n) + 1 → x2 = 2m + 1, where m = (2n2 + 2n) is an integer → x2 is odd → q
  • 23. Definition: An indirect proof uses rules of inference on the negation of the conclusion and on some of the premises to derive the negation of a premise. This result is called a contradiction.  Contradiction: to prove a conditional proposition p ⇒ q by contradiction, we first assume that the hypothesis p is true and the conclusion is false (p˄ ~ q). We then use the steps from the proof of ~q ⇒ ~p to show that ~p is true. This leads to a contradiction (p˄ ~ p), which complete the proof.
  • 25. Proof: Assume that x is even (negation of conclusion). Say x = 2n (definition of even). Then = (substitution) = 2n · 2n (definition of exponentiation) = 2 · 2n2 (commutatively of multiplication.) Which is an even number (definition of even) This contradicts the premise that is odd.