SlideShare a Scribd company logo
1 of 26
Download to read offline
LOGIC
PROPOSITIONAL LOGIC
l Proposition
l declarative statement that is either true or false,
but not both
l the following statements are propositions:
l The square root of 2 is irrational.
l In the year 2010, more Filipinos will go to Canada.
l -5 < 75
l the following statements are NOT propositions:
l What did you say?
l This sentence is false.
l x = 6
PROPOSITIONAL LOGIC
l Notation
l atomic propositions
l capital letters
l compound propositions
l atomic propositions with logical connectives
l defined via truth tables
l truth values of propositions
l 1 or T (true)
l 0 or F (false)
LOGICAL CONNECTIVES
Operator Symbol Usage
Negation ¬ not
Conjunction ∧ and
Disjunction ∨ or
Conditional → if, then
Biconditional ↔ iff
NEGATION
l turns a false proposition to true and turns
a true proposition to false
l truth table
P ¬ P
1 0
0 1
l example
l P: 10 is divisible by 2.
l ¬ P: 10 is not divisible by 2.
CONJUNCTION
l truth table
P Q P ∧ Q
1 1 1
1 0 0
0 1 0
0 0 0
CONJUNCTION
l examples
l 6 < 7 and 7 < 8
l 2*4 = 16 and a quart is larger than a liter.
l P: Barrack Obama is the American president.
Q: Benigno Aquino III is the Filipino president.
R: Corazon Aquino was an American president.
P ∧ Q P ∧ R R ∧ Q
DISJUNCTION
l truth table
P Q P ∨ Q
1 1 1
1 0 1
0 1 1
0 0 0
DISJUNCTION
l examples
l 6 < 7 or Venus is smaller than earth.
l 2*4 = 16 or a quart is larger than a liter.
l P: Slater Young is a millionaire.
Q: Lucio Tan is a billionaire
R: Steve Jobs was a billionaire.
P ∨ Q P ∨ R R ∨ Q
CONDITIONAL/IMPLICATION
l P is the hypothesis or premise
l Q is the conclusion
l truth table
P Q P → Q
1 1 1
1 0 0
0 1 1
0 0 1
CONDITIONAL/IMPLICATION
l other ways to express P → Q:
l If P then Q
l P only if Q
l P is sufficient for Q
l Q if P
l Q whenever P
l Q is necessary for P
CONDITIONAL/IMPLICATION
l examples:
l If triangle ABC is isosceles, then the base angles
A and B are equal.
l 1+2 = 3 implies that 1 < 0.
l If the sun shines tomorrow, I will play basketball.
l If you get 100 in the final exam, then you will
pass the course.
l If 0 = 1, then 3 = 9.
BICONDITIONAL
l logically equivalent to P → Q ∧ Q → P
l truth table
P Q P ↔ Q
1 1 1
1 0 0
0 1 0
0 0 1
BICONDITIONAL
l examples
l A rectangle is a square if and only if its diagonals
are perpendicular.
l 5 + 6 = 6 if and only if 7 + 1 = 10.
OTHER CONCEPTS
l contrapositive
l ¬ Q → ¬ P contrapositive of P → Q
l ¬ Q → ¬ P is equivalent to P → Q
l inverse
l ¬ P → ¬ Q is the inverse of P → Q
l P → Q is not equivalent to its inverse
l converse
l Q → P is the converse of P → Q
OTHER CONCEPTS
l types of propositional forms
l tautology – a proposition that is always true
under all possible combinations of truth values
for all component propositions
l contradiction – a proposition that is always false
under all possible combinations of truth values
for all component propositions
l contingency – a proposition that is neither a
tautology nor a contradiction
SAMPLE TRUTH TABLES
P Q P ∧ Q (P ∧ Q) → P
1 1 1 1
1 0 0 1
0 1 0 1
0 0 0 1
(P ∧ Q) → P
SAMPLE TRUTH TABLES
P ¬ P P ∧ ¬ P
1 0 0
0 1 0
P ∧ ¬ P
SAMPLE TRUTH TABLES
P Q P ∨ Q (P ∨ Q )→ P
1 1 1 1
1 0 1 1
0 1 1 0
0 0 0 1
(P ∨ Q) → P
SAMPLE TRUTH TABLES
P Q P ↔ Q P ∧ Q ¬ P ∧¬ Q (P ∧ Q) ∨
(¬ P ∧¬ Q)
1 1 1 1 0 1
1 0 0 0 0 0
0 1 0 0 0 0
0 0 1 0 1 1
Show that (P ↔ Q) ↔(( P ∧ Q) ∨ (¬ P ∧¬ Q))
Equivalent Propositions
(Logical Equivalence)
l When are two propositions equivalent?
Suppose P and Q are compound propostions, P
and Q are equivalent if the truth value of P is
always equal to the truth value of Q for all the
permutation of truth values to the component
propositions
Equivalent Propositions
(Logical Equivalence)
l Suppose P is equivalent to Q. P may be used to
replace Q or vice versa.
l The Rules of Replacement are equivalent
propositions(Logically equivalent propositions)
l The Rules of Replacement are used to simplify a
proposition (Deriving a proposition equivalent to
a given proposition)
Rules of Replacement
1. Idempotence
P ≡ ( P ∨ P ) , P ≡ ( P ∧ P )
2. Commutativity
( P ∨ Q ) ≡ ( Q ∨ P ), ( P ∧ Q ) ≡ ( Q ∧ P )
3. Associativity,
( P ∨ Q ) ∨ R ≡ P ∨ ( Q ∨ R ),
( P ∧ Q ) ∧ R ≡ P ∧ ( Q ∧ R )
4. De Morgan’s Laws
¬ ( P ∨ Q ) ≡ ¬P ∧ ¬Q,
¬ ( P ∧ Q ) ≡ ¬P ∨ ¬Q
Rules of Replacement
5. Distributivity of ∧ over ∨
P ∧ ( Q ∨ R ) ≡ ( P ∧ Q ) ∨ ( P ∧ R )
6. Distributivity of ∨ over ∧
P ∨ ( Q ∧ R ) ≡ ( P ∨ Q ) ∧ ( P ∨ R )
7. Double Negation
¬ (¬ P) ≡ P
8. Material Implication
( P ⇒ Q ) ≡ (¬ P ∨ Q )
9. Material Equivalence
( P ⇔ Q ) ≡ ( P ⇒ Q ) ∧ ( Q⇒P )
Rules of Replacement
10. Exportation
[ ( P ∧ Q ) ⇒ R ] ≡ [ P ⇒ ( Q ⇒ R ) ]
11. Absurdity
[ ( P ⇒ Q ) ∧ ( P ⇒ ¬ Q )] ≡ ¬ P
12. Contrapositive
( P ⇒ Q ) ≡ (¬ Q ⇒ ¬P )
Rules of Replacement
13. Identities
P ∨ 1 ≡ 1 P ∧ 1 ≡ P
P ∨ 0 ≡ P P ∧ 0 ≡ 0
P ∨ ¬P ≡ 1 P ∧ ¬P ≡ 0
¬0 ≡ 1 ¬1 ≡ 0

