SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

5.4 mathematical induction
5.4 mathematical induction5.4 mathematical induction
5.4 mathematical induction
math260
 

Tendances (20)

Truth table
Truth tableTruth table
Truth table
 
Logic (PROPOSITIONS)
Logic (PROPOSITIONS)Logic (PROPOSITIONS)
Logic (PROPOSITIONS)
 
Mathematical Logic - Part 1
Mathematical Logic - Part 1Mathematical Logic - Part 1
Mathematical Logic - Part 1
 
Prpositional2
Prpositional2Prpositional2
Prpositional2
 
Discrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional LogicDiscrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional Logic
 
5.4 mathematical induction
5.4 mathematical induction5.4 mathematical induction
5.4 mathematical induction
 
Conditional Statements | If-then Statements
Conditional Statements | If-then StatementsConditional Statements | If-then Statements
Conditional Statements | If-then Statements
 
Logic and proof
Logic and proofLogic and proof
Logic and proof
 
Maths P.P.T. Connectives
Maths P.P.T. ConnectivesMaths P.P.T. Connectives
Maths P.P.T. Connectives
 
Mathematical Logic
Mathematical LogicMathematical Logic
Mathematical Logic
 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical induction
 
CMSC 56 | Lecture 11: Mathematical Induction
CMSC 56 | Lecture 11: Mathematical InductionCMSC 56 | Lecture 11: Mathematical Induction
CMSC 56 | Lecture 11: Mathematical Induction
 
Proofs by contraposition
Proofs by contrapositionProofs by contraposition
Proofs by contraposition
 
Discrete mathematics
Discrete mathematicsDiscrete mathematics
Discrete mathematics
 
Mathematical Logic Part 2
Mathematical Logic Part 2Mathematical Logic Part 2
Mathematical Logic Part 2
 
Formal Logic - Lesson 4 - Tautology, Contradiction and Contingency
Formal Logic - Lesson 4 - Tautology, Contradiction and ContingencyFormal Logic - Lesson 4 - Tautology, Contradiction and Contingency
Formal Logic - Lesson 4 - Tautology, Contradiction and Contingency
 
Logical equivalence, laws of logic
Logical equivalence, laws of logicLogical equivalence, laws of logic
Logical equivalence, laws of logic
 
CMSC 56 | Lecture 1: Propositional Logic
CMSC 56 | Lecture 1: Propositional LogicCMSC 56 | Lecture 1: Propositional Logic
CMSC 56 | Lecture 1: Propositional Logic
 
Infix to postfix conversion
Infix to postfix conversionInfix to postfix conversion
Infix to postfix conversion
 
Predicates and Quantifiers
Predicates and QuantifiersPredicates and Quantifiers
Predicates and Quantifiers
 

En vedette

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
 
Using the IF Function in Excel
Using the IF Function in ExcelUsing the IF Function in Excel
Using the IF Function in Excel
Casey Robertson
 

En vedette (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
 
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
 
Using the IF Function in Excel
Using the IF Function in ExcelUsing the IF Function in Excel
Using the IF Function in Excel
 

Similaire à 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
 

Similaire à 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
 

Dernier

Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al MizharAl Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
allensay1
 
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
 
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
 
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
 
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
lizamodels9
 
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai KuwaitThe Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
daisycvs
 
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
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
dollysharma2066
 

Dernier (20)

Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al MizharAl Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
 
Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024
 
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
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptx
 
Phases of Negotiation .pptx
 Phases of Negotiation .pptx Phases of Negotiation .pptx
Phases of Negotiation .pptx
 
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
 
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
 
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
 
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
 
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai KuwaitThe Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
 
PHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation FinalPHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation Final
 
Falcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business PotentialFalcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business Potential
 
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
 
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...
 
Malegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort Service
Malegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort ServiceMalegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort Service
Malegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort Service
 
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
 
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
 
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
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, 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...
 

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