SlideShare a Scribd company logo
1 of 17
LECTURE 3
Chapter 1.2
Propositional Equivalences
Prepared by Khairun Nahar,Assistant Professor,
Department of CSE, Comilla University
Conditional Statement
Let p and q be propositions. The conditional statement p โ†’ ๐‘ž is
the proposition "if p then q ."
The conditional statement ๐ฉ โ†’ ๐’’ is false when p is true and q
is false, and true otherwise.
In the conditional statement p โ†’ ๐‘ž, p is called the hypothesis
(or antecedent or premise) and q is called the conclusion (or
consequence).
Prepared by Khairun Nahar,Assistant Professor,
Department of CSE, Comilla University
Truth Table for the Conditional Statement
P Q P โ†’ ๐‘„
T T T
T F F
F T T
F F T
CONVERSE, CONTRAPOSITIVE,AND INVERSE
There are three related conditional statements ๐’‘ โ†’ ๐’’ that
occur so often that they have special names.
Prepared by Khairun Nahar,Assistant Professor,
Department of CSE, Comilla University
Name Symbol Definition
CONVERSE ๐ช โ†’ ๐’‘ The proposition ๐ช โ†’ ๐’‘ is called the
converse of ๐ฉ โ†’ ๐’’.
CONTRAPOSITIVE ๏ƒ˜๐’’ โ†’ ๏ƒ˜๐’‘ The proposition ๏ƒ˜๐’’ โ†’ ๏ƒ˜๐’‘ is
called the contrapositive of ๐ฉ โ†’ ๐’’.
INVERSE ๏ƒ˜๐’‘ โ†’ ๏ƒ˜๐‘ž The proposition ๏ƒ˜๐’‘ โ†’ ๏ƒ˜๐‘ž is called
the inverse of ๐ฉ โ†’ ๐’’
CONVERSE
Let p and q be propositions. The proposition ๐ช โ†’ ๐’‘ is called
the converse of ๐ฉ โ†’ ๐’’.
The conditional statement qโ†’ ๐’‘ is false when q is true and p
is false, and true otherwise.
๐’’ โ†’ ๐’‘ ๐’Ž๐’†๐’‚๐’s "if q then p"
Prepared by Khairun Nahar,Assistant Professor,
Department of CSE, Comilla University
Truth Table for the Conditional Statement (Converse)
Q P ๐ โ†’ ๐‘ท
T T T
T F F
F T T
F F T
CONTRAPOSITIVE
Let p and q be propositions. The proposition ๏ƒ˜๐’’ โ†’ ๏ƒ˜๐’‘ is
called the contrapositive of ๐ฉ โ†’ ๐’’.
๏ƒ˜๐’’ โ†’ ๏ƒ˜๐’‘ ๐’Ž๐’†๐’‚๐’s "if ๏ƒ˜๐’’ then ๏ƒ˜๐’‘"
The conditional statement ๏ƒ˜๐’’ โ†’ ๏ƒ˜๐’‘ is false when ๏ƒ˜๐’’ is true
and ๏ƒ˜๐’‘ is false, and true otherwise.
Prepared by Khairun Nahar,Assistant Professor,
Department of CSE, Comilla University
Truth Table for the Conditional Statement (Contrapositive)
Q P ๏ƒ˜๐ ๏ƒ˜๐ ๏ƒ˜๐ โ†’ ๏ƒ˜๐
T T F F T
T F F T T
F T T F F
F F T T T
INVERSE
Let p and q be propositions. The proposition ๏ƒ˜๐’‘ โ†’ ๏ƒ˜๐‘ž is
called the inverse of ๐ฉ โ†’ ๐’’
๏ƒ˜๐’‘โ†’ ๏ƒ˜๐‘ž ๐’Ž๐’†๐’‚๐’s "if ๏ƒ˜๐’‘ then ๏ƒ˜q"
The conditional statement ๏ƒ˜๐’‘ โ†’ ๏ƒ˜๐‘ž is false when ๏ƒ˜๐’‘ is true
and ๏ƒ˜๐‘ž is false, and true otherwise.
Prepared by Khairun Nahar,Assistant Professor,
Department of CSE, Comilla University
Truth Table for the Conditional Statement (Inverse)
P Q ๏ƒ˜๐ ๏ƒ˜๐ ๏ƒ˜๐‘ท โ†’ ๏ƒ˜๐
T T F F T
T F F T T
F T T F F
F F T T T
Example 1: What are the contrapositive, the converse, and the inverse of the
conditional statement
"The home team wins whenever it is raining."
Solution: Because "q whenever p" is one of the ways to express the
conditional statement p โ†’ ๐‘ž , the original statement can be rewritten as
"If it is raining, then the home team wins.โ€œ
p q
p= It is raining
q= The home team wins
Prepared by Khairun Nahar,Assistant Professor,
Department of CSE, Comilla University
Name Symbol Convert Proposition into English Sentence
CONVERSE ๐ช โ†’ ๐’‘ If the home team wins, then it is raining.
๐ช p
CONTRAPOSITIVE ๏ƒ˜๐’’ โ†’ ๏ƒ˜๐’‘ If the home team does not win, then it is not raining.
๏ƒ˜๐’’ ๏ƒ˜๐’‘
INVERSE ๏ƒ˜๐’‘ โ†’ ๏ƒ˜๐‘ž If it is not raining, then the home team does not win.
๏ƒ˜๐’‘ ๏ƒ˜๐‘ž
p= It is raining
q= The home team wins
Prepared by Khairun Nahar,Assistant Professor,
Department of CSE, Comilla University
English Sentence Bangla Meaning
The home team wins whenever it is
raining.
เฆฏเฆ–เฆจเฆ‡ เฆฌเงƒเฆทเงเฆŸเฆฟ เฆนเฆฏเฆผ เฆนเฆนเง‹เฆฎ เฆทเงเฆŸเฆฟเฆฎ เฆœเฆฏเฆผเฆผเง€ เฆนเฆฏเฆผเฅค
If it is raining, then the home team wins. เฆฏเฆฆเฆฟ เฆฌเงƒเฆทเงเฆŸเฆฟ เฆนเฆฏเฆผ, เฆคเง‹เฆนเฆฒเง‡ เฆนเฆนเง‹เฆฎ เฆทเงเฆŸเฆฟเฆฎ เฆœเฆœเฆคเฆฒเฆฌเฅค
If the home team wins, then it is raining.
CONVERSE
๐ช โ†’ ๐’‘
เฆนเฆนเง‹เฆฎ เฆทเงเฆŸเฆฟเฆฎ เฆœเฆœเฆคเฆฒเง‡ เฆฌเงƒเฆทเงเฆŸเฆฟ เฆนเฆฏเฆผเฅค
If the home team does not win, then it is
not raining.
CONTRAPOSITIVE
๏ƒ˜๐’’ โ†’ ๏ƒ˜๐’‘
เฆนเฆนเง‹เฆฎ เฆทเงเฆŸเฆฟเฆฎ เฆจเง‹ เฆœเฆœเฆคเฆฒเง‡ เฆฌเงƒเฆทเงเฆŸเฆฟ เฆนเฆฏเฆผ เฆจเง‹เฅค
If it is not raining, then the home team
does not win.
INVERSE
๏ƒ˜๐’‘ โ†’ ๏ƒ˜๐‘ž
เฆฌเงƒเฆทเงเฆŸเฆฟ เฆจเง‹ เฆนเฆฒเง‡ เฆนเฆนเง‹เฆฎ เฆทเงเฆŸเฆฟเฆฎ เฆœเฆœเฆคเฆฒเฆฌ เฆจเง‹เฅค
Tautology, Contradiction and Contingency
๏ฑ A compound proposition that is always true, no matter what the
true values of the proposition that occur in it , is called tautology.
๏ฑ A compound proposition that is always false is called
contradiction.
๏ฑ A compound proposition that is neither a tautology nor a
contradiction is called a contingency.
Prepared by Khairun Nahar,Assistant Professor,
Department of CSE, Comilla University
Logical Equivalence
Compound proposition that have the same true values in all
possible cases are called logically equivalent. The compound
propositions p and q are called logically equivalent if p ๏‚ซ q is a
tautology. The notation p โ‰ก q denotes that p and q are logically
equivalent.
Question: Show that ยฌ(๐‘ƒห…๐‘„)โ‰กยฌ๐‘ƒโ‹€ยฌQ
From the truth table we can say that, ยฌ(๐‘ƒห…๐‘„)โ‰ก ยฌ๐‘ƒโ‹€ยฌ Q
Prepared by Khairun Nahar,Assistant Professor,
Department of CSE, Comilla University
Question: Show that ยฌ๐‘ทห…๐‘ธ โ‰ก ๐‘ท โ†’ ๐‘ธ
P Q ยฌ๐ ยฌ๐ห…๐ ๐ โ†’ ๐
T T F T T
T F F F F
F T T T T
F F T T T
From the truth table we can say that,
ยฌ๐‘ทห…๐‘ธ โ‰ก ๐‘ท โ†’ ๐‘ธ
Question: Show that (Pโ‹€๐‘ธ) โ†’ (๐‘ทห…๐‘ธ)is a tautology
P Q (Pโ‹€๐) (๐ห…๐) (Pโ‹€๐) โ†’ (๐ห…๐)
T T T T T
T F F T T
F T F T T
F F F F T
From the truth table we can say that, the true value of (Pโ‹€๐‘ธ) โ†’
(๐‘ทห…๐‘ธ) is all true so it is tautology.
Question: Check whether (Pโ†’ ๐‘ธ)โ‹€(Qโ†’ ๐‘น) โ†’ (P โ†’ ๐‘น)is tautologyor
not.
P Q R (Pโ†’ ๐‘„) (Pโ†’ ๐‘…) (๐‘ธ โ†’ ๐‘…) (Pโ†’ ๐‘„)โ‹€(Qโ†’ ๐‘…) (Pโ†’ ๐‘„)โ‹€(Qโ†’ ๐‘…) โ†’ (P โ†’ ๐‘…)
T T T T T T T T
T T F T F F F T
T F T F T T F T
T F F F F T F T
F T T T T T T T
F T F T T F F T
F F T T T T T T
F F F T T T T T
From the truth table we can say that, the true value of (Pโ‹€๐‘„) โ†’
(๐‘ƒห…๐‘„) is all true so it is tautology.
Precedence of Logical Operators
Prepared by Khairun Nahar,Assistant Professor,
Department of CSE, Comilla University
Precedence of Logical Operators. P๏‚ซQ
Operator Operation Precedence
๏ƒ˜ Negation 1
๏ƒ™ Conjunction 2
๏ƒš Disjunction 3
โ†’ Conditional 4
๏‚ซ Biconditional/ Bi-
implications
5
Question: How many rows appear in a truth table for
each of these compound propositions?
****Formula: Input=n, No. of rows=๐Ÿ๐’****
Prepared by Khairun Nahar,Assistant Professor,
Department of CSE, Comilla University
Question
Solutions
Input No. of
Input
(n)
No. of
rows
(๐Ÿ๐’
)
No. of columns
1. Pโ†’ ๏ƒ˜P P 1 ๐Ÿ๐Ÿ
=2 3
Columns Heading: P, ๏ƒ˜P, Pโ†’ ๏ƒ˜P
2. (P๏ƒš ยฌ๐‘„)โ†’(๐‘ƒ๏ƒ™ ๐‘„) P,Q 2 ๐Ÿ๐Ÿ
=4 6
Columns Heading: P, Q, ยฌ๐‘„, (P๏ƒš ยฌ๐‘„), (๐‘ƒ๏ƒ™ ๐‘„), (P๏ƒš ยฌ๐‘„)โ†’(๐‘ƒ๏ƒ™ ๐‘„)
3. (P ๏ƒš R)๏ƒšT ๏‚ซ (Q ๏ƒ™ T) P,Q,R,T 4 ๐Ÿ๐Ÿ’=16 8
Columns Heading: P,Q,R,T, (P ๏ƒš R) ,(P ๏ƒš R)๏ƒšT ), (Q ๏ƒ™ T), (P ๏ƒš R)๏ƒšT ๏‚ซ (Q ๏ƒ™ T)
4. (P ๏ƒš ๏ƒ˜R) ๏ƒ™ (Q๏ƒš ๏ƒ˜๐’) P,Q,R,S 4 ๐Ÿ๐Ÿ’=16 9
Columns Heading: P,Q,R,S, ๏ƒ˜R , ๏ƒ˜๐’, (P ๏ƒš ๏ƒ˜R) , (Q๏ƒš ๏ƒ˜๐’) , (P ๏ƒš ๏ƒ˜R) ๏ƒ™ (Q๏ƒš ๏ƒ˜๐’)
Construct Truth Table For (๐‘ท๏ƒšยฌ๐‘ธ) โ†’ (๐‘ทโ‹€๐‘ธ)
Input Output
P Q ยฌ๐‘ธ (๐‘ท๏ƒšยฌ๐‘ธ) (๐‘ทโ‹€๐‘ธ) (๐‘ท๏ƒšยฌ๐‘ธ) โ†’ (๐‘ทโ‹€๐‘ธ)
T T F T T T
T F T T F F
F T F F F T
F F T T F F
Prepared by Khairun Nahar,Assistant Professor,
Department of CSE, Comilla University
No. of Input=2, No. of rows=๐Ÿ๐Ÿ = ๐Ÿ’
No. of Columns=6
Assignment 2
1.
2.
3.
4.
5.
6.
Prepared by Khairun Nahar,Assistant Professor,
Department of CSE, Comilla University

