SlideShare une entreprise Scribd logo
1  sur  44
WENNILOUPORAZO
DISCRETE MATHEMATICS LECTURE 1
PROPOSITIONAL
LOGIC
MLG COLLEGE OF LEARNING
LOGIC
Definition
the basis of all mathematical reasoning and all of
automated reasoning.
Rules of logic are used to distinguish between
valid and invalid mathematical arguments.
discrete mathematics
propositions
Definition
basic building blocks of logic.
a declarative sentence that is either true or false
but not both.
discrete mathematics
WHICH OF THESE
ARE
PREPOSITIONS?
Tokyo is the
capital of Japan
1 + 1 = 2
2 + 5 = 11
discrete mathematics
What time is it?
Read this carefully.
x + y = 12
• WE USE LETTERS TO DENOTE PROPOSITIONAL
VARIABLES (OR STATEMENT VARIABLES), THAT
IS, VARIABLES THAT REPRESENT
PROPOSITIONS, JUST AS LETTER ARE USED TO
DENOTE NUMERICAL VARIABLES.
• It uses the conventional letters such as p,q,r,s,...
• Truth values is denoted by T, if it's a true proposition, and
how do we represent
prepositions?
discrete mathematics
propositional
logic
• Area of logic that deals with prepositions
• First developed systematically by Greek
philosopher Aristotle more than 2300 years ago.
mlg college of learning
august 2020
compound
propositions
• New propositions formed from existing propositions
using logical operators.
mlg college of learning
august 2020
discrete mathematics
Let p be a proposition. The
negation of p, denoted by ¬p, is the
statement
"It is not the case that p"
The truth value of the negation of p,
¬p, is the opposite of the truth value
of p.
NEGATION
Definition 1
EXAMPLE 1
FIND THE NEGATION OF THE PROPOSITION
Michelle's PC
runs Linux.
SOLUTION
august 2020
It's not the case that
Michelle's Pc runs Linux.
Michelle's PC doesn't run
Linux.
PROBLEM
EXAMPLE 2
FIND THE NEGATION OF THE PROPOSITION
Vanessa's smartphone has at
least 32GB of memory.
SOLUTION
august 2020
It's not the case that Vanessa's
smartphone has at least 33GB of
memory.
PROBLEM
Vanessa's smartphone doesn't have
at least 32GB of memory.
august 2020
mlg college of learning
Truth table for the negation of
proposition of p
Somethingtothinkabout
Let p and q be propositions. The
conjunction of p and q, denoted by
p ∧ q ,is the proposition.
"p and q"
The conjunction of p and q is true
when both p and q are true and
false if otherwise.
conjunction
august 2020
Definition 2
SAMPLE PROBLEM
FIND THE CONJUNCTION OF THE PROPOSITIONS P AND Q
WHERE P IS THE PROPOSITION:
Rachelle's PC has more than 50GB free hard disk space.
august 2020
AND Q IS THE PROPOSITION:
The processor in Rachelle's PC runs faster than 2 GHz.
SOLUTION
THE CONJUNCTION OF THESE PREPOSITIONS, P ∧ Q IS
THE PREPOSITION:
Rachelle's PC has more than 50GB free hard disk space AND the processor
in Rachelle's PC runs faster than 2 GHz.
august 2020
Truth table for the conjunction of two
propositions.
august 2020
mlg college of learning
Somethingtothinkabout
Let p and q be propositions. The
disjunction of p and q, denoted by
p ∨ q ,is the proposition.
"p or q"
The disjunction of p ∨ q is
false when both p and q are false
and is true if otherwise.
disjunction
august 2020
Definition 3
SAMPLE PROBLEM
FIND THE DISJUNCTION OF THE PROPOSITIONS P AND Q
WHERE P IS THE PROPOSITION:
Rachelle's PC has more than 50GB free hard disk space.
august 2020
AND Q IS THE PROPOSITION:
The processor in Rachelle's PC runs faster than 2 GHz.
SOLUTION
THE DISJUNCTION OF THESE PREPOSITIONS, P ∨ Q IS
THE PREPOSITION:
Rachelle's PC has more than 50GB free hard disk space OR the processor
in Rachelle's PC runs faster than 2 GHz.
august 2020
Truth table for the disjunction of two
propositions.
august 2020
mlg college of learning
Somethingtothinkabout
Let p and q be propositions. The
exclusive or of p and q, denoted by
p ⊕ q ,is the proposition that is true
when exactly one of p and q is
true and is false otherwise.
exclusive
or
august 2020
Definition 4
SAMPLE PROBLEM
FIND THE EXCLUSIVE OR OF THE PROPOSITIONS P AND Q
WHERE P IS THE PROPOSITION:
AND Q IS THE PROPOSITION:
Rachelle's PC has more than 50GB free hard disk space.
august 2020
The processor in Rachelle's PC runs faster than 2 GHz.
SOLUTION
THE EXCLUSIVE OR OR P AND Q,(P ⊕ Q) IS THE
PROPOSITION:
Rachelle's PC has at least 50GB free hard disk space , OR the processor
in Rachelle's PC runs faster than 2 GHz, but not both.
august 2020
Truth table for the Exclusive OR of
two propositions.
august 2020
mlg college of learning
Somethingtothinkabout
Let p and q be propositions. The
conditional statement p --> q is the
proposition, "if p, then q".
The conditional statement p --> q is
false when p is true and q is false,
and true otherwise.
CONDITIONAL
STATEMENT
august 2020
Definition 5
In the conditional statement p --> q, p is called the
hypothesis (or the antecedent or premise) and q is
called the conclusion (or the consequence)
"if p, then q"
p → q
august 2020 discrete mathematics
"if p, q"
"q if p"
"q when p"
"q follows from p"
"a necessary condition for p is q"
"a sufficient condition for q is p"
"p implies q"
"p only if q"
"q whenever p"
"q is necessary for p"
SAMPLE PROBLEM 1
LET P BE THE STATEMENT:
AND Q THE STATEMENT:
"Joy learns Discrete Mathematics."
august 2020
"Joy will find a good job."
EXPRESS THE STATEMENT P → Q INTO ENGLISH
SOLUTION
P → Q
"If Joy learns Discrete Mathematics, then she
will find a good job."
august 2020
SAMPLE PROBLEM 2
LET P BE THE STATEMENT:
AND Q THE STATEMENT:
"I am elected as the town Mayor."
august 2020
"I will lower the taxes and tuition fees."
EXPRESS THE STATEMENT P → Q INTO ENGLISH
SOLUTION 2
P → Q
"If I am elected as the town Mayor, then I will
lower the taxes and tuition fees."
august 2020
ANOTHER EXAMPLE
P → Q
"If you get 100 on the exam, then I will give you
1.0 grade."
august 2020
Truth table for the Conditional
Statement p → q.
august 2020
mlg college of learning
Somethingtothinkabout
CONVERSE,
CONTRAPOSITIVE,
INVERSE
discrete mathematics
Proposition:
Given p → q
converse
q → p
contrapositive
¬ q → ¬ p
inverse
¬ p → ¬q
mlg college of learning
If you pass the exam, then you
will graduate on time.
converse
If you graduate on time, then you passed
the exam.
contrapositive
inverse
mlg college of learning
Proposition:
p → q
If you do not graduate on time, then you
did not pass the exam.
If you don't pass the exam, then you don't
graduate on time.
bic nditionals
august 2020
discrete mathematics
mlg college of learning
• Let p and q be propositions. The biconditional statement
p ↔ q, is the proposition "p if and only if q."
• The biconditional statement p ↔ q is true when p and q
has the same truth vales, and false otherwise.
Definition 6
DISCRETE MATHEMATICS
• Biconditional statements are also called bi-implications.
BICONDITIONALS
WHAT ARE THE
WAYS TO EXPRESS
P ↔ Q?
"P is necessary and
sufficient for Q"
"If p and q, and
conversely"
"p iff q
SAMPLE PROBLEM 1
LET P BE THE STATEMENT:
AND Q THE STATEMENT:
"You can take the flight."
august 2020
"You buy a ticket."
EXPRESS THE STATEMENT P ↔ Q USING IFF
SOLUTION
THEN THE P ↔ Q STATEMENT:
"You can take the flight, if and only if you buy a
ticket."
august 2020
Truth table for the Biconditional
Statement p ↔ q.
august 2020
mlg college of learning
Somethingtothinkabout
Note :
p ↔ q has exactly the same
truth value as...
(p → q) ∧ (q → p)
PRECEDENCE OF LOGICAL OPERATORS
discrete mathematics
1
2
3
4
5
∧
∨
→
↔
SAMPLE EXERCISE
CONSTRUCT THE TRUTH TABLE OF THE COMPOUND
PROPOSITION
exercise 1
mlg college of learning
discrete mathematics
(p ∨ ¬q ) → (p ∧ q)
solution
exercise 1
mlg college of learning
discrete mathematics
(p ∨ ¬q ) → (p ∧ q)

