SlideShare a Scribd company logo
1 of 14
LAWS OF ALGEBRA OF PREPOSITIONS
Mayengo,
M.
M
1
Identities
 𝑝 ∨ 𝑝 ≡ 𝑝
 𝑝 ∨ 𝑇 ≡ 𝑇
 𝑝 ∨ 𝐹 ≡ 𝑝
 𝑝 ∧ 𝑝 ≡ 𝑝
 𝑝 ∧ 𝑇 ≡ 𝑝
 𝑝 ∧ 𝐹 ≡ 𝐹
 𝑝 → 𝑝 ≡ 𝑇
 𝑝 → 𝑇 ≡ 𝑇
 𝑝 → 𝐹 ≡∼ 𝑝
 𝑇 → 𝑝 ≡ 𝑝
 𝐹 → 𝑝 ≡ 𝑇
 𝑝 ↔ 𝑝 ≡ 𝑇
 𝑝 ↔ 𝑇 ≡ 𝑝
 𝑝 ↔ 𝐹 ≡∼ 𝑝
LAWS OF ALGEBRA OF PREPOSITIONS
Mayengo,
M.
M
2
Commutative Law
 𝑝 ∨ 𝑞 ≡ 𝑞 ∨ 𝑝
 𝑝 ∧ 𝑞 ≡ 𝑞 ∧ 𝑝
 𝑝 → 𝑞 ≠ 𝑞 → 𝑝
 𝑝 ↔ 𝑞 ≡ 𝑞 ↔ 𝑝
The Law of Double
Negation
 ∼ ∼ 𝑝 ≡ 𝑝
Complement Law
 𝑝 ∨∼ 𝑝 ≡ 𝑇
 𝑝 ∧∼ 𝑝 ≡ 𝐹
 𝑝 →∼ 𝑝 ≡∼ 𝑝
 ∼ 𝑝 → 𝑝 ≡ 𝑝
 𝑝 ↔∼ 𝑝 ≡ 𝐹
LAWS OF ALGEBRA OF PREPOSITIONS
Mayengo,
M.
M
3
Associative Law
 𝑝 ∨ 𝑞 ∨ 𝑟 ≡ 𝑝 ∨ 𝑞 ∨ 𝑟
 𝑝 ∧ 𝑞 ∧ 𝑟 ≡ 𝑝 ∧ 𝑞 ∧ 𝑟
Distributive Law
 𝑝 ∨ 𝑞 ∧ 𝑟 ≡ 𝑝 ∨ 𝑞 ∧ (𝑝 ∨ 𝑟)
 𝑝 ∧ 𝑞 ∨ 𝑟 ≡ 𝑝 ∧ 𝑞 ∨ (𝑝 ∧ 𝑟)
LAWS OF ALGEBRA OF PREPOSITIONS
Mayengo,
M.
M
4
The Law of Absorption
 𝑝 ∨ 𝑝 ∧ 𝑞 ≡ 𝑝
 𝑝 ∧ 𝑝 ∨ 𝑞 ≡ 𝑝
De Morgan’s Law
 ∼ 𝑝 ∨ 𝑞 ≡∼ 𝑝 ∧∼ 𝑞
 ∼ 𝑝 ∧ 𝑞 ≡∼ 𝑝 ∨∼ 𝑞
LAWS OF ALGEBRA OF PREPOSITIONS
Mayengo,
M.
M
5
The Law of Equivancy of Contrapositive
 𝑝 → 𝑞 ≡∼ 𝑞 →∼ 𝑝
The Law of Syllogism
 If 𝑝 → 𝑞 and 𝑞 → 𝑟 then 𝑝 → 𝑟
Other Laws
 𝑝 → 𝑞 ≡∼ 𝑝 ∨ 𝑞
 𝑝 ↔ 𝑞 ≡ 𝑝 → 𝑞 ∧ (𝑞 → 𝑝)
TAUTOLOGIES AND CONTRADICTIONS
Mayengo,
M.
M
6
Tautology
 A compound statement that is always true no
matter what truth values are assigned to its
component propositions is called a tautology
 Examples: Consider the following truth tables
