SlideShare a Scribd company logo
1 of 16
TAF 3023: DISCRETE
MATH



 Power !
PROPOSITIONAL LOGIC

Proposition   • possible condition of the world
                about which we want to say
                something.

Example       • Apple is a fruit.
PROPOSITIONAL LOGIC
• Propositional   • A proposition or statement is a
  logic             sentence which is either true or
                    false.



• Example         • True - Apple is a fruit.
                  • False - Rice is a fruit.
PROPOSITIONAL LOGIC
• Propositional   • Propositional variables use letters to
  variables         represent it, just as letters used to
                    represent numerical variables.


• Example         • p, q, r, s, ………
PROPOSITIONAL LOGIC
Types of Truth Table
 • Negation            • Conjunction
   Proposition           Proposition
PROPOSITIONAL LOGIC
Types of Truth Table
 • Disjunction         • Exclusive Or of Two
   Proposition           Propositions
PROPOSITIONAL LOGIC
Types of Truth Table
• Conditional Statement and Biconditional
  Statement

•
PROPOSITIONAL LOGIC
 Types of Truth Table
• Compound Proposition
•
PROPOSITIONAL EQUIVALENCE
• Tautology
  a compound proposition that is always true.
• Contradiction
  a compound proposition that is always false.
• Contingency
  a compound proposition that contain neither true or
  false that mean in its truth table have at least one true
  and at least one false.
PROPOSITIONAL EQUIVALENCE
 Examples:
                   p   ~p   p V ~p
 • Tautology       T   F      T
                   F   T      T

 • Contradiction   p   ~p   p ^ ~p
                   T   F      F
                   F   T      F

 • Contingency     p   ~p   p  ~p
                   T   F      T
                   F   T      F
LOGICAL EQUIVALENCE
• In logic, statements p and q are logically equivalent if
  they have the same logical content
• (Mendelson 1979:56) two statements are equivalent if
  they have the same truth value in every model
• Logical Equivalence Table
LOGICAL EQUIVALENCE
De Morgan’s Law
• Probably the most important logical
  equivalence
  ¬(p ∧ q) ≡ ¬p ∨¬q
  ¬(p ∨ q) ≡ ¬p ∧¬q
PREDICATE AND QUANTIFIERS
  Introduction:
• Predicate is an open statement or sentence that contains a finite
  numbers of variables. Predicates become statement when specifies
  values are substituted for the variables by certain allowable choices
  of value.
                         • variable x - subject
  Example:               • greater than 3 – predicate
  “x is greater
    than 3”             • predicate in the form of:
                             P(x) – this is a unary predicate (has one
  OR                          variable)
                             P( x, y) – this is a binary predicate (has
  • denote as P(x)            two variables)
                             P(x1, x2, x…….., xn) – this is an n-ary or n-
                              place predicate – (has n individual
                              variables in a predicate)
PREDICATE AND QUANTIFIERS
  Quantifiers:
• Definition     • a logical symbol which makes an assertion
                   about the set of values which make one or
                   more formulas true.
                 • universal quantifier: read for
                   “all”, “each”, “every”.
                 • existential quantifier: read for “some”
                   statement that is true or false.
• Example        • universal - “Everyone likes cakes“.
                                “Not everyone likes cakes”.
                 • existential - “Someone likes cakes”.
                                “No one likes cakes”.
PREDICATE AND QUANTIFIERS
 Examples Using Quantifiers:
 Universal and Existential Quantifier
 Statement: True:                  False:
 ∀xP(x)     P(x) is true for every There is an x for
              x.                     which P(x) is false.


 ∃xP(x)       There is an x for       P(x) is false for every
                which P(x) is true.     x.
PREDICATE AND QUANTIFIERS
 Examples Using Quantifiers:
 Universal and Existential Quantifier
 Statement: True:                    False:
 ∀xP(x)     x+1>x                    x<2
            If P(x) = 1, the         If P(x) = 1 or 0, the
               quantification is        quantification is true.
               true.                 But If P(x) = 3, the
                                        quantification is false.
 ∃xP(x)       x>3                    x=x+1
              If P(x) = 4, the       P(x) is false for all real
                 quantification is      number.
                 true.

