SlideShare a Scribd company logo
The word or can be interpreted in two distinct ways:
Example (cont)
Because the double negation has the same truth value as the original
proposition, we conclude that the scientist believes it likely that there is
an association between low-level radiation and cancer among younger
workers.
Propositions are often joined with logical
connectors—words such as and, or, and if…then.
Example:
p = I won the game.
q = It was fun.
Logical Connectors
Logical Connector
and
or
if…then
New Proposition
I won the game and it was fun.
I won the game or it was fun.
If I won the game, then it was fun.
p q p and q
T T T
T F F
F T F
F F F
Given two propositions p and q, the statement p and q
is called their conjunction. It is true only if p and q are
both true.
Symbol:
And Statements (Conjunctions)
Example
Evaluate the truth value of the following two statements.
a. The capital of France is Paris and Antarctica is cold.
b. The capital of France is Paris and the capital of
America is Madrid.
Solution
• a. The statement contains two distinct propositions:
The capital of France is Paris and Antarctica is cold.
Because both propositions are true, their conjunction is
also true.
Example
Evaluate the truth value of the following two statements.
a. The capital of France is Paris and Antarctica is cold.
b. The capital of France is Paris and the capital of
America is Madrid.
• b. The statement contains two distinct propositions:
The capital of France is Paris and the capital of America
is Madrid. Although the first proposition is true, the
second is false. Therefore, their conjunction is false.
• An inclusive or means “either or both.”
• An exclusive or means “one or the other, but not both.”
The word or can be interpreted in two distinct ways:
In logic, assume or is inclusive unless told otherwise.
Two Types of Or
p q p or q
T T T
T F T
F T T
F F F
The Logic of Or (Disjunctions)
Given two propositions p and q, the statement p or q
is called their disjunction. It is true unless p and q
are both false.
Symbol:
Example
Consider the statement airplanes can fly or cows can read. Is it true?
Solution The statement is a disjunction of two propositions: (1)
airplanes can fly; (2) cows can read. The first proposition is clearly true,
while the second is clearly false, which makes the disjunction p or q
true. That is, the statement airplanes can fly or cows can read is true.
A statement of the form if p, then q is called a
conditional proposition (or implication). It is true
unless p is true and q is false.
p q if p, then q
T T T
T F F
F T T
F F T
 Proposition p is called the hypothesis.
 Proposition q is called the conclusion.
The Logic of If . . . Then Statements
(Conditionals)
• p is sufficient for q
• p will lead to q
• p implies q
The following are common alternative ways of stating
if p, then q:
 q is necessary for p
 q if p
 q whenever p
Alternative Phrasings of Conditionals
Conditional:
Converse:
Inverse:
Contrapositive:
If it is raining, then I will bring an umbrella
to work.
If I bring an umbrella to work, then it must
be raining.
If it is not raining, then I will not bring
an umbrella to work.
If I do not bring an umbrella to work, then it
must not be raining.
If p, then q
If q, then p
If not p, then not q
If not q, then not p
Variations on the Conditional
Two statements are logically equivalent if they
share the same truth values.
Logical Equivalence
p q notp notq if p, then q if q, then p
(converse)
if notp, then notq
(inverse)
if not q, then notp
(contrapositive)
T T F F T T T T
T F F T F T T F
F T T F T F F T
F F T T T T T T
logically equivalent
logically equivalent
Example
Consider the true statement if a creature is a whale, then it is a
mammal. Write its converse, inverse, and contrapositive. Evaluate the
truth of each statement. Which statements are logically equivalent?
Solution The statement has the form if p, then q, where p = a creature
is a whale and q = a creature is a mammal. Therefore, we find
• converse (if q, then p): if a creature is a mammal, then it is a whale.
This statement is false, because most mammals are not whales.
Example
• inverse (if not p, then not q): if a creature is not a whale, then it is not
a mammal. This statement is also false; for example, dogs are not
whales, but they are mammals.
• contrapositive (if not q, then not p): if a creature is not a mammal,
then it is not a whale. Like the original statement, this statement is
true, because all whales are mammals.
Example
Note that the original proposition and its contrapositive have the same
truth value and are logically equivalent. Similarly, the converse and
inverse have the same truth value and are logically equivalent.

More Related Content

PPT
PDF
dm-logic.pdf
PPTX
Discrete Structure 2 for Bachelor of Science in Computer Science
PPTX
Chapter1p1
PPT
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
PDF
Chapter 01 - p1.pdf
PPT
lectures in prolog in order to advance in artificial intelligence
PPT
Chapter 1: The Foundations: Logic and Proofs
dm-logic.pdf
Discrete Structure 2 for Bachelor of Science in Computer Science
Chapter1p1
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
Chapter 01 - p1.pdf
lectures in prolog in order to advance in artificial intelligence
Chapter 1: The Foundations: Logic and Proofs

