SlideShare une entreprise Scribd logo
1  sur  19
Universal Quantification
oTo change predicates into statements is to assign specific
values to all their variables.
if x represents the number 35, the sentence “x is divisible by
5” is a true statement since 35 = 5· 7.
oAnother way is to add quantifiers.
Quantifiers are words that refer to quantities such as "some"
or "all" and tell for how many elements a given predicate is
true.
Universal Quantification
oLet P(x) be a predicate (propositional function).
oUniversally quantified sentence:
For all x in the universe of discourse P(x) is true.
oUsing the universal quantifier  :
"  x ϵ D,Q(x).“ universal statement
It is defined to be true if, and only if, Q(x) is true for every x in D.
It is defined to be false if, and only if, Q(x) is false for at least one x
in D.
A value for x for which Q(x) is false is called a counterexample to
the universal statement.
Universal Quantification
oWhen all the elements in the universe of discourse can be listed
—say x1, x2, ..., xn — it follows that the universal quantification
o ∀x P(x) is the same as the conjunction
P(x1) ∧ P(x2) ∧ · · · ∧ P(xn)
o because this conjunction is true if and only if P(x1), P(x2), ...,P(xn)
are all true.
oExample: Let the universe of discourse be U = {1,2,3}. Then
o ∀x P(x) ≡ P(1)∧ P(2)∧ P(3).
Truth and Falsity of Universal Statements
Sentence:
o All UAJ&K students are smart.
oAssume: the domain of discourse of x are UAJ&K students
oTranslation:
∀ x Smart(x)
oAssume: the universe of discourse are students (all students):
∀ x at(x, UAJ&K)  Smart(x)
oAssume: the universe of discourse are people:
∀ x student(x) Λ at(x, UAJ&K)  Smart(x)
Truth and Falsity of Universal Statements
oLet D = {1, 2, 3, 4, 5}, and consider the statement
∀x ∈ D, x2 ≥ x.
Show that this statement is true.
Check that “x2 ≥ x” is true for each individual x in D.
12 ≥ 1, 22 ≥ 2, 32 ≥ 3, 42 ≥ 4, 52 ≥ 5.
Hence “∀x ∈ D, x2 ≥ x” is true.
The Existential Quantifier: ∃
oThe symbol ∃ denotes “there exists” and is called the
existential quantifier.
o“There is a student in Math 140” can be written as
∃ a person p such that p is a student in Math 140,
or, more formally,
∃p ∈ P such that p is a student in Math 140,
where P is the set of all people.
oAt least one member of the group satisfy the property
The Existential Quantifier: ∃
oLet Q(x) be a predicate and D the domain of x. An existential
statement is a statement of the form “∃x ∈ D such that Q(x).” It
is defined to be true if, and only if, Q(x) is true for at least one x
in D. It is false if, and only if, Q(x) is false for all
ox in D:
o Let T(x) denote x > 5 and x is from Real numbers.
o What is the truth value of ∃ x T(x)?
o Answer:
o Since 10 > 5 is true. Therefore, it is true that ∃ x T(x).
The Existential Quantifier: ∃
oConsider the statement
∃m ∈ Z+ such that m2 = m.
Show that this statement is true.
Observe that 12 = 1. Thus “m2 = m” is true for at least one integer m.
Hence “∃m ∈ Z
such that m2 = m” is true.
The Existential Quantifier: ∃
oAssume two predicates S(x) and P(x)
oUniversal statements typically tie with implications
o All S(x) is P(x)
∀x ( S(x)  P(x) )
o No S(x) is P(x)
∀x( S(x)  ¬P(x) )
oExistential statements typically tie with conjunctions
o Some S(x) is P(x)
∃x (S(x)  P(x) )
o Some S(x) is not P(x)
∃x (S(x)  ¬P(x) )
Quantifiers:Example
oThere exist an x such that x is black
o∃xb(x) where b(x):x is black.
o|x|=
𝑥 𝑖𝑓 𝑥 ≥ 0
−𝑥 𝑖𝑓 𝑥 < 0
1. (∀x)(x2 ≥0) 2. (∀x)(|x| >0)
Nested quantifiers
oMore than one quantifier may be necessary to capture the
meaning of a statement in the predicate logic.
oExample:
Every real number has its corresponding negative.
Translation:
Assume:
a real number is denoted as x and its negative as y
A predicate P(x,y) denotes: “x + y =0”
Then we can write:
(∀x)(∃y)P(x,y)
Nested quantifiers
oTranslate the following English sentence into logical expression
“There is a rational number in between every pair of distinct
rational numbers”
Use predicate Q(x), which is true when x is a rational number
x,y (Q(x)  Q (y)  (x < y)  u (Q(u)  (x < u)  (u <
y)))
Understanding Multiply Quantifiers
A college cafeteria line has four stations: salads, main courses, desserts, and
beverages.
1. The salad station offers a choice of green salad or fruit salad.
2. The main course station offers spaghetti or fish;
3. The dessert station offers pie or cake;
4. The beverage station offers milk, soda, or coffee.
Three students, Uta, Tim, and Yuen, go through the line and make the following
choices:
o Uta: green salad, spaghetti, pie, milk
o Tim: fruit salad, fish, pie, cake, milk, coffee
o Yuen: spaghetti, fish, pie, soda
Understanding Multiply Quantifiers
a) ∃ an item I such that ∀
students S, S chose I .
b) ∃ a student S such that ∀
items I, S chose I .
c) ∃ a student S such that ∀
stations Z, ∃ an item I in Z
such that S chose I .
d) ∀ students S and ∀
stations Z, ∃ an item I in Z
such that S chose I .
Understanding Multiply Quantifiers
a) ∃ an item I such that ∀ students
S, S chose I .
b) ∃ a student S such that ∀ items
I, S chose I .
c) ∃ a student S such that ∀
stations Z, ∃ an item I in Z such
that S chose I .
d) ∀ students S and ∀ stations Z, ∃
an item I in Z such that S chose I
.
a) There is an item that was chosen
by every student. This is true;
every student chose pie.
b) There is a student who chose
every available item. This is
false; no student chose all nine
items.
c) There is a student who chose at
least one item from every
station. This is true; both Uta
and Tim chose at least one item
from every station.
d) Every student chose at least one
item from every station. This is
false; Yuen did not choose a
salad.
Order of quantifiers
oThe order of nested quantifiers matters if quantifiers are of
different type
1. ∀ people x, ∃ a person y such that x cares y.
2. ∃ a person y such that ∀ people x, x cares y.
o∀ x ∃ y C(x,y) is not the same as ∃y ∀ x C(x,y)
1. Given any person, it is possible to find someone whom that person cares,
2. whereas the second means that there is one amazing individual who is cared
by all people.
oIf one quantifier immediately follows another quantifier of the
same type, then the order of the quantifiers does not affect the
meaning.
Order of quantifiers
oLet Q(x, y, z) be the predicate:“x + y = z.”
o∀x ∀y ∃z Q(x, y, z) True
“For all real numbers x and for all real numbers y there is a real number
z such that x + y = z,”
o∃z ∀x ∀y Q(x, y, z) False
“There is a real number z such that for all real numbers x and for all real
numbers y it is true that x + y = z,”
because there is no value of z that satisfies the equation x + y = z for all
values of x and y.
Home Work

