SlideShare a Scribd company logo
Valid & Invalid Arguments
Logical Quantifiers and their negation
Priority and Precedence
Tautologies
Contradictions
By
Prof. Najam
Mphil (Edu)
BS Hon
M.A Edu
M.Ed Special Educagion
PGD (CS)
CCNA
MCSE Microsoft Certified system Engineer
Mikrotik Certified System Engineer
Email-ASSADCHADHAR@GMAIL.COM
#-03127522112
Discrete Structure for
Computer Science
Valid & Invalid Arguments
oArgument is a sequence of statements ending
in a conclusion.
oDetermination of validity of an argument
depends only on the form of an argument, not
on its content.
“If you have a current password, then you can log
onto the network.” p=“You have a current password”
q=“You can log onto the network.” p → q
p
∴ q
where ∴ is the symbol that denotes
“therefore.”
Valid & Invalid Arguments
oAn argument is a sequence of statements, and an
argument form is a sequence of statement
forms(have proposition var.).
o All statements in an argument and all
statement forms in an argument form, except for the
final one, are called premises (or assumptions or
hypotheses).
oThe final statement or statement form is called the
Valid & Invalid Arguments
•oTo say that an argument form is valid
means that no matter what particular
statements are substituted for the statement
variables in its premises, if the resulting
premises are all true, then the conclusion is
also true. Conclusion q is valid, when (p1 ∧ p2
∧ · · · ∧ pn) → q is a tautology.
•oTo say that an argument is valid means
that its form is valid.
Logical Quantifiers and their negation
• There are two ways to quantify a propositional function: universal
quantification and existential quantification. They are written in the
form of “ xp(x)” and “ xp(x)” respectively. To negate a quantified
∀ ∃
statement, change to , and to , and then negate the statement.
∀ ∃ ∃ ∀
• ‫وجودی‬ ‫اور‬ ‫مقدار‬ ‫عالمگیر‬ :‫ہیں‬ ‫طریقے‬ ‫دو‬ ‫کے‬ ‫کرنے‬ ‫درست‬ ‫مقدار‬ ‫کی‬ ‫فعل‬ ‫تجویزی‬
‫بالترتیب‬ ‫وہ‬ ‫مقدار۔‬ "∀xp(x)" ‫اور‬ "∃xp(x)" ‫مقداری‬ ‫ہیں۔‬ ‫جاتے‬ ‫لکھے‬ ‫میں‬ ‫شکل‬ ‫کی‬
‫کریں‬ ‫نفی‬ ‫کی‬ ‫بیان‬ ‫پھر‬ ‫اور‬ ،∀ ‫سے‬ ∃ ‫اور‬ ،∃ ‫کو‬ ∀ ،‫لیے‬ ‫کے‬ ‫کرنے‬ ‫نفی‬ ‫کی‬ ‫بیان‬
Logical Quantifiers and their negation
priority and precedence
Priority and Precedence
Tautologies
• Firstly, here are some examples of tautologies in
mathematics: ( p q ) p is a mathematical
∧ ⇒
statement that will always be true and is,
therefore, a tautology. In words, this says that if
the truth of p and q together is true, then p is true.
• ‫مثالیں‬ ‫کچھ‬ ‫کی‬ ‫ٹیوٹولوجی‬ ‫میں‬ ‫ریاضی‬ ‫یہاں‬ ،‫پہلے‬ ‫سے‬ ‫سب‬
‫ہیں‬: ( p ∧ q ) ⇒ p ‫درست‬ ‫ہمیشہ‬ ‫جو‬ ‫ہے‬ ‫بیان‬ ‫ریاضیاتی‬ ‫ایک‬
‫کہتا‬ ‫یہ‬ ،‫میں‬ ‫الفاظ‬ ‫ہے۔‬ ‫ٹاٹولوجی‬ ‫ایک‬ ‫یہ‬ ‫لیے‬ ‫اس‬ ‫اور‬ ‫گا‬ ‫رہے‬
‫اگر‬ ‫کہ‬ ‫ہے‬ p ‫اور‬ q ‫تو‬ ،‫ہے‬ ‫درست‬ ‫ساتھ‬ ‫ایک‬ ‫سچائی‬ ‫کی‬ p
‫ہے۔‬ ‫درست‬
Contradictions
• In Mathematics, a contradiction occurs when we
get a statement p, such that p is true and its
negation ~p is also true. Now, let us understand
the concept of contradiction with the help of an
example. Consider two statements p and q.
Statement p: x = a/b, where a and b are co-prime
numbers.
• ‫بیان‬ ‫ایک‬ ‫ہمیں‬ ‫جب‬ ‫ہے‬ ‫ہوتا‬ ‫وقت‬ ‫اس‬ ‫تضاد‬ ،‫میں‬ ‫ریاضی‬ p ،‫ہے‬ ‫ملتا‬
‫کہ‬ ‫جیسے‬ p ‫نفی‬ ‫کی‬ ‫اس‬ ‫اور‬ ‫ہے‬ ‫درست‬ ~p ‫ہم‬ ‫اب‬ ‫ہے۔‬ ‫درست‬ ‫بھی‬
‫ہیں۔‬ ‫سمجھتے‬ ‫کو‬ ‫تصور‬ ‫کے‬ ‫تضاد‬ ‫سے‬ ‫مدد‬ ‫کی‬ ‫مثال‬ ‫ایک‬ p ‫اور‬ q ‫پر‬
‫کریں۔‬ ‫غور‬ a
Precedence of Logical Operators
• As in arithmetic, an ordering is imposed on the use of logical
operators in compound propositions
• We will generally use parentheses to specify the order in which
logical operators in a compound proposition are to be applied.
p  q   r  (p)  (q  (r))
• To avoid unnecessary parenthesis, the following precedences hold:
1. Negation ()
2. Conjunction ()
3. Disjunction ()
4. Implication ()
5. Biconditional ()
Logical Equivalences:
• Definition:Compound propositions that have the same truth values
in all possible cases are called logically equivalent.
• Propositions p and q are logically equivalent if p  q is a tautology.
• Informally, p and q are equivalent if whenever p is true, q is true, and vice
versa
• Notation: p  q (p is equivalent to q), p  q, and p  q
• Alert:  is not a logical connective
Logical Equivalences:
• Are the propositions (p  q) and (p  q) logically equivalent?
• To find out, we construct the truth tables for each:
p q pq p pq
0 0
0 1
1 0
1 1
The two columns in the truth table are identical, thus we conclude that
(p  q)  (p  q)
Example
Thank you
Thank you

