SlideShare a Scribd company logo
1 of 6
Truth Table
1
WHAT IS TRUTH TABLE
A truth table specifies the truth value of a compound proposition for all possible
truth values of its constituent proposition.
A convenient method for analyzing a compound statement is to make a truth table
to it
NEGATION (~)
 If p=statement variable, then negation of ‘p’ “NOT p”, is denoted by “~p”
 If p is true, ~p is false
 If p is false ~p is true
TRUTH TABLE FOR ~P
CONJUNCTION (^)
 If p and q is statement then conjunction is “p and q”
 Denoted by “p ^q”
 If p and q are true then true
 If both or either false then False
Truth Table
2
P ^q
DISJUNCTION (v)
 If P and q is statement then “p or q”
 Denoted by “p v q”
 If both are false then false
 If both or either is true then true
P v q
Truth Table for this statement ~p^ q
Truth Table
3
Truth Table for ~p^ (q v ~r)
Truth table for (p v q) ^ ~ (p ^q)
Double negation property ~ (~p) =p
So it is clear that “p” and double negation of “p” is equal.
Truth Table
4
Example
English to symbolic
P= I am Ali
~p= I am not Ali
~ (~p) = I am Ali
So it is clear that double negation of “p”is also equal to “p”.
~ (p ^q) & ~p ^~q are not logically Equivalent.
So it is clear that “~ (p ^q) & ~p ^~q” are not equal
De Morgan’s Law
1. The negation of “AND” statement is logically equivalent to the “OR”statement
in which each component is negated.
Symbolically ~ (p ^q) = ~p v ~q
P q P ^q ~(p ^q) ~p ~q ~p v ~q
T T T F F F F
T F F T F T T
F T F T T F T
F F F T T T T
So it is clear that ~ (p ^q) = ~p v ~q are logically equivalent
Truth Table
5
2. The negation of “OR”statement is logically equivalent to the “AND” statement
in which componentis negated.
Symbolically ~ (p v q) = ~p ^ ~q
So it is clear that ~ (p v q) = ~p ^ ~q is Equal.
Application
Negation for each of the following:
a. The fan is slow ‘OR’ it is very hot
b. Ali is fit ‘OR’ Akram is injured.
Solution:
a. The fan is not slow “AND” it is not very hot
b. Ali is not fit “AND” Akram is not injured
Truth Table
6
Inequalities and Demorganes laws
1. (p ^q) ^ r = P^(q ^ r)
p q r (p ^q) (q ^r) (p ^q)^r P^(q ^r)
T T T T T T T
T T F T F F F
T F T F F F F
T F F F F F F
F T T F T F F
F T F F F F F
F F T F F F F
F F F F F F F
So it clears that Colum 6 and Colum 7 are equal
2. (P ^q) v r = p ^ (q v r)?????
P q r (p ^q) (q v r) (p ^q) v r P ^(q v r)
T T T T T T T
T T F T T T T
T F T F T T T
T F F F F F F
F T T F T T F
F T F F T F F
F F T F T T F
F F F F F F F
So it clear that Colum 6 and Colum 7 are not equal.

More Related Content

What's hot

Truth tables presentation
Truth tables presentationTruth tables presentation
Truth tables presentationMujtaBa Khan
 
Proposition & Logical Operations
Proposition & Logical OperationsProposition & Logical Operations
Proposition & Logical OperationsSunipa Bera
 
CMSC 56 | Lecture 1: Propositional Logic
CMSC 56 | Lecture 1: Propositional LogicCMSC 56 | Lecture 1: Propositional Logic
CMSC 56 | Lecture 1: Propositional Logicallyn joy calcaben
 
Logical Opposition (Social Philosophy and Logic)
Logical Opposition (Social Philosophy and Logic)Logical Opposition (Social Philosophy and Logic)
Logical Opposition (Social Philosophy and Logic)Daryl Melo
 
Logic (slides)
Logic (slides)Logic (slides)
Logic (slides)IIUM
 
Categorical Propositions- Logic
Categorical Propositions- LogicCategorical Propositions- Logic
Categorical Propositions- LogicKent Sunglao
 
CATEGORICAL SYLLOGISM
CATEGORICAL SYLLOGISMCATEGORICAL SYLLOGISM
CATEGORICAL SYLLOGISMashelle14
 
Logical Operators in Brief with examples
Logical Operators in Brief with examplesLogical Operators in Brief with examples
Logical Operators in Brief with examplesMujtaBa Khan
 
Determining the Inverse, Converse, and Contrapositive of an If-then Statement...
Determining the Inverse, Converse, and Contrapositive of an If-then Statement...Determining the Inverse, Converse, and Contrapositive of an If-then Statement...
Determining the Inverse, Converse, and Contrapositive of an If-then Statement...Ma. Loiel Salome Nabelon
 
Mathematics 9 Lesson 7: Laws of Exponents
Mathematics 9 Lesson 7: Laws of ExponentsMathematics 9 Lesson 7: Laws of Exponents
Mathematics 9 Lesson 7: Laws of ExponentsJuan Miguel Palero
 