More Related Content

Similar to Lecture_3_Chapter_1_Lesson_1.2.pptx

Discrete Structures
Discrete Structures Discrete Structures
Discrete Structures AQCreations
ย 
Chapter1p1.pdf
Chapter1p1.pdfChapter1p1.pdf
Chapter1p1.pdfIqraAli875037
ย 
Maths teachers guide For freshman course.pdf
Maths teachers guide For freshman course.pdfMaths teachers guide For freshman course.pdf
Maths teachers guide For freshman course.pdfhabtamu292245
ย 
Mathematics for Computer Engineering
Mathematics for Computer EngineeringMathematics for Computer Engineering
Mathematics for Computer EngineeringAdhiyaman Manickam
ย 
Nature of Logic.pptx
Nature of Logic.pptxNature of Logic.pptx
Nature of Logic.pptxMath101BSCA1C
ย 
MFCS PPT.pdf
MFCS PPT.pdfMFCS PPT.pdf
MFCS PPT.pdfjayarao21
ย 
logicproof-141212042039-conversion-gate01.pdf
logicproof-141212042039-conversion-gate01.pdflogicproof-141212042039-conversion-gate01.pdf
logicproof-141212042039-conversion-gate01.pdfPradeeshSAI
ย 
logic, preposition etc
logic, preposition etclogic, preposition etc
logic, preposition etcAbdur Rehman
ย 
Chapter 01 - p1.pdf
Chapter 01 - p1.pdfChapter 01 - p1.pdf
Chapter 01 - p1.pdfsmarwaneid
ย 
Mathematical Logic - Part 1
Mathematical Logic - Part 1Mathematical Logic - Part 1
Mathematical Logic - Part 1blaircomp2003
ย 
Inductive reasoning & logic
Inductive reasoning & logicInductive reasoning & logic
Inductive reasoning & logictommy34g
ย 
Arguments and methods of proof
Arguments and methods of proofArguments and methods of proof
Arguments and methods of proofRobert Geofroy
ย 
Inductive and Deductive Reasoning
Inductive and Deductive ReasoningInductive and Deductive Reasoning
Inductive and Deductive ReasoningSonarin Cruz
ย 
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1taimoor iftikhar
ย 
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 applicationsZenLooper
ย 

