SlideShare a Scribd company logo
1 of 22
Discrete mathematics
topic- Propositional Logic
PPT
Prepared by
Vimal kumar
Assistant Professor Mathematics
Government Degree College Babrala Gunnaur
Proposition ( Statement)
A proposition is a declarative sentence that is either
true or false , but not both .
Example : 1. Delhi is capital of India.
Example : 2. 1+3 = 4
Example : 3. 3+3 = 5
Example : 4. Normal glass is unbreakable .
Proposition in example 1 and 2 are true.
Proposition in example 3 and 4 are false.
Examples that are not proposition .
1. Read this carefully
2. ๐‘Ž + ๐‘ = ๐‘
these are not declarative sentences .
Conventional letters ๐‘, ๐‘ž, ๐‘Ÿ, ๐‘  are used for propositional
variables.
Truth value of a proposition is true and is denoted by T,
if it is true proposition.
Truth value of a proposition is false and is denoted by F,
if it is false proposition. .
Symbols and names used in
propositions
Symbol Name
~ Negation
ห„ Conjunction
ห… Disjunction
โ†’ Conditional
โ†” Biconditional
๊š› Exclusive
Definition 1. Negation
Let ๐‘ be a proposition . The negation of ๐‘ is denoted
by ~๐‘
Example find the negation of the proposition โ€œ today
is Mondayโ€ and express this in simple english.
Answer . โ€œToday is not Mondayโ€
or โ€œIt is not Monday todayโ€
Truth Table for the Negation of a Proposition
๐‘ ~๐‘
T F
F T
Definition 2. Conjunction
Let ๐‘ and ๐‘ž be propositions . The conjunction of ๐‘
and ๐‘ž denoted by ๐‘ห„๐‘ž , is the propostion โ€œ๐‘ and ๐‘žโ€.
The conjunction ๐‘ห„๐‘ž is true when both ๐‘ and ๐‘ž are
true and false otherwise.
Truth table for conjunction of two propositions
๐‘ ๐‘ž ๐‘ห„๐‘ž
T T T
T F F
F T F
F F F
Example 1. Find the conjunction of propositions ๐‘
and ๐‘ž where ๐‘ is proposition โ€œtoday is Mondayโ€
and ๐‘ž is proposition โ€œ It is a raining day.โ€
Solution: The conjunction of these propositions,
๐‘ห„๐‘ž is the proposition โ€œToday is Monday and it is
raining todayโ€ this proposition is true on rainy
Monday and is false on any day that is not Monday
and on Monday when it is not rain.
Definition 3. Disjunction
Let ๐‘ and ๐‘ž be propositions . The disjunction of ๐‘
and ๐‘ž denoted by ๐‘ห…๐‘ž, is the propostion โ€œ๐‘ or ๐‘žโ€.
The disjunction ๐‘ห…๐‘ž is false when both ๐‘ and ๐‘ž are
false and true otherwise.
Truth table for disjunction of two propositions
๐‘ ๐‘ž ๐‘ห…๐‘ž
T T T
T F T
F T T
F F F
Definition 4. Exclusive
Let ๐‘ and ๐‘ž be propositions . The exclusive or of ๐‘
and ๐‘ž denoted ๐‘๐‘ฆ ๐‘๊š›๐‘ž is the propostion that is true
when exactly one of ๐‘ and ๐‘ž is true and is false
otherwise.
Truth table for the exclusive or of two propositions
๐‘ ๐‘ž ๐‘๊š›๐‘ž
T T F
T F T
F T T
F F F
Definition 5. Conditional
Let ๐‘ and ๐‘ž be propositions . The conditional statement
๐‘ โ†’ ๐‘ž is the proposition โ€œ If ๐‘ then ๐‘ž" the conditional
statement ๐‘ โ†’ ๐‘ž is false when p is true and q is false , and
true otherwise .In conditional statement ๐‘ โ†’ ๐‘ž, ๐‘ is called
the hypothesis and q is called the conclusion.
Truth table for the conditional statement ๐’‘ โ†’ ๐’’
๐‘ ๐‘ž ๐‘ โ†’ ๐‘ž
T T T
T F F
F T T
F F T
Example 2 .
Let ๐‘ be the statement โ€œ Agrima learns discrete
mathematicsโ€ and ๐‘ž the statement โ€œAgrima will find a
good job.โ€ Express the statement ๐‘ โ†’ ๐‘ž as a statement in
English.
Solution : from definition of conditional statement
โ€œ If Agrima learns discrete mathematics, then she will find
a good jobโ€.
Or
โ€œAgrima will find a good job when she learns discrete
mathematics.โ€
Definition 6. Biconditional
Let ๐‘ and ๐‘ž be propositions . The biconditional statement
๐‘ โ†” ๐‘ž is the proposition โ€œ ๐‘ if and only ๐‘ž" the
biconditional statement ๐‘ โ†” ๐‘ž is true when p and q have
the same truth values, and false otherwise. Biconditional
statements are also called bi-implications .
Truth table for biconditional statement ๐’‘ โ†” ๐’’
๐‘ ๐‘ž ๐‘ โ†” ๐‘ž
T T T
T F F
F T F
F F T
Example 3. let p be the statement โ€œyou can take the flightโ€
and let q be the statement โ€œ you buy a ticketโ€.
Solution.
The ๐‘ โ†” ๐‘ž statement is
You can take the flight if and only if you can buy a ticketโ€ .
Note the truth values of ๐‘ โ†” ๐‘ž has the same truth values
as (๐‘ โ†’ ๐‘ž) ห„ (๐‘ž โ†’ ๐‘)
Truth table of ๐’‘ โ†” ๐’’ and (๐’‘ โ†’ ๐’’) ห„ (๐’’ โ†’ ๐’‘)
๐‘ ๐‘ž ๐‘ โ†” ๐‘ž ๐‘ โ†’ ๐‘ž ๐‘ž โ†’ ๐‘ (๐‘ โ†’ ๐‘ž) ห„ (๐‘ž โ†’ ๐‘)
T T T T T T
T F F F T F
F T F T F F
F F T T T T
Definition 7. Converse
For conditional statement ๐‘ โ†’ ๐‘ž
The proposition ๐‘ž โ†’ ๐‘ is converse of ๐‘ โ†’ ๐‘ž .
Truth table for converse of ๐’‘ โ†’ ๐’’
๐‘ ๐‘ž ๐‘ โ†’ ๐‘ž ๐‘ž โ†’ ๐‘
T T T T
T F F T
F T T F
F F T T
Definition 8. Contrapositive
for conditional statement ๐‘ โ†’ ๐‘ž
The proposition ~๐‘ž โ†’ ~๐‘ is contrapositive of ๐‘ โ†’
๐‘ž.
Note : same truth vales for the contrapositive of
๐‘ โ†’ ๐‘ž
Truth table for Contrapositive of ๐’‘ โ†’ ๐’’
๐‘ ๐‘ž ~๐‘ž ~๐‘ ๐‘ โ†’ ๐‘ž ~๐‘ž โ†’ ~๐‘
T T F F T T
T F T F F F
F T F T T T
F F T T T T
Definition 9. Inverse
for conditional statement ๐‘ โ†’ ๐‘ž The proposition
~๐‘ โ†’ ~๐‘ž is inverse of ๐‘ โ†’ ๐‘ž.
Truth table for Inverse of ๐’‘ โ†’ ๐’’
๐‘ ๐‘ž ~๐‘ ~๐‘ž ๐‘ โ†’ ๐‘ž ~๐‘ โ†’ ~๐‘ž
T T F F T T
T F F T F T
F T T F T F
F F T T T T
Definition 10. Tautology
A compound proposition that is always true, no matter
what the truth values of the propositions that occur in it, is
called tautology.
Truth table of tautology
๐‘ƒ ~๐‘ƒ ๐‘ƒ ห… ~๐‘ƒ
T F T
F T T
Definition 10. Contradiction
A compound proposition that is always false, no
matter what the truth values of the propositions
that occur in it, is called contradiction.
Truth table of contradiction
๐‘ƒ ~๐‘ƒ ๐‘ƒ ห„~๐‘ƒ
T F F
F T F
Definition 11. Predicate
A predicate is a statement or mathematical
assertion that contains variables, sometimes
referred to as predicate variables, and may be true
or false depending on those variables values.
Example. ๐‘™๐‘’๐‘ก ๐‘(๐‘ฅ) denote the statement โ€œ๐‘ฅ > 3โ€
what are the truth values of ๐‘(4) and ๐‘(2) ?
Solution . By substituting x = 4,2
๐‘(4) is โ€œ4> 3โ€ , which is true and
๐‘(2) is โ€œ2> 3โ€ , which is false
Definition 12. Universal Quantification
The universal quantification of ๐‘ƒ(๐‘ฅ) is the
statement
โ€œ ๐‘(๐‘ฅ) for all values of x in the domainโ€.
The notation โˆ€๐‘ฅ ๐‘(๐‘ฅ) denotes the universal
quantification of ๐‘(๐‘ฅ) . Here โˆ€ is called the
universal quantifier .An element for which ๐‘(๐‘ฅ) is
false is called a counterexample of โˆ€๐‘ฅ ๐‘(๐‘ฅ)
Example1. Let ๐‘(๐‘ฅ), be the statement โ€œ ๐‘ฅ + 1 > ๐‘ฅ. โ€
what is the truth value of the quantification โˆ€๐‘ฅ ๐‘(๐‘ฅ),
where the domain consists of all real numbers?
Solution : Because ๐‘ ๐‘ฅ is true for all real numbers x, the
quantification โˆ€๐‘ฅ ๐‘ ๐‘ฅ is true.
Example 2.Let ๐‘„ ๐‘ฅ be the statement โ€œ๐‘ฅ < 2.โ€ what is the
truth value of the quantification โˆ€๐‘ฅ๐‘„ ๐‘ฅ , where the
domain consists of all real numbers?
Solution : ๐‘„ ๐‘ฅ is not true for every real number ๐‘ฅ,
because for ๐‘„ 3 is false i.e. 3 โ‰ฎ 2, x =
3 ๐‘–๐‘  ๐‘๐‘œ๐‘ข๐‘›๐‘ก๐‘’๐‘Ÿ ๐‘’๐‘ฅ๐‘Ž๐‘š๐‘๐‘™๐‘’ ๐‘“๐‘œ๐‘Ÿ ๐‘กโ„Ž๐‘’ ๐‘ ๐‘ก๐‘Ž๐‘ก๐‘’๐‘š๐‘’๐‘›๐‘ก
thus โˆ€๐‘ฅ๐‘„ ๐‘ฅ is false
Definition 12. Existential Quantification
The existential quantification of ๐‘ƒ(๐‘ฅ) is the statement
โ€œ There exists ๐‘Ž๐‘› ๐‘’๐‘™๐‘’๐‘š๐‘’๐‘›๐‘ก ๐‘ฅ ๐‘–๐‘› ๐‘กโ„Ž๐‘’ ๐‘‘๐‘œ๐‘š๐‘Ž๐‘–๐‘› ๐‘ ๐‘ข๐‘โ„Ž ๐‘กโ„Ž๐‘Ž๐‘ก
๐‘(๐‘ฅ)โ€. The notation โˆƒ๐‘ฅ ๐‘(๐‘ฅ) denotes the existential
quantification of ๐‘(๐‘ฅ) . Here โˆƒ is called the existential
quantifier .
Example .Let ๐‘„ ๐‘ฅ be the statement โ€œ๐‘ฅ = ๐‘ฅ + 1.โ€ what is
the truth value of the quantification โˆƒ ๐‘ฅ๐‘„ ๐‘ฅ , where the
domain consists of all real numbers?
Solution : ๐‘„ ๐‘ฅ is false for every real number ๐‘ฅ, the
existential quantification of ๐‘„ ๐‘ฅ which is โˆƒ ๐‘ฅ๐‘„ ๐‘ฅ ,is false

