SlideShare a Scribd company logo
10
Most read
11
Most read
13
Most read
Predicates and Quantifiers
Discrete Mathematics
Page 1 1
Slide Owner
• Istiak Ahmed
• Email- istiakahmed271@gmail.com
Page 2
2
Propositional Logic
• Atomic propositions: p, q, r, …
• Boolean operators:      
• Compound propositions: (p  q)  r
• Equivalences: pq ≡ (p  q)
• Proving equivalences using:
• Truth tables.
• Symbolic derivations (Laws).
Page 3
3
Predicate Logic
•Predicate logic is an extension of propositional
logic
•It permits concisely reasoning about whole
classes of entities.
•Examples of a class is an integer class, a student
in CSE Dept, etc.
Page 4 4
Applications of Predicate Logic
• It is the formal notation for writing perfectly clear,
concise, and unambiguous mathematical definitions,
axioms, and theorems for any branch of mathematics.
• Statements like x > 5 are neither true nor false when
the value of x is not specified.
• Predicate logic can be used to make propositions from
such statements.
Page 5 5
Subjects and Predicates
• Example “The dog is sleeping”:
• In predicate logic, a predicate is modeled as a function P(
) from objects to propositions.
• P(x) = “x is sleeping” (where x is any object).
Page 6 6
More About Predicates
• Convention: Lowercase variables x, y, z... denote
objects/entities; uppercase variables P, Q, R… denote
propositional functions (predicates).
• The result of applying a predicate P to an object x is the
proposition P(x).
• The predicate P itself (e.g. P =“is sleeping”) is not a
proposition (not a complete sentence).
Page 7 7
Propositional Functions
• Predicate logic can also involve statements with more
than one variable or argument.
• E.g. let P(x,y,z) = “x gave y the grade z”, then if
x=“Mike”, y=“Mary”, z=“A”, then P(x,y,z) = “Mike gave
Mary the grade A.”
• E.g. let Q(x,y,z) = “x + y > z”, then what is the truth value of
Q(1,2,3)? – False
• Q(3,2,1)? -True
Page 8 8
Universes of Discourse
• A mathematical function may be valid for all values of
a variable in a particular domain, called the universe
of discourse.
• E.g., let P(x)=“x+1>x”. We can then say,
“For any number x, P(x) is true” instead of
(0+1>0)  (1+1>1)  (2+1>2)  ...
Page 9 9
Quantifier Expressions
• “” is the FOR LL or universal quantifier.
x P(x) means “P(x) is true for all values of x in the universe
of discourse”.
• “” is the XISTS or existential quantifier.
x P(x) means “there exists an x in the u.d. (that is, 1 or
more) such that P(x) is true”.
Page 10 10
The Universal Quantifier 
• Example:
Let the u.d. of x be parking spaces at BU.
Let P(x) be the predicate “x is full.”
• Then the universal quantification of P(x),
• x P(x), is the proposition:
• “All parking spaces at BU are full.”
• “Every parking space at BU is full.”
• “For each parking space at BU, that space is full.”
Page 11 11
The Existential Quantifier 
• Example:
Let the u.d. of x be parking spaces at BU.
Let P(x) be the predicate “x is full.”
• Then the existential quantification of P(x),
x P(x), is the proposition:
• “There is a parking space at BU that is full.”
• “At least one parking space at BU is full.”
• “Some parking spaces at BU is full.”
Page 12 12
Quantifier Equivalence Laws
• Definitions of quantifiers: If u.d.=a,b,c,…
x P(x) ≡ P(a)  P(b)  P(c)  …
x P(x) ≡ P(a)  P(b)  P(c)  …
• x y P(x,y) ≡ y x P(x,y)
x y P(x,y) ≡ y x P(x,y)
• x (P(x)  Q(x)) ≡ (x P(x))  (x Q(x))
x (P(x)  Q(x)) ≡ (x P(x))  (x Q(x))
Page 13 13
Negation Example
• x P(x) ≡ x P(x)
• P(x)=“x is a student of cse” where u.d. is the students of this
class
• So, x P(x) = “All students in this class is a student of cse”
• The negation of this x P(x) = “Not every student in this
class is a student of cse”
• This is the same as x P(x) = “There is a student x who is
not a student of cse”
Page 14 14
Thanks To All
Page 15 15

More Related Content

PDF
Lecture 2 predicates quantifiers and rules of inference
PPTX
Unit 1 quantifiers
PPTX
CMSC 56 | Lecture 3: Predicates & Quantifiers
PPT
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
DOCX
Rules of inference
PPT
mathematical induction
PPT
Predicates and Quantifiers
PPTX
Predicates and quantifiers
Lecture 2 predicates quantifiers and rules of inference
Unit 1 quantifiers
CMSC 56 | Lecture 3: Predicates & Quantifiers
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
Rules of inference
mathematical induction
Predicates and Quantifiers
Predicates and quantifiers