Similar to The word or can be interpreted in two distinct ways: (20)

PPTX
Drinkfromme.pptx
DOCX
DOCX
PDF
UGC NET Computer Science & Application book.pdf [Sample]
PPT
Logic&proof
PPTX
20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptx
PPT
Inductive reasoning & logic
PDF
logicproof-141212042039-conversion-gate01.pdf
PPTX
4.-MMW-Formal-Logic (1).pptx jdowkwndoao
PPTX
Logic in Computer Science Unit 2 (1).pptx
PDF
Propositional Logic Discrete Mathematics
PPT
Per3 logika&pembuktian
PDF
Chapter1p1.pdf
PPT
Discrete Maths141 - Course Outline and Lecture Slides
PPT
First order predicate logic - Artificial Intelligence
PPT
desmath(1).ppt
PPTX
Slide subtopic 2
PPTX
Slide subtopic 2
PPT
PPTX
Slide subtopic 1
Drinkfromme.pptx
UGC NET Computer Science & Application book.pdf [Sample]
Logic&proof
20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptx
Inductive reasoning & logic
logicproof-141212042039-conversion-gate01.pdf
4.-MMW-Formal-Logic (1).pptx jdowkwndoao
Logic in Computer Science Unit 2 (1).pptx
Propositional Logic Discrete Mathematics
Per3 logika&pembuktian
Chapter1p1.pdf
Discrete Maths141 - Course Outline and Lecture Slides
First order predicate logic - Artificial Intelligence
desmath(1).ppt
Slide subtopic 2
Slide subtopic 2
Slide subtopic 1
Ad

More from Anil Yadav (20)

PPTX
Link List : Introduction to List and Linked Lists
PPTX
Link List REPRESENTATION OF DOUBLY LINKED LIST
PPTX
ALGORITHM FOR PUSHING AN ELEMENT TO A QUEUE
PPTX
Link List STACK and Queue USING LINKED LIST
PPTX
Link List Programming Linked List in Cpp
PPTX
Link List & ALGORITHM FOR DELETING A NODE
PPTX
Link List ALGORITHM FOR INSERTING A NODE
PPTX
Presentations Linked Lists Data Structure
PPT
Lec-12, 13 Quees First In First Out (FIFO)
PPT
Lec-12, 13 Quee s Applications of Queues
PPT
Lec-12, 13 Quees Array Implementation IN
PPT
Lec-12, 13 Quees In Queue IntQueue(int s)
PPT
Lec-12, 13 Quees A class for Dynamic Queue implementation
PPT
Function enqueue inserts the value in num
PPT
Lec-12, 13 Quees -How to determine empty and full Queues?
PDF
Unit2-BIS Business Information system Data
PPT
Lec-12, 13 Queues - IntQueue IntQueue(int s) //constructor
PPT
Lec-12, 13 Quees Another implementation of Queues using Arrays
PPT
Lec-12, 13 Quees - Circular Queues and Implementation with Array
PPT
Lec-32 Recursion - Divide and Conquer in Queue
Link List : Introduction to List and Linked Lists
Link List REPRESENTATION OF DOUBLY LINKED LIST
ALGORITHM FOR PUSHING AN ELEMENT TO A QUEUE
Link List STACK and Queue USING LINKED LIST
Link List Programming Linked List in Cpp
Link List & ALGORITHM FOR DELETING A NODE
Link List ALGORITHM FOR INSERTING A NODE
Presentations Linked Lists Data Structure
Lec-12, 13 Quees First In First Out (FIFO)
Lec-12, 13 Quee s Applications of Queues
Lec-12, 13 Quees Array Implementation IN
Lec-12, 13 Quees In Queue IntQueue(int s)
Lec-12, 13 Quees A class for Dynamic Queue implementation
Function enqueue inserts the value in num
Lec-12, 13 Quees -How to determine empty and full Queues?
Unit2-BIS Business Information system Data
Lec-12, 13 Queues - IntQueue IntQueue(int s) //constructor
Lec-12, 13 Quees Another implementation of Queues using Arrays
Lec-12, 13 Quees - Circular Queues and Implementation with Array
Lec-32 Recursion - Divide and Conquer in Queue
Ad

Recently uploaded (20)

