SlideShare a Scribd company logo
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
Unit 1  quantifiers
 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.

More Related Content

PPTX
PPTX
Predicates and quantifiers
PPT
Logic&proof
PPT
Predicates and Quantifiers
PPTX
Propositional logic
PPTX
Predicates and Quantifiers
DOCX
Rules of inference
Predicates and quantifiers
Logic&proof
Predicates and Quantifiers
Propositional logic
Predicates and Quantifiers
Rules of inference

What's hot (20)

PDF
Latent Dirichlet Allocation
PDF
Rules of inference
PPT
Linear Algebra and Matrix
PPTX
Modular arithmetic
PDF
Functions in discrete mathematics
PPTX
CMSC 56 | Lecture 3: Predicates & Quantifiers
PPT
Propositional logic
PDF
Asymptotic Notation
PPTX
Relations and functions
PDF
Lecture 2 predicates quantifiers and rules of inference
PPTX
Normal forms
PPTX
LECTURE 2: PROPOSITIONAL EQUIVALENCES
PPT
Discrete Math Lecture 01: Propositional Logic
PDF
Logical equivalence, laws of logic
PDF
Introduction fundamentals sets and sequences
PPT
Sum of subsets problem by backtracking 
PPT
Graphs - Discrete Math
PPT
Set in discrete mathematics
PDF
Introduction to Groups and Permutation Groups
PPTX
CMSC 56 | Lecture 5: Proofs Methods and Strategy
Latent Dirichlet Allocation
Rules of inference
Linear Algebra and Matrix
Modular arithmetic
Functions in discrete mathematics
CMSC 56 | Lecture 3: Predicates & Quantifiers
Propositional logic
Asymptotic Notation
Relations and functions
Lecture 2 predicates quantifiers and rules of inference
Normal forms
LECTURE 2: PROPOSITIONAL EQUIVALENCES
Discrete Math Lecture 01: Propositional Logic
Logical equivalence, laws of logic
Introduction fundamentals sets and sequences
Sum of subsets problem by backtracking 
Graphs - Discrete Math
Set in discrete mathematics
Introduction to Groups and Permutation Groups
CMSC 56 | Lecture 5: Proofs Methods and Strategy
Ad

Similar to Unit 1 quantifiers (20)

PDF
Chapter 01 - p2.pdf
PPTX
Chapter1p2.pptx
PPTX
Quantifiers and its Types
PDF
Formal Logic - Lesson 8 - Predicates and Quantifiers
PPTX
Discrete Math Chapter 1 :The Foundations: Logic and Proofs
PPTX
Chapter 1.4.pptx Chapter 1.4.pptx DISCREATE MATH
PPTX
m.a.t.h.e.m.a.t.i.c.s.d.i.s.c.r.e.t.e.pptx
PDF
02 Predicates and Quantifiers is about predicates
PPT
Predicate &amp; quantifier
PPT
Discrete Math Lecture 02: First Order Logic
PPTX
Nested Quantifiers.pptx
PPTX
Quantification
PPTX
PDF
this is the presentation on Discrete Structures
PPTX
#4 formal methods – predicate logic
PPTX
LESSON 9 & 10 - LOGIC STATEMENTS, CONNCETIVES, QUANTIFIERS, AND TRUTH TABLE.....
PPTX
LESSON 9 & 10 - LOGIC STATEMENTS, CONNCETIVES, QUANTIFIERS, AND TRUTH TABLE.....
PDF
Predicate Logic and Propositional Logic in Discrete Structure
PPTX
Module_5_1.pptx
PDF
Predicate_Logic.pdf
Chapter 01 - p2.pdf
Chapter1p2.pptx
Quantifiers and its Types
Formal Logic - Lesson 8 - Predicates and Quantifiers
Discrete Math Chapter 1 :The Foundations: Logic and Proofs
Chapter 1.4.pptx Chapter 1.4.pptx DISCREATE MATH
m.a.t.h.e.m.a.t.i.c.s.d.i.s.c.r.e.t.e.pptx
02 Predicates and Quantifiers is about predicates
Predicate &amp; quantifier
Discrete Math Lecture 02: First Order Logic
Nested Quantifiers.pptx
Quantification
this is the presentation on Discrete Structures
#4 formal methods – predicate logic
LESSON 9 & 10 - LOGIC STATEMENTS, CONNCETIVES, QUANTIFIERS, AND TRUTH TABLE.....
LESSON 9 & 10 - LOGIC STATEMENTS, CONNCETIVES, QUANTIFIERS, AND TRUTH TABLE.....
Predicate Logic and Propositional Logic in Discrete Structure
Module_5_1.pptx
Predicate_Logic.pdf
Ad

More from raksharao (20)

PPTX
Unit 1-logic
PPTX
Unit 1 rules of inference
PPTX
Unit 1 introduction to proofs
PPTX
Unit 7 verification &amp; validation
PPTX
Unit 6 input modeling problems
PPTX
Unit 6 input modeling
PPTX
Unit 5 general principles, simulation software
PPTX
Unit 5 general principles, simulation software problems
PPTX
Unit 4 queuing models
PPTX
Unit 4 queuing models problems
PPTX
Unit 3 random number generation, random-variate generation
PPTX
Unit 1 introduction contd
PPTX
Unit 1 introduction
PDF
Module1 part2
PDF
Module1 Mobile Computing Architecture
PPTX
java-Unit4 chap2- awt controls and layout managers of applet
PPTX
java Unit4 chapter1 applets
PPTX
Chap3 multi threaded programming
PPTX
Java-Unit 3- Chap2 exception handling
PPTX
FIT-Unit3 chapter2- Computer Languages
Unit 1-logic
Unit 1 rules of inference
Unit 1 introduction to proofs
Unit 7 verification &amp; validation
Unit 6 input modeling problems
Unit 6 input modeling
Unit 5 general principles, simulation software
Unit 5 general principles, simulation software problems
Unit 4 queuing models
Unit 4 queuing models problems
Unit 3 random number generation, random-variate generation
Unit 1 introduction contd
Unit 1 introduction
Module1 part2
Module1 Mobile Computing Architecture
java-Unit4 chap2- awt controls and layout managers of applet
java Unit4 chapter1 applets
Chap3 multi threaded programming
Java-Unit 3- Chap2 exception handling
FIT-Unit3 chapter2- Computer Languages

Recently uploaded (20)

PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Insiders guide to clinical Medicine.pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
master seminar digital applications in india
PDF
Classroom Observation Tools for Teachers
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Sports Quiz easy sports quiz sports quiz
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Pre independence Education in Inndia.pdf
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
Cell Types and Its function , kingdom of life
O5-L3 Freight Transport Ops (International) V1.pdf
Microbial diseases, their pathogenesis and prophylaxis
Insiders guide to clinical Medicine.pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
O7-L3 Supply Chain Operations - ICLT Program
master seminar digital applications in india
Classroom Observation Tools for Teachers
2.FourierTransform-ShortQuestionswithAnswers.pdf
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Sports Quiz easy sports quiz sports quiz
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Pre independence Education in Inndia.pdf
PPH.pptx obstetrics and gynecology in nursing
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Computing-Curriculum for Schools in Ghana
Final Presentation General Medicine 03-08-2024.pptx
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Cell Types and Its function , kingdom of life

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