SlideShare une entreprise Scribd logo
1  sur  31
Uniqueness quantifier
 denoted by ∃! or ∃1
 The notation ∃!x P(x) [or ∃1xP(x)] states “There
exists a unique x such that P(x) is true.”
 There is exactly one
 There is one and only one
Quantifiers with restricted domain
 An abbreviated notation is used to restrict the domain of a
quantifier
 Example:
 What do the statements ∀x < 0 (x2 > 0), ∀y = 0 (y3 = 0), and ∃z >
0 (z2 = 2) mean, where the domain in each case consists of the
real numbers?
solution
 The statement ∀x < 0 (x2 > 0) states that for every real number
x with x < 0, x2 > 0.
That is, it states “The square of a negative real number is
positive.”
 The statement ∀y = 0 (y3 = 0) states that for every real number
y with y = 0, we have y3 = 0.
That is, it states “The cube of every nonzero real number is
nonzero.”
 Finally, the statement ∃z > 0 (z2 = 2) states that there exists a
real number z with z > 0 such that z2 = 2.
That is, it states “There is a positive square root of 2.”
Precedence of qualifiers
 The quantifiers ∀ and ∃ have higher precedence
than all logical operators from propositional
calculus.
 Example, ∀xP(x) ∨ Q(x) is the disjunction of
∀xP(x) and Q(x).
 In other words, it means (∀xP(x)) ∨ Q(x) rather
than ∀x(P(x) ∨ Q(x)).
Binding variables
 When a quantifier is used on the variable x, we say
that this occurrence of the variable is bound.
 An occurrence of a variable that is not bound by a
quantifier or set equal to a particular value is said to
be free.
 All variables that occur in a propositional function
must be bound or set equal to a particular value to
turn it into a proposition
 The part of logical expression to which a quantifier is
applied is called the scope of this quantifier
example
 ∃x(x + y = 1), the variable x is bound by the
existential quantification , but variable y is free
because it is not bounded by any quantifier and
has no value assigned to it. Hence x is bounded
and y is free
 ∃x(P(x) ∧ Q(x)) ∨ ∀x R(x), here all variables are
bounded. Scope of x in the first quantifier is
different from the rest of the statement.
Logical equivalences using quantifiers
 Statements involving predicates and quantifiers
are logically equivalent if and only if they have
the same truth value no matter which predicates
are substituted into these statements and which
domain of discourse is used for the variables in
these propositional functions.
 Denoted by S ≡ T, where S and T are two
statements involving predicates and quantifiers
example
 Show that ∀x(P(x) ∧ Q(x)) and ∀x P(x) ∧ ∀x Q(x)
are logically equivalent.
Negating quantifier expression-
universal quantification
 ¬∀x P(x) ≡ ∃x ¬P(x)
 Example
 “Every student in your class has taken a course in
calculus
solution
 “It is not the case that every student in your class
has taken a course in calculus.” or
 “There is a student in your class who has not
taken a course in calculus
Existential quantification
 ¬∃x Q(x) ≡ ∀x ¬Q(x)
 “There is a student in this class who has taken a
course in calculus.”
solution
 It is not the case that there is a student in this
class who has taken a course in calculus
 Every student in this class has not taken calculus
 What are the negations of the statements “There
is an honest politician” and “All Americans eat
cheeseburgers”?
 What are the negations of the statements ∀ x(x2 > x)
and ∃x(x2 = 2)?
 Show that ¬∀x(P(x) → Q(x)) and ∃x(P(x)∧¬Q(x))
are logically equivalent.
Translating English into logical
expressions
 Express the statement “Every student in this class
has studied calculus” using predicates and
quantifiers.
 Express the statements “Some student in this
class has visited Mexico” and “Every student in
this class has visited either Canada or Mexico”
using predicates and quantifiers.
Using quantifiers in system
specifications
 Use predicates and quantifiers to express the