More Related Content

What's hot

logic and set theory
logic and set theorylogic and set theory
logic and set theory
Nathan Trillo
 
Precalculus 10 Sequences and Series.pptx
Precalculus 10 Sequences and Series.pptxPrecalculus 10 Sequences and Series.pptx
Precalculus 10 Sequences and Series.pptx
DominicCaling
 
Direct variation power point
Direct variation power pointDirect variation power point
Direct variation power point
toni dimella
 

What's hot (20)

Graphs of the Sine and Cosine Functions Lecture
Graphs of the Sine and Cosine Functions LectureGraphs of the Sine and Cosine Functions Lecture
Graphs of the Sine and Cosine Functions Lecture
 
Math major 14 differential calculus pw
Math major 14 differential calculus pwMath major 14 differential calculus pw
Math major 14 differential calculus pw
 
logic and set theory
logic and set theorylogic and set theory
logic and set theory
 
Rational Root Theorem.ppt
Rational Root Theorem.pptRational Root Theorem.ppt
Rational Root Theorem.ppt
 
Mathematics 9 Lesson 6: Rational Exponents
Mathematics 9 Lesson 6: Rational ExponentsMathematics 9 Lesson 6: Rational Exponents
Mathematics 9 Lesson 6: Rational Exponents
 
Conditionals
ConditionalsConditionals
Conditionals
 
One to-one function (MATH 11)
One to-one function (MATH 11)One to-one function (MATH 11)
One to-one function (MATH 11)
 
Precalculus 10 Sequences and Series.pptx
Precalculus 10 Sequences and Series.pptxPrecalculus 10 Sequences and Series.pptx
Precalculus 10 Sequences and Series.pptx
 
Mean of a discrete random variable.ppt
Mean of a discrete random variable.pptMean of a discrete random variable.ppt
Mean of a discrete random variable.ppt
 
Properties of real numbers
Properties of real numbersProperties of real numbers
Properties of real numbers
 