Similar to Lecture_3_Chapter_1_Lesson_1.2.pptx (20)

Discrete Structures
Discrete Structures Discrete Structures
Discrete Structures
ย 
Chapter1p1.pdf
Chapter1p1.pdfChapter1p1.pdf
Chapter1p1.pdf
ย 
Maths teachers guide For freshman course.pdf
Maths teachers guide For freshman course.pdfMaths teachers guide For freshman course.pdf
Maths teachers guide For freshman course.pdf
ย 
Mathematics for Computer Engineering
Mathematics for Computer EngineeringMathematics for Computer Engineering
Mathematics for Computer Engineering
ย 
Nature of Logic.pptx
Nature of Logic.pptxNature of Logic.pptx
Nature of Logic.pptx
ย 
MFCS PPT.pdf
MFCS PPT.pdfMFCS PPT.pdf
MFCS PPT.pdf
ย 
logicproof-141212042039-conversion-gate01.pdf
logicproof-141212042039-conversion-gate01.pdflogicproof-141212042039-conversion-gate01.pdf
logicproof-141212042039-conversion-gate01.pdf
ย 
logic, preposition etc
logic, preposition etclogic, preposition etc
logic, preposition etc
ย 
Logic
LogicLogic
Logic
ย 
Chapter1p1
Chapter1p1Chapter1p1
Chapter1p1
ย 
Per3 logika&pembuktian
Per3 logika&pembuktianPer3 logika&pembuktian
Per3 logika&pembuktian
ย 
Chapter 01 - p1.pdf
Chapter 01 - p1.pdfChapter 01 - p1.pdf
Chapter 01 - p1.pdf
ย 
Mathematical Logic - Part 1
Mathematical Logic - Part 1Mathematical Logic - Part 1
Mathematical Logic - Part 1
ย 
Mathematical Logic
Mathematical LogicMathematical Logic
Mathematical Logic
ย 
1. Logic.pptx
1. Logic.pptx1. Logic.pptx
1. Logic.pptx
ย 
Inductive reasoning & logic
Inductive reasoning & logicInductive reasoning & logic
Inductive reasoning & logic
ย 
Arguments and methods of proof
Arguments and methods of proofArguments and methods of proof
Arguments and methods of proof
ย 
Inductive and Deductive Reasoning
Inductive and Deductive ReasoningInductive and Deductive Reasoning
Inductive and Deductive Reasoning
ย 
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
ย 
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
ย 