Contenu connexe

Tendances

Math induction principle (slides)
Math induction principle (slides)Math induction principle (slides)
Math induction principle (slides)IIUM
 
Logic (slides)
Logic (slides)Logic (slides)
Logic (slides)IIUM
 
Translating English to Propositional Logic
Translating English to Propositional LogicTranslating English to Propositional Logic
Translating English to Propositional LogicJanet Stemwedel
 
Lec 01 proposition (Discrete Mathematics)
Lec 01   proposition (Discrete Mathematics)Lec 01   proposition (Discrete Mathematics)
Lec 01 proposition (Discrete Mathematics)Naosher Md. Zakariyar
 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical inductionKriti Varshney
 
Arguments and methods of proof
Arguments and methods of proofArguments and methods of proof
Arguments and methods of proofRobert Geofroy
 
number theory.ppt
number theory.pptnumber theory.ppt
number theory.pptShishu
 
Number theory
Number theory Number theory
Number theory tes31
 
Permutation and combination
Permutation and combinationPermutation and combination
Permutation and combinationSadia Zareen
 
Lesson 6: Informal Logic
Lesson 6: Informal LogicLesson 6: Informal Logic
Lesson 6: Informal Logicbsimoneaux
 
PROBABILITY
PROBABILITYPROBABILITY
PROBABILITYVIV13
 