What's hot (20)

Proposition (Logic)
Proposition (Logic)Proposition (Logic)
Proposition (Logic)
 
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
 
Permutation
PermutationPermutation
Permutation
 
Prpositional2
Prpositional2Prpositional2
Prpositional2
 
Truth tables presentation
Truth tables presentationTruth tables presentation
Truth tables presentation
 
Fallacies
FallaciesFallacies
Fallacies
 
Mathematical Logic
Mathematical LogicMathematical Logic
Mathematical Logic
 
Proposition & Logical Operations
Proposition & Logical OperationsProposition & Logical Operations
Proposition & Logical Operations
 
Logic
LogicLogic
Logic
 
Formal Logic - Lesson 5 - Logical Equivalence
Formal Logic - Lesson 5 - Logical EquivalenceFormal Logic - Lesson 5 - Logical Equivalence
Formal Logic - Lesson 5 - Logical Equivalence
 
CMSC 56 | Lecture 1: Propositional Logic
CMSC 56 | Lecture 1: Propositional LogicCMSC 56 | Lecture 1: Propositional Logic
CMSC 56 | Lecture 1: Propositional Logic
 
Proposition
PropositionProposition
Proposition
 
Logical Opposition (Social Philosophy and Logic)
Logical Opposition (Social Philosophy and Logic)Logical Opposition (Social Philosophy and Logic)
Logical Opposition (Social Philosophy and Logic)
 
Logic (slides)
Logic (slides)Logic (slides)
Logic (slides)
 
Categorical Propositions- Logic
Categorical Propositions- LogicCategorical Propositions- Logic
Categorical Propositions- Logic
 
CATEGORICAL SYLLOGISM
CATEGORICAL SYLLOGISMCATEGORICAL SYLLOGISM
CATEGORICAL SYLLOGISM
 
Logical Operators in Brief with examples
Logical Operators in Brief with examplesLogical Operators in Brief with examples
Logical Operators in Brief with examples
 
Determining the Inverse, Converse, and Contrapositive of an If-then Statement...
Determining the Inverse, Converse, and Contrapositive of an If-then Statement...Determining the Inverse, Converse, and Contrapositive of an If-then Statement...
Determining the Inverse, Converse, and Contrapositive of an If-then Statement...
 
LOGIC: Ideas & Terms
LOGIC: Ideas & TermsLOGIC: Ideas & Terms
LOGIC: Ideas & Terms
 
Mathematics 9 Lesson 7: Laws of Exponents
Mathematics 9 Lesson 7: Laws of ExponentsMathematics 9 Lesson 7: Laws of Exponents
Mathematics 9 Lesson 7: Laws of Exponents
 

Similar to Truth table a.r

Assignement of discrete mathematics
Assignement of discrete mathematicsAssignement of discrete mathematics
Assignement of discrete mathematicsSyed Umair
 
Assignement of discrete mathematics
Assignement of discrete mathematicsAssignement of discrete mathematics
Assignement of discrete mathematicsSyed Umair
 
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 logicZenLooper
 
Chapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound StatementsChapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound Statementsguestd166eb5
 
Logic and proof
Logic and proofLogic and proof
Logic and proofSuresh Ram
 
Computer Organization and Assembly Language
Computer Organization and Assembly LanguageComputer Organization and Assembly Language
Computer Organization and Assembly LanguageRaquel Mulles
 
Mathematical foundations of computer science
Mathematical foundations of computer scienceMathematical foundations of computer science
Mathematical foundations of computer scienceBindhuBhargaviTalasi
 
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_1taimoor iftikhar
 
logicproof-141212042039-conversion-gate01.pdf
logicproof-141212042039-conversion-gate01.pdflogicproof-141212042039-conversion-gate01.pdf
logicproof-141212042039-conversion-gate01.pdfPradeeshSAI
 

Similar to Truth table a.r (20)

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
 
Chapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound StatementsChapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound Statements
 
Discrete math Truth Table
Discrete math Truth TableDiscrete math Truth Table
Discrete math Truth Table
 
null-12.pdf
null-12.pdfnull-12.pdf
null-12.pdf
 
null-12.pdf
null-12.pdfnull-12.pdf
null-12.pdf
 
Bab 1 proposisi
Bab 1 proposisiBab 1 proposisi
Bab 1 proposisi
 
Logic and proof
Logic and proofLogic and proof
Logic and proof
 
The logic
The logicThe logic
The logic
 
Computer Organization and Assembly Language
Computer Organization and Assembly LanguageComputer Organization and Assembly Language
Computer Organization and Assembly Language
 
Mathematical foundations of computer science
Mathematical foundations of computer scienceMathematical foundations of computer science
Mathematical foundations of computer science
 
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
LOGICLOGIC
LOGIC
 
Logic&proof
Logic&proofLogic&proof
Logic&proof
 
Mathematical Logic
Mathematical LogicMathematical Logic
Mathematical Logic
 