𝒑 ∼ 𝒑 (𝒑 ∨∼ 𝒑)
𝑇 𝐹 𝑻
𝐹 𝑇 𝑻
TAUTOLOGIES AND CONTRADICTIONS
Mayengo,
M.
M
7
Tautology
 Examples: Consider the following truth tables
𝒑 𝒒 ∼ 𝒑 𝒑 ∨ 𝒒 ∼ 𝒑 ∨ (𝒑 ∨ 𝒒)
𝑇 𝑇 𝐹 𝑇 𝑻
𝑇 𝐹 𝐹 𝑇 𝑻
𝐹 𝑇 𝑇 𝑇 𝑻
𝐹 𝐹 𝑇 𝐹 𝑻
TAUTOLOGIES AND CONTRADICTIONS
Mayengo,
M.
M
8
Contradictions/Fallacy
 These are compound statements which are always
false no matter what truth values are assigned to
the component propositions
 Examples: Consider the following truth tables
𝒑 ∼ 𝒑 (𝒑 ∧∼ 𝒑)
𝑇 𝐹 𝑭
𝐹 𝑇 𝑭
TAUTOLOGIES AND CONTRADICTIONS
Mayengo,
M.
M
9
Contradictions
 Examples: Consider the following truth tables
𝒑 𝒒 𝒑 ∧ 𝒒 𝒑 ∨ 𝒒 ∼ (𝒑 ∨ 𝒒) 𝒑 ∧ 𝒒 ∧∼ (𝒑 ∨ 𝒒)
𝑇 𝑇 𝑇 𝑇 𝐹 𝑭
𝑇 𝐹 𝐹 𝑇 𝐹 𝑭
𝐹 𝑇 𝐹 𝑇 𝐹 𝑭
𝐹 𝐹 𝐹 𝐹 𝑇 𝑭
TAUTOLOGIES AND CONTRADICTIONS
Contingency
 These are compound statements which are neither
false nor true no matter what truth values are
assigned to the component propositions
Mayengo,
M.
M
TAUTOLOGIES AND CONTRADICTIONS
Mayengo,
M.
M
11
Logical Equivalence
 Two or more propositions are said to be logically equivalent
(or equal) if they have the same/identical truth values.
 Logical equivalence is denoted by symbol " = "or " ≡ “
 Examples: Consider the truth values of the propositions ∼ (𝑝 ∧
𝑞) and ∼ 𝑝 ∨∼ 𝑞 bellow.
𝒑 𝒒 ∼ 𝒑 ∼ 𝒒 𝒑 ∧ 𝒒 ∼ (𝒑 ∧ 𝒒) ∼ 𝒑 ∨∼ 𝒒
𝑇 𝑇 𝐹 𝐹 𝑇 𝑭 𝑭
𝑇 𝐹 𝐹 𝑇 𝐹 𝑻 𝑻
𝐹 𝑇 𝑇 𝐹 𝐹 𝑻 𝑻
𝐹 𝐹 𝑇 𝑇 𝐹 𝑻 𝑻
TAUTOLOGIES AND CONTRADICTIONS
Mayengo,
M.
M
12
Logical Equivalence
 The propositions ∼ (𝑝 ∧ 𝑞) and ∼ 𝑝 ∨∼ 𝑞 bellow have the
same truth values for all possible ways of assigning truth
values to the component propositions 𝑝 and 𝑞.
 Hence, we conclude that ∼ 𝑝 ∧ 𝑞 =∼ 𝑝 ∨∼ 𝑞
𝒑 𝒒 ∼ 𝒑 ∼ 𝒒 𝒑 ∧ 𝒒 ∼ (𝒑 ∧ 𝒒) ∼ 𝒑 ∨∼ 𝒒
𝑇 𝑇 𝐹 𝐹 𝑇 𝑭 𝑭
𝑇 𝐹 𝐹 𝑇 𝐹 𝑻 𝑻
𝐹 𝑇 𝑇 𝐹 𝐹 𝑻 𝑻
𝐹 𝐹 𝑇 𝑇 𝐹 𝑻 𝑻
TAUTOLOGIES AND CONTRADICTIONS
Mayengo,
M.
M
13
Logical Equivalence
 Similarly, we can show that 𝑝 → 𝑞 =∼ 𝑝 ∨ 𝑞.
 The truth table bellow proves the equivalence of the two