More Related Content

What's hot

Conditional and biconditional statements
Conditional and biconditional statementsConditional and biconditional statements
Conditional and biconditional statementsDannah Paquibot
 
Random Variable (Discrete and Continuous)
Random Variable (Discrete and Continuous)Random Variable (Discrete and Continuous)
Random Variable (Discrete and Continuous)Cess011697
 
Quadratic inequalities
Quadratic inequalitiesQuadratic inequalities
Quadratic inequalitiesmstf mstf
 
5.1 Graphing Quadratic Functions
5.1 Graphing Quadratic Functions5.1 Graphing Quadratic Functions
5.1 Graphing Quadratic Functionshisema01
 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical inductionKriti Varshney
 
Polya's Problem-Solving Strategy
Polya's Problem-Solving StrategyPolya's Problem-Solving Strategy
Polya's Problem-Solving StrategyEFREN ARCHIDE
 
Modern geometry
Modern geometryModern geometry
Modern geometrySFYC
 
The structure of scientific revolutions (anuj)
The structure of scientific revolutions (anuj)The structure of scientific revolutions (anuj)
The structure of scientific revolutions (anuj)Anuj Bhatia
 
Probability Distribution (Discrete Random Variable)
Probability Distribution (Discrete Random Variable)Probability Distribution (Discrete Random Variable)
Probability Distribution (Discrete Random Variable)Cess011697
 
General Math Grade 11 Course outline
General Math Grade 11 Course outlineGeneral Math Grade 11 Course outline
General Math Grade 11 Course outlinePriscalyAnnCastillo
 
Graphing rational functions
Graphing rational functionsGraphing rational functions
Graphing rational functionsrey castro
 
5.4 mathematical induction
5.4 mathematical induction5.4 mathematical induction
5.4 mathematical inductionmath260
 

What's hot (20)

Proof by contradiction
Proof by contradictionProof by contradiction
Proof by contradiction
 
Logic Ppt
Logic PptLogic Ppt
Logic Ppt
 
Conditional and biconditional statements
Conditional and biconditional statementsConditional and biconditional statements
Conditional and biconditional statements
 
Random Variable (Discrete and Continuous)
Random Variable (Discrete and Continuous)Random Variable (Discrete and Continuous)
Random Variable (Discrete and Continuous)
 
Philosophical Theories
Philosophical TheoriesPhilosophical Theories
Philosophical Theories
 
Quadratic inequalities
Quadratic inequalitiesQuadratic inequalities
Quadratic inequalities
 
5.1 Graphing Quadratic Functions
5.1 Graphing Quadratic Functions5.1 Graphing Quadratic Functions
5.1 Graphing Quadratic Functions
 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical induction
 
Polya's Problem-Solving Strategy
Polya's Problem-Solving StrategyPolya's Problem-Solving Strategy
Polya's Problem-Solving Strategy
 
Modern geometry
Modern geometryModern geometry
Modern geometry
 
The structure of scientific revolutions (anuj)
The structure of scientific revolutions (anuj)The structure of scientific revolutions (anuj)
The structure of scientific revolutions (anuj)
 
Proposition
PropositionProposition
Proposition
 
Probability Distribution (Discrete Random Variable)
Probability Distribution (Discrete Random Variable)Probability Distribution (Discrete Random Variable)
Probability Distribution (Discrete Random Variable)
 
Estimating square root
Estimating square rootEstimating square root
Estimating square root
 
Permutation
PermutationPermutation
Permutation
 
Circular functions
Circular functionsCircular functions
Circular functions
 
General Math Grade 11 Course outline
General Math Grade 11 Course outlineGeneral Math Grade 11 Course outline
General Math Grade 11 Course outline
 
Graphing rational functions
Graphing rational functionsGraphing rational functions
Graphing rational functions
 
5.4 mathematical induction
5.4 mathematical induction5.4 mathematical induction
5.4 mathematical induction
 
Philosophy history
Philosophy historyPhilosophy history
Philosophy history
 

Viewers also liked

Predicates and quantifiers
Predicates and quantifiersPredicates and quantifiers
Predicates and quantifiersIstiak Ahmed
 