Per3 logika&pembuktian
Per3 logika&pembuktianPer3 logika&pembuktian
Per3 logika&pembuktian
 
Logic worksheet
Logic worksheetLogic worksheet
Logic worksheet
 
logicproof-141212042039-conversion-gate01.pdf
logicproof-141212042039-conversion-gate01.pdflogicproof-141212042039-conversion-gate01.pdf
logicproof-141212042039-conversion-gate01.pdf
 
4 ch 2 logical reasoning
4 ch 2 logical reasoning4 ch 2 logical reasoning
4 ch 2 logical reasoning
 

More from Syed Umair

More from Syed Umair (20)

Assignement code
Assignement codeAssignement code
Assignement code
 
Tree 4
Tree 4Tree 4
Tree 4
 
Title page
Title pageTitle page
Title page
 
S.k
S.kS.k
S.k
 
Q.a
Q.aQ.a
Q.a
 
Prog
ProgProg
Prog
 
Perception
PerceptionPerception
Perception
 
New microsoft office word document
New microsoft office word documentNew microsoft office word document
New microsoft office word document
 
New microsoft office word document (2)
New microsoft office word document (2)New microsoft office word document (2)
New microsoft office word document (2)
 
M.b
M.bM.b
M.b
 
C++ 4
C++ 4C++ 4
C++ 4
 
B.g
B.gB.g
B.g
 
Assignement of programming & problem solving
Assignement of programming & problem solvingAssignement of programming & problem solving
Assignement of programming & problem solving
 
A.i
A.iA.i
A.i
 
H m
H mH m
H m
 
Prog
ProgProg
Prog
 
Assignment c++12
Assignment c++12Assignment c++12
Assignment c++12
 
Assignement c++
Assignement c++Assignement c++
Assignement c++
 
Static keyword u.s ass.(2)
Static keyword u.s ass.(2)Static keyword u.s ass.(2)
Static keyword u.s ass.(2)
 
Static keyword a.z
Static keyword a.zStatic keyword a.z
Static keyword a.z
 

Recently uploaded

Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayMakMakNepo
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 

Recently uploaded (20)

Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up Friday
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 

Truth table a.r

  • 1. Truth Table 1 WHAT IS TRUTH TABLE A truth table specifies the truth value of a compound proposition for all possible truth values of its constituent proposition. A convenient method for analyzing a compound statement is to make a truth table to it NEGATION (~)  If p=statement variable, then negation of ‘p’ “NOT p”, is denoted by “~p”  If p is true, ~p is false  If p is false ~p is true TRUTH TABLE FOR ~P CONJUNCTION (^)  If p and q is statement then conjunction is “p and q”  Denoted by “p ^q”  If p and q are true then true  If both or either false then False
  • 2. Truth Table 2 P ^q DISJUNCTION (v)  If P and q is statement then “p or q”  Denoted by “p v q”  If both are false then false  If both or either is true then true P v q Truth Table for this statement ~p^ q
  • 3. Truth Table 3 Truth Table for ~p^ (q v ~r) Truth table for (p v q) ^ ~ (p ^q) Double negation property ~ (~p) =p So it is clear that “p” and double negation of “p” is equal.
  • 4. Truth Table 4 Example English to symbolic P= I am Ali ~p= I am not Ali ~ (~p) = I am Ali So it is clear that double negation of “p”is also equal to “p”. ~ (p ^q) & ~p ^~q are not logically Equivalent. So it is clear that “~ (p ^q) & ~p ^~q” are not equal De Morgan’s Law 1. The negation of “AND” statement is logically equivalent to the “OR”statement in which each component is negated. Symbolically ~ (p ^q) = ~p v ~q P q P ^q ~(p ^q) ~p ~q ~p v ~q T T T F F F F T F F T F T T F T F T T F T F F F T T T T So it is clear that ~ (p ^q) = ~p v ~q are logically equivalent
  • 5. Truth Table 5 2. The negation of “OR”statement is logically equivalent to the “AND” statement in which componentis negated. Symbolically ~ (p v q) = ~p ^ ~q So it is clear that ~ (p v q) = ~p ^ ~q is Equal. Application Negation for each of the following: a. The fan is slow ‘OR’ it is very hot b. Ali is fit ‘OR’ Akram is injured. Solution: a. The fan is not slow “AND” it is not very hot b. Ali is not fit “AND” Akram is not injured
  • 6. Truth Table 6 Inequalities and Demorganes laws 1. (p ^q) ^ r = P^(q ^ r) p q r (p ^q) (q ^r) (p ^q)^r P^(q ^r) T T T T T T T T T F T F F F T F T F F F F T F F F F F F F T T F T F F F T F F F F F F F T F F F F F F F F F F F So it clears that Colum 6 and Colum 7 are equal 2. (P ^q) v r = p ^ (q v r)????? P q r (p ^q) (q v r) (p ^q) v r P ^(q v r) T T T T T T T T T F T T T T T F T F T T T T F F F F F F F T T F T T F F T F F T F F F F T F T T F F F F F F F F So it clear that Colum 6 and Colum 7 are not equal.