Lesson 1: Functions as Models
Lesson 1:  Functions as ModelsLesson 1:  Functions as Models
Lesson 1: Functions as Models
 
Polynomial equations
Polynomial equationsPolynomial equations
Polynomial equations
 
Lesson 30: The Definite Integral
Lesson 30: The  Definite  IntegralLesson 30: The  Definite  Integral
Lesson 30: The Definite Integral
 
Geometric series
Geometric seriesGeometric series
Geometric series
 
Mathematics 9 Lesson 4-A: Direct Variation
Mathematics 9 Lesson 4-A: Direct VariationMathematics 9 Lesson 4-A: Direct Variation
Mathematics 9 Lesson 4-A: Direct Variation
 
Chapter 5 Direct Variation
Chapter 5 Direct VariationChapter 5 Direct Variation
Chapter 5 Direct Variation
 
Direct variation power point
Direct variation power pointDirect variation power point
Direct variation power point
 
Ppt on inverse trigonometric functions
Ppt on inverse trigonometric functionsPpt on inverse trigonometric functions
Ppt on inverse trigonometric functions
 
Mathematical induction and divisibility rules
Mathematical induction and divisibility rulesMathematical induction and divisibility rules
Mathematical induction and divisibility rules
 
Lesson 1 functions as models
Lesson 1 functions as modelsLesson 1 functions as models
Lesson 1 functions as models
 

Viewers also liked

Logic Notes
Logic NotesLogic Notes
Logic Notes
acavis
 
Propositional logic & inference
Propositional logic & inferencePropositional logic & inference
Propositional logic & inference
Slideshare
 
Translating English to Propositional Logic
Translating English to Propositional LogicTranslating English to Propositional Logic
Translating English to Propositional Logic
Janet Stemwedel
 
Discrete Mathematics - All chapters
Discrete Mathematics - All chapters Discrete Mathematics - All chapters
Discrete Mathematics - All chapters
Omnia A. Abdullah
 

Viewers also liked (13)

PowerPoint Presentation
PowerPoint PresentationPowerPoint Presentation
PowerPoint Presentation
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Truth table
Truth tableTruth table
Truth table
 
Propositional logic sneha-mam
Propositional logic sneha-mam Propositional logic sneha-mam
Propositional logic sneha-mam
 
Logic part1
Logic part1Logic part1
Logic part1
 
Logic Notes
Logic NotesLogic Notes
Logic Notes
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Propositional logic & inference
Propositional logic & inferencePropositional logic & inference
Propositional logic & inference
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Discrete Mathematics - Propositional Logic
Discrete Mathematics - Propositional LogicDiscrete Mathematics - Propositional Logic
Discrete Mathematics - Propositional Logic
 
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 د. خالد بكرو
 
Translating English to Propositional Logic
Translating English to Propositional LogicTranslating English to Propositional Logic
Translating English to Propositional Logic
 
Discrete Mathematics - All chapters
Discrete Mathematics - All chapters Discrete Mathematics - All chapters
Discrete Mathematics - All chapters
 

Similar to Logic parti

[gaNita] 2. Propositional Equivalences [math.fsu.edu].pdf
[gaNita] 2. Propositional Equivalences [math.fsu.edu].pdf[gaNita] 2. Propositional Equivalences [math.fsu.edu].pdf
[gaNita] 2. Propositional Equivalences [math.fsu.edu].pdf
rAjyarAjanItjJa
 
Discrete-Chapter 04 Logic Part II
Discrete-Chapter 04 Logic Part IIDiscrete-Chapter 04 Logic Part II
Discrete-Chapter 04 Logic Part II
Wongyos Keardsri
 
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
 
Mathematical foundations of computer science
Mathematical foundations of computer scienceMathematical foundations of computer science
Mathematical foundations of computer science
BindhuBhargaviTalasi
 

Similar to Logic parti (20)

Course notes1
Course notes1Course notes1
Course notes1
 
UNIT-III-PPT.pptx
UNIT-III-PPT.pptxUNIT-III-PPT.pptx
UNIT-III-PPT.pptx
 
Logic and proof
Logic and proofLogic and proof
Logic and proof
 
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]
 
[gaNita] 2. Propositional Equivalences [math.fsu.edu].pdf
[gaNita] 2. Propositional Equivalences [math.fsu.edu].pdf[gaNita] 2. Propositional Equivalences [math.fsu.edu].pdf
[gaNita] 2. Propositional Equivalences [math.fsu.edu].pdf
 