Mr Hardy's pared-down Arts
Mr Hardy's pared-down ArtsMr Hardy's pared-down Arts
Mr Hardy's pared-down Artsplangdale
 
Reason the final chapter
Reason the final chapterReason the final chapter
Reason the final chapterplangdale
 
Logic in Sinhala with Hirantha Part 3 ( Laws of Thought)
Logic in Sinhala with Hirantha Part 3 ( Laws of Thought)Logic in Sinhala with Hirantha Part 3 ( Laws of Thought)
Logic in Sinhala with Hirantha Part 3 ( Laws of Thought)Hirantha De Silva
 
Predicates and Quantifiers
Predicates and QuantifiersPredicates and Quantifiers
Predicates and Quantifiersblaircomp2003
 
Discrete Structures lecture 2
 Discrete Structures lecture 2 Discrete Structures lecture 2
Discrete Structures lecture 2Ali Usman
 
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
 

Viewers also liked (9)

Predicates and quantifiers
Predicates and quantifiersPredicates and quantifiers
Predicates and quantifiers
 
Logic behind technology
Logic behind technologyLogic behind technology
Logic behind technology
 
Mr Hardy's pared-down Arts
Mr Hardy's pared-down ArtsMr Hardy's pared-down Arts
Mr Hardy's pared-down Arts
 
Reason the final chapter
Reason the final chapterReason the final chapter
Reason the final chapter
 
Logic in Sinhala with Hirantha Part 3 ( Laws of Thought)
Logic in Sinhala with Hirantha Part 3 ( Laws of Thought)Logic in Sinhala with Hirantha Part 3 ( Laws of Thought)
Logic in Sinhala with Hirantha Part 3 ( Laws of Thought)
 
Predicates and Quantifiers
Predicates and QuantifiersPredicates and Quantifiers
Predicates and Quantifiers
 
Discrete Structures lecture 2
 Discrete Structures lecture 2 Discrete Structures lecture 2
Discrete Structures lecture 2
 
Logic.ppt.
Logic.ppt.Logic.ppt.
Logic.ppt.
 
Lec 02 logical eq (Discrete Mathematics)
Lec 02   logical eq (Discrete Mathematics)Lec 02   logical eq (Discrete Mathematics)
Lec 02 logical eq (Discrete Mathematics)
 

Similar to Math (20)

Quantifier
QuantifierQuantifier
Quantifier
 
Discrete Structure Lecture #5 & 6.pdf
Discrete Structure Lecture #5 & 6.pdfDiscrete Structure Lecture #5 & 6.pdf
Discrete Structure Lecture #5 & 6.pdf
 
Lecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inferenceLecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inference
 
Slide subtopic 3
Slide subtopic 3Slide subtopic 3
Slide subtopic 3
 
Logic
LogicLogic
Logic
 
Per3 logika
Per3 logikaPer3 logika
Per3 logika
 
Discrete mathematics Chapter1 presentation.ppt
Discrete mathematics Chapter1 presentation.pptDiscrete mathematics Chapter1 presentation.ppt
Discrete mathematics Chapter1 presentation.ppt
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
X02PredCalculus.ppt
X02PredCalculus.pptX02PredCalculus.ppt
X02PredCalculus.ppt
 
PredicateLogic (1).ppt
PredicateLogic (1).pptPredicateLogic (1).ppt
PredicateLogic (1).ppt
 
PredicateLogic.pptx
PredicateLogic.pptxPredicateLogic.pptx
PredicateLogic.pptx
 
Introduction to mathematical analysis
Introduction to mathematical analysisIntroduction to mathematical analysis
Introduction to mathematical analysis
 
L01.ppt
L01.pptL01.ppt
L01.ppt
 
Formal Logic - Lesson 8 - Predicates and Quantifiers
Formal Logic - Lesson 8 - Predicates and QuantifiersFormal Logic - Lesson 8 - Predicates and Quantifiers
Formal Logic - Lesson 8 - Predicates and Quantifiers
 
Fuzzy logic and application in AI
Fuzzy logic and application in AIFuzzy logic and application in AI
Fuzzy logic and application in AI
 
Quantification
QuantificationQuantification
Quantification
 
Predicate &amp; quantifier
Predicate &amp; quantifierPredicate &amp; quantifier
Predicate &amp; quantifier
 