Basic concept of probability
Basic concept of probabilityBasic concept of probability
Basic concept of probabilityIkhlas Rahman
 
introduction to probability
introduction to probabilityintroduction to probability
introduction to probabilitylovemucheca
 
Linear Congruences, reduced residue systems.pptx
Linear Congruences, reduced residue systems.pptxLinear Congruences, reduced residue systems.pptx
Linear Congruences, reduced residue systems.pptxKuparala Vidyasagar
 
Applications of Integrations
Applications of IntegrationsApplications of Integrations
Applications of Integrationsitutor
 
Mathematical Induction
Mathematical InductionMathematical Induction
Mathematical InductionEdelyn Cagas
 
Complex Numbers
Complex NumbersComplex Numbers
Complex Numbersitutor
 

Tendances (20)

Math induction principle (slides)
Math induction principle (slides)Math induction principle (slides)
Math induction principle (slides)
 
Logic (slides)
Logic (slides)Logic (slides)
Logic (slides)
 
Translating English to Propositional Logic
Translating English to Propositional LogicTranslating English to Propositional Logic
Translating English to Propositional Logic
 
Lec 01 proposition (Discrete Mathematics)
Lec 01   proposition (Discrete Mathematics)Lec 01   proposition (Discrete Mathematics)
Lec 01 proposition (Discrete Mathematics)
 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical induction
 
Arguments and methods of proof
Arguments and methods of proofArguments and methods of proof
Arguments and methods of proof
 
number theory.ppt
number theory.pptnumber theory.ppt
number theory.ppt
 
Number theory
Number theory Number theory
Number theory
 
Permutation and combination
Permutation and combinationPermutation and combination
Permutation and combination
 
Lesson 6: Informal Logic
Lesson 6: Informal LogicLesson 6: Informal Logic
Lesson 6: Informal Logic
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
PROBABILITY
PROBABILITYPROBABILITY
PROBABILITY
 
Basic concept of probability
Basic concept of probabilityBasic concept of probability
Basic concept of probability
 
Limits and derivatives
Limits and derivativesLimits and derivatives
Limits and derivatives
 
introduction to probability
introduction to probabilityintroduction to probability
introduction to probability
 
Linear Congruences, reduced residue systems.pptx
Linear Congruences, reduced residue systems.pptxLinear Congruences, reduced residue systems.pptx
Linear Congruences, reduced residue systems.pptx
 
Applications of Integrations
Applications of IntegrationsApplications of Integrations
Applications of Integrations
 
Mathematical Induction
Mathematical InductionMathematical Induction
Mathematical Induction
 
Complex Numbers
Complex NumbersComplex Numbers
Complex Numbers
 
Combinations
CombinationsCombinations
Combinations
 

Similaire à Quantification

Lecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inferenceLecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inferenceasimnawaz54
 
1606751772-ds-lecture-6.ppt
1606751772-ds-lecture-6.ppt1606751772-ds-lecture-6.ppt
1606751772-ds-lecture-6.pptTejasAditya2
 
Discreate structure presentation introduction
Discreate structure presentation introductionDiscreate structure presentation introduction
Discreate structure presentation introductionyashirraza123
 
Chapter 01 - p2.pdf
Chapter 01 - p2.pdfChapter 01 - p2.pdf
Chapter 01 - p2.pdfsmarwaneid
 
Discrete Structure Lecture #5 & 6.pdf
Discrete Structure Lecture #5 & 6.pdfDiscrete Structure Lecture #5 & 6.pdf
Discrete Structure Lecture #5 & 6.pdfMuhammadUmerIhtisham
 
Unit 1 quantifiers
Unit 1  quantifiersUnit 1  quantifiers
Unit 1 quantifiersraksharao
 
Nested Quantifiers.pptx
Nested Quantifiers.pptxNested Quantifiers.pptx
Nested Quantifiers.pptxJeevan225779
 
Quantifiers and its Types
Quantifiers and its TypesQuantifiers and its Types
Quantifiers and its TypesHumayunNaseer4
 
CMSC 56 | Lecture 3: Predicates & Quantifiers
CMSC 56 | Lecture 3: Predicates & QuantifiersCMSC 56 | Lecture 3: Predicates & Quantifiers
CMSC 56 | Lecture 3: Predicates & Quantifiersallyn joy calcaben
 