More Related Content

PPTX
Discrete Math Chapter 1 :The Foundations: Logic and Proofs
PPTX
Logical Statement.pptx
PPTX
PPTX
Abdbfhdkmdmdjfmfkmfmfmfjjfjfjfnfnnfnfnfn
PDF
Mathematics for Computer Engineering
PPT
Best presentation about discrete structure
PPT
Propositional Logic and Pridicate logic
PDF
Math logic student
Discrete Math Chapter 1 :The Foundations: Logic and Proofs
Logical Statement.pptx
Abdbfhdkmdmdjfmfkmfmfmfjjfjfjfnfnnfnfnfn
Mathematics for Computer Engineering
Best presentation about discrete structure
Propositional Logic and Pridicate logic
Math logic student

Similar to 3 Topics ii Valid & Invalid Arguments.pptx.ppt (20)

PPTX
Understanding Logical Equivalence in Discrete Mathematics with Examples
PPT
PDF
Logic parti
PPTX
Discrete structures & optimization unit 1
PPTX
DMS UNIT-1 ppt.pptx
PPT
1019Lec1.ppt
PPT
good teaching skills and other beautiful things
PPT
PPTX
20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptx
PPTX
Unit 1 quantifiers
PDF
slides slides slides slides discrete mat
PDF
Lecture-3-and-4.pdf
PDF
DISMATH_Part1
PPSX
Logical arguments and its computer applications.
PDF
logicproof-141212042039-conversion-gate01.pdf
PPT
Per3 logika&pembuktian
PPT
lectures in prolog in order to advance in artificial intelligence
PPT
Chapter 1: The Foundations: Logic and Proofs
PDF
Computer Science Engineering: Discrete mathematics & graph theory, THE GATE A...
PPT
Introduction to Logic Powerpoint presentation.ppt
Understanding Logical Equivalence in Discrete Mathematics with Examples
Logic parti
Discrete structures & optimization unit 1
DMS UNIT-1 ppt.pptx
1019Lec1.ppt
good teaching skills and other beautiful things
20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptx
Unit 1 quantifiers
slides slides slides slides discrete mat
Lecture-3-and-4.pdf
DISMATH_Part1
Logical arguments and its computer applications.
logicproof-141212042039-conversion-gate01.pdf
Per3 logika&pembuktian
lectures in prolog in order to advance in artificial intelligence
Chapter 1: The Foundations: Logic and Proofs
Computer Science Engineering: Discrete mathematics & graph theory, THE GATE A...
Introduction to Logic Powerpoint presentation.ppt
Ad

