SlideShare una empresa de Scribd logo
1 de 22
Discrete
Structures
Abdur Rehman Usmani
03419019922
Truth Table
oThe truth value of the compound proposition depends
only on the truth value of the component propositions.
Such a list is a called a truth table.
Example
p q pq pq ¬(pq) (pq) ¬(pq)
T T T T F F
T F T F T T
F T T F T T
F F F F T F
o (pq) ¬(pq)
Example
p q r 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
o (p  q)  ¬r
Implication (if - then) 
oThe conditional statement p → q is the proposition “if p, then
q.”
oThe conditional statement p → q is false when p is true and q is
false, and true otherwise.
o p is called the hypothesis and q is called the conclusion.
Implication (if - then) 
P Q PQ
T T T
T F F
F T T
F F T
p = “You study hard.”
q = “You will get a good grade.”
p → q = “If you study hard, then
you will get a good grade.”
Biconditionals (if and Only If) 
p = “Sharif wins the 2012 election.”
q = “Sharif will be prime minister for five years.”
p ↔ q = “If, and only if, Sharif wins the 2012 election, Sharif will
be prime minister for five years.”
p ↔ q does not imply that p
and q are true, or that
either of them causes the other,
or that they have a
common cause.
Precedence of Logical Connectives
o~ highest
oɅ second highest
oV third highest
o→ fourth highest
o↔ fifth highest
Logical Equivalence
1. 6 is greater than 2
2. 2 is less than 6
two different ways of saying the same thing.
both be true or both be false.
logical form of the statements is important.
p ∧ q is true when, and only when,
q ∧ p is true.
The statement forms are called
logically equivalent
Logical Equivalence
oTwo statement forms are called logically equivalent if, and only
if, they have identical truth values for each possible substitution
of statements for their statement variables.
o P ≡ Q.
Logical Equivalence
oNegation of the negation of a statement is logically
equivalent to the statement.
o ∼(∼p) ≡ p
Logical Equivalence
o∼(p ∧ q) and ∼p ∧ ∼q are not logically equivalent
p =“0 < 1” and let q =“1 < 0.”
Logical Equivalence
De Morgan’s Laws
oThe negation of the conjunction of two statements is
logically equivalent to the disjunction of their negations.
o ∼(p ∧ q) and ∼p ∨ ∼q are logically equivalent i.e. ∼(p ∧ q) ≡ ∼p ∨ ∼q.
De Morgan’s Laws
oNegation of the disjunction of two statements is
logically equivalent to the conjunction of their negations:
qpqp
qpqp


)(
)(
De Morgan’s Laws
oWrite negations for each of the following statements:
o John is 6 feet tall and he weighs at least 200 pounds.
o The bus was late or Tom’s watch was slow.
oNegation of these statements
o John is not 6 feet tall or he weighs less than 200 pounds.
o The bus was not late and Tom’s watch was not slow(/“Neither was
the bus late nor was Tom’s watch slow.”)
De Morgan’s Laws
o Negation of a disjunction is formed by taking the conjunction of the negations of
the component propositions.
o Negation of a conjunction is formed by taking the disjunction of the negations of
the component propositions.
De Morgan’s Laws
o Frequently used in writing computer programs.
o For instance, suppose you want your program to delete all files modified
outside a certain range of dates, say from date 1 through date 2 inclusive.
o ∼(date1 ≤ file_modification_date ≤ date2)
o is equivalent to
o ( file_modification_date < date1) or (date2 < file_modification_date).
De Morgan’s Laws
Tautologies and Contradictions
A tautology is a statement that is always true.
Examples:
R(R)
(PQ)  (P)( Q)
A contradiction is a statement that is always false.
Examples:
R(R)
((P  Q)  (P)  (Q))
The negation of any tautology is a contradiction, and the negation of any
contradiction is a tautology.
Equivalence
Definition: two propositional statements S1 and S2 are said to
be (logically) equivalent, denoted S1  S2 if
They have the same truth table, or
S1  S2 is a tautology
Equivalence can be established by
Constructing truth tables
Using equivalence laws (Table 5 in Section 1.2)
Equivalence
Equivalence laws
Identity laws, P  T  P,
Domination laws, P  F  F,
Idempotent laws, P  P  P,
Double negation law,  ( P)  P
Commutative laws, P  Q  Q  P,
Associative laws, P  (Q  R) (P  Q)  R,
Distributive laws, P  (Q  R) (P  Q)  (P  R),
De Morgan’s laws,  (PQ)  ( P)  ( Q)
Law with implication P  Q   P  Q

Más contenido relacionado

La actualidad más candente

Discrete Structures lecture 2
 Discrete Structures lecture 2 Discrete Structures lecture 2
Discrete Structures lecture 2Ali Usman
 
Discrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional LogicDiscrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional LogicIT Engineering Department
 
Rules of inference
Rules of inferenceRules of inference
Rules of inferenceLakshmi R
 
CMSC 56 | Lecture 2: Propositional Equivalences
CMSC 56 | Lecture 2: Propositional EquivalencesCMSC 56 | Lecture 2: Propositional Equivalences
CMSC 56 | Lecture 2: Propositional Equivalencesallyn joy calcaben
 
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 د. خالد بكروDr. Khaled Bakro
 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical inductionKriti Varshney
 
Chapter 2: Relations
Chapter 2: RelationsChapter 2: Relations
Chapter 2: Relationsnszakir
 
Method of direct proof
Method of direct proofMethod of direct proof
Method of direct proofAbdur Rehman
 
Discrete Structures. Lecture 1
 Discrete Structures. Lecture 1  Discrete Structures. Lecture 1
Discrete Structures. Lecture 1 Ali Usman
 
Unit I discrete mathematics lecture notes
Unit I  discrete mathematics lecture notesUnit I  discrete mathematics lecture notes
Unit I discrete mathematics lecture notesGIRIM8
 

La actualidad más candente (20)

Discrete Structures lecture 2
 Discrete Structures lecture 2 Discrete Structures lecture 2
Discrete Structures lecture 2
 
Mathematical Logic
Mathematical LogicMathematical Logic
Mathematical Logic
 
Discrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional LogicDiscrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional Logic
 
Rules of inference
Rules of inferenceRules of inference
Rules of inference
 
Set in discrete mathematics
Set in discrete mathematicsSet in discrete mathematics
Set in discrete mathematics
 
Logic - Logical Propositions
Logic - Logical Propositions Logic - Logical Propositions
Logic - Logical Propositions
 
Propositional logic
Propositional logicPropositional logic
Propositional 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
 
Proposition (Logic)
Proposition (Logic)Proposition (Logic)
Proposition (Logic)
 
Discrete mathematics
Discrete mathematicsDiscrete mathematics
Discrete mathematics
 
CMSC 56 | Lecture 2: Propositional Equivalences
CMSC 56 | Lecture 2: Propositional EquivalencesCMSC 56 | Lecture 2: Propositional Equivalences
CMSC 56 | Lecture 2: Propositional Equivalences
 
Formal Logic - Lesson 5 - Logical Equivalence
Formal Logic - Lesson 5 - Logical EquivalenceFormal Logic - Lesson 5 - Logical Equivalence
Formal Logic - Lesson 5 - Logical Equivalence
 
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 د. خالد بكرو
 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical induction
 
Permutations
PermutationsPermutations
Permutations
 
Conditionals
ConditionalsConditionals
Conditionals
 
Chapter 2: Relations
Chapter 2: RelationsChapter 2: Relations
Chapter 2: Relations
 
Method of direct proof
Method of direct proofMethod of direct proof
Method of direct proof
 
Discrete Structures. Lecture 1
 Discrete Structures. Lecture 1  Discrete Structures. Lecture 1
Discrete Structures. Lecture 1
 
Unit I discrete mathematics lecture notes
Unit I  discrete mathematics lecture notesUnit I  discrete mathematics lecture notes
Unit I discrete mathematics lecture notes
 

Destacado

Discrete Mathematics - Propositional Logic
Discrete Mathematics - Propositional LogicDiscrete Mathematics - Propositional Logic
Discrete Mathematics - Propositional LogicUniversity of Potsdam
 
Logic (slides)
Logic (slides)Logic (slides)
Logic (slides)IIUM
 
Want to know about java
Want to know about javaWant to know about java
Want to know about javaadityamadgula
 
Propositions - Discrete Structures
Propositions - Discrete Structures Propositions - Discrete Structures
Propositions - Discrete Structures Drishti Bhalla
 
MDD and the Tautology Problem: Discussion Notes.
MDD and the Tautology Problem: Discussion Notes.MDD and the Tautology Problem: Discussion Notes.
MDD and the Tautology Problem: Discussion Notes.Bob Binder
 
Truth tables complete and p1 of short method
Truth tables complete and p1 of short methodTruth tables complete and p1 of short method
Truth tables complete and p1 of short methodNat Karablina
 
Lec 02 logical eq (Discrete Mathematics)
Lec 02   logical eq (Discrete Mathematics)Lec 02   logical eq (Discrete Mathematics)
Lec 02 logical eq (Discrete Mathematics)Naosher Md. Zakariyar
 
Introduction to parliamentary debate
Introduction to parliamentary debateIntroduction to parliamentary debate
Introduction to parliamentary debateAbhinandan Ray
 
Chapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound StatementsChapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound Statementsguestd166eb5
 

Destacado (12)

Discrete Mathematics - Propositional Logic
Discrete Mathematics - Propositional LogicDiscrete Mathematics - Propositional Logic
Discrete Mathematics - Propositional Logic
 
Logic (slides)
Logic (slides)Logic (slides)
Logic (slides)
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Want to know about java
Want to know about javaWant to know about java
Want to know about java
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Propositions - Discrete Structures
Propositions - Discrete Structures Propositions - Discrete Structures
Propositions - Discrete Structures
 
MDD and the Tautology Problem: Discussion Notes.
MDD and the Tautology Problem: Discussion Notes.MDD and the Tautology Problem: Discussion Notes.
MDD and the Tautology Problem: Discussion Notes.
 
Truth tables complete and p1 of short method
Truth tables complete and p1 of short methodTruth tables complete and p1 of short method
Truth tables complete and p1 of short method
 
Lec 02 logical eq (Discrete Mathematics)
Lec 02   logical eq (Discrete Mathematics)Lec 02   logical eq (Discrete Mathematics)
Lec 02 logical eq (Discrete Mathematics)
 
The logic
The logicThe logic
The logic
 
Introduction to parliamentary debate
Introduction to parliamentary debateIntroduction to parliamentary debate
Introduction to parliamentary debate
 
Chapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound StatementsChapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound Statements
 

Similar a Truth table

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]DIwakar Rajput
 
