SlideShare une entreprise Scribd logo
1  sur  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.

Contenu connexe

Tendances

Notes solving polynomials using synthetic division
Notes   solving polynomials using synthetic divisionNotes   solving polynomials using synthetic division
Notes solving polynomials using synthetic divisionLori Rapp
 
Functions and Relations
Functions and RelationsFunctions and Relations
Functions and Relationssheisirenebkm
 
Quadratic inequality
Quadratic inequalityQuadratic inequality
Quadratic inequalityBrian Mary
 
13 1 arithmetic and geometric sequences
13 1 arithmetic and geometric sequences13 1 arithmetic and geometric sequences
13 1 arithmetic and geometric sequenceshisema01
 
Union and intersection of events (math 10)
Union and intersection of events (math 10)Union and intersection of events (math 10)
Union and intersection of events (math 10)Damone Odrale
 
PROBABILITY OF MUTUALLY EXCLUSIVE EVENTS final.pptx
PROBABILITY OF MUTUALLY EXCLUSIVE EVENTS final.pptxPROBABILITY OF MUTUALLY EXCLUSIVE EVENTS final.pptx
PROBABILITY OF MUTUALLY EXCLUSIVE EVENTS final.pptxReinabelleMarfilMarq
 
Logic (LESSON) - Truth Table, Negation, Conjunction, Dis junction,
Logic (LESSON) - Truth Table, Negation, Conjunction, Dis junction, Logic (LESSON) - Truth Table, Negation, Conjunction, Dis junction,
Logic (LESSON) - Truth Table, Negation, Conjunction, Dis junction, Ria Micor
 
CMSC 56 | Lecture 9: Functions Representations
CMSC 56 | Lecture 9: Functions RepresentationsCMSC 56 | Lecture 9: Functions Representations
CMSC 56 | Lecture 9: Functions Representationsallyn joy calcaben
 
Math presentation on domain and range
Math presentation on domain and rangeMath presentation on domain and range
Math presentation on domain and rangeTouhidul Shawan
 
Mathematics 9 Radical Expressions (2)
Mathematics 9 Radical Expressions (2)Mathematics 9 Radical Expressions (2)
Mathematics 9 Radical Expressions (2)Juan Miguel Palero
 
Nature of the roots of a quadratic equation
Nature of  the roots of a quadratic equationNature of  the roots of a quadratic equation
Nature of the roots of a quadratic equationMartinGeraldine
 
MIT Math Syllabus 10-3 Lesson 1: Sets and the real number system
MIT Math Syllabus 10-3 Lesson 1: Sets and the real number systemMIT Math Syllabus 10-3 Lesson 1: Sets and the real number system
MIT Math Syllabus 10-3 Lesson 1: Sets and the real number systemLawrence De Vera
 

Tendances (20)

Notes solving polynomials using synthetic division
Notes   solving polynomials using synthetic divisionNotes   solving polynomials using synthetic division
Notes solving polynomials using synthetic division
 
Application of derivative
Application of derivativeApplication of derivative
Application of derivative
 
Functions and Relations
Functions and RelationsFunctions and Relations
Functions and Relations
 
Quadratic inequality
Quadratic inequalityQuadratic inequality
Quadratic inequality
 
13 1 arithmetic and geometric sequences
13 1 arithmetic and geometric sequences13 1 arithmetic and geometric sequences
13 1 arithmetic and geometric sequences
 
Union and intersection of events (math 10)
Union and intersection of events (math 10)Union and intersection of events (math 10)
Union and intersection of events (math 10)
 
Geometric series
Geometric seriesGeometric series
Geometric series
 
PROBABILITY OF MUTUALLY EXCLUSIVE EVENTS final.pptx
PROBABILITY OF MUTUALLY EXCLUSIVE EVENTS final.pptxPROBABILITY OF MUTUALLY EXCLUSIVE EVENTS final.pptx
PROBABILITY OF MUTUALLY EXCLUSIVE EVENTS final.pptx
 
Logic (LESSON) - Truth Table, Negation, Conjunction, Dis junction,
Logic (LESSON) - Truth Table, Negation, Conjunction, Dis junction, Logic (LESSON) - Truth Table, Negation, Conjunction, Dis junction,
Logic (LESSON) - Truth Table, Negation, Conjunction, Dis junction,
 
CMSC 56 | Lecture 9: Functions Representations
CMSC 56 | Lecture 9: Functions RepresentationsCMSC 56 | Lecture 9: Functions Representations
CMSC 56 | Lecture 9: Functions Representations
 
Math presentation on domain and range
Math presentation on domain and rangeMath presentation on domain and range
Math presentation on domain and range
 
Determinants
DeterminantsDeterminants
Determinants
 
ELEMENTARY NUMBER THEORY.pptx
ELEMENTARY NUMBER THEORY.pptxELEMENTARY NUMBER THEORY.pptx
ELEMENTARY NUMBER THEORY.pptx
 
Mathematics 9 Radical Expressions (2)
Mathematics 9 Radical Expressions (2)Mathematics 9 Radical Expressions (2)
Mathematics 9 Radical Expressions (2)
 
Ring
RingRing
Ring
 
Remainder theorem
Remainder theoremRemainder theorem
Remainder theorem
 
Nature of the roots of a quadratic equation
Nature of  the roots of a quadratic equationNature of  the roots of a quadratic equation
Nature of the roots of a quadratic equation
 
MIT Math Syllabus 10-3 Lesson 1: Sets and the real number system
MIT Math Syllabus 10-3 Lesson 1: Sets and the real number systemMIT Math Syllabus 10-3 Lesson 1: Sets and the real number system
MIT Math Syllabus 10-3 Lesson 1: Sets and the real number system
 
Recursion DM
Recursion DMRecursion DM
Recursion DM
 
Rational Exponents
Rational ExponentsRational Exponents
Rational Exponents
 

En vedette

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
 

En vedette (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)
 

Similaire à 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
 

Dernier

Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
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
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
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
 
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
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 

Dernier (20)

Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
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...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.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
 
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
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
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"
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 

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.