Lecture 3 qualtifed rules of inference
Lecture 3 qualtifed rules of inferenceLecture 3 qualtifed rules of inference
Lecture 3 qualtifed rules of inferenceasimnawaz54
 

Similaire à Quantification (20)

Formal Logic - Lesson 8 - Predicates and Quantifiers
Formal Logic - Lesson 8 - Predicates and QuantifiersFormal Logic - Lesson 8 - Predicates and Quantifiers
Formal Logic - Lesson 8 - Predicates and Quantifiers
 
Lecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inferenceLecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inference
 
1606751772-ds-lecture-6.ppt
1606751772-ds-lecture-6.ppt1606751772-ds-lecture-6.ppt
1606751772-ds-lecture-6.ppt
 
Discreate structure presentation introduction
Discreate structure presentation introductionDiscreate structure presentation introduction
Discreate structure presentation introduction
 
Chapter 01 - p2.pdf
Chapter 01 - p2.pdfChapter 01 - p2.pdf
Chapter 01 - p2.pdf
 
Per3 logika
Per3 logikaPer3 logika
Per3 logika
 
X02PredCalculus.ppt
X02PredCalculus.pptX02PredCalculus.ppt
X02PredCalculus.ppt
 
Discrete Structure Lecture #5 & 6.pdf
Discrete Structure Lecture #5 & 6.pdfDiscrete Structure Lecture #5 & 6.pdf
Discrete Structure Lecture #5 & 6.pdf
 
Unit 1 quantifiers
Unit 1  quantifiersUnit 1  quantifiers
Unit 1 quantifiers
 
Nested Quantifiers.pptx
Nested Quantifiers.pptxNested Quantifiers.pptx
Nested Quantifiers.pptx
 
Course notes2summer2012
Course notes2summer2012Course notes2summer2012
Course notes2summer2012
 
Quantifiers and its Types
Quantifiers and its TypesQuantifiers and its Types
Quantifiers and its Types
 
CMSC 56 | Lecture 3: Predicates & Quantifiers
CMSC 56 | Lecture 3: Predicates & QuantifiersCMSC 56 | Lecture 3: Predicates & Quantifiers
CMSC 56 | Lecture 3: Predicates & Quantifiers
 
Logic
LogicLogic
Logic
 
3 fol examples v2
3 fol examples v23 fol examples v2
3 fol examples v2
 
PredicateLogic (1).ppt
PredicateLogic (1).pptPredicateLogic (1).ppt
PredicateLogic (1).ppt
 
PredicateLogic.pptx
PredicateLogic.pptxPredicateLogic.pptx
PredicateLogic.pptx
 
Ch5
Ch5Ch5
Ch5
 
Predicates Logic.pptx
Predicates Logic.pptxPredicates Logic.pptx
Predicates Logic.pptx
 
Lecture 3 qualtifed rules of inference
Lecture 3 qualtifed rules of inferenceLecture 3 qualtifed rules of inference
Lecture 3 qualtifed rules of inference
 

Plus de Abdur Rehman

Financial accounting
Financial accountingFinancial accounting
Financial accountingAbdur Rehman
 
Valid &amp; invalid arguments
Valid &amp; invalid argumentsValid &amp; invalid arguments
Valid &amp; invalid argumentsAbdur Rehman
 
Proving existential statements
Proving existential statementsProving existential statements
Proving existential statementsAbdur Rehman
 
Method of direct proof
Method of direct proofMethod of direct proof
Method of direct proofAbdur Rehman
 
Proofs by contraposition
Proofs by contrapositionProofs by contraposition
Proofs by contrapositionAbdur Rehman
 
Converse, contrapositive, inverse
Converse, contrapositive, inverseConverse, contrapositive, inverse
Converse, contrapositive, inverseAbdur Rehman
 
Constructing circuits for boolean expressions(gate)
Constructing circuits for boolean expressions(gate)Constructing circuits for boolean expressions(gate)
Constructing circuits for boolean expressions(gate)Abdur Rehman
 
Application of bases
Application of basesApplication of bases
Application of basesAbdur Rehman
 
Intro to disceret structure
Intro to disceret structureIntro to disceret structure
Intro to disceret structureAbdur Rehman
 
logic, preposition etc
logic, preposition etclogic, preposition etc
logic, preposition etcAbdur Rehman
 

Plus de Abdur Rehman (18)

Financial accounting
Financial accountingFinancial accounting
Financial accounting
 
Dscrete structure
Dscrete  structureDscrete  structure
Dscrete structure
 
