SlideShare una empresa de Scribd logo
1 de 14
Types of Argument
(Logical operators)
By:Mujtaba Khan
Logical Operators
• In logic, a logical operators (also called
a logical connectives) is
a symbol or word used to connect two or
more sentences in a grammatically valid way.
Types of logical Operators
• Negation
• Conjunctions
• Disjunctions
• Conditional
• Bi-conditional
Negation
• Changing a statement so that it has the opposite meaning and
truth values
• Also known as “Not”
• The symbol for negation is ‘~’
• Example:
P: There is snow on the ground
~P: There is not snow on the ground
Truth Table for Negation
P
T
F
~P
F
T
Conjunctions
• A proposition that presents two or more alternative
terms, with the assertion that both are true.
• Also known as And.
• symbol that we use is ‘^’ (Looks like an A without the
middle line – ).
• Example:
– P: I found $5
– Q: I crashed my car into a telephone pole
– P^Q: I found $5 AND I crashed my car into a telephone pole.
Truth Table for “And”
• A conjunction is only true if all of the
statements in it are true, otherwise it is
false
P Q P^Q
T T T
T F F
F T F
F F F
Disjunctions
• A proposition that presents two or more
alternative terms, with the assertion that at
least one is true.
• Also known as “Or”
• symbol that we use is ‘V’
• Example:
– P: The number 3 is odd
– Q: 57 is a prime number
– PVQ: The number 3 is odd OR 57 is a prime number.
Truth Table for “Or”
• A disjunction is true if at least one of
the statements in it are true, otherwise
it is false.
P Q PVQ
T T T
T F T
F T T
F F F
Conditionals
• An conditional is only false when the first statement
is true and the second one is false, otherwise it is
true.
• Also known as an “If-Then” Statement
• An Conditional for statements P and Q is denoted P=>
Q
• An Conditional is read either “If P, then Q” or “P
implies Q”
• Example: If you brush every day, you probably won’t
get cavities or gum disease.
Truth Table for “If-Then”
• An conditional is only false when the
first statement is true and the second
one is false, otherwise it is true.
P Q P=>Q
T T T
T F F
F T T
F F T
Bi-conditional
• Bi-conditionals are true when both
statements have the exact same truth
value.
• Also known as “ If and only If ”
• An Biconditional for statement P and Q is
denoted by P<=> Q
• An Bi-conditional is read “P if and only if Q”
• Example: The candidate becomes president
if and only if he wins the election
Truth Tables for Biconditional
P Q P<=>Q
T T T
T F F
F T F
F F T
A Bi-conditional is only true when the truth
values of ‘P’ and ‘Q’ are the same
THANK YOU

Más contenido relacionado

La actualidad más candente

Truth tables
Truth tablesTruth tables
Truth tables
walkerlj
 

La actualidad más candente (20)

Program development cyle
Program development cyleProgram development cyle
Program development cyle
 
Proofs by contraposition
Proofs by contrapositionProofs by contraposition
Proofs by contraposition
 
Mathematical Reasoning
Mathematical ReasoningMathematical Reasoning
Mathematical Reasoning
 
Truth tables
Truth tablesTruth tables
Truth tables
 
Discrete math Truth Table
Discrete math Truth TableDiscrete math Truth Table
Discrete math Truth Table
 
Arithmetic operator
Arithmetic operatorArithmetic operator
Arithmetic operator
 
Discrete Math Chapter 1 :The Foundations: Logic and Proofs
Discrete Math Chapter 1 :The Foundations: Logic and ProofsDiscrete Math Chapter 1 :The Foundations: Logic and Proofs
Discrete Math Chapter 1 :The Foundations: Logic and Proofs
 
GCD of n Numbers
GCD of n NumbersGCD of n Numbers
GCD of n Numbers
 
Types of RELATIONS
Types of RELATIONSTypes of RELATIONS
Types of RELATIONS
 
Set Theory Presentation
Set Theory PresentationSet Theory Presentation
Set Theory Presentation
 
Conditional and biconditional statements
Conditional and biconditional statementsConditional and biconditional statements
Conditional and biconditional statements
 
Proposition
PropositionProposition
Proposition
 
Logic&proof
Logic&proofLogic&proof
Logic&proof
 
Discrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional LogicDiscrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional Logic
 
Pigeon hole principle
Pigeon hole principlePigeon hole principle
Pigeon hole principle
 
CMSC 56 | Lecture 11: Mathematical Induction
CMSC 56 | Lecture 11: Mathematical InductionCMSC 56 | Lecture 11: Mathematical Induction
CMSC 56 | Lecture 11: Mathematical Induction
 
Pigeonhole Principle,Cardinality,Countability
Pigeonhole Principle,Cardinality,CountabilityPigeonhole Principle,Cardinality,Countability
Pigeonhole Principle,Cardinality,Countability
 
Truth table a.r
Truth table a.rTruth table a.r
Truth table a.r
 
Maths sets ppt
Maths sets pptMaths sets ppt
Maths sets ppt
 
Discrete Math Lecture 03: Methods of Proof
Discrete Math Lecture 03: Methods of ProofDiscrete Math Lecture 03: Methods of Proof
Discrete Math Lecture 03: Methods of Proof
 

Destacado

Logic
LogicLogic
Logic
H K
 
Solving problems by inductive reasoning
Solving problems by inductive reasoningSolving problems by inductive reasoning
Solving problems by inductive reasoning
walkerlj
 
Intro to logic
Intro to logicIntro to logic
Intro to logic
walkerlj
 

Destacado (20)

Operators
OperatorsOperators
Operators
 
3 computing truth tables
3   computing truth tables3   computing truth tables
3 computing truth tables
 
If and nested if statements
If and nested if statementsIf and nested if statements
If and nested if statements
 
Logic (slides)
Logic (slides)Logic (slides)
Logic (slides)
 
5.3 Rules And Fallacies
5.3   Rules And Fallacies5.3   Rules And Fallacies
5.3 Rules And Fallacies
 
1.1 Introduction
1.1   Introduction1.1   Introduction
1.1 Introduction
 
Logic
LogicLogic
Logic
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Mathematical and logical operators
Mathematical and logical operatorsMathematical and logical operators
Mathematical and logical operators
 
Solving problems by inductive reasoning
Solving problems by inductive reasoningSolving problems by inductive reasoning
Solving problems by inductive reasoning
 
Symbolic logic
Symbolic logicSymbolic logic
Symbolic logic
 
Intro to logic
Intro to logicIntro to logic
Intro to logic
 
Symbolic logic
Symbolic logicSymbolic logic
Symbolic logic
 
Mathematical Logic Part 2
Mathematical Logic Part 2Mathematical Logic Part 2
Mathematical Logic Part 2
 
Types of Argument and Toulmin Analysis
Types of Argument and Toulmin AnalysisTypes of Argument and Toulmin Analysis
Types of Argument and Toulmin Analysis
 
1.2 Recognizing Arguments
1.2   Recognizing Arguments1.2   Recognizing Arguments
1.2 Recognizing Arguments
 
Clear concepts of syllogism & key rules
Clear concepts of syllogism & key rulesClear concepts of syllogism & key rules
Clear concepts of syllogism & key rules
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
5.1 Standard Form Mood And Figure
5.1   Standard Form Mood And Figure5.1   Standard Form Mood And Figure
5.1 Standard Form Mood And Figure
 
Introduction to basic programming
Introduction to basic programmingIntroduction to basic programming
Introduction to basic programming
 

Similar a Logical Operators in Brief with examples

Logic Notes
Logic NotesLogic Notes
Logic Notes
acavis
 
proposition, truth tables and tautology.pptx
proposition, truth tables and tautology.pptxproposition, truth tables and tautology.pptx
proposition, truth tables and tautology.pptx
JayLagman3
 

Similar a Logical Operators in Brief with examples (20)

LOGICAL OPERATOR
LOGICAL OPERATORLOGICAL OPERATOR
LOGICAL OPERATOR
 
MFCS PPT.pdf
MFCS PPT.pdfMFCS PPT.pdf
MFCS PPT.pdf
 
L01.ppt
L01.pptL01.ppt
L01.ppt
 
Logic Notes
Logic NotesLogic Notes
Logic Notes
 
proposition, truth tables and tautology.pptx
proposition, truth tables and tautology.pptxproposition, truth tables and tautology.pptx
proposition, truth tables and tautology.pptx
 