Contenu connexe

Similaire à Lecture 1 Propositional logic

Similaire à Lecture 1 Propositional logic (20)

Chapter1p1
Chapter1p1Chapter1p1
Chapter1p1
 
Chapter 01 - p1.pdf
Chapter 01 - p1.pdfChapter 01 - p1.pdf
Chapter 01 - p1.pdf
 
Drinkfromme.pptx
Drinkfromme.pptxDrinkfromme.pptx
Drinkfromme.pptx
 
Chapter1p1.pdf
Chapter1p1.pdfChapter1p1.pdf
Chapter1p1.pdf
 
CSE-203 Lec_1.pptx
CSE-203 Lec_1.pptxCSE-203 Lec_1.pptx
CSE-203 Lec_1.pptx
 
Discrete mathematics Chapter1 presentation.ppt
Discrete mathematics Chapter1 presentation.pptDiscrete mathematics Chapter1 presentation.ppt
Discrete mathematics Chapter1 presentation.ppt
 
DMS UNIT-1 ppt.pptx
DMS UNIT-1 ppt.pptxDMS UNIT-1 ppt.pptx
DMS UNIT-1 ppt.pptx
 
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكروDiscrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
 
Discrete Structure vs Discrete Mathematics
Discrete Structure vs Discrete MathematicsDiscrete Structure vs Discrete Mathematics
Discrete Structure vs Discrete Mathematics
 