system specifications “Every mail message larger
than one megabyte will be compressed” and “If a
user is active, at least one network link will be
available.”
Examples from Lewis Carroll
 Consider these statements. The first two are
called premises and the third is called the
conclusion.The entire set is called an argument.
 “All lions are fierce.”
 “Some lions do not drink coffee.”
 “Some fierce creatures do not drink coffee.”
 Consider these statements, of which the first
three are premises and the fourth is a valid
conclusion.
 “All hummingbirds are richly colored.”
 “No large birds live on honey.”
 “Birds that do not live on honey are dull in color.”
 “Hummingbirds are small.”
Exercise problems
 Translate these statements into English, where
C(x) is “x is a comedian” and F(x) is “x is funny”
and the domain consists of all people.
a) ∀x(C(x) → F(x)) b) ∀x(C(x) ∧ F(x))
c) ∃x(C(x) → F(x)) d) ∃x(C(x) ∧ F(x))
homework
 Translate these statements into English, where
R(x) is “x is a rabbit” and H(x) is “x hops” and the
domain consists of all animals.
a) ∀x(R(x) → H(x)) b) ∀x(R(x) ∧ H(x))
c) ∃x(R(x) → H(x)) d) ∃x(R(x) ∧ H(x))
Exercise problem
 Suppose that the domain of the propositional
function P(x) consists of the integers −2, −1, 0, 1,
and 2. Write out each of these propositions using
disjunctions, conjunctions, and negations.
 a) ∃xP(x) b) ∀xP(x) c) ∃x¬P(x)
 d) ∀x¬P(x) e) ¬∃xP(x) f ) ¬∀xP(x)
Home work
 Suppose that the domain of the propositional
function P(x) consists of the integers 1, 2, 3, 4,
and 5. Express these statements without using
quantifiers, instead using only negations,
disjunctions, and conjunctions.
 a) ∃xP(x) b) ∀xP(x)
 c) ¬∃xP(x) d) ¬∀xP(x)
 e) ∀x((x = 3) → P(x)) ∨ ∃x¬P(x)
Exercise problem
 For each of these statements find a domain for
which the statement is true and a domain for
which the statement is false.
a) Everyone is studying discrete mathematics.
b) Everyone is older than 21 years.
c) Every two people have the same mother.
d) No two different people have the same
grandmother.
Home work
 For each of these statements find a domain for
which the statement is true and a domain for
which the statement is false.
a) Everyone speaks Hindi.
b) There is someone older than 21 years.
c) Every two people have the same first name.
d) Someone knows more than two other people.
 Translate in two ways each of these statements into logical
expressions using predicates, quantifiers, and logical
connectives. First, let the domain consist of the students in
your class and second, let it consist of all people.
a) Someone in your class can speak Hindi.
b) Everyone in your class is friendly.
c) There is a person in your class who was not born in
California.
d) A student in your class has been in a movie.
e) No student in your class has taken a course in logic
programming.
 Translate each of these statements into logical
expressions using predicates, quantifiers, and logical
connectives.
a) No one is perfect.
b) Not everyone is perfect.
c) All your friends are perfect.
d) At least one of your friends is perfect
e) Everyone is your friend and is perfect.
f ) Not everybody is your friend or someone is not perfect.
 Translate each of these statements into logical expressions
using predicates, quantifiers, and logical connectives.
a) Something is not in the correct place.
b) All tools are in the correct place and are in excellent
condition.
c) Everything is in the correct place and in excellent condition.
d) Nothing is in the correct place and is in excellent condition.
e) One of your tools is not in the correct place, but it is in
excellent condition.
 Express each of these statements using logical
operators, predicates, and quantifiers.
a) Some propositions are tautologies.
b) The negation of a contradiction is a tautology.
c) The disjunction of two contingencies can be a
tautology.
d) The conjunction of two tautologies is a tautology.

Contenu connexe

Tendances

Tendances (20)