PPTX
Cell Types and Its function , kingdom of life
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Pharma ospi slides which help in ospi learning
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
master seminar digital applications in india
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
Lesson notes of climatology university.
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Classroom Observation Tools for Teachers
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
A systematic review of self-coping strategies used by university students to ...
Cell Types and Its function , kingdom of life
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Microbial diseases, their pathogenesis and prophylaxis
Microbial disease of the cardiovascular and lymphatic systems
Supply Chain Operations Speaking Notes -ICLT Program
O7-L3 Supply Chain Operations - ICLT Program
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Pharma ospi slides which help in ospi learning
GDM (1) (1).pptx small presentation for students
master seminar digital applications in india
Anesthesia in Laparoscopic Surgery in India
Lesson notes of climatology university.
O5-L3 Freight Transport Ops (International) V1.pdf
Orientation - ARALprogram of Deped to the Parents.pptx
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Classroom Observation Tools for Teachers
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
A systematic review of self-coping strategies used by university students to ...

The word or can be interpreted in two distinct ways:

  • 2. Example (cont) Because the double negation has the same truth value as the original proposition, we conclude that the scientist believes it likely that there is an association between low-level radiation and cancer among younger workers.
  • 3. Propositions are often joined with logical connectors—words such as and, or, and if…then. Example: p = I won the game. q = It was fun. Logical Connectors Logical Connector and or if…then New Proposition I won the game and it was fun. I won the game or it was fun. If I won the game, then it was fun.
  • 4. p q p and q T T T T F F F T F F F F Given two propositions p and q, the statement p and q is called their conjunction. It is true only if p and q are both true. Symbol: And Statements (Conjunctions)
  • 5. Example Evaluate the truth value of the following two statements. a. The capital of France is Paris and Antarctica is cold. b. The capital of France is Paris and the capital of America is Madrid. Solution • a. The statement contains two distinct propositions: The capital of France is Paris and Antarctica is cold. Because both propositions are true, their conjunction is also true.
  • 6. Example Evaluate the truth value of the following two statements. a. The capital of France is Paris and Antarctica is cold. b. The capital of France is Paris and the capital of America is Madrid. • b. The statement contains two distinct propositions: The capital of France is Paris and the capital of America is Madrid. Although the first proposition is true, the second is false. Therefore, their conjunction is false.
  • 7. • An inclusive or means “either or both.” • An exclusive or means “one or the other, but not both.” The word or can be interpreted in two distinct ways: In logic, assume or is inclusive unless told otherwise. Two Types of Or
  • 8. p q p or q T T T T F T F T T F F F The Logic of Or (Disjunctions) Given two propositions p and q, the statement p or q is called their disjunction. It is true unless p and q are both false. Symbol:
  • 9. Example Consider the statement airplanes can fly or cows can read. Is it true? Solution The statement is a disjunction of two propositions: (1) airplanes can fly; (2) cows can read. The first proposition is clearly true, while the second is clearly false, which makes the disjunction p or q true. That is, the statement airplanes can fly or cows can read is true.
  • 10. A statement of the form if p, then q is called a conditional proposition (or implication). It is true unless p is true and q is false. p q if p, then q T T T T F F F T T F F T  Proposition p is called the hypothesis.  Proposition q is called the conclusion. The Logic of If . . . Then Statements (Conditionals)
  • 11. • p is sufficient for q • p will lead to q • p implies q The following are common alternative ways of stating if p, then q:  q is necessary for p  q if p  q whenever p Alternative Phrasings of Conditionals
  • 12. Conditional: Converse: Inverse: Contrapositive: If it is raining, then I will bring an umbrella to work. If I bring an umbrella to work, then it must be raining. If it is not raining, then I will not bring an umbrella to work. If I do not bring an umbrella to work, then it must not be raining. If p, then q If q, then p If not p, then not q If not q, then not p Variations on the Conditional
  • 13. Two statements are logically equivalent if they share the same truth values. Logical Equivalence p q notp notq if p, then q if q, then p (converse) if notp, then notq (inverse) if not q, then notp (contrapositive) T T F F T T T T T F F T F T T F F T T F T F F T F F T T T T T T logically equivalent logically equivalent
  • 14. Example Consider the true statement if a creature is a whale, then it is a mammal. Write its converse, inverse, and contrapositive. Evaluate the truth of each statement. Which statements are logically equivalent? Solution The statement has the form if p, then q, where p = a creature is a whale and q = a creature is a mammal. Therefore, we find • converse (if q, then p): if a creature is a mammal, then it is a whale. This statement is false, because most mammals are not whales.
  • 15. Example • inverse (if not p, then not q): if a creature is not a whale, then it is not a mammal. This statement is also false; for example, dogs are not whales, but they are mammals. • contrapositive (if not q, then not p): if a creature is not a mammal, then it is not a whale. Like the original statement, this statement is true, because all whales are mammals.
  • 16. Example Note that the original proposition and its contrapositive have the same truth value and are logically equivalent. Similarly, the converse and inverse have the same truth value and are logically equivalent.