Chapter 1: The Foundations: Logic and Proofs
Chapter 1: The Foundations: Logic and ProofsChapter 1: The Foundations: Logic and Proofs
Chapter 1: The Foundations: Logic and Proofs
 
Chapter1p1 2.pptx
Chapter1p1 2.pptxChapter1p1 2.pptx
Chapter1p1 2.pptx
 
Laws of Logic in Discrete Structures and their applications
Laws of Logic in Discrete Structures and their applicationsLaws of Logic in Discrete Structures and their applications
Laws of Logic in Discrete Structures and their applications
 
Propositional logic in Discretes tructures.pptx
Propositional logic in Discretes tructures.pptxPropositional logic in Discretes tructures.pptx
Propositional logic in Discretes tructures.pptx
 
6-Math-Logic.pptx Math logic general mathematics
6-Math-Logic.pptx Math logic general mathematics6-Math-Logic.pptx Math logic general mathematics
6-Math-Logic.pptx Math logic general mathematics
 
DISMATH_Part1
DISMATH_Part1DISMATH_Part1
DISMATH_Part1
 
Basic Connectives and Truth Tables.ppt
Basic Connectives and Truth Tables.pptBasic Connectives and Truth Tables.ppt
Basic Connectives and Truth Tables.ppt
 
Dm 10.12.2020
Dm 10.12.2020Dm 10.12.2020
Dm 10.12.2020
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Dscrete structure
Dscrete  structureDscrete  structure
Dscrete structure
 