More Related Content

Similar to proposition Logic-1.pptx Discrete Mathematics

Mathmatical reasoning
Mathmatical reasoningMathmatical reasoning
Mathmatical reasoningindu psthakur
ย 
Chapter 01 - p1.pdf
Chapter 01 - p1.pdfChapter 01 - p1.pdf
Chapter 01 - p1.pdfsmarwaneid
ย 
Inductive and Deductive Reasoning
Inductive and Deductive ReasoningInductive and Deductive Reasoning
Inductive and Deductive ReasoningSonarin Cruz
ย 
chapter 1 (part 2)
chapter 1 (part 2)chapter 1 (part 2)
chapter 1 (part 2)Raechel Lim
ย 
Obj. 9 Inductive Reasoning
Obj. 9 Inductive ReasoningObj. 9 Inductive Reasoning
Obj. 9 Inductive Reasoningsmiller5
ย 
Chapter1p1.pdf
Chapter1p1.pdfChapter1p1.pdf
Chapter1p1.pdfIqraAli875037
ย 
UGC NET Computer Science & Application book.pdf [Sample]
UGC NET Computer Science & Application book.pdf  [Sample]UGC NET Computer Science & Application book.pdf  [Sample]
UGC NET Computer Science & Application book.pdf [Sample]DIwakar Rajput
ย 
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 ุฏ. ุฎุงู„ุฏ ุจูƒุฑูˆDr. Khaled Bakro
ย 
Unit I discrete mathematics lecture notes
Unit I  discrete mathematics lecture notesUnit I  discrete mathematics lecture notes
Unit I discrete mathematics lecture notesGIRIM8
ย 
desmath(1).ppt
desmath(1).pptdesmath(1).ppt
desmath(1).pptMemMem25
ย 
Proposition & Logical Operations
Proposition & Logical OperationsProposition & Logical Operations
Proposition & Logical OperationsSunipa Bera
ย 
proposition, truth tables and tautology.pptx
proposition, truth tables and tautology.pptxproposition, truth tables and tautology.pptx
proposition, truth tables and tautology.pptxJayLagman3
ย 
Chapter1p1 2.pptx
Chapter1p1 2.pptxChapter1p1 2.pptx
Chapter1p1 2.pptxASMAALWADEE2
ย 
Proposition (Logic)
Proposition (Logic)Proposition (Logic)
Proposition (Logic)EFREN ARCHIDE
ย 
Logic&proof
Logic&proofLogic&proof
Logic&proofFathan Hakim
ย 
Discrete Structure vs Discrete Mathematics
Discrete Structure vs Discrete MathematicsDiscrete Structure vs Discrete Mathematics
Discrete Structure vs Discrete MathematicsAbdulRehman378540
ย 

