SlideShare uma empresa Scribd logo
1 de 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.

Mais conteúdo relacionado

Mais procurados

Fibonacci sequence
Fibonacci sequenceFibonacci sequence
Fibonacci sequence
AnushkaSahu
 
Logic Statements:Conditional statements
Logic Statements:Conditional statementsLogic Statements:Conditional statements
Logic Statements:Conditional statements
Mariele Brutas
 
History Of Non Euclidean Geometry
History Of Non Euclidean GeometryHistory Of Non Euclidean Geometry
History Of Non Euclidean Geometry
dr.f
 

Mais procurados (20)

Logic - Logical Propositions
Logic - Logical Propositions Logic - Logical Propositions
Logic - Logical Propositions
 
Discrete mathematics
Discrete mathematicsDiscrete mathematics
Discrete mathematics
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Formal Logic - Lesson 1 - Introduction to Logic
Formal Logic - Lesson 1 - Introduction to LogicFormal Logic - Lesson 1 - Introduction to Logic
Formal Logic - Lesson 1 - Introduction to Logic
 
Writing Proofs (Direct and Indirect) PPT.pptx
Writing Proofs (Direct and Indirect) PPT.pptxWriting Proofs (Direct and Indirect) PPT.pptx
Writing Proofs (Direct and Indirect) PPT.pptx
 
Practical applications of limits
Practical applications of limitsPractical applications of limits
Practical applications of limits
 
Proposition (Logic)
Proposition (Logic)Proposition (Logic)
Proposition (Logic)
 
Fi̇bonacci̇ sequence
Fi̇bonacci̇ sequenceFi̇bonacci̇ sequence
Fi̇bonacci̇ sequence
 
Fibonacci sequence
Fibonacci sequenceFibonacci sequence
Fibonacci sequence
 
Quadrilaterals grade 7
Quadrilaterals grade 7Quadrilaterals grade 7
Quadrilaterals grade 7
 
Converse, contrapositive, inverse
Converse, contrapositive, inverseConverse, contrapositive, inverse
Converse, contrapositive, inverse
 
Logic Statements:Conditional statements
Logic Statements:Conditional statementsLogic Statements:Conditional statements
Logic Statements:Conditional statements
 
CMSC 56 | Lecture 11: Mathematical Induction
CMSC 56 | Lecture 11: Mathematical InductionCMSC 56 | Lecture 11: Mathematical Induction
CMSC 56 | Lecture 11: Mathematical Induction
 
CMSC 56 | Lecture 2: Propositional Equivalences
CMSC 56 | Lecture 2: Propositional EquivalencesCMSC 56 | Lecture 2: Propositional Equivalences
CMSC 56 | Lecture 2: Propositional Equivalences
 
History Of Non Euclidean Geometry
History Of Non Euclidean GeometryHistory Of Non Euclidean Geometry
History Of Non Euclidean Geometry
 
l.2 parallelogram
  l.2 parallelogram  l.2 parallelogram
l.2 parallelogram
 
Mathematical Logic - Part 1
Mathematical Logic - Part 1Mathematical Logic - Part 1
Mathematical Logic - Part 1
 
Valid &amp; invalid arguments
Valid &amp; invalid argumentsValid &amp; invalid arguments
Valid &amp; invalid arguments
 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical induction
 
Limits and their applications
Limits and their applicationsLimits and their applications
Limits and their applications
 

Destaque (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)
 

Semelhante a Math

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
asimnawaz54
 
Propositional And First-Order Logic
Propositional And First-Order LogicPropositional And First-Order Logic
Propositional And First-Order Logic
ankush_kumar
 

Semelhante a 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
 

Último

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Último (20)

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
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...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 

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.