[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].pdfrAjyarAjanItjJa
 
20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptx
20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptx20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptx
20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptxssuser92109d
 
Chapter 01 - p1.pdf
Chapter 01 - p1.pdfChapter 01 - p1.pdf
Chapter 01 - p1.pdfsmarwaneid
 
Drinkfromme.pptx
Drinkfromme.pptxDrinkfromme.pptx
Drinkfromme.pptxRavind8
 
Valid &amp; invalid arguments
Valid &amp; invalid argumentsValid &amp; invalid arguments
Valid &amp; invalid argumentsAbdur Rehman
 
Logic and proof
Logic and proofLogic and proof
Logic and proofSuresh Ram
 
UNIT-III-PPT.pptx
UNIT-III-PPT.pptxUNIT-III-PPT.pptx
UNIT-III-PPT.pptxDakshBaveja
 
MFCS PPT.pdf
MFCS PPT.pdfMFCS PPT.pdf
MFCS PPT.pdfjayarao21
 
Valid and Invalid Arguments.pptx
Valid and Invalid Arguments.pptxValid and Invalid Arguments.pptx
Valid and Invalid Arguments.pptxLuisSalenga1
 
Discrete-Chapter 05 Inference and Proofs
Discrete-Chapter 05 Inference and ProofsDiscrete-Chapter 05 Inference and Proofs
Discrete-Chapter 05 Inference and ProofsWongyos Keardsri
 