More from AssadLeo1 (20)

PPT
Chagal chagal with khatch khatch model with detail
PPT
E commerce busin and some important issues
PPTX
What is SEO in pakistan with main components
PPT
business model and some other things that
PPTX
Software Evolution all in Mehmoona.pptx
PPTX
Behavioral Model with Maniha Butt and many More
PPTX
Software Quality Assurance Qurat ul ain.pptx
PPTX
UML Samra Bs it 4th all about aspire college
PPTX
Process Structure and some other important
PPT
Process importance with full detail about
PPTX
IPM Chapter 1 Complete detail and chapeter
PPTX
Hardware Firewall with all the detail of
PPTX
Law and Order in PK in a country is most important
PPTX
Types of Multipule things and other things
PPTX
Model_of_Heterogeneous_System and other things
PPTX
what a knowledge and other things in this slide
PPTX
full with knowledge and other things with
PPT
that is the most important part of this topic
PPT
Discrete and other examples with great intrest
PPTX
Decoding Insights and some extra examples
Chagal chagal with khatch khatch model with detail
E commerce busin and some important issues
What is SEO in pakistan with main components
business model and some other things that
Software Evolution all in Mehmoona.pptx
Behavioral Model with Maniha Butt and many More
Software Quality Assurance Qurat ul ain.pptx
UML Samra Bs it 4th all about aspire college
Process Structure and some other important
Process importance with full detail about
IPM Chapter 1 Complete detail and chapeter
Hardware Firewall with all the detail of
Law and Order in PK in a country is most important
Types of Multipule things and other things
Model_of_Heterogeneous_System and other things
what a knowledge and other things in this slide
full with knowledge and other things with
that is the most important part of this topic
Discrete and other examples with great intrest
Decoding Insights and some extra examples
Ad

Recently uploaded (20)