Discrete-Chapter 04 Logic Part II
Discrete-Chapter 04 Logic Part IIDiscrete-Chapter 04 Logic Part II
Discrete-Chapter 04 Logic Part II
 
12_Truth_Tables.pptx
12_Truth_Tables.pptx12_Truth_Tables.pptx
12_Truth_Tables.pptx
 
Fundamentals of logic 1
Fundamentals of logic   1Fundamentals of logic   1
Fundamentals of logic 1
 
DMS UNIT-1 ppt.pptx
DMS UNIT-1 ppt.pptxDMS UNIT-1 ppt.pptx
DMS UNIT-1 ppt.pptx
 
Chapter1p1.pdf
Chapter1p1.pdfChapter1p1.pdf
Chapter1p1.pdf
 
BARSA-PRESENTATION.pptx
BARSA-PRESENTATION.pptxBARSA-PRESENTATION.pptx
BARSA-PRESENTATION.pptx
 
Chapter 01 - p1.pdf
Chapter 01 - p1.pdfChapter 01 - p1.pdf
Chapter 01 - p1.pdf
 
DS Lecture 2.ppt
DS Lecture 2.pptDS Lecture 2.ppt
DS Lecture 2.ppt
 
Logical arguments and its computer applications.
Logical arguments and its computer applications.Logical arguments and its computer applications.
Logical arguments and its computer applications.
 
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
 
Logic - Logical Propositions
Logic - Logical Propositions Logic - Logical Propositions
Logic - Logical Propositions
 
Discrete mathematics
Discrete mathematicsDiscrete mathematics
Discrete mathematics
 
Chapter1p1
Chapter1p1Chapter1p1
Chapter1p1
 
Tablas de Verdad
Tablas de VerdadTablas de Verdad
Tablas de Verdad
 
Mathematical foundations of computer science
Mathematical foundations of computer scienceMathematical foundations of computer science
Mathematical foundations of computer science
 

Recently uploaded

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
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 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
 

Recently uploaded (20)

Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
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
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
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
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).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
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
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
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 