logicproof-141212042039-conversion-gate01.pdf
logicproof-141212042039-conversion-gate01.pdflogicproof-141212042039-conversion-gate01.pdf
logicproof-141212042039-conversion-gate01.pdfPradeeshSAI
 

Similar a Truth table (20)

DS Lecture 2.ppt
DS Lecture 2.pptDS Lecture 2.ppt
DS Lecture 2.ppt
 
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]
 
DMS UNIT-1 ppt.pptx
DMS UNIT-1 ppt.pptxDMS UNIT-1 ppt.pptx
DMS UNIT-1 ppt.pptx
 
Dscrete structure
Dscrete  structureDscrete  structure
Dscrete structure
 
[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
 
20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptx
20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptx20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptx
20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptx
 
Chapter 01 - p1.pdf
Chapter 01 - p1.pdfChapter 01 - p1.pdf
Chapter 01 - p1.pdf
 
Chapter1p1.pdf
Chapter1p1.pdfChapter1p1.pdf
Chapter1p1.pdf
 
Drinkfromme.pptx
Drinkfromme.pptxDrinkfromme.pptx
Drinkfromme.pptx
 
Chapter1p1
Chapter1p1Chapter1p1
Chapter1p1
 
Valid &amp; invalid arguments
Valid &amp; invalid argumentsValid &amp; invalid arguments
Valid &amp; invalid arguments
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Logic and proof
Logic and proofLogic and proof
Logic and proof
 
Per3 logika&amp;pembuktian
Per3 logika&amp;pembuktianPer3 logika&amp;pembuktian
Per3 logika&amp;pembuktian
 
UNIT-III-PPT.pptx
UNIT-III-PPT.pptxUNIT-III-PPT.pptx
UNIT-III-PPT.pptx
 
MFCS PPT.pdf
MFCS PPT.pdfMFCS PPT.pdf
MFCS PPT.pdf
 
Valid and Invalid Arguments.pptx
Valid and Invalid Arguments.pptxValid and Invalid Arguments.pptx
Valid and Invalid Arguments.pptx
 
Discrete-Chapter 05 Inference and Proofs
Discrete-Chapter 05 Inference and ProofsDiscrete-Chapter 05 Inference and Proofs
Discrete-Chapter 05 Inference and Proofs
 
logicproof-141212042039-conversion-gate01.pdf
logicproof-141212042039-conversion-gate01.pdflogicproof-141212042039-conversion-gate01.pdf
logicproof-141212042039-conversion-gate01.pdf
 
L01.ppt
L01.pptL01.ppt
L01.ppt
 

Más de Abdur Rehman

Financial accounting
Financial accountingFinancial accounting
Financial accountingAbdur Rehman
 
Proving existential statements
Proving existential statementsProving existential statements
Proving existential statementsAbdur Rehman
 
Proofs by contraposition
Proofs by contrapositionProofs by contraposition
Proofs by contrapositionAbdur Rehman
 
Converse, contrapositive, inverse
Converse, contrapositive, inverseConverse, contrapositive, inverse
Converse, contrapositive, inverseAbdur Rehman
 
Constructing circuits for boolean expressions(gate)
Constructing circuits for boolean expressions(gate)Constructing circuits for boolean expressions(gate)
Constructing circuits for boolean expressions(gate)Abdur Rehman
 
Application of bases
Application of basesApplication of bases
Application of basesAbdur Rehman
 
Intro to disceret structure
Intro to disceret structureIntro to disceret structure
Intro to disceret structureAbdur Rehman
 
logic, preposition etc
logic, preposition etclogic, preposition etc
logic, preposition etcAbdur Rehman
 

Más de Abdur Rehman (15)

Financial accounting
Financial accountingFinancial accounting
Financial accounting
 
Sets
SetsSets
Sets
 
Sequences
SequencesSequences
Sequences
 
Recursion
RecursionRecursion
Recursion
 
Queue
QueueQueue
Queue
 
Quantification
QuantificationQuantification
Quantification
 
Proving existential statements
Proving existential statementsProving existential statements
Proving existential statements
 
Proofs by contraposition
Proofs by contrapositionProofs by contraposition
Proofs by contraposition
 
Laws in disceret
Laws in disceretLaws in disceret
Laws in disceret
 
Converse, contrapositive, inverse
Converse, contrapositive, inverseConverse, contrapositive, inverse
Converse, contrapositive, inverse
 
Constructing circuits for boolean expressions(gate)
Constructing circuits for boolean expressions(gate)Constructing circuits for boolean expressions(gate)
Constructing circuits for boolean expressions(gate)
 
Application of bases
Application of basesApplication of bases
Application of bases
 
Intro to disceret structure
Intro to disceret structureIntro to disceret structure
Intro to disceret structure
 
Dst lec3
Dst lec3Dst lec3
Dst lec3
 
logic, preposition etc
logic, preposition etclogic, preposition etc
logic, preposition etc
 

Último

mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
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 . pdfQucHHunhnh
 
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 GraphThiyagu K
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
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 ConsultingTechSoup
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 

Último (20)

mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
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
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
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
 
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
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
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
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
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"
 

Truth table

  • 2. Truth Table oThe truth value of the compound proposition depends only on the truth value of the component propositions. Such a list is a called a truth table.
  • 3. Example p q pq pq ¬(pq) (pq) ¬(pq) T T T T F F T F T F T T F T T F T T F F F F T F o (pq) ¬(pq)
  • 4. Example p q r 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 o (p  q)  ¬r
  • 5. Implication (if - then)  oThe conditional statement p → q is the proposition “if p, then q.” oThe conditional statement p → q is false when p is true and q is false, and true otherwise. o p is called the hypothesis and q is called the conclusion.
  • 6. Implication (if - then)  P Q PQ T T T T F F F T T F F T p = “You study hard.” q = “You will get a good grade.” p → q = “If you study hard, then you will get a good grade.”
  • 7. Biconditionals (if and Only If)  p = “Sharif wins the 2012 election.” q = “Sharif will be prime minister for five years.” p ↔ q = “If, and only if, Sharif wins the 2012 election, Sharif will be prime minister for five years.” p ↔ q does not imply that p and q are true, or that either of them causes the other, or that they have a common cause.
  • 8. Precedence of Logical Connectives o~ highest oɅ second highest oV third highest o→ fourth highest o↔ fifth highest
  • 9. Logical Equivalence 1. 6 is greater than 2 2. 2 is less than 6 two different ways of saying the same thing. both be true or both be false. logical form of the statements is important. p ∧ q is true when, and only when, q ∧ p is true. The statement forms are called logically equivalent
  • 10. Logical Equivalence oTwo statement forms are called logically equivalent if, and only if, they have identical truth values for each possible substitution of statements for their statement variables. o P ≡ Q.
  • 11. Logical Equivalence oNegation of the negation of a statement is logically equivalent to the statement. o ∼(∼p) ≡ p
  • 12. Logical Equivalence o∼(p ∧ q) and ∼p ∧ ∼q are not logically equivalent p =“0 < 1” and let q =“1 < 0.”
  • 14. De Morgan’s Laws oThe negation of the conjunction of two statements is logically equivalent to the disjunction of their negations. o ∼(p ∧ q) and ∼p ∨ ∼q are logically equivalent i.e. ∼(p ∧ q) ≡ ∼p ∨ ∼q.
  • 15. De Morgan’s Laws oNegation of the disjunction of two statements is logically equivalent to the conjunction of their negations: qpqp qpqp   )( )(
  • 16. De Morgan’s Laws oWrite negations for each of the following statements: o John is 6 feet tall and he weighs at least 200 pounds. o The bus was late or Tom’s watch was slow. oNegation of these statements o John is not 6 feet tall or he weighs less than 200 pounds. o The bus was not late and Tom’s watch was not slow(/“Neither was the bus late nor was Tom’s watch slow.”)
  • 17. De Morgan’s Laws o Negation of a disjunction is formed by taking the conjunction of the negations of the component propositions. o Negation of a conjunction is formed by taking the disjunction of the negations of the component propositions.
  • 18. De Morgan’s Laws o Frequently used in writing computer programs. o For instance, suppose you want your program to delete all files modified outside a certain range of dates, say from date 1 through date 2 inclusive. o ∼(date1 ≤ file_modification_date ≤ date2) o is equivalent to o ( file_modification_date < date1) or (date2 < file_modification_date).
  • 20. Tautologies and Contradictions A tautology is a statement that is always true. Examples: R(R) (PQ)  (P)( Q) A contradiction is a statement that is always false. Examples: R(R) ((P  Q)  (P)  (Q)) The negation of any tautology is a contradiction, and the negation of any contradiction is a tautology.
  • 21. Equivalence Definition: two propositional statements S1 and S2 are said to be (logically) equivalent, denoted S1  S2 if They have the same truth table, or S1  S2 is a tautology Equivalence can be established by Constructing truth tables Using equivalence laws (Table 5 in Section 1.2)
  • 22. Equivalence Equivalence laws Identity laws, P  T  P, Domination laws, P  F  F, Idempotent laws, P  P  P, Double negation law,  ( P)  P Commutative laws, P  Q  Q  P, Associative laws, P  (Q  R) (P  Q)  R, Distributive laws, P  (Q  R) (P  Q)  (P  R), De Morgan’s laws,  (PQ)  ( P)  ( Q) Law with implication P  Q   P  Q

Notas del editor

  1. *that is, a sentence that declares a fact
  2. *that is, a sentence that declares a fact
  3. *that is, a sentence that declares a fact
  4. *that is, a sentence that declares a fact
  5. *that is, a sentence that declares a fact