Plus de MLG College of Learning, Inc (20)

PC111.Lesson2
PC111.Lesson2PC111.Lesson2
PC111.Lesson2
 
PC111.Lesson1
PC111.Lesson1PC111.Lesson1
PC111.Lesson1
 
PC111-lesson1.pptx
PC111-lesson1.pptxPC111-lesson1.pptx
PC111-lesson1.pptx
 
PC LEESOON 6.pptx
PC LEESOON 6.pptxPC LEESOON 6.pptx
PC LEESOON 6.pptx
 
PC 106 PPT-09.pptx
PC 106 PPT-09.pptxPC 106 PPT-09.pptx
PC 106 PPT-09.pptx
 
PC 106 PPT-07
PC 106 PPT-07PC 106 PPT-07
PC 106 PPT-07
 
PC 106 PPT-01
PC 106 PPT-01PC 106 PPT-01
PC 106 PPT-01
 
PC 106 PPT-06
PC 106 PPT-06PC 106 PPT-06
PC 106 PPT-06
 
PC 106 PPT-05
PC 106 PPT-05PC 106 PPT-05
PC 106 PPT-05
 
PC 106 Slide 04
PC 106 Slide 04PC 106 Slide 04
PC 106 Slide 04
 
PC 106 Slide no.02
PC 106 Slide no.02PC 106 Slide no.02
PC 106 Slide no.02
 
pc-106-slide-3
pc-106-slide-3pc-106-slide-3
pc-106-slide-3
 
PC 106 Slide 2
PC 106 Slide 2PC 106 Slide 2
PC 106 Slide 2
 
PC 106 Slide 1.pptx
PC 106 Slide 1.pptxPC 106 Slide 1.pptx
PC 106 Slide 1.pptx
 
Db2 characteristics of db ms
Db2 characteristics of db msDb2 characteristics of db ms
Db2 characteristics of db ms
 
Db1 introduction
Db1 introductionDb1 introduction
Db1 introduction
 
Lesson 3.2
Lesson 3.2Lesson 3.2
Lesson 3.2
 
Lesson 3.1
Lesson 3.1Lesson 3.1
Lesson 3.1
 
Lesson 1.6
Lesson 1.6Lesson 1.6
Lesson 1.6
 
Lesson 3.2
Lesson 3.2Lesson 3.2
Lesson 3.2
 

Dernier

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
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 

Dernier (20)

Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
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
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
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
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
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
 
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
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . 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
 