Logic parti

  • 2. PROPOSITIONAL LOGIC l Proposition l declarative statement that is either true or false, but not both l the following statements are propositions: l The square root of 2 is irrational. l In the year 2010, more Filipinos will go to Canada. l -5 < 75 l the following statements are NOT propositions: l What did you say? l This sentence is false. l x = 6
  • 3. PROPOSITIONAL LOGIC l Notation l atomic propositions l capital letters l compound propositions l atomic propositions with logical connectives l defined via truth tables l truth values of propositions l 1 or T (true) l 0 or F (false)
  • 4. LOGICAL CONNECTIVES Operator Symbol Usage Negation ¬ not Conjunction ∧ and Disjunction ∨ or Conditional → if, then Biconditional ↔ iff
  • 5. NEGATION l turns a false proposition to true and turns a true proposition to false l truth table P ¬ P 1 0 0 1 l example l P: 10 is divisible by 2. l ¬ P: 10 is not divisible by 2.
  • 6. CONJUNCTION l truth table P Q P ∧ Q 1 1 1 1 0 0 0 1 0 0 0 0
  • 7. CONJUNCTION l examples l 6 < 7 and 7 < 8 l 2*4 = 16 and a quart is larger than a liter. l P: Barrack Obama is the American president. Q: Benigno Aquino III is the Filipino president. R: Corazon Aquino was an American president. P ∧ Q P ∧ R R ∧ Q
  • 8. DISJUNCTION l truth table P Q P ∨ Q 1 1 1 1 0 1 0 1 1 0 0 0
  • 9. DISJUNCTION l examples l 6 < 7 or Venus is smaller than earth. l 2*4 = 16 or a quart is larger than a liter. l P: Slater Young is a millionaire. Q: Lucio Tan is a billionaire R: Steve Jobs was a billionaire. P ∨ Q P ∨ R R ∨ Q
  • 10. CONDITIONAL/IMPLICATION l P is the hypothesis or premise l Q is the conclusion l truth table P Q P → Q 1 1 1 1 0 0 0 1 1 0 0 1
  • 11. CONDITIONAL/IMPLICATION l other ways to express P → Q: l If P then Q l P only if Q l P is sufficient for Q l Q if P l Q whenever P l Q is necessary for P
  • 12. CONDITIONAL/IMPLICATION l examples: l If triangle ABC is isosceles, then the base angles A and B are equal. l 1+2 = 3 implies that 1 < 0. l If the sun shines tomorrow, I will play basketball. l If you get 100 in the final exam, then you will pass the course. l If 0 = 1, then 3 = 9.
  • 13. BICONDITIONAL l logically equivalent to P → Q ∧ Q → P l truth table P Q P ↔ Q 1 1 1 1 0 0 0 1 0 0 0 1
  • 14. BICONDITIONAL l examples l A rectangle is a square if and only if its diagonals are perpendicular. l 5 + 6 = 6 if and only if 7 + 1 = 10.
  • 15. OTHER CONCEPTS l contrapositive l ¬ Q → ¬ P contrapositive of P → Q l ¬ Q → ¬ P is equivalent to P → Q l inverse l ¬ P → ¬ Q is the inverse of P → Q l P → Q is not equivalent to its inverse l converse l Q → P is the converse of P → Q
  • 16. OTHER CONCEPTS l types of propositional forms l tautology – a proposition that is always true under all possible combinations of truth values for all component propositions l contradiction – a proposition that is always false under all possible combinations of truth values for all component propositions l contingency – a proposition that is neither a tautology nor a contradiction
  • 17. SAMPLE TRUTH TABLES P Q P ∧ Q (P ∧ Q) → P 1 1 1 1 1 0 0 1 0 1 0 1 0 0 0 1 (P ∧ Q) → P
  • 18. SAMPLE TRUTH TABLES P ¬ P P ∧ ¬ P 1 0 0 0 1 0 P ∧ ¬ P
  • 19. SAMPLE TRUTH TABLES P Q P ∨ Q (P ∨ Q )→ P 1 1 1 1 1 0 1 1 0 1 1 0 0 0 0 1 (P ∨ Q) → P
  • 20. SAMPLE TRUTH TABLES P Q P ↔ Q P ∧ Q ¬ P ∧¬ Q (P ∧ Q) ∨ (¬ P ∧¬ Q) 1 1 1 1 0 1 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 1 1 Show that (P ↔ Q) ↔(( P ∧ Q) ∨ (¬ P ∧¬ Q))
  • 21. Equivalent Propositions (Logical Equivalence) l When are two propositions equivalent? Suppose P and Q are compound propostions, P and Q are equivalent if the truth value of P is always equal to the truth value of Q for all the permutation of truth values to the component propositions
  • 22. Equivalent Propositions (Logical Equivalence) l Suppose P is equivalent to Q. P may be used to replace Q or vice versa. l The Rules of Replacement are equivalent propositions(Logically equivalent propositions) l The Rules of Replacement are used to simplify a proposition (Deriving a proposition equivalent to a given proposition)
  • 23. Rules of Replacement 1. Idempotence P ≡ ( P ∨ P ) , P ≡ ( P ∧ P ) 2. Commutativity ( P ∨ Q ) ≡ ( Q ∨ P ), ( P ∧ Q ) ≡ ( Q ∧ P ) 3. Associativity, ( P ∨ Q ) ∨ R ≡ P ∨ ( Q ∨ R ), ( P ∧ Q ) ∧ R ≡ P ∧ ( Q ∧ R ) 4. De Morgan’s Laws ¬ ( P ∨ Q ) ≡ ¬P ∧ ¬Q, ¬ ( P ∧ Q ) ≡ ¬P ∨ ¬Q
  • 24. Rules of Replacement 5. Distributivity of ∧ over ∨ P ∧ ( Q ∨ R ) ≡ ( P ∧ Q ) ∨ ( P ∧ R ) 6. Distributivity of ∨ over ∧ P ∨ ( Q ∧ R ) ≡ ( P ∨ Q ) ∧ ( P ∨ R ) 7. Double Negation ¬ (¬ P) ≡ P 8. Material Implication ( P ⇒ Q ) ≡ (¬ P ∨ Q ) 9. Material Equivalence ( P ⇔ Q ) ≡ ( P ⇒ Q ) ∧ ( Q⇒P )
  • 25. Rules of Replacement 10. Exportation [ ( P ∧ Q ) ⇒ R ] ≡ [ P ⇒ ( Q ⇒ R ) ] 11. Absurdity [ ( P ⇒ Q ) ∧ ( P ⇒ ¬ Q )] ≡ ¬ P 12. Contrapositive ( P ⇒ Q ) ≡ (¬ Q ⇒ ¬P )
  • 26. Rules of Replacement 13. Identities P ∨ 1 ≡ 1 P ∧ 1 ≡ P P ∨ 0 ≡ P P ∧ 0 ≡ 0 P ∨ ¬P ≡ 1 P ∧ ¬P ≡ 0 ¬0 ≡ 1 ¬1 ≡ 0