Similar to proposition Logic-1.pptx Discrete Mathematics (20)

Mathmatical reasoning
Mathmatical reasoningMathmatical reasoning
Mathmatical reasoning
ย 
Chapter 01 - p1.pdf
Chapter 01 - p1.pdfChapter 01 - p1.pdf
Chapter 01 - p1.pdf
ย 
Inductive and Deductive Reasoning
Inductive and Deductive ReasoningInductive and Deductive Reasoning
Inductive and Deductive Reasoning
ย 
chapter 1 (part 2)
chapter 1 (part 2)chapter 1 (part 2)
chapter 1 (part 2)
ย 
Obj. 9 Inductive Reasoning
Obj. 9 Inductive ReasoningObj. 9 Inductive Reasoning
Obj. 9 Inductive Reasoning
ย 
Chapter1p1.pdf
Chapter1p1.pdfChapter1p1.pdf
Chapter1p1.pdf
ย 
Logic
LogicLogic
Logic
ย 
UGC NET Computer Science & Application book.pdf [Sample]
UGC NET Computer Science & Application book.pdf  [Sample]UGC NET Computer Science & Application book.pdf  [Sample]
UGC NET Computer Science & Application book.pdf [Sample]
ย 
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 ุฏ. ุฎุงู„ุฏ ุจูƒุฑูˆ
ย 
Unit I discrete mathematics lecture notes
Unit I  discrete mathematics lecture notesUnit I  discrete mathematics lecture notes
Unit I discrete mathematics lecture notes
ย 
L01.ppt
L01.pptL01.ppt
L01.ppt
ย 
Mathematical Logic
Mathematical LogicMathematical Logic
Mathematical Logic
ย 
desmath(1).ppt
desmath(1).pptdesmath(1).ppt
desmath(1).ppt
ย 
1.1_var.pptx
1.1_var.pptx1.1_var.pptx
1.1_var.pptx
ย 
Proposition & Logical Operations
Proposition & Logical OperationsProposition & Logical Operations
Proposition & Logical Operations
ย 
proposition, truth tables and tautology.pptx
proposition, truth tables and tautology.pptxproposition, truth tables and tautology.pptx
proposition, truth tables and tautology.pptx
ย 
Chapter1p1 2.pptx
Chapter1p1 2.pptxChapter1p1 2.pptx
Chapter1p1 2.pptx
ย 
Proposition (Logic)
Proposition (Logic)Proposition (Logic)
Proposition (Logic)
ย 
Logic&proof
Logic&proofLogic&proof
Logic&proof
ย 
Discrete Structure vs Discrete Mathematics
Discrete Structure vs Discrete MathematicsDiscrete Structure vs Discrete Mathematics
Discrete Structure vs Discrete Mathematics
ย 