Propositional And First-Order Logic
Propositional And First-Order LogicPropositional And First-Order Logic
Propositional And First-Order Logic
 
Truth table
Truth tableTruth table
Truth table
 
Chapter 01 - p2.pdf
Chapter 01 - p2.pdfChapter 01 - p2.pdf
Chapter 01 - p2.pdf
 

Recently uploaded

Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
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
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
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
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationRosabel UA
 
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
 

Recently uploaded (20)

Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
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
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
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Ă...
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translation
 
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
 

Math

  • 2. PROPOSITIONAL LOGIC Proposition • possible condition of the world about which we want to say something. Example • Apple is a fruit.
  • 3. PROPOSITIONAL LOGIC • Propositional • A proposition or statement is a logic sentence which is either true or false. • Example • True - Apple is a fruit. • False - Rice is a fruit.
  • 4. PROPOSITIONAL LOGIC • Propositional • Propositional variables use letters to variables represent it, just as letters used to represent numerical variables. • Example • p, q, r, s, ………
  • 5. PROPOSITIONAL LOGIC Types of Truth Table • Negation • Conjunction Proposition Proposition
  • 6. PROPOSITIONAL LOGIC Types of Truth Table • Disjunction • Exclusive Or of Two Proposition Propositions
  • 7. PROPOSITIONAL LOGIC Types of Truth Table • Conditional Statement and Biconditional Statement •
  • 8. PROPOSITIONAL LOGIC Types of Truth Table • Compound Proposition •
  • 9. PROPOSITIONAL EQUIVALENCE • Tautology  a compound proposition that is always true. • Contradiction  a compound proposition that is always false. • Contingency  a compound proposition that contain neither true or false that mean in its truth table have at least one true and at least one false.
  • 10. PROPOSITIONAL EQUIVALENCE Examples: p ~p p V ~p • Tautology T F T F T T • Contradiction p ~p p ^ ~p T F F F T F • Contingency p ~p p  ~p T F T F T F
  • 11. LOGICAL EQUIVALENCE • In logic, statements p and q are logically equivalent if they have the same logical content • (Mendelson 1979:56) two statements are equivalent if they have the same truth value in every model • Logical Equivalence Table
  • 12. LOGICAL EQUIVALENCE De Morgan’s Law • Probably the most important logical equivalence  ¬(p ∧ q) ≡ ¬p ∨¬q  ¬(p ∨ q) ≡ ¬p ∧¬q
  • 13. PREDICATE AND QUANTIFIERS Introduction: • Predicate is an open statement or sentence that contains a finite numbers of variables. Predicates become statement when specifies values are substituted for the variables by certain allowable choices of value. • variable x - subject Example: • greater than 3 – predicate “x is greater than 3” • predicate in the form of:  P(x) – this is a unary predicate (has one OR variable)  P( x, y) – this is a binary predicate (has • denote as P(x) two variables)  P(x1, x2, x…….., xn) – this is an n-ary or n- place predicate – (has n individual variables in a predicate)
  • 14. PREDICATE AND QUANTIFIERS Quantifiers: • Definition • a logical symbol which makes an assertion about the set of values which make one or more formulas true. • universal quantifier: read for “all”, “each”, “every”. • existential quantifier: read for “some” statement that is true or false. • Example • universal - “Everyone likes cakes“. “Not everyone likes cakes”. • existential - “Someone likes cakes”. “No one likes cakes”.
  • 15. PREDICATE AND QUANTIFIERS Examples Using Quantifiers: Universal and Existential Quantifier Statement: True: False: ∀xP(x) P(x) is true for every There is an x for x. which P(x) is false. ∃xP(x) There is an x for P(x) is false for every which P(x) is true. x.
  • 16. PREDICATE AND QUANTIFIERS Examples Using Quantifiers: Universal and Existential Quantifier Statement: True: False: ∀xP(x) x+1>x x<2 If P(x) = 1, the If P(x) = 1 or 0, the quantification is quantification is true. true. But If P(x) = 3, the quantification is false. ∃xP(x) x>3 x=x+1 If P(x) = 4, the P(x) is false for all real quantification is number. true.