What's hot (20)

PPT
Discrete Math Lecture 01: Propositional Logic
PPTX
CMSC 56 | Lecture 2: Propositional Equivalences
PPTX
Propositional logic
PPTX
PDF
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVE
PPT
Predicate Logic
PPT
Discrete mathematics
PPTX
Predicates and quantifiers presentation topics
PPT
Combinatorics
PPTX
CMSC 56 | Lecture 15: Closures of Relations
PDF
Limits, Continuity & Differentiation (Theory)
PPTX
First order logic
PPTX
CMSC 56 | Lecture 11: Mathematical Induction
PDF
Well-Ordering Principle
PPTX
Random variables
PPTX
CMSC 56 | Lecture 4: Rules of Inference
PPTX
Proof By Contradictions
PDF
AI 7 | Constraint Satisfaction Problem
PPT
Longest common subsequence(dynamic programming).
PPT
Prolog basics
Discrete Math Lecture 01: Propositional Logic
CMSC 56 | Lecture 2: Propositional Equivalences
Propositional logic
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVE
Predicate Logic
Discrete mathematics
Predicates and quantifiers presentation topics
Combinatorics
CMSC 56 | Lecture 15: Closures of Relations
Limits, Continuity & Differentiation (Theory)
First order logic
CMSC 56 | Lecture 11: Mathematical Induction
Well-Ordering Principle
Random variables
CMSC 56 | Lecture 4: Rules of Inference
Proof By Contradictions
AI 7 | Constraint Satisfaction Problem
Longest common subsequence(dynamic programming).
Prolog basics
Ad

Viewers also liked (11)

PDF
Quantifiers
PDF
Predicate Calculus
PPT
Mathematical Logic - Part 1
PPT
Quantifiers
PPT
Quantifiers
PPTX
Quantifiers
PPTX
Quantifiers
PPT
QUANTIFIERS
PPT
Quantifiers
PPT
Quantifiers
Quantifiers
Predicate Calculus
Mathematical Logic - Part 1
Quantifiers
Quantifiers
Quantifiers
Quantifiers
QUANTIFIERS
Quantifiers
Quantifiers
Ad

Similar to Predicates and Quantifiers (20)

PDF
Discrete Structure Lecture #5 & 6.pdf
PPTX
Chapter 1.4.pptx Chapter 1.4.pptx DISCREATE MATH
PPT
PredicateLogic (1).ppt
PPTX
PredicateLogic.pptx
PDF
Chapter 01 - p2.pdf
PDF
Formal Logic - Lesson 8 - Predicates and Quantifiers
PPTX
Chapter1p2.pptx
PPTX
Lecture in the predicates-quantifiers.pptx
PDF
02 Predicates and Quantifiers is about predicates
PDF
Discrete Mathematics: Lecture 2 - Predicate Logic
DOCX
PredicatesQuantifiers.docx
PPTX
m.a.t.h.e.m.a.t.i.c.s.d.i.s.c.r.e.t.e.pptx
PDF
Predicate Logic and Propositional Logic in Discrete Structure
PPTX
Mathematics in the Modern World - Quantifiers
PPTX
PPTX
Quantifiers and its Types
PPTX
Disc.Math-ppt.pptx it is very informative presentation for bachelor students ...
PPTX
Module_5_1.pptx
PPTX
Universal Quantification DM
PPTX
Slide subtopic 3
Discrete Structure Lecture #5 & 6.pdf
Chapter 1.4.pptx Chapter 1.4.pptx DISCREATE MATH
PredicateLogic (1).ppt
PredicateLogic.pptx
Chapter 01 - p2.pdf
Formal Logic - Lesson 8 - Predicates and Quantifiers
Chapter1p2.pptx
Lecture in the predicates-quantifiers.pptx
02 Predicates and Quantifiers is about predicates
Discrete Mathematics: Lecture 2 - Predicate Logic
PredicatesQuantifiers.docx
m.a.t.h.e.m.a.t.i.c.s.d.i.s.c.r.e.t.e.pptx
Predicate Logic and Propositional Logic in Discrete Structure
Mathematics in the Modern World - Quantifiers
Quantifiers and its Types
Disc.Math-ppt.pptx it is very informative presentation for bachelor students ...
Module_5_1.pptx
Universal Quantification DM
Slide subtopic 3

Recently uploaded (20)

PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPT
Total quality management ppt for engineering students
PPTX
Safety Seminar civil to be ensured for safe working.
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
Construction Project Organization Group 2.pptx
PPTX
Artificial Intelligence
PPTX
Geodesy 1.pptx...............................................
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PDF
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
PPT
introduction to datamining and warehousing
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
PPTX
Sustainable Sites - Green Building Construction
PPT
Mechanical Engineering MATERIALS Selection
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
737-MAX_SRG.pdf student reference guides
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Total quality management ppt for engineering students
Safety Seminar civil to be ensured for safe working.
UNIT 4 Total Quality Management .pptx
Construction Project Organization Group 2.pptx
Artificial Intelligence
Geodesy 1.pptx...............................................
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
introduction to datamining and warehousing
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
Sustainable Sites - Green Building Construction
Mechanical Engineering MATERIALS Selection
III.4.1.2_The_Space_Environment.p pdffdf
UNIT-1 - COAL BASED THERMAL POWER PLANTS
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
737-MAX_SRG.pdf student reference guides
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...

Predicates and Quantifiers

  • 1. Predicates and Quantifiers Discrete Mathematics Page 1 1
  • 2. Slide Owner • Istiak Ahmed • Email- [email protected] Page 2 2
  • 3. Propositional Logic • Atomic propositions: p, q, r, … • Boolean operators:       • Compound propositions: (p  q)  r • Equivalences: pq ≡ (p  q) • Proving equivalences using: • Truth tables. • Symbolic derivations (Laws). Page 3 3
  • 4. Predicate Logic •Predicate logic is an extension of propositional logic •It permits concisely reasoning about whole classes of entities. •Examples of a class is an integer class, a student in CSE Dept, etc. Page 4 4
  • 5. Applications of Predicate Logic • It is the formal notation for writing perfectly clear, concise, and unambiguous mathematical definitions, axioms, and theorems for any branch of mathematics. • Statements like x > 5 are neither true nor false when the value of x is not specified. • Predicate logic can be used to make propositions from such statements. Page 5 5
  • 6. Subjects and Predicates • Example “The dog is sleeping”: • In predicate logic, a predicate is modeled as a function P( ) from objects to propositions. • P(x) = “x is sleeping” (where x is any object). Page 6 6
  • 7. More About Predicates • Convention: Lowercase variables x, y, z... denote objects/entities; uppercase variables P, Q, R… denote propositional functions (predicates). • The result of applying a predicate P to an object x is the proposition P(x). • The predicate P itself (e.g. P =“is sleeping”) is not a proposition (not a complete sentence). Page 7 7
  • 8. Propositional Functions • Predicate logic can also involve statements with more than one variable or argument. • E.g. let P(x,y,z) = “x gave y the grade z”, then if x=“Mike”, y=“Mary”, z=“A”, then P(x,y,z) = “Mike gave Mary the grade A.” • E.g. let Q(x,y,z) = “x + y > z”, then what is the truth value of Q(1,2,3)? – False • Q(3,2,1)? -True Page 8 8
  • 9. Universes of Discourse • A mathematical function may be valid for all values of a variable in a particular domain, called the universe of discourse. • E.g., let P(x)=“x+1>x”. We can then say, “For any number x, P(x) is true” instead of (0+1>0)  (1+1>1)  (2+1>2)  ... Page 9 9
  • 10. Quantifier Expressions • “” is the FOR LL or universal quantifier. x P(x) means “P(x) is true for all values of x in the universe of discourse”. • “” is the XISTS or existential quantifier. x P(x) means “there exists an x in the u.d. (that is, 1 or more) such that P(x) is true”. Page 10 10
  • 11. The Universal Quantifier  • Example: Let the u.d. of x be parking spaces at BU. Let P(x) be the predicate “x is full.” • Then the universal quantification of P(x), • x P(x), is the proposition: • “All parking spaces at BU are full.” • “Every parking space at BU is full.” • “For each parking space at BU, that space is full.” Page 11 11
  • 12. The Existential Quantifier  • Example: Let the u.d. of x be parking spaces at BU. Let P(x) be the predicate “x is full.” • Then the existential quantification of P(x), x P(x), is the proposition: • “There is a parking space at BU that is full.” • “At least one parking space at BU is full.” • “Some parking spaces at BU is full.” Page 12 12
  • 13. Quantifier Equivalence Laws • Definitions of quantifiers: If u.d.=a,b,c,… x P(x) ≡ P(a)  P(b)  P(c)  … x P(x) ≡ P(a)  P(b)  P(c)  … • x y P(x,y) ≡ y x P(x,y) x y P(x,y) ≡ y x P(x,y) • x (P(x)  Q(x)) ≡ (x P(x))  (x Q(x)) x (P(x)  Q(x)) ≡ (x P(x))  (x Q(x)) Page 13 13
  • 14. Negation Example • x P(x) ≡ x P(x) • P(x)=“x is a student of cse” where u.d. is the students of this class • So, x P(x) = “All students in this class is a student of cse” • The negation of this x P(x) = “Not every student in this class is a student of cse” • This is the same as x P(x) = “There is a student x who is not a student of cse” Page 14 14