Valid &amp; invalid arguments
Valid &amp; invalid argumentsValid &amp; invalid arguments
Valid &amp; invalid arguments
 
Sets
SetsSets
Sets
 
Sequences
SequencesSequences
Sequences
 
Recursion
RecursionRecursion
Recursion
 
Queue
QueueQueue
Queue
 
Proving existential statements
Proving existential statementsProving existential statements
Proving existential statements
 
Method of direct proof
Method of direct proofMethod of direct proof
Method of direct proof
 
Proofs by contraposition
Proofs by contrapositionProofs by contraposition
Proofs by contraposition
 
Laws in disceret
Laws in disceretLaws in disceret
Laws in disceret
 
Converse, contrapositive, inverse
Converse, contrapositive, inverseConverse, contrapositive, inverse
Converse, contrapositive, inverse
 
Constructing circuits for boolean expressions(gate)
Constructing circuits for boolean expressions(gate)Constructing circuits for boolean expressions(gate)
Constructing circuits for boolean expressions(gate)
 
Application of bases
Application of basesApplication of bases
Application of bases
 
Truth table
Truth tableTruth table
Truth table
 
Intro to disceret structure
Intro to disceret structureIntro to disceret structure
Intro to disceret structure
 
Dst lec3
Dst lec3Dst lec3
Dst lec3
 
logic, preposition etc
logic, preposition etclogic, preposition etc
logic, preposition etc
 

Dernier

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxAmita Gupta
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 

Dernier (20)

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 

