SlideShare una empresa de Scribd logo
1 de 26
Descargar para leer sin conexión
z
FORMAL LOGIC
Discrete Structures I
FOR-IAN V. SANDOVAL
z
Lesson 4
TAUTOLOGY, CONTRADICTION
AND CONTINGENCY
Source: Google Images
z
LEARNING OBJECTIVES
❑ Distinguish classes of compound statement
z
TAUTOLOGY
❑ a compound statement that is true for all possible
combination of the truth values of the propositional
variables also called logically true.
❑ i.e. (~p ^ q ) → q
p q ~p ~p ^ q (~p ^ q ) → q
T T F F T
T F F F T
F T T T T
F F T F T
z
CONTRADICTION
❑ a compound statement that is false for all possible
combination of the truth values of the propositional
variables also called logically false or absurdity.
❑ i.e. (~ p v q ) ⊕ (p → q )
p q ~p ~ p v q p → q (~ p v q ) ⊕ (p → q )
T T F T T F
T F F F F F
F T T T T F
F F T T T F
z
CONTINGENCY
❑ a compound statement that can be either true of false,
depending on the truth values of the propositional variables
are neither a tautology nor a contradiction. .
❑ i.e. (p → q ) ^ (p → ~q )
p q p → q ~q p → ~q (p → q ) ^ (p → ~q )
T T T F F F
T F F T T F
F T T F T T
F F T T T T
z
TAUTOLOGY, CONTRADICTION & CONTINGENCY
❑ Enrichment Exercise
Construct the truth table of the following and
determine whether the compound statement is a tautology,
contradiction and contingency.
1. p ⊕ (~p ↔ q)
2. [r ^ (p →q)] →q
3. p → (q → r )
z
TAUTOLOGY, CONTRADICTION & CONTINGENCY
1. p ⊕ (~p ↔ q)
p q
T T
T F
F T
F F
z
TAUTOLOGY, CONTRADICTION & CONTINGENCY
1. p ⊕ (~p ↔ q)
p q ~p
T T F
T F F
F T T
F F T
z
TAUTOLOGY, CONTRADICTION & CONTINGENCY
1. p ⊕ (~p ↔ q)
p q ~p (~p ↔ q)
T T F F
T F F T
F T T T
F F T F
z
TAUTOLOGY, CONTRADICTION & CONTINGENCY
1. p ⊕ (~p ↔ q)
p q ~p (~p ↔ q) p ⊕ (~p ↔ q)
T T F F T
T F F T F
F T T T T
F F T F F
Therefore, p ⊕ (~p ↔ q) is contingency.
z
TAUTOLOGY, CONTRADICTION & CONTINGENCY
2. [r ^ (p →q)] →q
p q r
T T T
T T F
T F T
T F F
F T T
F T F
F F T
F F F
z
TAUTOLOGY, CONTRADICTION & CONTINGENCY
2. [r ^ (p →q)] →q
p q r p →q
T T T T
T T F T
T F T F
T F F F
F T T T
F T F T
F F T T
F F F T
z
TAUTOLOGY, CONTRADICTION & CONTINGENCY
2. [r ^ (p →q)] →q
p q r p →q r ^ (p →q)
T T T T T
T T F T F
T F T F F
T F F F F
F T T T T
F T F T F
F F T T T
F F F T F
z
TAUTOLOGY, CONTRADICTION & CONTINGENCY
2. [r ^ (p →q)] →q
p q r p →q r ^ (p →q) [r ^ (p →q)] →q
T T T T T T
T T F T F T
T F T F F T
T F F F F T
F T T T T T
F T F T F T
F F T T T F
F F F T F T
Therefore, [r ^ (p →q)] →q is contingency.
z
TAUTOLOGY, CONTRADICTION & CONTINGENCY
3. p → (q → r )
p q r
T T T
T T F
T F T
T F F
F T T
F T F
F F T
F F F
z
TAUTOLOGY, CONTRADICTION & CONTINGENCY
3. p → (q → r )
p q r q → r
T T T T
T T F F
T F T T
T F F T
F T T T
F T F F
F F T T
F F F T
z
TAUTOLOGY, CONTRADICTION & CONTINGENCY
3. p → (q → r )
p q r q → r p → (q → r )
T T T T T
T T F F F
T F T T T
T F F T T
F T T T T
F T F F T
F F T T T
F F F T T
Therefore, [p → (q → r ) is contingency.
z
TAUTOLOGY, CONTRADICTION & CONTINGENCY
4. [p ^ (p →q)] →q
p q r
T T T
T T F
T F T
T F F
F T T
F T F
F F T
F F F
z
TAUTOLOGY, CONTRADICTION & CONTINGENCY
4. [p ^ (p →q)] →q
p q r p →q
T T T T
T T F T
T F T F
T F F F
F T T T
F T F T
F F T T
F F F T
z
TAUTOLOGY, CONTRADICTION & CONTINGENCY
4. [p ^ (p →q)] →q
p q r p →q p ^ (p →q)
T T T T T
T T F T T
T F T F F
T F F F F
F T T T F
F T F T F
F F T T F
F F F T f
z
TAUTOLOGY, CONTRADICTION & CONTINGENCY
4. [p ^ (p →q)] →q
p q r p →q p ^ (p →q) [p^ (p →q)] →q
T T T T T T
T T F T T T
T F T F F T
T F F F F T
F T T T F T
F T F T F T
F F T T F T
F F F T f T
Therefore, [p ^ (p →q)] →q is tautology.
z
TAUTOLOGY, CONTRADICTION & CONTINGENCY
5. p → ( p ↔ r )
p q r
T T T
T T F
T F T
T F F
F T T
F T F
F F T
F F F
z
TAUTOLOGY, CONTRADICTION & CONTINGENCY
5. p → ( p ↔ r )
p q r p ↔ r
T T T T
T T F F
T F T T
T F F F
F T T F
F T F T
F F T F
F F F T
z
TAUTOLOGY, CONTRADICTION & CONTINGENCY
5. p → ( p ↔ r )
p q r p ↔ r p → (p ↔ r )
T T T T T
T T F F F
T F T T T
T F F F F
F T T F T
F T F T T
F F T F T
F F F T T
Therefore, p → ( p ↔ r ) is contingency.
z
• Levin, O. (2019). Discrete Mathematics: An Open Introduction 3rd Edition. Colorado: School of Mathematics Science
University of Colorado.
• Aslam, A. (2016). Proposition in Discrete Mathematics retrieved from https://www.slideshare.net/AdilAslam4/chapter-1-
propositions-in-discrete-mathematics
• Operator Precedence retrieved from http://intrologic.stanford.edu/glossary/operator_precedence.html
REFERENCES

Más contenido relacionado

La actualidad más candente

5.4 mathematical induction
5.4 mathematical induction5.4 mathematical induction
5.4 mathematical induction
math260
 

La actualidad más candente (20)

Logic - Logical Propositions
Logic - Logical Propositions Logic - Logical Propositions
Logic - Logical Propositions
 
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكروDiscrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
 
Unit 1 rules of inference
Unit 1  rules of inferenceUnit 1  rules of inference
Unit 1 rules of inference
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Mathematical induction
Mathematical inductionMathematical induction
Mathematical induction
 
Truth table
Truth tableTruth table
Truth table
 
CMSC 56 | Lecture 4: Rules of Inference
CMSC 56 | Lecture 4: Rules of InferenceCMSC 56 | Lecture 4: Rules of Inference
CMSC 56 | Lecture 4: Rules of Inference
 
Logic (slides)
Logic (slides)Logic (slides)
Logic (slides)
 
Permutations & Combinations
Permutations & CombinationsPermutations & Combinations
Permutations & Combinations
 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical induction
 
Conjunction And Disjunction
 Conjunction And Disjunction Conjunction And Disjunction
Conjunction And Disjunction
 
Proposition (Logic)
Proposition (Logic)Proposition (Logic)
Proposition (Logic)
 
Proposition
PropositionProposition
Proposition
 
permutations power point
permutations power pointpermutations power point
permutations power point
 
Converse, contrapositive, inverse
Converse, contrapositive, inverseConverse, contrapositive, inverse
Converse, contrapositive, inverse
 
5.4 mathematical induction
5.4 mathematical induction5.4 mathematical induction
5.4 mathematical induction
 
Predicates and Quantifiers
Predicates and QuantifiersPredicates and Quantifiers
Predicates and Quantifiers
 
Discrete math Truth Table
Discrete math Truth TableDiscrete math Truth Table
Discrete math Truth Table
 
Mathematical Logic
Mathematical LogicMathematical Logic
Mathematical Logic
 
Discrete Math Lecture 03: Methods of Proof
Discrete Math Lecture 03: Methods of ProofDiscrete Math Lecture 03: Methods of Proof
Discrete Math Lecture 03: Methods of Proof
 

Similar a Formal Logic - Lesson 4 - Tautology, Contradiction and Contingency

Chapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound StatementsChapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound Statements
guestd166eb5
 
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
taimoor iftikhar
 
Assignement of discrete mathematics
Assignement of discrete mathematicsAssignement of discrete mathematics
Assignement of discrete mathematics
Syed Umair
 
Assignement of discrete mathematics
Assignement of discrete mathematicsAssignement of discrete mathematics
Assignement of discrete mathematics
Syed Umair
 
Mathematical foundations of computer science
Mathematical foundations of computer scienceMathematical foundations of computer science
Mathematical foundations of computer science
BindhuBhargaviTalasi
 
Exercise 1
Exercise 1Exercise 1
Exercise 1
Amr Nady
 

Similar a Formal Logic - Lesson 4 - Tautology, Contradiction and Contingency (20)

null-12.pdf
null-12.pdfnull-12.pdf
null-12.pdf
 
null-12.pdf
null-12.pdfnull-12.pdf
null-12.pdf
 
Formal Logic - Lesson 3 - Truth Tables
Formal Logic - Lesson 3 - Truth TablesFormal Logic - Lesson 3 - Truth Tables
Formal Logic - Lesson 3 - Truth Tables
 
M4 logic-midterm-153
M4 logic-midterm-153M4 logic-midterm-153
M4 logic-midterm-153
 
Maths teachers guide For freshman course.pdf
Maths teachers guide For freshman course.pdfMaths teachers guide For freshman course.pdf
Maths teachers guide For freshman course.pdf
 
Logic and proof
Logic and proofLogic and proof
Logic and proof
 
Nature of Logic.pptx
Nature of Logic.pptxNature of Logic.pptx
Nature of Logic.pptx
 
Formal Logic - Lesson 6 - Switching Circuits
Formal Logic - Lesson 6 - Switching CircuitsFormal Logic - Lesson 6 - Switching Circuits
Formal Logic - Lesson 6 - Switching Circuits
 
UGC NET Computer Science & Application book.pdf [Sample]
UGC NET Computer Science & Application book.pdf  [Sample]UGC NET Computer Science & Application book.pdf  [Sample]
UGC NET Computer Science & Application book.pdf [Sample]
 
Chapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound StatementsChapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound Statements
 
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
 
Assignement of discrete mathematics
Assignement of discrete mathematicsAssignement of discrete mathematics
Assignement of discrete mathematics
 
Assignement of discrete mathematics
Assignement of discrete mathematicsAssignement of discrete mathematics
Assignement of discrete mathematics
 
Discreate Truth tables and laws of logic
Discreate Truth tables and laws of logicDiscreate Truth tables and laws of logic
Discreate Truth tables and laws of logic
 
LOGIC
LOGICLOGIC
LOGIC
 
Truth table a.r
Truth table a.rTruth table a.r
Truth table a.r
 
Mathematical foundations of computer science
Mathematical foundations of computer scienceMathematical foundations of computer science
Mathematical foundations of computer science
 
CMSC 56 | Lecture 2: Propositional Equivalences
CMSC 56 | Lecture 2: Propositional EquivalencesCMSC 56 | Lecture 2: Propositional Equivalences
CMSC 56 | Lecture 2: Propositional Equivalences
 
Exercise 1
Exercise 1Exercise 1
Exercise 1
 
Arguments and methods of proof
Arguments and methods of proofArguments and methods of proof
Arguments and methods of proof
 

Más de Laguna State Polytechnic University

Más de Laguna State Polytechnic University (20)

Number Theory - Lesson 1 - Introduction to Number Theory
Number Theory - Lesson 1 - Introduction to Number TheoryNumber Theory - Lesson 1 - Introduction to Number Theory
Number Theory - Lesson 1 - Introduction to Number Theory
 
Formal Logic - Lesson 8 - Predicates and Quantifiers
Formal Logic - Lesson 8 - Predicates and QuantifiersFormal Logic - Lesson 8 - Predicates and Quantifiers
Formal Logic - Lesson 8 - Predicates and Quantifiers
 
Machine Learning Algorithms (Part 1)
Machine Learning Algorithms (Part 1)Machine Learning Algorithms (Part 1)
Machine Learning Algorithms (Part 1)
 
Artificial Intelligence Algorithms
Artificial Intelligence AlgorithmsArtificial Intelligence Algorithms
Artificial Intelligence Algorithms
 
Formal Logic - Lesson 7 - Rules of Inference
Formal Logic - Lesson 7 - Rules of InferenceFormal Logic - Lesson 7 - Rules of Inference
Formal Logic - Lesson 7 - Rules of Inference
 
Formal Logic - Lesson 2 - Logical Connectives
Formal Logic - Lesson 2 - Logical ConnectivesFormal Logic - Lesson 2 - Logical Connectives
Formal Logic - Lesson 2 - Logical Connectives
 
Formal Logic - Lesson 1 - Introduction to Logic
Formal Logic - Lesson 1 - Introduction to LogicFormal Logic - Lesson 1 - Introduction to Logic
Formal Logic - Lesson 1 - Introduction to Logic
 
Ethical Issues and Relevant Laws on Computing
Ethical Issues and Relevant Laws on ComputingEthical Issues and Relevant Laws on Computing
Ethical Issues and Relevant Laws on Computing
 
Number Systems Basic Concepts
Number Systems Basic ConceptsNumber Systems Basic Concepts
Number Systems Basic Concepts
 
Number Systems Basic Concepts
Number Systems Basic ConceptsNumber Systems Basic Concepts
Number Systems Basic Concepts
 
Exploring the Difference Between Information Technology and Information System
Exploring the Difference Between Information Technology and Information SystemExploring the Difference Between Information Technology and Information System
Exploring the Difference Between Information Technology and Information System
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Introduction to Computers
Introduction to ComputersIntroduction to Computers
Introduction to Computers
 
Introduction to Computing Logic Formulation
Introduction to Computing Logic FormulationIntroduction to Computing Logic Formulation
Introduction to Computing Logic Formulation
 
Oasis of Sparkling and Refreshing Truisms
Oasis of Sparkling and Refreshing TruismsOasis of Sparkling and Refreshing Truisms
Oasis of Sparkling and Refreshing Truisms
 
My Teacher Got IT v2.0 - Software Installation Track
My Teacher Got IT v2.0 - Software Installation TrackMy Teacher Got IT v2.0 - Software Installation Track
My Teacher Got IT v2.0 - Software Installation Track
 
A Case Study on Issues and Violations on Information Technology
A Case Study on Issues and Violations on Information TechnologyA Case Study on Issues and Violations on Information Technology
A Case Study on Issues and Violations on Information Technology
 
Centralized Learning and Assessment Tool
Centralized Learning and Assessment Tool Centralized Learning and Assessment Tool
Centralized Learning and Assessment Tool
 
E-commerce Security and Payment
E-commerce Security and PaymentE-commerce Security and Payment
E-commerce Security and Payment
 
Software Measurement and Maintenance: Software Project Failure
Software Measurement and Maintenance: Software Project FailureSoftware Measurement and Maintenance: Software Project Failure
Software Measurement and Maintenance: Software Project Failure
 

Último

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Último (20)

General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 

Formal Logic - Lesson 4 - Tautology, Contradiction and Contingency

  • 1. z FORMAL LOGIC Discrete Structures I FOR-IAN V. SANDOVAL
  • 2. z Lesson 4 TAUTOLOGY, CONTRADICTION AND CONTINGENCY Source: Google Images
  • 3. z LEARNING OBJECTIVES ❑ Distinguish classes of compound statement
  • 4. z TAUTOLOGY ❑ a compound statement that is true for all possible combination of the truth values of the propositional variables also called logically true. ❑ i.e. (~p ^ q ) → q p q ~p ~p ^ q (~p ^ q ) → q T T F F T T F F F T F T T T T F F T F T
  • 5. z CONTRADICTION ❑ a compound statement that is false for all possible combination of the truth values of the propositional variables also called logically false or absurdity. ❑ i.e. (~ p v q ) ⊕ (p → q ) p q ~p ~ p v q p → q (~ p v q ) ⊕ (p → q ) T T F T T F T F F F F F F T T T T F F F T T T F
  • 6. z CONTINGENCY ❑ a compound statement that can be either true of false, depending on the truth values of the propositional variables are neither a tautology nor a contradiction. . ❑ i.e. (p → q ) ^ (p → ~q ) p q p → q ~q p → ~q (p → q ) ^ (p → ~q ) T T T F F F T F F T T F F T T F T T F F T T T T
  • 7. z TAUTOLOGY, CONTRADICTION & CONTINGENCY ❑ Enrichment Exercise Construct the truth table of the following and determine whether the compound statement is a tautology, contradiction and contingency. 1. p ⊕ (~p ↔ q) 2. [r ^ (p →q)] →q 3. p → (q → r )
  • 8. z TAUTOLOGY, CONTRADICTION & CONTINGENCY 1. p ⊕ (~p ↔ q) p q T T T F F T F F
  • 9. z TAUTOLOGY, CONTRADICTION & CONTINGENCY 1. p ⊕ (~p ↔ q) p q ~p T T F T F F F T T F F T
  • 10. z TAUTOLOGY, CONTRADICTION & CONTINGENCY 1. p ⊕ (~p ↔ q) p q ~p (~p ↔ q) T T F F T F F T F T T T F F T F
  • 11. z TAUTOLOGY, CONTRADICTION & CONTINGENCY 1. p ⊕ (~p ↔ q) p q ~p (~p ↔ q) p ⊕ (~p ↔ q) T T F F T T F F T F F T T T T F F T F F Therefore, p ⊕ (~p ↔ q) is contingency.
  • 12. z TAUTOLOGY, CONTRADICTION & CONTINGENCY 2. [r ^ (p →q)] →q p q r T T T T T F T F T T F F F T T F T F F F T F F F
  • 13. z TAUTOLOGY, CONTRADICTION & CONTINGENCY 2. [r ^ (p →q)] →q p q r p →q T T T T T T F T T F T F T F F F F T T T F T F T F F T T F F F T
  • 14. z TAUTOLOGY, CONTRADICTION & CONTINGENCY 2. [r ^ (p →q)] →q p q r p →q r ^ (p →q) T T T T T T T F T F T F T F F T F F F F F T T T T F T F T F F F T T T F F F T F
  • 15. z TAUTOLOGY, CONTRADICTION & CONTINGENCY 2. [r ^ (p →q)] →q p q r p →q r ^ (p →q) [r ^ (p →q)] →q T T T T T T T T F T F T T F T F F T T F F F F T F T T T T T F T F T F T F F T T T F F F F T F T Therefore, [r ^ (p →q)] →q is contingency.
  • 16. z TAUTOLOGY, CONTRADICTION & CONTINGENCY 3. p → (q → r ) p q r T T T T T F T F T T F F F T T F T F F F T F F F
  • 17. z TAUTOLOGY, CONTRADICTION & CONTINGENCY 3. p → (q → r ) p q r q → r T T T T T T F F T F T T T F F T F T T T F T F F F F T T F F F T
  • 18. z TAUTOLOGY, CONTRADICTION & CONTINGENCY 3. p → (q → r ) p q r q → r p → (q → r ) T T T T T T T F F F T F T T T T F F T T F T T T T F T F F T F F T T T F F F T T Therefore, [p → (q → r ) is contingency.
  • 19. z TAUTOLOGY, CONTRADICTION & CONTINGENCY 4. [p ^ (p →q)] →q p q r T T T T T F T F T T F F F T T F T F F F T F F F
  • 20. z TAUTOLOGY, CONTRADICTION & CONTINGENCY 4. [p ^ (p →q)] →q p q r p →q T T T T T T F T T F T F T F F F F T T T F T F T F F T T F F F T
  • 21. z TAUTOLOGY, CONTRADICTION & CONTINGENCY 4. [p ^ (p →q)] →q p q r p →q p ^ (p →q) T T T T T T T F T T T F T F F T F F F F F T T T F F T F T F F F T T F F F F T f
  • 22. z TAUTOLOGY, CONTRADICTION & CONTINGENCY 4. [p ^ (p →q)] →q p q r p →q p ^ (p →q) [p^ (p →q)] →q T T T T T T T T F T T T T F T F F T T F F F F T F T T T F T F T F T F T F F T T F T F F F T f T Therefore, [p ^ (p →q)] →q is tautology.
  • 23. z TAUTOLOGY, CONTRADICTION & CONTINGENCY 5. p → ( p ↔ r ) p q r T T T T T F T F T T F F F T T F T F F F T F F F
  • 24. z TAUTOLOGY, CONTRADICTION & CONTINGENCY 5. p → ( p ↔ r ) p q r p ↔ r T T T T T T F F T F T T T F F F F T T F F T F T F F T F F F F T
  • 25. z TAUTOLOGY, CONTRADICTION & CONTINGENCY 5. p → ( p ↔ r ) p q r p ↔ r p → (p ↔ r ) T T T T T T T F F F T F T T T T F F F F F T T F T F T F T T F F T F T F F F T T Therefore, p → ( p ↔ r ) is contingency.
  • 26. z • Levin, O. (2019). Discrete Mathematics: An Open Introduction 3rd Edition. Colorado: School of Mathematics Science University of Colorado. • Aslam, A. (2016). Proposition in Discrete Mathematics retrieved from https://www.slideshare.net/AdilAslam4/chapter-1- propositions-in-discrete-mathematics • Operator Precedence retrieved from http://intrologic.stanford.edu/glossary/operator_precedence.html REFERENCES