PPTX
chapter 3_bem.pptxKLJLKJLKJLKJKJKLJKJKJKHJH
PPT
notes_Lecture2 23l3j2 dfjl dfdlkj d 2.ppt
PPTX
Slideham presentation for the students a
PPT
2- CELL INJURY L1 Medical (2) gggggggggg
PPT
Gsisgdkddkvdgjsjdvdbdbdbdghjkhgcvvkkfcxxfg
PPTX
ESD MODULE-5hdbdhbdbdbdbbdbdbbdndbdbdbdbbdbd
PPTX
_Dispute Resolution_July 2022.pptxmhhghhhh
PPTX
cse couse aefrfrqewrbqwrgbqgvq2w3vqbvq23rbgw3rnw345
PDF
Entrepreneurship PowerPoint for students
PPTX
Definition and Relation of Food Science( Lecture1).pptx
PDF
APNCET2025RESULT Result Result 2025 2025
PDF
L-0018048598visual cloud book for PCa-pdf.pdf
PDF
Manager Resume for R, CL & Applying Online.pdf
PDF
Josh Gao Strength to Strength Book Summary
PPTX
PMP (Project Management Professional) course prepares individuals
DOCX
mcsp232projectguidelinesjan2023 (1).docx
PPTX
FINAL PPT.pptx cfyufuyfuyuy8ioyoiuvy ituyc utdfm v
PPTX
Your Guide to a Winning Interview Aug 2025.
PPTX
Sports and Dance -lesson 3 powerpoint presentation
PPTX
Surgical thesis protocol formation ppt.pptx
chapter 3_bem.pptxKLJLKJLKJLKJKJKLJKJKJKHJH
notes_Lecture2 23l3j2 dfjl dfdlkj d 2.ppt
Slideham presentation for the students a
2- CELL INJURY L1 Medical (2) gggggggggg
Gsisgdkddkvdgjsjdvdbdbdbdghjkhgcvvkkfcxxfg
ESD MODULE-5hdbdhbdbdbdbbdbdbbdndbdbdbdbbdbd
_Dispute Resolution_July 2022.pptxmhhghhhh
cse couse aefrfrqewrbqwrgbqgvq2w3vqbvq23rbgw3rnw345
Entrepreneurship PowerPoint for students
Definition and Relation of Food Science( Lecture1).pptx
APNCET2025RESULT Result Result 2025 2025
L-0018048598visual cloud book for PCa-pdf.pdf
Manager Resume for R, CL & Applying Online.pdf
Josh Gao Strength to Strength Book Summary
PMP (Project Management Professional) course prepares individuals
mcsp232projectguidelinesjan2023 (1).docx
FINAL PPT.pptx cfyufuyfuyuy8ioyoiuvy ituyc utdfm v
Your Guide to a Winning Interview Aug 2025.
Sports and Dance -lesson 3 powerpoint presentation
Surgical thesis protocol formation ppt.pptx

