SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

La actualidad más candente

Rules of inference
Rules of inferenceRules of inference
Rules of inferenceLakshmi R
 
Application of Integrals
Application of IntegralsApplication of Integrals
Application of Integralssarcia
 
Indefinite Integral
Indefinite IntegralIndefinite Integral
Indefinite IntegralJelaiAujero
 
Predicates and Quantifiers
Predicates and Quantifiers Predicates and Quantifiers
Predicates and Quantifiers Istiak Ahmed
 
Method of direct proof
Method of direct proofMethod of direct proof
Method of direct proofAbdur Rehman
 
Mathematical Induction
Mathematical InductionMathematical Induction
Mathematical InductionEdelyn Cagas
 
mathematical functions
mathematical functions mathematical functions
mathematical functions Anshul gour
 
Differential calculus
Differential calculusDifferential calculus
Differential calculusShubham .
 
Functions and graphs
Functions and graphsFunctions and graphs
Functions and graphsSujata Tapare
 
Predicates and Quantifiers
Predicates and QuantifiersPredicates and Quantifiers
Predicates and Quantifiersblaircomp2003
 
Relations & Functions
Relations & FunctionsRelations & Functions
Relations & FunctionsJ Edwards
 
Different types of functions
Different types of functionsDifferent types of functions
Different types of functionsKatrina Young
 
Derivatives and their Applications
Derivatives and their ApplicationsDerivatives and their Applications
Derivatives and their Applicationsusmancp2611
 
Discrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional LogicDiscrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional LogicIT Engineering Department
 
5.1 anti derivatives
5.1 anti derivatives5.1 anti derivatives
5.1 anti derivativesmath265
 
Vector calculus
Vector calculusVector calculus
Vector calculusraghu ram
 
Variables & Expressions
Variables & ExpressionsVariables & Expressions
Variables & Expressionsrfant
 

La actualidad más candente (20)

Rules of inference
Rules of inferenceRules of inference
Rules of inference
 
Application of Integrals
Application of IntegralsApplication of Integrals
Application of Integrals
 
Indefinite Integral
Indefinite IntegralIndefinite Integral
Indefinite Integral
 
Calculus
CalculusCalculus
Calculus
 
Predicates and Quantifiers
Predicates and Quantifiers Predicates and Quantifiers
Predicates and Quantifiers
 
Method of direct proof
Method of direct proofMethod of direct proof
Method of direct proof
 
Mathematical Induction
Mathematical InductionMathematical Induction
Mathematical Induction
 
mathematical functions
mathematical functions mathematical functions
mathematical functions
 
Differential calculus
Differential calculusDifferential calculus
Differential calculus
 
Functions and graphs
Functions and graphsFunctions and graphs
Functions and graphs
 
Predicates and Quantifiers
Predicates and QuantifiersPredicates and Quantifiers
Predicates and Quantifiers
 
Relations & Functions
Relations & FunctionsRelations & Functions
Relations & Functions
 
real numbers
real numbersreal numbers
real numbers
 
Different types of functions
Different types of functionsDifferent types of functions
Different types of functions
 
derivatives math
derivatives mathderivatives math
derivatives math
 
Derivatives and their Applications
Derivatives and their ApplicationsDerivatives and their Applications
Derivatives and their Applications
 
Discrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional LogicDiscrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional Logic
 
5.1 anti derivatives
5.1 anti derivatives5.1 anti derivatives
5.1 anti derivatives
 
Vector calculus
Vector calculusVector calculus
Vector calculus
 
Variables & Expressions
Variables & ExpressionsVariables & Expressions
Variables & Expressions
 

Similar a Quantification

Similar a 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
 
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
 
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
 
Use of quantifiers
Use of quantifiersUse of quantifiers
Use of quantifiers
 
ISM_Session_5 _ 23rd and 24th December.pptx
ISM_Session_5 _ 23rd and 24th December.pptxISM_Session_5 _ 23rd and 24th December.pptx
ISM_Session_5 _ 23rd and 24th December.pptx
 

Más 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
 
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
 

Más de Abdur Rehman (16)

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

Último

18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 

Último (20)

18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 

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.