SlideShare uma empresa 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

Mais conteúdo relacionado

Mais procurados

Truth tables presentation
Truth tables presentationTruth tables presentation
Truth tables presentation
MujtaBa Khan
 
Truth tables
Truth tablesTruth tables
Truth tables
walkerlj
 
Pseudocode-Flowchart
Pseudocode-FlowchartPseudocode-Flowchart
Pseudocode-Flowchart
lotlot
 
Discrete Structures. Lecture 1
 Discrete Structures. Lecture 1  Discrete Structures. Lecture 1
Discrete Structures. Lecture 1
Ali Usman
 

Mais procurados (20)

Truth tables presentation
Truth tables presentationTruth tables presentation
Truth tables presentation
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Sequence and series
Sequence and seriesSequence and series
Sequence and series
 
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
 
Discrete mathematics
Discrete mathematicsDiscrete mathematics
Discrete mathematics
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Predicate Logic
Predicate LogicPredicate Logic
Predicate Logic
 
Minimization of Boolean Functions
Minimization of Boolean FunctionsMinimization of Boolean Functions
Minimization of Boolean Functions
 
Truth tables
Truth tablesTruth tables
Truth tables
 
Pseudocode-Flowchart
Pseudocode-FlowchartPseudocode-Flowchart
Pseudocode-Flowchart
 
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 د. خالد بكرو
 
Number theory lecture (part 1)
Number theory lecture (part 1)Number theory lecture (part 1)
Number theory lecture (part 1)
 
Truth table
Truth tableTruth table
Truth table
 
Discrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional LogicDiscrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional Logic
 
Logic - Logical Propositions
Logic - Logical Propositions Logic - Logical Propositions
Logic - Logical Propositions
 
Discrete Structures. Lecture 1
 Discrete Structures. Lecture 1  Discrete Structures. Lecture 1
Discrete Structures. Lecture 1
 
Sets in discrete mathematics
Sets in discrete mathematicsSets in discrete mathematics
Sets in discrete mathematics
 
Integration By Parts Tutorial & Example- Calculus 2
Integration By Parts Tutorial & Example- Calculus 2Integration By Parts Tutorial & Example- Calculus 2
Integration By Parts Tutorial & Example- Calculus 2
 
Number Theory - Lesson 1 - Introduction to Number Theory
Number Theory - Lesson 1 - Introduction to Number TheoryNumber Theory - Lesson 1 - Introduction to Number Theory
Number Theory - Lesson 1 - Introduction to Number Theory
 
CMSC 56 | Lecture 2: Propositional Equivalences
CMSC 56 | Lecture 2: Propositional EquivalencesCMSC 56 | Lecture 2: Propositional Equivalences
CMSC 56 | Lecture 2: Propositional Equivalences
 

Destaque

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
 

Destaque (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
 

Semelhante 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
 

Semelhante 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
 
Discrete mathematics [LOGICAL CONNECTIVES]
Discrete mathematics [LOGICAL CONNECTIVES]Discrete mathematics [LOGICAL CONNECTIVES]
Discrete mathematics [LOGICAL CONNECTIVES]
 
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
 

Último

Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
dlhescort
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
amitlee9823
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
amitlee9823
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
amitlee9823
 
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
amitlee9823
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usage
Matteo Carbone
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
Renandantas16
 

Último (20)

Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
 
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
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Service
 
John Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdfJohn Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdf
 
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usage
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
 
Phases of Negotiation .pptx
 Phases of Negotiation .pptx Phases of Negotiation .pptx
Phases of Negotiation .pptx
 
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
 

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