Introduction to mathematical analysis
Introduction to mathematical analysisIntroduction to mathematical analysis
Introduction to mathematical analysis
 
Bab 1 proposisi
Bab 1 proposisiBab 1 proposisi
Bab 1 proposisi
 
Logic in Computer Science Unit 2 (1).pptx
Logic in Computer Science Unit 2 (1).pptxLogic in Computer Science Unit 2 (1).pptx
Logic in Computer Science Unit 2 (1).pptx
 
CS202Ch1.ppt
CS202Ch1.pptCS202Ch1.ppt
CS202Ch1.ppt
 
LOGICAL CONNETIVES USE DISCRETE MATHSMATICS ASSINGMENT
LOGICAL CONNETIVES USE DISCRETE MATHSMATICS  ASSINGMENTLOGICAL CONNETIVES USE DISCRETE MATHSMATICS  ASSINGMENT
LOGICAL CONNETIVES USE DISCRETE MATHSMATICS ASSINGMENT
 
Propositional Logic.pdf
Propositional Logic.pdfPropositional Logic.pdf
Propositional Logic.pdf
 
Discrete mathematics Chapter1 presentation.ppt
Discrete mathematics Chapter1 presentation.pptDiscrete mathematics Chapter1 presentation.ppt
Discrete mathematics Chapter1 presentation.ppt
 
Logic2.pptx
Logic2.pptxLogic2.pptx
Logic2.pptx
 
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]
 
Logic
LogicLogic
Logic
 
1. Logic.pptx
1. Logic.pptx1. Logic.pptx
1. Logic.pptx
 
4 ch 2 logical reasoning
4 ch 2 logical reasoning4 ch 2 logical reasoning
4 ch 2 logical reasoning
 
logic_lec4.ppt
logic_lec4.pptlogic_lec4.ppt
logic_lec4.ppt
 
Logic, contrapositive, converse, Discrete Mathematics, conjunction, negation
Logic, contrapositive, converse, Discrete Mathematics, conjunction, negationLogic, contrapositive, converse, Discrete Mathematics, conjunction, negation
Logic, contrapositive, converse, Discrete Mathematics, conjunction, negation
 
Drinkfromme.pptx
Drinkfromme.pptxDrinkfromme.pptx
Drinkfromme.pptx
 

Último

unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
Abortion pills in Kuwait Cytotec pills in Kuwait
 
Structuring and Writing DRL Mckinsey (1).pdf
Structuring and Writing DRL Mckinsey (1).pdfStructuring and Writing DRL Mckinsey (1).pdf
Structuring and Writing DRL Mckinsey (1).pdf
laloo_007
 
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan CytotecJual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
ZurliaSoop
 

Último (20)

Power point presentation on enterprise performance management
Power point presentation on enterprise performance managementPower point presentation on enterprise performance management
Power point presentation on enterprise performance management
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
 
Structuring and Writing DRL Mckinsey (1).pdf
Structuring and Writing DRL Mckinsey (1).pdfStructuring and Writing DRL Mckinsey (1).pdf
Structuring and Writing DRL Mckinsey (1).pdf
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
 
Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1
 
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
 
New 2024 Cannabis Edibles Investor Pitch Deck Template
New 2024 Cannabis Edibles Investor Pitch Deck TemplateNew 2024 Cannabis Edibles Investor Pitch Deck Template
New 2024 Cannabis Edibles Investor Pitch Deck Template
 
CROSS CULTURAL NEGOTIATION BY PANMISEM NS
CROSS CULTURAL NEGOTIATION BY PANMISEM NSCROSS CULTURAL NEGOTIATION BY PANMISEM NS
CROSS CULTURAL NEGOTIATION BY PANMISEM NS
 
Rice Manufacturers in India | Shree Krishna Exports
Rice Manufacturers in India | Shree Krishna ExportsRice Manufacturers in India | Shree Krishna Exports
Rice Manufacturers in India | Shree Krishna Exports
 
Lucknow Housewife Escorts by Sexy Bhabhi Service 8250092165
Lucknow Housewife Escorts  by Sexy Bhabhi Service 8250092165Lucknow Housewife Escorts  by Sexy Bhabhi Service 8250092165
Lucknow Housewife Escorts by Sexy Bhabhi Service 8250092165
 