lattice
 lattice lattice
lattice
 
Quantifier
QuantifierQuantifier
Quantifier
 
Unit 1 rules of inference
Unit 1  rules of inferenceUnit 1  rules of inference
Unit 1 rules of inference
 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical induction
 
Intro to probability
Intro to probabilityIntro to probability
Intro to probability
 
Chapter 2: Relations
Chapter 2: RelationsChapter 2: Relations
Chapter 2: Relations
 
Discrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional LogicDiscrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional Logic
 
Truth tables
Truth tablesTruth tables
Truth tables
 
Composition and inverse of functions
Composition  and inverse of functionsComposition  and inverse of functions
Composition and inverse of functions
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
DIFFERENTIAL EQUATIONS
DIFFERENTIAL EQUATIONSDIFFERENTIAL EQUATIONS
DIFFERENTIAL EQUATIONS
 
Chapter1p3.pptx
Chapter1p3.pptxChapter1p3.pptx
Chapter1p3.pptx
 
CMSC 56 | Lecture 4: Rules of Inference
CMSC 56 | Lecture 4: Rules of InferenceCMSC 56 | Lecture 4: Rules of Inference
CMSC 56 | Lecture 4: Rules of Inference
 
Partial-Orderings in Discrete Mathematics
 Partial-Orderings in Discrete Mathematics Partial-Orderings in Discrete Mathematics
Partial-Orderings in Discrete Mathematics
 
Rules of inference
Rules of inferenceRules of inference
Rules of inference
 
8.4 logarithmic functions
8.4 logarithmic functions8.4 logarithmic functions
8.4 logarithmic functions
 
Complex Number I - Presentation
Complex Number I - PresentationComplex Number I - Presentation
Complex Number I - Presentation
 
Hasse diagram
Hasse diagramHasse diagram
Hasse diagram
 
Cubic Equation
Cubic EquationCubic Equation
Cubic Equation
 
Mathematical Logic
Mathematical LogicMathematical Logic
Mathematical Logic
 

Similaire à Unit 1 quantifiers

Chapter 01 - p2.pdf
Chapter 01 - p2.pdfChapter 01 - p2.pdf
Chapter 01 - p2.pdfsmarwaneid
 
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
 
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
 
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
 
Discrete Structure Lecture #5 & 6.pdf
Discrete Structure Lecture #5 & 6.pdfDiscrete Structure Lecture #5 & 6.pdf
Discrete Structure Lecture #5 & 6.pdfMuhammadUmerIhtisham
 
SESSION-11 PPT.pptx
SESSION-11 PPT.pptxSESSION-11 PPT.pptx
SESSION-11 PPT.pptxNaniSarath
 
FOLBUKCFAIZ.pptx
FOLBUKCFAIZ.pptxFOLBUKCFAIZ.pptx
FOLBUKCFAIZ.pptxFaiz Zeya
 
Predicate_Logic.pdf
Predicate_Logic.pdfPredicate_Logic.pdf
Predicate_Logic.pdfKiranNats
 
IVR - Chapter 1 - Introduction
IVR - Chapter 1 - IntroductionIVR - Chapter 1 - Introduction
IVR - Chapter 1 - IntroductionCharles Deledalle
 
Unit 1-logic
Unit 1-logicUnit 1-logic
Unit 1-logicraksharao
 

Similaire à Unit 1 quantifiers (20)

Chapter 01 - p2.pdf
Chapter 01 - p2.pdfChapter 01 - p2.pdf
Chapter 01 - p2.pdf
 
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
 
CMSC 56 | Lecture 3: Predicates & Quantifiers
CMSC 56 | Lecture 3: Predicates & QuantifiersCMSC 56 | Lecture 3: Predicates & Quantifiers
CMSC 56 | Lecture 3: Predicates & Quantifiers
 