Recently uploaded

UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
ย 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
ย 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
ย 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
ย 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
ย 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
ย 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
ย 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
ย 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
ย 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
ย 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
ย 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
ย 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
ย 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
ย 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEslot gacor bisa pakai pulsa
ย 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
ย 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
ย 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
ย 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
ย 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
ย 

Recently uploaded (20)

UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
ย 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
ย 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
ย 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
ย 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
ย 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
ย 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
ย 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
ย 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
ย 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
ย 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
ย 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
ย 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
ย 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
ย 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
ย 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
ย 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
ย 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
ย 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
ย 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
ย 

Lecture_3_Chapter_1_Lesson_1.2.pptx

  • 1. LECTURE 3 Chapter 1.2 Propositional Equivalences Prepared by Khairun Nahar,Assistant Professor, Department of CSE, Comilla University
  • 2. Conditional Statement Let p and q be propositions. The conditional statement p โ†’ ๐‘ž is the proposition "if p then q ." The conditional statement ๐ฉ โ†’ ๐’’ is false when p is true and q is false, and true otherwise. In the conditional statement p โ†’ ๐‘ž, p is called the hypothesis (or antecedent or premise) and q is called the conclusion (or consequence). Prepared by Khairun Nahar,Assistant Professor, Department of CSE, Comilla University Truth Table for the Conditional Statement P Q P โ†’ ๐‘„ T T T T F F F T T F F T
  • 3. CONVERSE, CONTRAPOSITIVE,AND INVERSE There are three related conditional statements ๐’‘ โ†’ ๐’’ that occur so often that they have special names. Prepared by Khairun Nahar,Assistant Professor, Department of CSE, Comilla University Name Symbol Definition CONVERSE ๐ช โ†’ ๐’‘ The proposition ๐ช โ†’ ๐’‘ is called the converse of ๐ฉ โ†’ ๐’’. CONTRAPOSITIVE ๏ƒ˜๐’’ โ†’ ๏ƒ˜๐’‘ The proposition ๏ƒ˜๐’’ โ†’ ๏ƒ˜๐’‘ is called the contrapositive of ๐ฉ โ†’ ๐’’. INVERSE ๏ƒ˜๐’‘ โ†’ ๏ƒ˜๐‘ž The proposition ๏ƒ˜๐’‘ โ†’ ๏ƒ˜๐‘ž is called the inverse of ๐ฉ โ†’ ๐’’
  • 4. CONVERSE Let p and q be propositions. The proposition ๐ช โ†’ ๐’‘ is called the converse of ๐ฉ โ†’ ๐’’. The conditional statement qโ†’ ๐’‘ is false when q is true and p is false, and true otherwise. ๐’’ โ†’ ๐’‘ ๐’Ž๐’†๐’‚๐’s "if q then p" Prepared by Khairun Nahar,Assistant Professor, Department of CSE, Comilla University Truth Table for the Conditional Statement (Converse) Q P ๐ โ†’ ๐‘ท T T T T F F F T T F F T
  • 5. CONTRAPOSITIVE Let p and q be propositions. The proposition ๏ƒ˜๐’’ โ†’ ๏ƒ˜๐’‘ is called the contrapositive of ๐ฉ โ†’ ๐’’. ๏ƒ˜๐’’ โ†’ ๏ƒ˜๐’‘ ๐’Ž๐’†๐’‚๐’s "if ๏ƒ˜๐’’ then ๏ƒ˜๐’‘" The conditional statement ๏ƒ˜๐’’ โ†’ ๏ƒ˜๐’‘ is false when ๏ƒ˜๐’’ is true and ๏ƒ˜๐’‘ is false, and true otherwise. Prepared by Khairun Nahar,Assistant Professor, Department of CSE, Comilla University Truth Table for the Conditional Statement (Contrapositive) Q P ๏ƒ˜๐ ๏ƒ˜๐ ๏ƒ˜๐ โ†’ ๏ƒ˜๐ T T F F T T F F T T F T T F F F F T T T
  • 6. INVERSE Let p and q be propositions. The proposition ๏ƒ˜๐’‘ โ†’ ๏ƒ˜๐‘ž is called the inverse of ๐ฉ โ†’ ๐’’ ๏ƒ˜๐’‘โ†’ ๏ƒ˜๐‘ž ๐’Ž๐’†๐’‚๐’s "if ๏ƒ˜๐’‘ then ๏ƒ˜q" The conditional statement ๏ƒ˜๐’‘ โ†’ ๏ƒ˜๐‘ž is false when ๏ƒ˜๐’‘ is true and ๏ƒ˜๐‘ž is false, and true otherwise. Prepared by Khairun Nahar,Assistant Professor, Department of CSE, Comilla University Truth Table for the Conditional Statement (Inverse) P Q ๏ƒ˜๐ ๏ƒ˜๐ ๏ƒ˜๐‘ท โ†’ ๏ƒ˜๐ T T F F T T F F T T F T T F F F F T T T
  • 7. Example 1: What are the contrapositive, the converse, and the inverse of the conditional statement "The home team wins whenever it is raining." Solution: Because "q whenever p" is one of the ways to express the conditional statement p โ†’ ๐‘ž , the original statement can be rewritten as "If it is raining, then the home team wins.โ€œ p q p= It is raining q= The home team wins Prepared by Khairun Nahar,Assistant Professor, Department of CSE, Comilla University Name Symbol Convert Proposition into English Sentence CONVERSE ๐ช โ†’ ๐’‘ If the home team wins, then it is raining. ๐ช p CONTRAPOSITIVE ๏ƒ˜๐’’ โ†’ ๏ƒ˜๐’‘ If the home team does not win, then it is not raining. ๏ƒ˜๐’’ ๏ƒ˜๐’‘ INVERSE ๏ƒ˜๐’‘ โ†’ ๏ƒ˜๐‘ž If it is not raining, then the home team does not win. ๏ƒ˜๐’‘ ๏ƒ˜๐‘ž
  • 8. p= It is raining q= The home team wins Prepared by Khairun Nahar,Assistant Professor, Department of CSE, Comilla University English Sentence Bangla Meaning The home team wins whenever it is raining. เฆฏเฆ–เฆจเฆ‡ เฆฌเงƒเฆทเงเฆŸเฆฟ เฆนเฆฏเฆผ เฆนเฆนเง‹เฆฎ เฆทเงเฆŸเฆฟเฆฎ เฆœเฆฏเฆผเฆผเง€ เฆนเฆฏเฆผเฅค If it is raining, then the home team wins. เฆฏเฆฆเฆฟ เฆฌเงƒเฆทเงเฆŸเฆฟ เฆนเฆฏเฆผ, เฆคเง‹เฆนเฆฒเง‡ เฆนเฆนเง‹เฆฎ เฆทเงเฆŸเฆฟเฆฎ เฆœเฆœเฆคเฆฒเฆฌเฅค If the home team wins, then it is raining. CONVERSE ๐ช โ†’ ๐’‘ เฆนเฆนเง‹เฆฎ เฆทเงเฆŸเฆฟเฆฎ เฆœเฆœเฆคเฆฒเง‡ เฆฌเงƒเฆทเงเฆŸเฆฟ เฆนเฆฏเฆผเฅค If the home team does not win, then it is not raining. CONTRAPOSITIVE ๏ƒ˜๐’’ โ†’ ๏ƒ˜๐’‘ เฆนเฆนเง‹เฆฎ เฆทเงเฆŸเฆฟเฆฎ เฆจเง‹ เฆœเฆœเฆคเฆฒเง‡ เฆฌเงƒเฆทเงเฆŸเฆฟ เฆนเฆฏเฆผ เฆจเง‹เฅค If it is not raining, then the home team does not win. INVERSE ๏ƒ˜๐’‘ โ†’ ๏ƒ˜๐‘ž เฆฌเงƒเฆทเงเฆŸเฆฟ เฆจเง‹ เฆนเฆฒเง‡ เฆนเฆนเง‹เฆฎ เฆทเงเฆŸเฆฟเฆฎ เฆœเฆœเฆคเฆฒเฆฌ เฆจเง‹เฅค
  • 9. Tautology, Contradiction and Contingency ๏ฑ A compound proposition that is always true, no matter what the true values of the proposition that occur in it , is called tautology. ๏ฑ A compound proposition that is always false is called contradiction. ๏ฑ A compound proposition that is neither a tautology nor a contradiction is called a contingency. Prepared by Khairun Nahar,Assistant Professor, Department of CSE, Comilla University
  • 10. Logical Equivalence Compound proposition that have the same true values in all possible cases are called logically equivalent. The compound propositions p and q are called logically equivalent if p ๏‚ซ q is a tautology. The notation p โ‰ก q denotes that p and q are logically equivalent. Question: Show that ยฌ(๐‘ƒห…๐‘„)โ‰กยฌ๐‘ƒโ‹€ยฌQ From the truth table we can say that, ยฌ(๐‘ƒห…๐‘„)โ‰ก ยฌ๐‘ƒโ‹€ยฌ Q Prepared by Khairun Nahar,Assistant Professor, Department of CSE, Comilla University
  • 11. Question: Show that ยฌ๐‘ทห…๐‘ธ โ‰ก ๐‘ท โ†’ ๐‘ธ P Q ยฌ๐ ยฌ๐ห…๐ ๐ โ†’ ๐ T T F T T T F F F F F T T T T F F T T T From the truth table we can say that, ยฌ๐‘ทห…๐‘ธ โ‰ก ๐‘ท โ†’ ๐‘ธ
  • 12. Question: Show that (Pโ‹€๐‘ธ) โ†’ (๐‘ทห…๐‘ธ)is a tautology P Q (Pโ‹€๐) (๐ห…๐) (Pโ‹€๐) โ†’ (๐ห…๐) T T T T T T F F T T F T F T T F F F F T From the truth table we can say that, the true value of (Pโ‹€๐‘ธ) โ†’ (๐‘ทห…๐‘ธ) is all true so it is tautology.
  • 13. Question: Check whether (Pโ†’ ๐‘ธ)โ‹€(Qโ†’ ๐‘น) โ†’ (P โ†’ ๐‘น)is tautologyor not. P Q R (Pโ†’ ๐‘„) (Pโ†’ ๐‘…) (๐‘ธ โ†’ ๐‘…) (Pโ†’ ๐‘„)โ‹€(Qโ†’ ๐‘…) (Pโ†’ ๐‘„)โ‹€(Qโ†’ ๐‘…) โ†’ (P โ†’ ๐‘…) T T T T T T T T T T F T F F F T T F T F T T F T T F F F F T F T F T T T T T T T F T F T T F F T F F T T T T T T F F F T T T T T From the truth table we can say that, the true value of (Pโ‹€๐‘„) โ†’ (๐‘ƒห…๐‘„) is all true so it is tautology.
  • 14. Precedence of Logical Operators Prepared by Khairun Nahar,Assistant Professor, Department of CSE, Comilla University Precedence of Logical Operators. P๏‚ซQ Operator Operation Precedence ๏ƒ˜ Negation 1 ๏ƒ™ Conjunction 2 ๏ƒš Disjunction 3 โ†’ Conditional 4 ๏‚ซ Biconditional/ Bi- implications 5
  • 15. Question: How many rows appear in a truth table for each of these compound propositions? ****Formula: Input=n, No. of rows=๐Ÿ๐’**** Prepared by Khairun Nahar,Assistant Professor, Department of CSE, Comilla University Question Solutions Input No. of Input (n) No. of rows (๐Ÿ๐’ ) No. of columns 1. Pโ†’ ๏ƒ˜P P 1 ๐Ÿ๐Ÿ =2 3 Columns Heading: P, ๏ƒ˜P, Pโ†’ ๏ƒ˜P 2. (P๏ƒš ยฌ๐‘„)โ†’(๐‘ƒ๏ƒ™ ๐‘„) P,Q 2 ๐Ÿ๐Ÿ =4 6 Columns Heading: P, Q, ยฌ๐‘„, (P๏ƒš ยฌ๐‘„), (๐‘ƒ๏ƒ™ ๐‘„), (P๏ƒš ยฌ๐‘„)โ†’(๐‘ƒ๏ƒ™ ๐‘„) 3. (P ๏ƒš R)๏ƒšT ๏‚ซ (Q ๏ƒ™ T) P,Q,R,T 4 ๐Ÿ๐Ÿ’=16 8 Columns Heading: P,Q,R,T, (P ๏ƒš R) ,(P ๏ƒš R)๏ƒšT ), (Q ๏ƒ™ T), (P ๏ƒš R)๏ƒšT ๏‚ซ (Q ๏ƒ™ T) 4. (P ๏ƒš ๏ƒ˜R) ๏ƒ™ (Q๏ƒš ๏ƒ˜๐’) P,Q,R,S 4 ๐Ÿ๐Ÿ’=16 9 Columns Heading: P,Q,R,S, ๏ƒ˜R , ๏ƒ˜๐’, (P ๏ƒš ๏ƒ˜R) , (Q๏ƒš ๏ƒ˜๐’) , (P ๏ƒš ๏ƒ˜R) ๏ƒ™ (Q๏ƒš ๏ƒ˜๐’)
  • 16. Construct Truth Table For (๐‘ท๏ƒšยฌ๐‘ธ) โ†’ (๐‘ทโ‹€๐‘ธ) Input Output P Q ยฌ๐‘ธ (๐‘ท๏ƒšยฌ๐‘ธ) (๐‘ทโ‹€๐‘ธ) (๐‘ท๏ƒšยฌ๐‘ธ) โ†’ (๐‘ทโ‹€๐‘ธ) T T F T T T T F T T F F F T F F F T F F T T F F Prepared by Khairun Nahar,Assistant Professor, Department of CSE, Comilla University No. of Input=2, No. of rows=๐Ÿ๐Ÿ = ๐Ÿ’ No. of Columns=6
  • 17. Assignment 2 1. 2. 3. 4. 5. 6. Prepared by Khairun Nahar,Assistant Professor, Department of CSE, Comilla University