Lecture 1 Propositional logic

  • 1. WENNILOUPORAZO DISCRETE MATHEMATICS LECTURE 1 PROPOSITIONAL LOGIC MLG COLLEGE OF LEARNING
  • 2. LOGIC Definition the basis of all mathematical reasoning and all of automated reasoning. Rules of logic are used to distinguish between valid and invalid mathematical arguments. discrete mathematics
  • 3. propositions Definition basic building blocks of logic. a declarative sentence that is either true or false but not both. discrete mathematics
  • 4. WHICH OF THESE ARE PREPOSITIONS? Tokyo is the capital of Japan 1 + 1 = 2 2 + 5 = 11 discrete mathematics What time is it? Read this carefully. x + y = 12
  • 5. • WE USE LETTERS TO DENOTE PROPOSITIONAL VARIABLES (OR STATEMENT VARIABLES), THAT IS, VARIABLES THAT REPRESENT PROPOSITIONS, JUST AS LETTER ARE USED TO DENOTE NUMERICAL VARIABLES. • It uses the conventional letters such as p,q,r,s,... • Truth values is denoted by T, if it's a true proposition, and how do we represent prepositions? discrete mathematics
  • 6. propositional logic • Area of logic that deals with prepositions • First developed systematically by Greek philosopher Aristotle more than 2300 years ago. mlg college of learning august 2020
  • 7. compound propositions • New propositions formed from existing propositions using logical operators. mlg college of learning august 2020
  • 8. discrete mathematics Let p be a proposition. The negation of p, denoted by ¬p, is the statement "It is not the case that p" The truth value of the negation of p, ¬p, is the opposite of the truth value of p. NEGATION Definition 1
  • 9. EXAMPLE 1 FIND THE NEGATION OF THE PROPOSITION Michelle's PC runs Linux. SOLUTION august 2020 It's not the case that Michelle's Pc runs Linux. Michelle's PC doesn't run Linux. PROBLEM
  • 10. EXAMPLE 2 FIND THE NEGATION OF THE PROPOSITION Vanessa's smartphone has at least 32GB of memory. SOLUTION august 2020 It's not the case that Vanessa's smartphone has at least 33GB of memory. PROBLEM Vanessa's smartphone doesn't have at least 32GB of memory.
  • 11. august 2020 mlg college of learning Truth table for the negation of proposition of p Somethingtothinkabout
  • 12. Let p and q be propositions. The conjunction of p and q, denoted by p ∧ q ,is the proposition. "p and q" The conjunction of p and q is true when both p and q are true and false if otherwise. conjunction august 2020 Definition 2
  • 13. SAMPLE PROBLEM FIND THE CONJUNCTION OF THE PROPOSITIONS P AND Q WHERE P IS THE PROPOSITION: Rachelle's PC has more than 50GB free hard disk space. august 2020 AND Q IS THE PROPOSITION: The processor in Rachelle's PC runs faster than 2 GHz.
  • 14. SOLUTION THE CONJUNCTION OF THESE PREPOSITIONS, P ∧ Q IS THE PREPOSITION: Rachelle's PC has more than 50GB free hard disk space AND the processor in Rachelle's PC runs faster than 2 GHz. august 2020
  • 15. Truth table for the conjunction of two propositions. august 2020 mlg college of learning Somethingtothinkabout
  • 16. Let p and q be propositions. The disjunction of p and q, denoted by p ∨ q ,is the proposition. "p or q" The disjunction of p ∨ q is false when both p and q are false and is true if otherwise. disjunction august 2020 Definition 3
  • 17. SAMPLE PROBLEM FIND THE DISJUNCTION OF THE PROPOSITIONS P AND Q WHERE P IS THE PROPOSITION: Rachelle's PC has more than 50GB free hard disk space. august 2020 AND Q IS THE PROPOSITION: The processor in Rachelle's PC runs faster than 2 GHz.
  • 18. SOLUTION THE DISJUNCTION OF THESE PREPOSITIONS, P ∨ Q IS THE PREPOSITION: Rachelle's PC has more than 50GB free hard disk space OR the processor in Rachelle's PC runs faster than 2 GHz. august 2020
  • 19. Truth table for the disjunction of two propositions. august 2020 mlg college of learning Somethingtothinkabout
  • 20. Let p and q be propositions. The exclusive or of p and q, denoted by p ⊕ q ,is the proposition that is true when exactly one of p and q is true and is false otherwise. exclusive or august 2020 Definition 4
  • 21. SAMPLE PROBLEM FIND THE EXCLUSIVE OR OF THE PROPOSITIONS P AND Q WHERE P IS THE PROPOSITION: AND Q IS THE PROPOSITION: Rachelle's PC has more than 50GB free hard disk space. august 2020 The processor in Rachelle's PC runs faster than 2 GHz.
  • 22. SOLUTION THE EXCLUSIVE OR OR P AND Q,(P ⊕ Q) IS THE PROPOSITION: Rachelle's PC has at least 50GB free hard disk space , OR the processor in Rachelle's PC runs faster than 2 GHz, but not both. august 2020
  • 23. Truth table for the Exclusive OR of two propositions. august 2020 mlg college of learning Somethingtothinkabout
  • 24. Let p and q be propositions. The conditional statement p --> q is the proposition, "if p, then q". The conditional statement p --> q is false when p is true and q is false, and true otherwise. CONDITIONAL STATEMENT august 2020 Definition 5 In the conditional statement p --> q, p is called the hypothesis (or the antecedent or premise) and q is called the conclusion (or the consequence)
  • 25. "if p, then q" p → q august 2020 discrete mathematics "if p, q" "q if p" "q when p" "q follows from p" "a necessary condition for p is q" "a sufficient condition for q is p" "p implies q" "p only if q" "q whenever p" "q is necessary for p"
  • 26. SAMPLE PROBLEM 1 LET P BE THE STATEMENT: AND Q THE STATEMENT: "Joy learns Discrete Mathematics." august 2020 "Joy will find a good job." EXPRESS THE STATEMENT P → Q INTO ENGLISH
  • 27. SOLUTION P → Q "If Joy learns Discrete Mathematics, then she will find a good job." august 2020
  • 28. SAMPLE PROBLEM 2 LET P BE THE STATEMENT: AND Q THE STATEMENT: "I am elected as the town Mayor." august 2020 "I will lower the taxes and tuition fees." EXPRESS THE STATEMENT P → Q INTO ENGLISH
  • 29. SOLUTION 2 P → Q "If I am elected as the town Mayor, then I will lower the taxes and tuition fees." august 2020
  • 30. ANOTHER EXAMPLE P → Q "If you get 100 on the exam, then I will give you 1.0 grade." august 2020
  • 31. Truth table for the Conditional Statement p → q. august 2020 mlg college of learning Somethingtothinkabout
  • 33. Proposition: Given p → q converse q → p contrapositive ¬ q → ¬ p inverse ¬ p → ¬q mlg college of learning
  • 34. If you pass the exam, then you will graduate on time. converse If you graduate on time, then you passed the exam. contrapositive inverse mlg college of learning Proposition: p → q If you do not graduate on time, then you did not pass the exam. If you don't pass the exam, then you don't graduate on time.
  • 35. bic nditionals august 2020 discrete mathematics mlg college of learning
  • 36. • Let p and q be propositions. The biconditional statement p ↔ q, is the proposition "p if and only if q." • The biconditional statement p ↔ q is true when p and q has the same truth vales, and false otherwise. Definition 6 DISCRETE MATHEMATICS • Biconditional statements are also called bi-implications. BICONDITIONALS
  • 37. WHAT ARE THE WAYS TO EXPRESS P ↔ Q? "P is necessary and sufficient for Q" "If p and q, and conversely" "p iff q
  • 38. SAMPLE PROBLEM 1 LET P BE THE STATEMENT: AND Q THE STATEMENT: "You can take the flight." august 2020 "You buy a ticket." EXPRESS THE STATEMENT P ↔ Q USING IFF
  • 39. SOLUTION THEN THE P ↔ Q STATEMENT: "You can take the flight, if and only if you buy a ticket." august 2020
  • 40. Truth table for the Biconditional Statement p ↔ q. august 2020 mlg college of learning Somethingtothinkabout Note : p ↔ q has exactly the same truth value as... (p → q) ∧ (q → p)
  • 41. PRECEDENCE OF LOGICAL OPERATORS discrete mathematics 1 2 3 4 5 ∧ ∨ → ↔
  • 43. CONSTRUCT THE TRUTH TABLE OF THE COMPOUND PROPOSITION exercise 1 mlg college of learning discrete mathematics (p ∨ ¬q ) → (p ∧ q)
  • 44. solution exercise 1 mlg college of learning discrete mathematics (p ∨ ¬q ) → (p ∧ q)