Nested Quantifiers.pptx
Nested Quantifiers.pptxNested Quantifiers.pptx
Nested Quantifiers.pptx
 
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
 
Quantifiers and its Types
Quantifiers and its TypesQuantifiers and its Types
Quantifiers and its Types
 
Discrete Structure Lecture #5 & 6.pdf
Discrete Structure Lecture #5 & 6.pdfDiscrete Structure Lecture #5 & 6.pdf
Discrete Structure Lecture #5 & 6.pdf
 
Quantification
QuantificationQuantification
Quantification
 
Per3 logika
Per3 logikaPer3 logika
Per3 logika
 
Chapter1p2.pptx
Chapter1p2.pptxChapter1p2.pptx
Chapter1p2.pptx
 
Chapter1p2.pptx
Chapter1p2.pptxChapter1p2.pptx
Chapter1p2.pptx
 
SESSION-11 PPT.pptx
SESSION-11 PPT.pptxSESSION-11 PPT.pptx
SESSION-11 PPT.pptx
 
Nested loop
Nested loopNested loop
Nested loop
 
FOLBUKCFAIZ.pptx
FOLBUKCFAIZ.pptxFOLBUKCFAIZ.pptx
FOLBUKCFAIZ.pptx
 
Predicate_Logic.pdf
Predicate_Logic.pdfPredicate_Logic.pdf
Predicate_Logic.pdf
 
PredicateLogic (1).ppt
PredicateLogic (1).pptPredicateLogic (1).ppt
PredicateLogic (1).ppt
 
PredicateLogic.pptx
PredicateLogic.pptxPredicateLogic.pptx
PredicateLogic.pptx
 
IVR - Chapter 1 - Introduction
IVR - Chapter 1 - IntroductionIVR - Chapter 1 - Introduction
IVR - Chapter 1 - Introduction
 
Unit 1-logic
Unit 1-logicUnit 1-logic
Unit 1-logic
 

Plus de raksharao

Unit 1 introduction to proofs
Unit 1  introduction to proofsUnit 1  introduction to proofs
Unit 1 introduction to proofsraksharao
 
Unit 7 verification &amp; validation
Unit 7 verification &amp; validationUnit 7 verification &amp; validation
Unit 7 verification &amp; validationraksharao
 
Unit 6 input modeling problems
Unit 6 input modeling problemsUnit 6 input modeling problems
Unit 6 input modeling problemsraksharao
 
Unit 6 input modeling
Unit 6 input modeling Unit 6 input modeling
Unit 6 input modeling raksharao
 
Unit 5 general principles, simulation software
Unit 5 general principles, simulation softwareUnit 5 general principles, simulation software
Unit 5 general principles, simulation softwareraksharao
 
Unit 5 general principles, simulation software problems
Unit 5  general principles, simulation software problemsUnit 5  general principles, simulation software problems
Unit 5 general principles, simulation software problemsraksharao
 
Unit 4 queuing models
Unit 4 queuing modelsUnit 4 queuing models
Unit 4 queuing modelsraksharao
 
Unit 4 queuing models problems
Unit 4 queuing models problemsUnit 4 queuing models problems
Unit 4 queuing models problemsraksharao
 
Unit 3 random number generation, random-variate generation
Unit 3 random number generation, random-variate generationUnit 3 random number generation, random-variate generation
Unit 3 random number generation, random-variate generationraksharao
 
Unit 1 introduction contd
Unit 1 introduction contdUnit 1 introduction contd
Unit 1 introduction contdraksharao
 
Unit 1 introduction
Unit 1 introductionUnit 1 introduction
Unit 1 introductionraksharao
 
Module1 part2
Module1 part2Module1 part2
Module1 part2raksharao
 
Module1 Mobile Computing Architecture
Module1 Mobile Computing ArchitectureModule1 Mobile Computing Architecture
Module1 Mobile Computing Architectureraksharao
 