Quantification

  • 1.
  • 2. Universal Quantification oTo change predicates into statements is to assign specific values to all their variables. if x represents the number 35, the sentence “x is divisible by 5” is a true statement since 35 = 5· 7. oAnother way is to add quantifiers. Quantifiers are words that refer to quantities such as "some" or "all" and tell for how many elements a given predicate is true.
  • 3. Universal Quantification oLet P(x) be a predicate (propositional function). oUniversally quantified sentence: For all x in the universe of discourse P(x) is true. oUsing the universal quantifier  : "  x ϵ D,Q(x).“ universal statement It is defined to be true if, and only if, Q(x) is true for every x in D. It is defined to be false if, and only if, Q(x) is false for at least one x in D. A value for x for which Q(x) is false is called a counterexample to the universal statement.
  • 4. Universal Quantification oWhen all the elements in the universe of discourse can be listed —say x1, x2, ..., xn — it follows that the universal quantification o ∀x P(x) is the same as the conjunction P(x1) ∧ P(x2) ∧ · · · ∧ P(xn) o because this conjunction is true if and only if P(x1), P(x2), ...,P(xn) are all true. oExample: Let the universe of discourse be U = {1,2,3}. Then o ∀x P(x) ≡ P(1)∧ P(2)∧ P(3).
  • 5. Truth and Falsity of Universal Statements Sentence: o All UAJ&K students are smart. oAssume: the domain of discourse of x are UAJ&K students oTranslation: ∀ x Smart(x) oAssume: the universe of discourse are students (all students): ∀ x at(x, UAJ&K)  Smart(x) oAssume: the universe of discourse are people: ∀ x student(x) Λ at(x, UAJ&K)  Smart(x)
  • 6. Truth and Falsity of Universal Statements oLet D = {1, 2, 3, 4, 5}, and consider the statement ∀x ∈ D, x2 ≥ x. Show that this statement is true. Check that “x2 ≥ x” is true for each individual x in D. 12 ≥ 1, 22 ≥ 2, 32 ≥ 3, 42 ≥ 4, 52 ≥ 5. Hence “∀x ∈ D, x2 ≥ x” is true.
  • 7. The Existential Quantifier: ∃ oThe symbol ∃ denotes “there exists” and is called the existential quantifier. o“There is a student in Math 140” can be written as ∃ a person p such that p is a student in Math 140, or, more formally, ∃p ∈ P such that p is a student in Math 140, where P is the set of all people. oAt least one member of the group satisfy the property
  • 8. The Existential Quantifier: ∃ oLet Q(x) be a predicate and D the domain of x. An existential statement is a statement of the form “∃x ∈ D such that Q(x).” It is defined to be true if, and only if, Q(x) is true for at least one x in D. It is false if, and only if, Q(x) is false for all ox in D: o Let T(x) denote x > 5 and x is from Real numbers. o What is the truth value of ∃ x T(x)? o Answer: o Since 10 > 5 is true. Therefore, it is true that ∃ x T(x).
  • 9. The Existential Quantifier: ∃ oConsider the statement ∃m ∈ Z+ such that m2 = m. Show that this statement is true. Observe that 12 = 1. Thus “m2 = m” is true for at least one integer m. Hence “∃m ∈ Z such that m2 = m” is true.
  • 10. The Existential Quantifier: ∃ oAssume two predicates S(x) and P(x) oUniversal statements typically tie with implications o All S(x) is P(x) ∀x ( S(x)  P(x) ) o No S(x) is P(x) ∀x( S(x)  ¬P(x) ) oExistential statements typically tie with conjunctions o Some S(x) is P(x) ∃x (S(x)  P(x) ) o Some S(x) is not P(x) ∃x (S(x)  ¬P(x) )
  • 11. Quantifiers:Example oThere exist an x such that x is black o∃xb(x) where b(x):x is black. o|x|= 𝑥 𝑖𝑓 𝑥 ≥ 0 −𝑥 𝑖𝑓 𝑥 < 0 1. (∀x)(x2 ≥0) 2. (∀x)(|x| >0)
  • 12. Nested quantifiers oMore than one quantifier may be necessary to capture the meaning of a statement in the predicate logic. oExample: Every real number has its corresponding negative. Translation: Assume: a real number is denoted as x and its negative as y A predicate P(x,y) denotes: “x + y =0” Then we can write: (∀x)(∃y)P(x,y)
  • 13. Nested quantifiers oTranslate the following English sentence into logical expression “There is a rational number in between every pair of distinct rational numbers” Use predicate Q(x), which is true when x is a rational number x,y (Q(x)  Q (y)  (x < y)  u (Q(u)  (x < u)  (u < y)))
  • 14. Understanding Multiply Quantifiers A college cafeteria line has four stations: salads, main courses, desserts, and beverages. 1. The salad station offers a choice of green salad or fruit salad. 2. The main course station offers spaghetti or fish; 3. The dessert station offers pie or cake; 4. The beverage station offers milk, soda, or coffee. Three students, Uta, Tim, and Yuen, go through the line and make the following choices: o Uta: green salad, spaghetti, pie, milk o Tim: fruit salad, fish, pie, cake, milk, coffee o Yuen: spaghetti, fish, pie, soda
  • 15. Understanding Multiply Quantifiers a) ∃ an item I such that ∀ students S, S chose I . b) ∃ a student S such that ∀ items I, S chose I . c) ∃ a student S such that ∀ stations Z, ∃ an item I in Z such that S chose I . d) ∀ students S and ∀ stations Z, ∃ an item I in Z such that S chose I .
  • 16. Understanding Multiply Quantifiers a) ∃ an item I such that ∀ students S, S chose I . b) ∃ a student S such that ∀ items I, S chose I . c) ∃ a student S such that ∀ stations Z, ∃ an item I in Z such that S chose I . d) ∀ students S and ∀ stations Z, ∃ an item I in Z such that S chose I . a) There is an item that was chosen by every student. This is true; every student chose pie. b) There is a student who chose every available item. This is false; no student chose all nine items. c) There is a student who chose at least one item from every station. This is true; both Uta and Tim chose at least one item from every station. d) Every student chose at least one item from every station. This is false; Yuen did not choose a salad.
  • 17. Order of quantifiers oThe order of nested quantifiers matters if quantifiers are of different type 1. ∀ people x, ∃ a person y such that x cares y. 2. ∃ a person y such that ∀ people x, x cares y. o∀ x ∃ y C(x,y) is not the same as ∃y ∀ x C(x,y) 1. Given any person, it is possible to find someone whom that person cares, 2. whereas the second means that there is one amazing individual who is cared by all people. oIf one quantifier immediately follows another quantifier of the same type, then the order of the quantifiers does not affect the meaning.
  • 18. Order of quantifiers oLet Q(x, y, z) be the predicate:“x + y = z.” o∀x ∀y ∃z Q(x, y, z) True “For all real numbers x and for all real numbers y there is a real number z such that x + y = z,” o∃z ∀x ∀y Q(x, y, z) False “There is a real number z such that for all real numbers x and for all real numbers y it is true that x + y = z,” because there is no value of z that satisfies the equation x + y = z for all values of x and y.