Buy Verified TransferWise Accounts From Seosmmearth
Buy Verified TransferWise Accounts From SeosmmearthBuy Verified TransferWise Accounts From Seosmmearth
Buy Verified TransferWise Accounts From Seosmmearth
 
joint cost.pptx COST ACCOUNTING Sixteenth Edition ...
joint cost.pptx  COST ACCOUNTING  Sixteenth Edition                          ...joint cost.pptx  COST ACCOUNTING  Sixteenth Edition                          ...
joint cost.pptx COST ACCOUNTING Sixteenth Edition ...
 
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan CytotecJual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
 
HomeRoots Pitch Deck | Investor Insights | April 2024
HomeRoots Pitch Deck | Investor Insights | April 2024HomeRoots Pitch Deck | Investor Insights | April 2024
HomeRoots Pitch Deck | Investor Insights | April 2024
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with Culture
 
Cracking the 'Career Pathing' Slideshare
Cracking the 'Career Pathing' SlideshareCracking the 'Career Pathing' Slideshare
Cracking the 'Career Pathing' Slideshare
 
Falcon Invoice Discounting: Empowering Your Business Growth
Falcon Invoice Discounting: Empowering Your Business GrowthFalcon Invoice Discounting: Empowering Your Business Growth
Falcon Invoice Discounting: Empowering Your Business Growth
 
BeMetals Investor Presentation_May 3, 2024.pdf
BeMetals Investor Presentation_May 3, 2024.pdfBeMetals Investor Presentation_May 3, 2024.pdf
BeMetals Investor Presentation_May 3, 2024.pdf
 
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAIGetting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
 
Famous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st CenturyFamous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st Century
 

Logical Operators in Brief with examples

  • 1. Types of Argument (Logical operators) By:Mujtaba Khan
  • 2. Logical Operators • In logic, a logical operators (also called a logical connectives) is a symbol or word used to connect two or more sentences in a grammatically valid way.
  • 3. Types of logical Operators • Negation • Conjunctions • Disjunctions • Conditional • Bi-conditional
  • 4. Negation • Changing a statement so that it has the opposite meaning and truth values • Also known as “Not” • The symbol for negation is ‘~’ • Example: P: There is snow on the ground ~P: There is not snow on the ground
  • 5. Truth Table for Negation P T F ~P F T
  • 6. Conjunctions • A proposition that presents two or more alternative terms, with the assertion that both are true. • Also known as And. • symbol that we use is ‘^’ (Looks like an A without the middle line – ). • Example: – P: I found $5 – Q: I crashed my car into a telephone pole – P^Q: I found $5 AND I crashed my car into a telephone pole.
  • 7. Truth Table for “And” • A conjunction is only true if all of the statements in it are true, otherwise it is false P Q P^Q T T T T F F F T F F F F
  • 8. Disjunctions • A proposition that presents two or more alternative terms, with the assertion that at least one is true. • Also known as “Or” • symbol that we use is ‘V’ • Example: – P: The number 3 is odd – Q: 57 is a prime number – PVQ: The number 3 is odd OR 57 is a prime number.
  • 9. Truth Table for “Or” • A disjunction is true if at least one of the statements in it are true, otherwise it is false. P Q PVQ T T T T F T F T T F F F
  • 10. Conditionals • An conditional is only false when the first statement is true and the second one is false, otherwise it is true. • Also known as an “If-Then” Statement • An Conditional for statements P and Q is denoted P=> Q • An Conditional is read either “If P, then Q” or “P implies Q” • Example: If you brush every day, you probably won’t get cavities or gum disease.
  • 11. Truth Table for “If-Then” • An conditional is only false when the first statement is true and the second one is false, otherwise it is true. P Q P=>Q T T T T F F F T T F F T
  • 12. Bi-conditional • Bi-conditionals are true when both statements have the exact same truth value. • Also known as “ If and only If ” • An Biconditional for statement P and Q is denoted by P<=> Q • An Bi-conditional is read “P if and only if Q” • Example: The candidate becomes president if and only if he wins the election
  • 13. Truth Tables for Biconditional P Q P<=>Q T T T T F F F T F F F T A Bi-conditional is only true when the truth values of ‘P’ and ‘Q’ are the same