java-Unit4 chap2- awt controls and layout managers of applet
java-Unit4 chap2- awt controls and layout managers of appletjava-Unit4 chap2- awt controls and layout managers of applet
java-Unit4 chap2- awt controls and layout managers of appletraksharao
 
java Unit4 chapter1 applets
java Unit4 chapter1 appletsjava Unit4 chapter1 applets
java Unit4 chapter1 appletsraksharao
 
Chap3 multi threaded programming
Chap3 multi threaded programmingChap3 multi threaded programming
Chap3 multi threaded programmingraksharao
 
Java-Unit 3- Chap2 exception handling
Java-Unit 3- Chap2 exception handlingJava-Unit 3- Chap2 exception handling
Java-Unit 3- Chap2 exception handlingraksharao
 
FIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer LanguagesFIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer Languagesraksharao
 
FIT-Unit3 chapter 1 -computer program
FIT-Unit3 chapter 1 -computer programFIT-Unit3 chapter 1 -computer program
FIT-Unit3 chapter 1 -computer programraksharao
 
output devices
output devicesoutput devices
output devicesraksharao
 

Plus de raksharao (20)

Unit 1 introduction to proofs
Unit 1  introduction to proofsUnit 1  introduction to proofs
Unit 1 introduction to proofs
 
Unit 7 verification &amp; validation
Unit 7 verification &amp; validationUnit 7 verification &amp; validation
Unit 7 verification &amp; validation
 
Unit 6 input modeling problems
Unit 6 input modeling problemsUnit 6 input modeling problems
Unit 6 input modeling problems
 
Unit 6 input modeling
Unit 6 input modeling Unit 6 input modeling
Unit 6 input modeling
 
Unit 5 general principles, simulation software
Unit 5 general principles, simulation softwareUnit 5 general principles, simulation software
Unit 5 general principles, simulation software
 
Unit 5 general principles, simulation software problems
Unit 5  general principles, simulation software problemsUnit 5  general principles, simulation software problems
Unit 5 general principles, simulation software problems
 
Unit 4 queuing models
Unit 4 queuing modelsUnit 4 queuing models
Unit 4 queuing models
 
Unit 4 queuing models problems
Unit 4 queuing models problemsUnit 4 queuing models problems
Unit 4 queuing models problems
 
Unit 3 random number generation, random-variate generation
Unit 3 random number generation, random-variate generationUnit 3 random number generation, random-variate generation
Unit 3 random number generation, random-variate generation
 
Unit 1 introduction contd
Unit 1 introduction contdUnit 1 introduction contd
Unit 1 introduction contd
 
Unit 1 introduction
Unit 1 introductionUnit 1 introduction
Unit 1 introduction
 
Module1 part2
Module1 part2Module1 part2
Module1 part2
 
Module1 Mobile Computing Architecture
Module1 Mobile Computing ArchitectureModule1 Mobile Computing Architecture
Module1 Mobile Computing Architecture
 
java-Unit4 chap2- awt controls and layout managers of applet
java-Unit4 chap2- awt controls and layout managers of appletjava-Unit4 chap2- awt controls and layout managers of applet
java-Unit4 chap2- awt controls and layout managers of applet
 
java Unit4 chapter1 applets
java Unit4 chapter1 appletsjava Unit4 chapter1 applets
java Unit4 chapter1 applets
 
Chap3 multi threaded programming
Chap3 multi threaded programmingChap3 multi threaded programming
Chap3 multi threaded programming
 
Java-Unit 3- Chap2 exception handling
Java-Unit 3- Chap2 exception handlingJava-Unit 3- Chap2 exception handling
Java-Unit 3- Chap2 exception handling
 
FIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer LanguagesFIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer Languages
 
FIT-Unit3 chapter 1 -computer program
FIT-Unit3 chapter 1 -computer programFIT-Unit3 chapter 1 -computer program
FIT-Unit3 chapter 1 -computer program
 
output devices
output devicesoutput devices
output devices
 