compound statements.
𝒑 𝒒 ∼ 𝒑 𝒑 → 𝒒 ∼ 𝒑 ∨ 𝒒
𝑇 𝑇 𝐹 𝑻 𝑻
𝑇 𝐹 𝐹 𝑭 𝑭
𝐹 𝑇 𝑇 𝑻 𝑻
𝐹 𝐹 𝑇 𝑻 𝑻
QUESTIONS
 By using truth table and laws of proposition logic,
classify the following mathematic logic formula
whether they are tautology, contradiction or
contingency statements.
 (i)(∼p→(p→q)
 (ii) (p→q)(q→p)
 (iii) p(p→q)
 (iv) (pq)→(rp)
 (v) (pq)(∼pr)
Mayengo,
M.
M

More Related Content

What's hot (20)

Ch 7 correlation_and_linear_regression
Ch 7 correlation_and_linear_regressionCh 7 correlation_and_linear_regression
Ch 7 correlation_and_linear_regression
 
Correlation
Correlation Correlation
Correlation
 
Correlation Computations Thiyagu
Correlation Computations ThiyaguCorrelation Computations Thiyagu
Correlation Computations Thiyagu
 
Correlation
CorrelationCorrelation
Correlation
 
Correlation analysis[1]
Correlation analysis[1]Correlation analysis[1]
Correlation analysis[1]
 
Correlation
CorrelationCorrelation
Correlation
 
Correlation analysis
Correlation analysis Correlation analysis
Correlation analysis
 
Meaning and types of correlation
Meaning and types of correlationMeaning and types of correlation
Meaning and types of correlation
 
Correlationanalysis
CorrelationanalysisCorrelationanalysis
Correlationanalysis
 
Coefficient of correlation...ppt
Coefficient of correlation...pptCoefficient of correlation...ppt
Coefficient of correlation...ppt
 
Correlation
CorrelationCorrelation
Correlation
 
Multiple Correlation - Thiyagu
Multiple Correlation - ThiyaguMultiple Correlation - Thiyagu
Multiple Correlation - Thiyagu
 
Correlation analysis
Correlation analysisCorrelation analysis
Correlation analysis
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Correlationppt 111222215110-phpapp02
Correlationppt 111222215110-phpapp02Correlationppt 111222215110-phpapp02
Correlationppt 111222215110-phpapp02
 
Correlation Analysis
Correlation AnalysisCorrelation Analysis
Correlation Analysis
 
Correlation
CorrelationCorrelation
Correlation
 
Statistical Relationships
Statistical RelationshipsStatistical Relationships
Statistical Relationships
 
Pearson's correlation
Pearson's  correlationPearson's  correlation
Pearson's correlation
 
Correlation coefficient
Correlation coefficientCorrelation coefficient
Correlation coefficient
 

More from ITNet

lecture 8 b main memory
lecture 8 b main memorylecture 8 b main memory
lecture 8 b main memoryITNet
 
lecture 9.pptx
lecture 9.pptxlecture 9.pptx
lecture 9.pptxITNet
 
lecture 10.pptx
lecture 10.pptxlecture 10.pptx
lecture 10.pptxITNet
 
lecture 11.pptx
lecture 11.pptxlecture 11.pptx
lecture 11.pptxITNet
 
lecture 12.pptx
lecture 12.pptxlecture 12.pptx
lecture 12.pptxITNet
 
lecture 13.pptx
lecture 13.pptxlecture 13.pptx
lecture 13.pptxITNet
 
lecture 15.pptx
lecture 15.pptxlecture 15.pptx
lecture 15.pptxITNet
 
kandegeeee.pdf
kandegeeee.pdfkandegeeee.pdf
kandegeeee.pdfITNet
 
Ia 124 1621324160 ia_124_lecture_02
Ia 124 1621324160 ia_124_lecture_02Ia 124 1621324160 ia_124_lecture_02
Ia 124 1621324160 ia_124_lecture_02ITNet
 
Ia 124 1621324143 ia_124_lecture_01
Ia 124 1621324143 ia_124_lecture_01Ia 124 1621324143 ia_124_lecture_01
Ia 124 1621324143 ia_124_lecture_01ITNet
 
Cp 121 lecture 01
Cp 121 lecture 01Cp 121 lecture 01
Cp 121 lecture 01ITNet
 
Cp 111 5 week
Cp 111 5 weekCp 111 5 week
Cp 111 5 weekITNet
 
Teofilo kisanji university mbeya (TEKU) ambassador 2020
Teofilo kisanji university mbeya (TEKU) ambassador 2020Teofilo kisanji university mbeya (TEKU) ambassador 2020
Teofilo kisanji university mbeya (TEKU) ambassador 2020ITNet
 
Tn 110 lecture 8
Tn 110 lecture 8Tn 110 lecture 8
Tn 110 lecture 8ITNet
 
Tn 110 lecture 1 logic
Tn 110 lecture 1 logicTn 110 lecture 1 logic
Tn 110 lecture 1 logicITNet
 
internet
internetinternet
internetITNet
 
Im 111 lecture 1
Im 111   lecture 1Im 111   lecture 1
Im 111 lecture 1ITNet
 
development study perspective full
development study perspective fulldevelopment study perspective full
development study perspective fullITNet
 
Gender issues in developement
Gender issues in developementGender issues in developement
Gender issues in developementITNet
 
Religion
ReligionReligion
ReligionITNet
 

More from ITNet (20)

lecture 8 b main memory
lecture 8 b main memorylecture 8 b main memory
lecture 8 b main memory
 
lecture 9.pptx
lecture 9.pptxlecture 9.pptx
lecture 9.pptx
 
lecture 10.pptx
lecture 10.pptxlecture 10.pptx
lecture 10.pptx
 
lecture 11.pptx
lecture 11.pptxlecture 11.pptx
lecture 11.pptx
 
lecture 12.pptx
lecture 12.pptxlecture 12.pptx
lecture 12.pptx
 
lecture 13.pptx
lecture 13.pptxlecture 13.pptx
lecture 13.pptx
 
lecture 15.pptx
lecture 15.pptxlecture 15.pptx
lecture 15.pptx
 
kandegeeee.pdf
kandegeeee.pdfkandegeeee.pdf
kandegeeee.pdf
 
Ia 124 1621324160 ia_124_lecture_02
Ia 124 1621324160 ia_124_lecture_02Ia 124 1621324160 ia_124_lecture_02
Ia 124 1621324160 ia_124_lecture_02
 
Ia 124 1621324143 ia_124_lecture_01
Ia 124 1621324143 ia_124_lecture_01Ia 124 1621324143 ia_124_lecture_01
Ia 124 1621324143 ia_124_lecture_01
 
Cp 121 lecture 01
Cp 121 lecture 01Cp 121 lecture 01
Cp 121 lecture 01
 
Cp 111 5 week
Cp 111 5 weekCp 111 5 week
Cp 111 5 week
 
Teofilo kisanji university mbeya (TEKU) ambassador 2020
Teofilo kisanji university mbeya (TEKU) ambassador 2020Teofilo kisanji university mbeya (TEKU) ambassador 2020
Teofilo kisanji university mbeya (TEKU) ambassador 2020
 
Tn 110 lecture 8
Tn 110 lecture 8Tn 110 lecture 8
Tn 110 lecture 8
 
Tn 110 lecture 1 logic
Tn 110 lecture 1 logicTn 110 lecture 1 logic
Tn 110 lecture 1 logic
 
internet
internetinternet
internet
 
Im 111 lecture 1
Im 111   lecture 1Im 111   lecture 1
Im 111 lecture 1
 
development study perspective full
development study perspective fulldevelopment study perspective full
development study perspective full
 
Gender issues in developement
Gender issues in developementGender issues in developement
Gender issues in developement
 
Religion
ReligionReligion
Religion
 

Recently uploaded

Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
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
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 

Recently uploaded (20)

Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
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
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 

Tn 110 lecture 2 logic

  • 1. LAWS OF ALGEBRA OF PREPOSITIONS Mayengo, M. M 1 Identities  𝑝 ∨ 𝑝 ≡ 𝑝  𝑝 ∨ 𝑇 ≡ 𝑇  𝑝 ∨ 𝐹 ≡ 𝑝  𝑝 ∧ 𝑝 ≡ 𝑝  𝑝 ∧ 𝑇 ≡ 𝑝  𝑝 ∧ 𝐹 ≡ 𝐹  𝑝 → 𝑝 ≡ 𝑇  𝑝 → 𝑇 ≡ 𝑇  𝑝 → 𝐹 ≡∼ 𝑝  𝑇 → 𝑝 ≡ 𝑝  𝐹 → 𝑝 ≡ 𝑇  𝑝 ↔ 𝑝 ≡ 𝑇  𝑝 ↔ 𝑇 ≡ 𝑝  𝑝 ↔ 𝐹 ≡∼ 𝑝
  • 2. LAWS OF ALGEBRA OF PREPOSITIONS Mayengo, M. M 2 Commutative Law  𝑝 ∨ 𝑞 ≡ 𝑞 ∨ 𝑝  𝑝 ∧ 𝑞 ≡ 𝑞 ∧ 𝑝  𝑝 → 𝑞 ≠ 𝑞 → 𝑝  𝑝 ↔ 𝑞 ≡ 𝑞 ↔ 𝑝 The Law of Double Negation  ∼ ∼ 𝑝 ≡ 𝑝 Complement Law  𝑝 ∨∼ 𝑝 ≡ 𝑇  𝑝 ∧∼ 𝑝 ≡ 𝐹  𝑝 →∼ 𝑝 ≡∼ 𝑝  ∼ 𝑝 → 𝑝 ≡ 𝑝  𝑝 ↔∼ 𝑝 ≡ 𝐹
  • 3. LAWS OF ALGEBRA OF PREPOSITIONS Mayengo, M. M 3 Associative Law  𝑝 ∨ 𝑞 ∨ 𝑟 ≡ 𝑝 ∨ 𝑞 ∨ 𝑟  𝑝 ∧ 𝑞 ∧ 𝑟 ≡ 𝑝 ∧ 𝑞 ∧ 𝑟 Distributive Law  𝑝 ∨ 𝑞 ∧ 𝑟 ≡ 𝑝 ∨ 𝑞 ∧ (𝑝 ∨ 𝑟)  𝑝 ∧ 𝑞 ∨ 𝑟 ≡ 𝑝 ∧ 𝑞 ∨ (𝑝 ∧ 𝑟)
  • 4. LAWS OF ALGEBRA OF PREPOSITIONS Mayengo, M. M 4 The Law of Absorption  𝑝 ∨ 𝑝 ∧ 𝑞 ≡ 𝑝  𝑝 ∧ 𝑝 ∨ 𝑞 ≡ 𝑝 De Morgan’s Law  ∼ 𝑝 ∨ 𝑞 ≡∼ 𝑝 ∧∼ 𝑞  ∼ 𝑝 ∧ 𝑞 ≡∼ 𝑝 ∨∼ 𝑞
  • 5. LAWS OF ALGEBRA OF PREPOSITIONS Mayengo, M. M 5 The Law of Equivancy of Contrapositive  𝑝 → 𝑞 ≡∼ 𝑞 →∼ 𝑝 The Law of Syllogism  If 𝑝 → 𝑞 and 𝑞 → 𝑟 then 𝑝 → 𝑟 Other Laws  𝑝 → 𝑞 ≡∼ 𝑝 ∨ 𝑞  𝑝 ↔ 𝑞 ≡ 𝑝 → 𝑞 ∧ (𝑞 → 𝑝)
  • 6. TAUTOLOGIES AND CONTRADICTIONS Mayengo, M. M 6 Tautology  A compound statement that is always true no matter what truth values are assigned to its component propositions is called a tautology  Examples: Consider the following truth tables 𝒑 ∼ 𝒑 (𝒑 ∨∼ 𝒑) 𝑇 𝐹 𝑻 𝐹 𝑇 𝑻
  • 7. TAUTOLOGIES AND CONTRADICTIONS Mayengo, M. M 7 Tautology  Examples: Consider the following truth tables 𝒑 𝒒 ∼ 𝒑 𝒑 ∨ 𝒒 ∼ 𝒑 ∨ (𝒑 ∨ 𝒒) 𝑇 𝑇 𝐹 𝑇 𝑻 𝑇 𝐹 𝐹 𝑇 𝑻 𝐹 𝑇 𝑇 𝑇 𝑻 𝐹 𝐹 𝑇 𝐹 𝑻
  • 8. TAUTOLOGIES AND CONTRADICTIONS Mayengo, M. M 8 Contradictions/Fallacy  These are compound statements which are always false no matter what truth values are assigned to the component propositions  Examples: Consider the following truth tables 𝒑 ∼ 𝒑 (𝒑 ∧∼ 𝒑) 𝑇 𝐹 𝑭 𝐹 𝑇 𝑭
  • 9. TAUTOLOGIES AND CONTRADICTIONS Mayengo, M. M 9 Contradictions  Examples: Consider the following truth tables 𝒑 𝒒 𝒑 ∧ 𝒒 𝒑 ∨ 𝒒 ∼ (𝒑 ∨ 𝒒) 𝒑 ∧ 𝒒 ∧∼ (𝒑 ∨ 𝒒) 𝑇 𝑇 𝑇 𝑇 𝐹 𝑭 𝑇 𝐹 𝐹 𝑇 𝐹 𝑭 𝐹 𝑇 𝐹 𝑇 𝐹 𝑭 𝐹 𝐹 𝐹 𝐹 𝑇 𝑭
  • 10. TAUTOLOGIES AND CONTRADICTIONS Contingency  These are compound statements which are neither false nor true no matter what truth values are assigned to the component propositions Mayengo, M. M
  • 11. TAUTOLOGIES AND CONTRADICTIONS Mayengo, M. M 11 Logical Equivalence  Two or more propositions are said to be logically equivalent (or equal) if they have the same/identical truth values.  Logical equivalence is denoted by symbol " = "or " ≡ “  Examples: Consider the truth values of the propositions ∼ (𝑝 ∧ 𝑞) and ∼ 𝑝 ∨∼ 𝑞 bellow. 𝒑 𝒒 ∼ 𝒑 ∼ 𝒒 𝒑 ∧ 𝒒 ∼ (𝒑 ∧ 𝒒) ∼ 𝒑 ∨∼ 𝒒 𝑇 𝑇 𝐹 𝐹 𝑇 𝑭 𝑭 𝑇 𝐹 𝐹 𝑇 𝐹 𝑻 𝑻 𝐹 𝑇 𝑇 𝐹 𝐹 𝑻 𝑻 𝐹 𝐹 𝑇 𝑇 𝐹 𝑻 𝑻
  • 12. TAUTOLOGIES AND CONTRADICTIONS Mayengo, M. M 12 Logical Equivalence  The propositions ∼ (𝑝 ∧ 𝑞) and ∼ 𝑝 ∨∼ 𝑞 bellow have the same truth values for all possible ways of assigning truth values to the component propositions 𝑝 and 𝑞.  Hence, we conclude that ∼ 𝑝 ∧ 𝑞 =∼ 𝑝 ∨∼ 𝑞 𝒑 𝒒 ∼ 𝒑 ∼ 𝒒 𝒑 ∧ 𝒒 ∼ (𝒑 ∧ 𝒒) ∼ 𝒑 ∨∼ 𝒒 𝑇 𝑇 𝐹 𝐹 𝑇 𝑭 𝑭 𝑇 𝐹 𝐹 𝑇 𝐹 𝑻 𝑻 𝐹 𝑇 𝑇 𝐹 𝐹 𝑻 𝑻 𝐹 𝐹 𝑇 𝑇 𝐹 𝑻 𝑻
  • 13. TAUTOLOGIES AND CONTRADICTIONS Mayengo, M. M 13 Logical Equivalence  Similarly, we can show that 𝑝 → 𝑞 =∼ 𝑝 ∨ 𝑞.  The truth table bellow proves the equivalence of the two compound statements. 𝒑 𝒒 ∼ 𝒑 𝒑 → 𝒒 ∼ 𝒑 ∨ 𝒒 𝑇 𝑇 𝐹 𝑻 𝑻 𝑇 𝐹 𝐹 𝑭 𝑭 𝐹 𝑇 𝑇 𝑻 𝑻 𝐹 𝐹 𝑇 𝑻 𝑻
  • 14. QUESTIONS  By using truth table and laws of proposition logic, classify the following mathematic logic formula whether they are tautology, contradiction or contingency statements.  (i)(∼p→(p→q)  (ii) (p→q)(q→p)  (iii) p(p→q)  (iv) (pq)→(rp)  (v) (pq)(∼pr) Mayengo, M. M