3 Topics ii Valid & Invalid Arguments.pptx.ppt

  • 1. Valid & Invalid Arguments Logical Quantifiers and their negation Priority and Precedence Tautologies Contradictions By Prof. Najam Mphil (Edu) BS Hon M.A Edu M.Ed Special Educagion PGD (CS) CCNA MCSE Microsoft Certified system Engineer Mikrotik Certified System Engineer Email-ASSADCHADHAR@GMAIL.COM #-03127522112 Discrete Structure for Computer Science
  • 2. Valid & Invalid Arguments oArgument is a sequence of statements ending in a conclusion. oDetermination of validity of an argument depends only on the form of an argument, not on its content. “If you have a current password, then you can log onto the network.” p=“You have a current password” q=“You can log onto the network.” p → q p ∴ q where ∴ is the symbol that denotes “therefore.”
  • 3. Valid & Invalid Arguments oAn argument is a sequence of statements, and an argument form is a sequence of statement forms(have proposition var.). o All statements in an argument and all statement forms in an argument form, except for the final one, are called premises (or assumptions or hypotheses). oThe final statement or statement form is called the
  • 4. Valid & Invalid Arguments •oTo say that an argument form is valid means that no matter what particular statements are substituted for the statement variables in its premises, if the resulting premises are all true, then the conclusion is also true. Conclusion q is valid, when (p1 ∧ p2 ∧ · · · ∧ pn) → q is a tautology. •oTo say that an argument is valid means that its form is valid.
  • 5. Logical Quantifiers and their negation • There are two ways to quantify a propositional function: universal quantification and existential quantification. They are written in the form of “ xp(x)” and “ xp(x)” respectively. To negate a quantified ∀ ∃ statement, change to , and to , and then negate the statement. ∀ ∃ ∃ ∀ • ‫وجودی‬ ‫اور‬ ‫مقدار‬ ‫عالمگیر‬ :‫ہیں‬ ‫طریقے‬ ‫دو‬ ‫کے‬ ‫کرنے‬ ‫درست‬ ‫مقدار‬ ‫کی‬ ‫فعل‬ ‫تجویزی‬ ‫بالترتیب‬ ‫وہ‬ ‫مقدار۔‬ "∀xp(x)" ‫اور‬ "∃xp(x)" ‫مقداری‬ ‫ہیں۔‬ ‫جاتے‬ ‫لکھے‬ ‫میں‬ ‫شکل‬ ‫کی‬ ‫کریں‬ ‫نفی‬ ‫کی‬ ‫بیان‬ ‫پھر‬ ‫اور‬ ،∀ ‫سے‬ ∃ ‫اور‬ ،∃ ‫کو‬ ∀ ،‫لیے‬ ‫کے‬ ‫کرنے‬ ‫نفی‬ ‫کی‬ ‫بیان‬ Logical Quantifiers and their negation
  • 7. Tautologies • Firstly, here are some examples of tautologies in mathematics: ( p q ) p is a mathematical ∧ ⇒ statement that will always be true and is, therefore, a tautology. In words, this says that if the truth of p and q together is true, then p is true. • ‫مثالیں‬ ‫کچھ‬ ‫کی‬ ‫ٹیوٹولوجی‬ ‫میں‬ ‫ریاضی‬ ‫یہاں‬ ،‫پہلے‬ ‫سے‬ ‫سب‬ ‫ہیں‬: ( p ∧ q ) ⇒ p ‫درست‬ ‫ہمیشہ‬ ‫جو‬ ‫ہے‬ ‫بیان‬ ‫ریاضیاتی‬ ‫ایک‬ ‫کہتا‬ ‫یہ‬ ،‫میں‬ ‫الفاظ‬ ‫ہے۔‬ ‫ٹاٹولوجی‬ ‫ایک‬ ‫یہ‬ ‫لیے‬ ‫اس‬ ‫اور‬ ‫گا‬ ‫رہے‬ ‫اگر‬ ‫کہ‬ ‫ہے‬ p ‫اور‬ q ‫تو‬ ،‫ہے‬ ‫درست‬ ‫ساتھ‬ ‫ایک‬ ‫سچائی‬ ‫کی‬ p ‫ہے۔‬ ‫درست‬
  • 8. Contradictions • In Mathematics, a contradiction occurs when we get a statement p, such that p is true and its negation ~p is also true. Now, let us understand the concept of contradiction with the help of an example. Consider two statements p and q. Statement p: x = a/b, where a and b are co-prime numbers. • ‫بیان‬ ‫ایک‬ ‫ہمیں‬ ‫جب‬ ‫ہے‬ ‫ہوتا‬ ‫وقت‬ ‫اس‬ ‫تضاد‬ ،‫میں‬ ‫ریاضی‬ p ،‫ہے‬ ‫ملتا‬ ‫کہ‬ ‫جیسے‬ p ‫نفی‬ ‫کی‬ ‫اس‬ ‫اور‬ ‫ہے‬ ‫درست‬ ~p ‫ہم‬ ‫اب‬ ‫ہے۔‬ ‫درست‬ ‫بھی‬ ‫ہیں۔‬ ‫سمجھتے‬ ‫کو‬ ‫تصور‬ ‫کے‬ ‫تضاد‬ ‫سے‬ ‫مدد‬ ‫کی‬ ‫مثال‬ ‫ایک‬ p ‫اور‬ q ‫پر‬ ‫کریں۔‬ ‫غور‬ a
  • 9. Precedence of Logical Operators • As in arithmetic, an ordering is imposed on the use of logical operators in compound propositions • We will generally use parentheses to specify the order in which logical operators in a compound proposition are to be applied. p  q   r  (p)  (q  (r)) • To avoid unnecessary parenthesis, the following precedences hold: 1. Negation () 2. Conjunction () 3. Disjunction () 4. Implication () 5. Biconditional ()
  • 10. Logical Equivalences: • Definition:Compound propositions that have the same truth values in all possible cases are called logically equivalent. • Propositions p and q are logically equivalent if p  q is a tautology. • Informally, p and q are equivalent if whenever p is true, q is true, and vice versa • Notation: p  q (p is equivalent to q), p  q, and p  q • Alert:  is not a logical connective
  • 11. Logical Equivalences: • Are the propositions (p  q) and (p  q) logically equivalent? • To find out, we construct the truth tables for each: p q pq p pq 0 0 0 1 1 0 1 1 The two columns in the truth table are identical, thus we conclude that (p  q)  (p  q) Example