Dernier

BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
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
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
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
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 

Dernier (20)

BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
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
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
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
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 

Unit 1 quantifiers

  • 1. Uniqueness quantifier  denoted by ∃! or ∃1  The notation ∃!x P(x) [or ∃1xP(x)] states “There exists a unique x such that P(x) is true.”  There is exactly one  There is one and only one
  • 2. Quantifiers with restricted domain  An abbreviated notation is used to restrict the domain of a quantifier  Example:  What do the statements ∀x < 0 (x2 > 0), ∀y = 0 (y3 = 0), and ∃z > 0 (z2 = 2) mean, where the domain in each case consists of the real numbers?
  • 3. solution  The statement ∀x < 0 (x2 > 0) states that for every real number x with x < 0, x2 > 0. That is, it states “The square of a negative real number is positive.”  The statement ∀y = 0 (y3 = 0) states that for every real number y with y = 0, we have y3 = 0. That is, it states “The cube of every nonzero real number is nonzero.”  Finally, the statement ∃z > 0 (z2 = 2) states that there exists a real number z with z > 0 such that z2 = 2. That is, it states “There is a positive square root of 2.”
  • 4. Precedence of qualifiers  The quantifiers ∀ and ∃ have higher precedence than all logical operators from propositional calculus.  Example, ∀xP(x) ∨ Q(x) is the disjunction of ∀xP(x) and Q(x).  In other words, it means (∀xP(x)) ∨ Q(x) rather than ∀x(P(x) ∨ Q(x)).
  • 5. Binding variables  When a quantifier is used on the variable x, we say that this occurrence of the variable is bound.  An occurrence of a variable that is not bound by a quantifier or set equal to a particular value is said to be free.  All variables that occur in a propositional function must be bound or set equal to a particular value to turn it into a proposition  The part of logical expression to which a quantifier is applied is called the scope of this quantifier
  • 6. example  ∃x(x + y = 1), the variable x is bound by the existential quantification , but variable y is free because it is not bounded by any quantifier and has no value assigned to it. Hence x is bounded and y is free  ∃x(P(x) ∧ Q(x)) ∨ ∀x R(x), here all variables are bounded. Scope of x in the first quantifier is different from the rest of the statement.
  • 7. Logical equivalences using quantifiers  Statements involving predicates and quantifiers are logically equivalent if and only if they have the same truth value no matter which predicates are substituted into these statements and which domain of discourse is used for the variables in these propositional functions.  Denoted by S ≡ T, where S and T are two statements involving predicates and quantifiers
  • 8. example  Show that ∀x(P(x) ∧ Q(x)) and ∀x P(x) ∧ ∀x Q(x) are logically equivalent.
  • 9. Negating quantifier expression- universal quantification  ¬∀x P(x) ≡ ∃x ¬P(x)  Example  “Every student in your class has taken a course in calculus
  • 10. solution  “It is not the case that every student in your class has taken a course in calculus.” or  “There is a student in your class who has not taken a course in calculus
  • 11. Existential quantification  ¬∃x Q(x) ≡ ∀x ¬Q(x)  “There is a student in this class who has taken a course in calculus.”
  • 12. solution  It is not the case that there is a student in this class who has taken a course in calculus  Every student in this class has not taken calculus
  • 13.
  • 14.  What are the negations of the statements “There is an honest politician” and “All Americans eat cheeseburgers”?
  • 15.  What are the negations of the statements ∀ x(x2 > x) and ∃x(x2 = 2)?
  • 16.  Show that ¬∀x(P(x) → Q(x)) and ∃x(P(x)∧¬Q(x)) are logically equivalent.
  • 17. Translating English into logical expressions  Express the statement “Every student in this class has studied calculus” using predicates and quantifiers.
  • 18.  Express the statements “Some student in this class has visited Mexico” and “Every student in this class has visited either Canada or Mexico” using predicates and quantifiers.
  • 19. Using quantifiers in system specifications  Use predicates and quantifiers to express the system specifications “Every mail message larger than one megabyte will be compressed” and “If a user is active, at least one network link will be available.”
  • 20. Examples from Lewis Carroll  Consider these statements. The first two are called premises and the third is called the conclusion.The entire set is called an argument.  “All lions are fierce.”  “Some lions do not drink coffee.”  “Some fierce creatures do not drink coffee.”
  • 21.  Consider these statements, of which the first three are premises and the fourth is a valid conclusion.  “All hummingbirds are richly colored.”  “No large birds live on honey.”  “Birds that do not live on honey are dull in color.”  “Hummingbirds are small.”
  • 22. Exercise problems  Translate these statements into English, where C(x) is “x is a comedian” and F(x) is “x is funny” and the domain consists of all people. a) ∀x(C(x) → F(x)) b) ∀x(C(x) ∧ F(x)) c) ∃x(C(x) → F(x)) d) ∃x(C(x) ∧ F(x))
  • 23. homework  Translate these statements into English, where R(x) is “x is a rabbit” and H(x) is “x hops” and the domain consists of all animals. a) ∀x(R(x) → H(x)) b) ∀x(R(x) ∧ H(x)) c) ∃x(R(x) → H(x)) d) ∃x(R(x) ∧ H(x))
  • 24. Exercise problem  Suppose that the domain of the propositional function P(x) consists of the integers −2, −1, 0, 1, and 2. Write out each of these propositions using disjunctions, conjunctions, and negations.  a) ∃xP(x) b) ∀xP(x) c) ∃x¬P(x)  d) ∀x¬P(x) e) ¬∃xP(x) f ) ¬∀xP(x)
  • 25. Home work  Suppose that the domain of the propositional function P(x) consists of the integers 1, 2, 3, 4, and 5. Express these statements without using quantifiers, instead using only negations, disjunctions, and conjunctions.  a) ∃xP(x) b) ∀xP(x)  c) ¬∃xP(x) d) ¬∀xP(x)  e) ∀x((x = 3) → P(x)) ∨ ∃x¬P(x)
  • 26. Exercise problem  For each of these statements find a domain for which the statement is true and a domain for which the statement is false. a) Everyone is studying discrete mathematics. b) Everyone is older than 21 years. c) Every two people have the same mother. d) No two different people have the same grandmother.
  • 27. Home work  For each of these statements find a domain for which the statement is true and a domain for which the statement is false. a) Everyone speaks Hindi. b) There is someone older than 21 years. c) Every two people have the same first name. d) Someone knows more than two other people.
  • 28.  Translate in two ways each of these statements into logical expressions using predicates, quantifiers, and logical connectives. First, let the domain consist of the students in your class and second, let it consist of all people. a) Someone in your class can speak Hindi. b) Everyone in your class is friendly. c) There is a person in your class who was not born in California. d) A student in your class has been in a movie. e) No student in your class has taken a course in logic programming.
  • 29.  Translate each of these statements into logical expressions using predicates, quantifiers, and logical connectives. a) No one is perfect. b) Not everyone is perfect. c) All your friends are perfect. d) At least one of your friends is perfect e) Everyone is your friend and is perfect. f ) Not everybody is your friend or someone is not perfect.
  • 30.  Translate each of these statements into logical expressions using predicates, quantifiers, and logical connectives. a) Something is not in the correct place. b) All tools are in the correct place and are in excellent condition. c) Everything is in the correct place and in excellent condition. d) Nothing is in the correct place and is in excellent condition. e) One of your tools is not in the correct place, but it is in excellent condition.
  • 31.  Express each of these statements using logical operators, predicates, and quantifiers. a) Some propositions are tautologies. b) The negation of a contradiction is a tautology. c) The disjunction of two contingencies can be a tautology. d) The conjunction of two tautologies is a tautology.