Recently uploaded

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
ย 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
ย 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
ย 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
ย 
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
ย 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
ย 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
ย 
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
ย 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
ย 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
ย 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
ย 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
ย 
18-04-UA_REPORT_MEDIALITERAะกY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAะกY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAะกY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAะกY_INDEX-DM_23-1-final-eng.pdfssuser54595a
ย 
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
ย 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
ย 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
ย 

Recently uploaded (20)

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
ย 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
ย 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
ย 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
ย 
Model Call Girl in Bikash Puri Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”
Model Call Girl in Bikash Puri  Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”Model Call Girl in Bikash Puri  Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”
Model Call Girl in Bikash Puri Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”
ย 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
ย 
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
ย 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
ย 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
ย 
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 ...
ย 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
ย 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
ย 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
ย 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
ย 
18-04-UA_REPORT_MEDIALITERAะกY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAะกY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAะกY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAะกY_INDEX-DM_23-1-final-eng.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...
ย 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
ย 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
ย 
Cรณdigo Creativo y Arte de Software | Unidad 1
Cรณdigo Creativo y Arte de Software | Unidad 1Cรณdigo Creativo y Arte de Software | Unidad 1
Cรณdigo Creativo y Arte de Software | Unidad 1
ย 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
ย 

proposition Logic-1.pptx Discrete Mathematics

  • 1. Discrete mathematics topic- Propositional Logic PPT Prepared by Vimal kumar Assistant Professor Mathematics Government Degree College Babrala Gunnaur
  • 2. Proposition ( Statement) A proposition is a declarative sentence that is either true or false , but not both . Example : 1. Delhi is capital of India. Example : 2. 1+3 = 4 Example : 3. 3+3 = 5 Example : 4. Normal glass is unbreakable . Proposition in example 1 and 2 are true. Proposition in example 3 and 4 are false.
  • 3. Examples that are not proposition . 1. Read this carefully 2. ๐‘Ž + ๐‘ = ๐‘ these are not declarative sentences . Conventional letters ๐‘, ๐‘ž, ๐‘Ÿ, ๐‘  are used for propositional variables. Truth value of a proposition is true and is denoted by T, if it is true proposition. Truth value of a proposition is false and is denoted by F, if it is false proposition. .
  • 4. Symbols and names used in propositions Symbol Name ~ Negation ห„ Conjunction ห… Disjunction โ†’ Conditional โ†” Biconditional ๊š› Exclusive
  • 5. Definition 1. Negation Let ๐‘ be a proposition . The negation of ๐‘ is denoted by ~๐‘ Example find the negation of the proposition โ€œ today is Mondayโ€ and express this in simple english. Answer . โ€œToday is not Mondayโ€ or โ€œIt is not Monday todayโ€ Truth Table for the Negation of a Proposition ๐‘ ~๐‘ T F F T
  • 6. Definition 2. Conjunction Let ๐‘ and ๐‘ž be propositions . The conjunction of ๐‘ and ๐‘ž denoted by ๐‘ห„๐‘ž , is the propostion โ€œ๐‘ and ๐‘žโ€. The conjunction ๐‘ห„๐‘ž is true when both ๐‘ and ๐‘ž are true and false otherwise. Truth table for conjunction of two propositions ๐‘ ๐‘ž ๐‘ห„๐‘ž T T T T F F F T F F F F
  • 7. Example 1. Find the conjunction of propositions ๐‘ and ๐‘ž where ๐‘ is proposition โ€œtoday is Mondayโ€ and ๐‘ž is proposition โ€œ It is a raining day.โ€ Solution: The conjunction of these propositions, ๐‘ห„๐‘ž is the proposition โ€œToday is Monday and it is raining todayโ€ this proposition is true on rainy Monday and is false on any day that is not Monday and on Monday when it is not rain.
  • 8. Definition 3. Disjunction Let ๐‘ and ๐‘ž be propositions . The disjunction of ๐‘ and ๐‘ž denoted by ๐‘ห…๐‘ž, is the propostion โ€œ๐‘ or ๐‘žโ€. The disjunction ๐‘ห…๐‘ž is false when both ๐‘ and ๐‘ž are false and true otherwise. Truth table for disjunction of two propositions ๐‘ ๐‘ž ๐‘ห…๐‘ž T T T T F T F T T F F F
  • 9. Definition 4. Exclusive Let ๐‘ and ๐‘ž be propositions . The exclusive or of ๐‘ and ๐‘ž denoted ๐‘๐‘ฆ ๐‘๊š›๐‘ž is the propostion that is true when exactly one of ๐‘ and ๐‘ž is true and is false otherwise. Truth table for the exclusive or of two propositions ๐‘ ๐‘ž ๐‘๊š›๐‘ž T T F T F T F T T F F F
  • 10. Definition 5. Conditional Let ๐‘ and ๐‘ž be propositions . The conditional statement ๐‘ โ†’ ๐‘ž is the proposition โ€œ If ๐‘ then ๐‘ž" the conditional statement ๐‘ โ†’ ๐‘ž is false when p is true and q is false , and true otherwise .In conditional statement ๐‘ โ†’ ๐‘ž, ๐‘ is called the hypothesis and q is called the conclusion. Truth table for the conditional statement ๐’‘ โ†’ ๐’’ ๐‘ ๐‘ž ๐‘ โ†’ ๐‘ž T T T T F F F T T F F T
  • 11. Example 2 . Let ๐‘ be the statement โ€œ Agrima learns discrete mathematicsโ€ and ๐‘ž the statement โ€œAgrima will find a good job.โ€ Express the statement ๐‘ โ†’ ๐‘ž as a statement in English. Solution : from definition of conditional statement โ€œ If Agrima learns discrete mathematics, then she will find a good jobโ€. Or โ€œAgrima will find a good job when she learns discrete mathematics.โ€
  • 12. Definition 6. Biconditional Let ๐‘ and ๐‘ž be propositions . The biconditional statement ๐‘ โ†” ๐‘ž is the proposition โ€œ ๐‘ if and only ๐‘ž" the biconditional statement ๐‘ โ†” ๐‘ž is true when p and q have the same truth values, and false otherwise. Biconditional statements are also called bi-implications . Truth table for biconditional statement ๐’‘ โ†” ๐’’ ๐‘ ๐‘ž ๐‘ โ†” ๐‘ž T T T T F F F T F F F T
  • 13. Example 3. let p be the statement โ€œyou can take the flightโ€ and let q be the statement โ€œ you buy a ticketโ€. Solution. The ๐‘ โ†” ๐‘ž statement is You can take the flight if and only if you can buy a ticketโ€ . Note the truth values of ๐‘ โ†” ๐‘ž has the same truth values as (๐‘ โ†’ ๐‘ž) ห„ (๐‘ž โ†’ ๐‘) Truth table of ๐’‘ โ†” ๐’’ and (๐’‘ โ†’ ๐’’) ห„ (๐’’ โ†’ ๐’‘) ๐‘ ๐‘ž ๐‘ โ†” ๐‘ž ๐‘ โ†’ ๐‘ž ๐‘ž โ†’ ๐‘ (๐‘ โ†’ ๐‘ž) ห„ (๐‘ž โ†’ ๐‘) T T T T T T T F F F T F F T F T F F F F T T T T
  • 14. Definition 7. Converse For conditional statement ๐‘ โ†’ ๐‘ž The proposition ๐‘ž โ†’ ๐‘ is converse of ๐‘ โ†’ ๐‘ž . Truth table for converse of ๐’‘ โ†’ ๐’’ ๐‘ ๐‘ž ๐‘ โ†’ ๐‘ž ๐‘ž โ†’ ๐‘ T T T T T F F T F T T F F F T T
  • 15. Definition 8. Contrapositive for conditional statement ๐‘ โ†’ ๐‘ž The proposition ~๐‘ž โ†’ ~๐‘ is contrapositive of ๐‘ โ†’ ๐‘ž. Note : same truth vales for the contrapositive of ๐‘ โ†’ ๐‘ž Truth table for Contrapositive of ๐’‘ โ†’ ๐’’ ๐‘ ๐‘ž ~๐‘ž ~๐‘ ๐‘ โ†’ ๐‘ž ~๐‘ž โ†’ ~๐‘ T T F F T T T F T F F F F T F T T T F F T T T T
  • 16. Definition 9. Inverse for conditional statement ๐‘ โ†’ ๐‘ž The proposition ~๐‘ โ†’ ~๐‘ž is inverse of ๐‘ โ†’ ๐‘ž. Truth table for Inverse of ๐’‘ โ†’ ๐’’ ๐‘ ๐‘ž ~๐‘ ~๐‘ž ๐‘ โ†’ ๐‘ž ~๐‘ โ†’ ~๐‘ž T T F F T T T F F T F T F T T F T F F F T T T T
  • 17. Definition 10. Tautology A compound proposition that is always true, no matter what the truth values of the propositions that occur in it, is called tautology. Truth table of tautology ๐‘ƒ ~๐‘ƒ ๐‘ƒ ห… ~๐‘ƒ T F T F T T
  • 18. Definition 10. Contradiction A compound proposition that is always false, no matter what the truth values of the propositions that occur in it, is called contradiction. Truth table of contradiction ๐‘ƒ ~๐‘ƒ ๐‘ƒ ห„~๐‘ƒ T F F F T F
  • 19. Definition 11. Predicate A predicate is a statement or mathematical assertion that contains variables, sometimes referred to as predicate variables, and may be true or false depending on those variables values. Example. ๐‘™๐‘’๐‘ก ๐‘(๐‘ฅ) denote the statement โ€œ๐‘ฅ > 3โ€ what are the truth values of ๐‘(4) and ๐‘(2) ? Solution . By substituting x = 4,2 ๐‘(4) is โ€œ4> 3โ€ , which is true and ๐‘(2) is โ€œ2> 3โ€ , which is false
  • 20. Definition 12. Universal Quantification The universal quantification of ๐‘ƒ(๐‘ฅ) is the statement โ€œ ๐‘(๐‘ฅ) for all values of x in the domainโ€. The notation โˆ€๐‘ฅ ๐‘(๐‘ฅ) denotes the universal quantification of ๐‘(๐‘ฅ) . Here โˆ€ is called the universal quantifier .An element for which ๐‘(๐‘ฅ) is false is called a counterexample of โˆ€๐‘ฅ ๐‘(๐‘ฅ)
  • 21. Example1. Let ๐‘(๐‘ฅ), be the statement โ€œ ๐‘ฅ + 1 > ๐‘ฅ. โ€ what is the truth value of the quantification โˆ€๐‘ฅ ๐‘(๐‘ฅ), where the domain consists of all real numbers? Solution : Because ๐‘ ๐‘ฅ is true for all real numbers x, the quantification โˆ€๐‘ฅ ๐‘ ๐‘ฅ is true. Example 2.Let ๐‘„ ๐‘ฅ be the statement โ€œ๐‘ฅ < 2.โ€ what is the truth value of the quantification โˆ€๐‘ฅ๐‘„ ๐‘ฅ , where the domain consists of all real numbers? Solution : ๐‘„ ๐‘ฅ is not true for every real number ๐‘ฅ, because for ๐‘„ 3 is false i.e. 3 โ‰ฎ 2, x = 3 ๐‘–๐‘  ๐‘๐‘œ๐‘ข๐‘›๐‘ก๐‘’๐‘Ÿ ๐‘’๐‘ฅ๐‘Ž๐‘š๐‘๐‘™๐‘’ ๐‘“๐‘œ๐‘Ÿ ๐‘กโ„Ž๐‘’ ๐‘ ๐‘ก๐‘Ž๐‘ก๐‘’๐‘š๐‘’๐‘›๐‘ก thus โˆ€๐‘ฅ๐‘„ ๐‘ฅ is false
  • 22. Definition 12. Existential Quantification The existential quantification of ๐‘ƒ(๐‘ฅ) is the statement โ€œ There exists ๐‘Ž๐‘› ๐‘’๐‘™๐‘’๐‘š๐‘’๐‘›๐‘ก ๐‘ฅ ๐‘–๐‘› ๐‘กโ„Ž๐‘’ ๐‘‘๐‘œ๐‘š๐‘Ž๐‘–๐‘› ๐‘ ๐‘ข๐‘โ„Ž ๐‘กโ„Ž๐‘Ž๐‘ก ๐‘(๐‘ฅ)โ€. The notation โˆƒ๐‘ฅ ๐‘(๐‘ฅ) denotes the existential quantification of ๐‘(๐‘ฅ) . Here โˆƒ is called the existential quantifier . Example .Let ๐‘„ ๐‘ฅ be the statement โ€œ๐‘ฅ = ๐‘ฅ + 1.โ€ what is the truth value of the quantification โˆƒ ๐‘ฅ๐‘„ ๐‘ฅ , where the domain consists of all real numbers? Solution : ๐‘„ ๐‘ฅ is false for every real number ๐‘ฅ, the existential quantification of ๐‘„ ๐‘ฅ which is โˆƒ ๐‘ฅ๐‘„ ๐‘ฅ ,is false