Discrete Math PDF

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 120

UGC / NTA NET JUNE 2019 – Subject wise

Paper Analysis
No. of Discrete Maths 11
Subject Names
Questions Data Mining 1
Digital Logic 3 Software Engineering 8
Programming Language, C, C++, OOPS 5 UNIX 1
Algorithms & Programing Data Structures 6 Microprocessor Nil
Theory of Computation 7 Linear Programming Problem 1
Compiler Design 4 Computer Graphics 4
Operating Systems 7 Artificial Intelligence 12
Computer Architecture & Organization 7 HTML & XML 2
DBMS 8 Advance DBMS (NoSQL, Big Data) 1
Computer Networks 11 Internet of Things & Mobile
1
Computing
© DigiiMento Education
NTA NET Unit wise Analysis
Subject Names Ques Asked in Exam
Discrete Mathematics + Linear Programming Problem 12

Digital Logic + Computer Architecture & Organization + Microprocessors 10


Programming Language + C + C++, Java + HTML + XML + OOPS + Computer
11
Graphics
DBMS + Data Mining + Big Data 10
Operating Systems + UNIX 8
Software Engineering 8
Digital Structure + Algorithms 6
Theory of Computation + Compiler Design 11
Computer Networks + Data Communication + Internet of Things + Mobile
12
Computing
Artificial Intelligence 12
© DigiiMento Education
UGC / NTA NET July 2018 – Subject wise Paper Analysis
Subject Name Ques. In exam
Digital Logic 7
Programming DS & Algorithms 14
Theory of Computation 9
Operating Systems 9
Computer Architecture + Microprocessor 1
Compiler Design 1
DBMS 9
Computer Networks 8
Discrete Mathematics 14
Data Mining Nil
Software Engineering 10
Unix 1
OOPs & C++ 3
Maths & Linear Programming 2
Computer Graphics 3
Artificial Intelligence 3
Mobile Computing 2
Web Technology 2
Misc. 2
© DigiiMento Education
Discrete Mathematics

© DigiiMento Education
What is Discrete Mathematics?
Discrete mathematics is the part of mathematics devoted to the study
of discrete objects.

(Here discrete means consisting of distinct or unconnected elements.)

© DigiiMento Education
The kinds of problems solved using discrete
mathematics include:
• How many ways are there to choose a valid password on a computer system?
• What is the probability of winning a lottery?
• Is there a link between two computers in a network?
• How can I identify spam e-mail messages?
• How can I encrypt a message so that no unintended recipient can read it?
• What is the shortest path between two cities using a transportation system?
• How can a list of integers be sorted so that the integers are in increasing order?
• How many steps are required to do such a sorting?
• How can it be proved that a sorting algorithm correctly sorts a list?
• How can a circuit that adds two integers be designed?
• How many valid Internet addresses are there?
© DigiiMento Education
The Foundations: Logic and Proofs
1.1 Propositional Logic
1.2 Applications of Propositional Logic
1.3 Propositional Equivalences
1.4 Predicates and Quantifiers
1.5 Nested Quantifiers
1.6 Rules of Inference

*Exercise Questions after Every Chapter


** Reference book for this chapter is Kenneth H. Rosen

© DigiiMento Education
History
• Socrates (Died: 399 BC) taught Plato,
• Plato (Died 348/347 BC) taught Aristotle
• Aristotle (Died: 7 March 322 BC) taught Alexander the Great.
• Alexander the great (Died: June 323 BC)

© DigiiMento Education
Introduction
• The rules of logic give precise meaning to mathematical statements.
• These rules are used to distinguish between valid and invalid mathematical
arguments
• Logic has numerous applications to computer science e.g.
• These rules are used in the design of computer circuits,
• the construction of computer programs,
• the verification of the correctness of programs, and in many other ways.
• Furthermore, software systems have been developed for constructing
some, but not all, types of proofs automatically
• The area of logic that deals with propositions is called the propositional
calculus or propositional logic.
© DigiiMento Education
Propositions
A proposition is a declarative sentence (that is, a sentence that declares a fact)
that is either true or false, but not both.
All the following declarative sentences are propositions.
1. Washington, D.C., is the capital of the United States of America.
2. Toronto is the capital of Canada.
3. 1 + 1 = 2.
4. 2 + 2 = 3.
Consider the following sentences.
1. What time is it?
2. Read this carefully.
3. x + 1 = 2.
4. x + y = z.
Sentences 1 and 2 are not propositions because they are not declarative sentences.
Sentences 3 and 4 are not propositions because they are neither true nor false.
© DigiiMento Education
Which of these sentences are propositions? What are the truth values
of those that are propositions?
a) Boston is the capital of Massachusetts.
b) Miami is the capital of Florida.
c) 2 + 3 = 5.
d) 5 + 7 = 10.
e) x + 2 = 11.
f ) Answer this question.

© DigiiMento Education
Which of these sentences are propositions? What are the truth values
of those that are propositions?
a) Boston is the capital of a) This is a true proposition.
Massachusetts. b) This is a false proposition
b) Miami is the capital of Florida. (Tallahassee is the capital).
c) 2 + 3 = 5. c) This is a true proposition.
d) 5 + 7 = 10. d) This is a false proposition.
e) x + 2 = 11. e) This is not a proposition (it contains a
f ) Answer this question. variable; the truth value depends on
the value assigned to x).
f) This is not a proposition, since it does
not assert anything.

© DigiiMento Education
Propositional Variables
• We use letters to denote propositional variables (or statement
variables), that is, variables that represent propositions, just as letters
are used to denote numerical variables
• Conventional letters used for propositional variables are p, q, r, s, . . . .
• Many mathematical statements are constructed by combining one or
more propositions. New propositions, called compound propositions,
are formed from existing propositions using logical operators.

© DigiiMento Education
Negation
Let p be a proposition. The negation of p, denoted by¬, is the
statement “It is not the case that p.” The proposition ¬p is read “not
p.” The truth value of the negation of p, ¬p, is the opposite of the
truth value of p.
The negation of the proposition
“Michael’s PC runs Linux”
is
“It is not the case that Michael’s PC runs Linux.”
This negation can be more simply expressed as
“Michael’s PC does not run Linux.”
© DigiiMento Education
Example of Negation
The negation of the proposition
“Vandana’s smartphone has at least 32GB of memory”
Is
“It is not the case that Vandana’s smartphone has at least
32GB of memory.”

This negation can also be expressed as


“Vandana’s smartphone does not have at least 32GB of memory”
or even more simply as
“Vandana’s smartphone has less than 32GB of memory.”
© DigiiMento Education
Truth table for the negation of a proposition p.

© DigiiMento Education
What is the negation of each of these propositions?

a) Mei has an MP3 player.


b) There is no pollution in New Jersey.
c) 2 + 1 = 3.
d) The summer in Maine is hot and sunny.

© DigiiMento Education
What is the negation of each of these propositions?
a) Mei has an MP3 player.
b) There is no pollution in New Jersey.
c) 2 + 1 = 3.
d) The summer in Maine is hot and sunny.

a) Mei does not have an MP3 player.


b) There is pollution in New Jersey.
c) 2+1 ≠ 3
d) It is not the case that the summer in Maine is hot and sunny.
In other words, the summer in Maine is not hot and sunny,
which means that it is not hot or it is not sunny.
It is not correct to negate this by saying "The summer in Maine is not hot and not
sunny."

© DigiiMento Education
What is the negation of each of these propositions?

a) Steve has more than 100 GB free disk space on his laptop.
b) Zach blocks e-mails and texts from Jennifer.
c) 7 . 11 . 13 = 999.
d) Diane rode her bicycle 100 miles on Sunday.

© DigiiMento Education
What is the negation of each of these propositions?
a) Steve has more than 100 GB free disk space on his laptop.
b) Zach blocks e-mails and texts from Jennifer.
c) 7 . 11 . 13 = 999.
d) Diane rode her bicycle 100 miles on Sunday.
a) Steve does not have more than 100 GB free disk space on his laptop.
(Alternatively: Steve has less than or equal to 100 GB free disk space on his laptop.)
b) Zach does not block e-mails and texts from Jennifer. (Alternatively, and more
precisely: Zach does not block e-mails from Jennifer, or he does not block texts
from Jennifer. Note that negating an "and" statement produces an "or" statement.
It would not be correct to say that Zach does not block e-mails from Jennifer, and
he does not block texts from Jennifer. That is a stronger statement than just the
negation of the given statement.)
c) 7·11·13 ≠ 999.
d) Diane did not ride her bike 100 miles on Sunday
© DigiiMento Education
Conjunction
Let p and q be propositions. The
conjunction of p and q, denoted by p ∧
q, is the proposition “p and q”. The
conjunction p ∧ q is true when both p
and q are true and is false otherwise.

© DigiiMento Education
Example
Find the conjunction of the propositions p and q where p is the
proposition “Rebecca’s PC has more than 16 GB free hard disk space”
and q is the proposition “The processor in Rebecca’s PC runs faster
than 1 GHz.”
The conjunction of these propositions, p ∧ q, is the proposition
“Rebecca’s PC has more than 16 GB free hard disk space, and the
processor in Rebecca’s PC runs faster than 1 GHz.”
This conjunction can be expressed more simply as
“Rebecca’s PC has more than 16 GB free hard disk space, and its
processor runs faster than 1 GHz.”
For this conjunction to be true, both conditions given must be true. It is
false, when one or both of these conditions are false

© DigiiMento Education
Disjunction
Let p and q be propositions. The
disjunction of p and q, denoted by p ∨ q,
is the proposition “p or q.” The
disjunction p ∨ q is false when both p
and q are false and is true otherwise.

© DigiiMento Education
Example
Find the Disjunction of the propositions p and q where
p is the proposition “Rebecca’s PC has more than 16 GB
free hard disk space” and q is the proposition “The
processor in Rebecca’s PC runs faster than 1 GHz.”

The disjunction of p and q, p ∨ q, is the proposition


“Rebecca’s PC has at least 16 GB free hard disk space,
or the processor in Rebecca’s PC runs faster than 1
GHz.”
© DigiiMento Education
Exclusive OR

Let p and q be propositions. The


exclusive or of p and q, denoted by
p ⊕ q, is the proposition that is
true when exactly one of p and q is
true and is false otherwise.

© DigiiMento Education
Conditional Statements
Let p and q be propositions. The
conditional statement p → q is the
proposition “if p, then q.” The conditional
statement p → q is false when p is true
and q is false, and true otherwise.
In the conditional statement p → q, p is
called the hypothesis (or antecedent or
premise) and q is called the conclusion (or
consequence).

© DigiiMento Education
Terminologies
The statement p → q is called a conditional statement because p → q
asserts that q is true on the condition that p holds. A conditional
statement is also called an implication.
A variety of terminology is used to express p → q.
“if p, then q” “p implies q”
“if p, q” “p only if q”
“p is sufficient for q” “a sufficient condition for q is p”
“q if p” “q whenever p”
“q when p” “q is necessary for p”
“a necessary condition for p is q” “q follows from p”
“q unless ¬ p”
© DigiiMento Education
“If I am elected, then I will lower taxes.”
If the politician is elected, voters would expect this politician to lower taxes.
Furthermore, if the politician is not elected, then voters will not have any
expectation that this person will lower taxes, although the person may have
sufficient influence to cause those in power to lower taxes.
It is only when the politician is elected but does not lower taxes that voters can
say that the politician has broken the campaign pledge.
This last scenario corresponds to the case when p is true but q is false in p → q.

© DigiiMento Education
Let p be the statement “Maria learns discrete mathematics” and q the
statement “Maria will find a good job.”
Express the statement p → q as a statement in English

“if p, then q” “p implies q”


“if p, q” “p only if q”
“p is sufficient for q” “a sufficient condition for q is p”
“q if p” “q whenever p”
“q when p” “q is necessary for p”
“a necessary condition for p is q” “q follows from p”
“q unless ¬ p”
© DigiiMento Education
CONVERSE, CONTRAPOSITIVE, AND INVERSE

The proposition q → p is called the converse of p → q


The contrapositive of p → q is the proposition ¬q →¬p.
The proposition ¬p →¬q is called the inverse of p → q.

© DigiiMento Education
Example
The contrapositive, the converse, and the inverse of the conditional
statement “the home team wins whenever it is raining?”
Because “q whenever p” is one of the ways to express the conditional
statement p → q, the original statement can be rewritten as
“If it is raining, then the home team wins.”
Consequently, the contrapositive of this conditional statement is
“If the home team does not win, then it is not raining.”
The converse is
“If the home team wins, then it is raining.”
The inverse is
“If it is not raining, then the home team does not win.”
Only the contrapositive is equivalent to the original statement.
© DigiiMento Education
BICONDITIONALS
Let p and q be propositions. The
biconditional statement p q is the
proposition “p if and only if q.” The
biconditional statement p q is true when
p and q have the same truth values, and is
false otherwise. Biconditional statements
are also called bi-implications

© DigiiMento Education
common ways to express p ↔ q:
“p is necessary and sufficient for q”
“if p then q, and conversely”
“p iff q.”

Let p be the statement “You can take the flight,”


and let q be the statement “You buy a ticket.”
Then p ↔ q is the statement
“You can take the flight if and only if you buy a ticket.”
© DigiiMento Education
Truth Tables of Compound Propositions
(p ∨ ¬ q) → (p ∧ q)

© DigiiMento Education
Precedence of Logical Operators

© DigiiMento Education
© DigiiMento Education
© DigiiMento Education
a) Sharks have not been spotted near the shore.
b) Swimming at the New Jersey shore is allowed, and sharks have been spotted near the shore.
c) Swimming at the New Jersey shore is not allowed, or sharks have been spotted near the shore.
d) If swimming at the New Jersey shore is allowed, then sharks have not been spotted near the shore.
e) If sharks have not been spotted near the shore, then swimming at the New Jersey shore is allowed.
f) If swimming at the New Jersey shore is not allowed, then sharks have not been spotted near the shore.
g) Swimming at the New Jersey shore is allowed if and only if sharks have not been spotted near the
shore.
h) Swimming at the New Jersey shore is not allowed, and either swimming at the New Jersey shore is
allowed or sharks have not been spotted near the shore.
© DigiiMento Education
Let p and q be the propositions
p :You drive over 65 miles per hour.
q :You get a speeding ticket.
Write these propositions using p and q and logical connectives (including negations).
a) You do not drive over 65 miles per hour.
b) You drive over 65 miles per hour, but you do not get a speeding ticket.
c) You will get a speeding ticket if you drive over 65 miles per hour.
d) If you do not drive over 65 miles per hour, then you will not get a speeding ticket.
e) Driving over 65 miles per hour is sufficient for getting a speeding ticket.
f ) You get a speeding ticket, but you do not drive over 65 miles per hour.
g) Whenever you get a speeding ticket, you are driving over 65 miles per hour.

© DigiiMento Education
Let p and q be the propositions
p :You drive over 65 miles per hour.
q :You get a speeding ticket.
Write these propositions using p and q and logical connectives (including negations).
a) You do not drive over 65 miles per hour.
b) You drive over 65 miles per hour, but you do not get a speeding ticket.
c) You will get a speeding ticket if you drive over 65 miles per hour.
d) If you do not drive over 65 miles per hour, then you will not get a speeding ticket.
e) Driving over 65 miles per hour is sufficient for getting a speeding ticket.
f ) You get a speeding ticket, but you do not drive over 65 miles per hour.
g) Whenever you get a speeding ticket, you are driving over 65 miles per hour.

© DigiiMento Education
© DigiiMento Education
© DigiiMento Education
© DigiiMento Education
© DigiiMento Education
How can this English sentence be translated into a
logical expression?
“You can access the Internet from campus only if you are a
computer science major or you are not a freshman.”

© DigiiMento Education
How can this English sentence be translated into a
logical expression?
“You can access the Internet from campus only if you are a
computer science major or you are not a freshman.”
let a, c, and f represent “You can access the Internet from campus,”
“You are a computer science major,” and “You are a freshman,”
respectively.
Noting that “only if” is one way a conditional statement can be
expressed,
this sentence can be represented as
a → (c ∨ ¬ f ).
© DigiiMento Education
How can this English sentence be translated into a logical expression?
“You cannot ride the roller coaster if you are under 4 feet tall unless you are
older than 16 years old.”

© DigiiMento Education
How can this English sentence be translated into a logical expression?
“You cannot ride the roller coaster if you are under 4 feet tall unless you are
older than 16 years old.”

Let q, r, and s represent “You can ride the roller coaster,” “You are under 4
feet tall,” and “You are older than 16 years old,” respectively. Then the
sentence can be translated to
(r ∧ ¬ s)→ ¬ q
Of course, there are other ways to represent the original sentence as a logical
expression, but the one we have used should meet our needs.

© DigiiMento Education
Determine whether these system specifications are
consistent:
“The diagnostic message is stored in the buffer or it is
retransmitted.”
“The diagnostic message is not stored in the buffer.”
“If the diagnostic message is stored in the buffer, then it is
retransmitted.”

© DigiiMento Education
Determine whether these system specifications are
consistent:
“The diagnostic message is stored in the buffer or it is retransmitted.”
“The diagnostic message is not stored in the buffer.”
“If the diagnostic message is stored in the buffer, then it is retransmitted.”
Let p denote “The diagnostic message is stored in the buffer” and
let q denote “The diagnostic message is retransmitted.”
The specifications can then be written as p ∨ q, ¬ p, and p → q.
An assignment of truth values that makes all three specifications true must have p false to
make ¬ p true. Because we want p ∨ q to be true but p must be false, q must be true.
Because p → q is true when p is false and q is true, we conclude that these specifications
are consistent, because they are all true when p is false and q is true.

© DigiiMento Education
Express these system specifications using the propositions
P : “The message is scanned for viruses” and
Q : “The message was sent from an unknown system”
together with logical connectives (including negations).
a) “The message is scanned for viruses whenever the message was sent
from an unknown system.”
b) “The message was sent from an unknown system but it was not scanned
for viruses.”
c) “It is necessary to scan the message for viruses whenever it was sent
from an unknown system.”
d) “When a message is not sent from an unknown system it is not scanned
for viruses.”

© DigiiMento Education
Express these system specifications using the propositions
P : “The message is scanned for viruses” and
Q : “The message was sent from an unknown system”
together with logical connectives (including negations).
a) “The message is scanned for viruses whenever the message was sent from an unknown system.”
b) “The message was sent from an unknown system but it was not scanned for viruses.”
c) “It is necessary to scan the message for viruses whenever it was sent from an unknown system.”
d) “When a message is not sent from an unknown system it is not scanned for viruses.”

a) Since "whenever" means "if," we have q⟶p.


b) Since "but" means "and," we have q /\ ¬ P.
c) This sentence is saying the same thing as the sentence in part (a), so
the answer is the same: q ⟶ p.
d) Again, we recall that "when" means "if" in logic: ¬q ⟶ ¬p.

© DigiiMento Education
Propositional Equivalences
• we will use the term “compound proposition” to refer to an
expression formed from propositional variables using logical
operators, such as p ∧ q
• A compound proposition that is always true, no matter what the truth
values of the propositional variables that occur in it, is called a
tautology.
• A compound proposition that is always false is called a contradiction.
• A compound proposition that is neither a tautology nor a
contradiction is called a contingency.

© DigiiMento Education
Logical Equivalences

© DigiiMento Education
© DigiiMento Education
© DigiiMento Education
© DigiiMento Education
© DigiiMento Education
© DigiiMento Education
© DigiiMento Education
© DigiiMento Education
© DigiiMento Education
© DigiiMento Education
Propositional Satisfiability
• A compound proposition is satisfiable if there is an assignment of
truth values to its variables that makes it true.
• When no such assignments exists, that is, when the compound
proposition is false for all assignments of truth values to its variables,
the compound proposition is unsatisfiable.
• When we find a particular assignment of truth values that makes a
compound proposition true, we have shown that it is satisfiable; such
an assignment is called a solution of this particular Satisfiability
Problem

© DigiiMento Education
© DigiiMento Education
Rules of Inference
• An argument in propositional logic is a sequence of propositions. All
but the final proposition in the argument are called premises and the
final proposition is called the conclusion.
• An argument is valid if the truth of all its premises implies that the
conclusion is true.
• An argument form in propositional logic is a sequence of compound
propositions involving propositional variables.
• An argument form is valid no matter which particular propositions are
substituted for the propositional variables in its premises, the
conclusion is true if the premises are all true.

© DigiiMento Education
Valid Arguments in Propositional Logic
“If you have a current password, then you can log onto
the network.”
“You have a current password.”
Therefore,
“You can log onto the network.”

© DigiiMento Education
Use p to represent “You have a current password”
and q to represent “You can log onto the network.”
Then, the argument has the form

We know that when p and q are propositional variables, the statement


((p → q) ∧ p) → q is a tautology
We say this form of argument is valid because whenever all its premises are true,
the conclusion must also be true.
© DigiiMento Education
© DigiiMento Education
© DigiiMento Education
Example 1
Suppose that the conditional statement
“If it snows today, then we will go skiing”
and its hypothesis,
“It is snowing today,”
are true.
Then, by modus ponens, it follows that the conclusion of the
conditional statement, “We will go skiing,” is true.

© DigiiMento Education
Example 2

© DigiiMento Education
Example 3

© DigiiMento Education
Example 4

© DigiiMento Education
Example 5

© DigiiMento Education
Using Rules of Inference to Build Arguments
Show that the premises
“It is not sunny this afternoon and it is colder than
yesterday,”
“We will go swimming only if it is sunny,”
“If we do not go swimming, then we will take a canoe trip,”
and “If we take a canoe trip, then we will be home by
sunset” lead to the conclusion
“We will be home by sunset.”
© DigiiMento Education
• Let p be the proposition “It is sunny this afternoon,”
• q the proposition “It is colder than yesterday,”
• r the proposition “We will go swimming,”
• s the proposition “We will take a canoe trip,” and
• t the proposition “We will be home by sunset.”

© DigiiMento Education
Show that the premises “If you send me an e-mail
message, then I will finish writing the program,”
“If you do not send me an e-mail message, then I will
go to sleep early,” and
“If I go to sleep early, then I will wake up feeling
refreshed”
lead to the conclusion “If I do not finish writing the
program, then I will wake up feeling refreshed.”

© DigiiMento Education
© DigiiMento Education
Fallacies
Several common fallacies arise in incorrect arguments. These fallacies
resemble rules of inference, but are based on contingencies rather than
tautologies
The proposition ((p → q) ∧ q) → p is not a tautology, because it is
false when p is false and q is true.
However, there are many incorrect arguments that treat this as a
tautology.
In other words, they treat the argument with premises p → q and q and
conclusion p as a valid argument form, which it is not.
This type of incorrect reasoning is called the fallacy of affirming the
conclusion
© DigiiMento Education
Predicates and Quantifiers
• Propositional logic, cannot adequately express the meaning of all statements in
mathematics and in natural language.
• E.g. “Every computer connected to the university network is functioning
properly.”
• No rules of propositional logic allow us to conclude the truth of the statement
“MATH3 is functioning properly,”
• Where MATH3 is one of the computers connected to the university network.
Likewise, we cannot use the rules of propositional logic to conclude from the
statement
“CS2 is under attack by an intruder,”
• where CS2 is a computer on the university network, to conclude the truth of
“There is a computer on the university network that is under attack by an
intruder.”
© DigiiMento Education
Predicates
Statements involving variables, such as
“x > 3,” “x = y + 3,” “x + y = z,”
and
“computer x is under attack by an intruder,”
and
“computer x is functioning properly,”
are often found in mathematical assertions, in computer programs, and
in system specifications.
These statements are neither true nor false when the values of the
variables are not specified.
© DigiiMento Education
Predicate and proposition Function
The statement “x is greater than 3” has two parts.
1. The first part, the variable x, is the subject of the statement.
2. The second part—the predicate, “is greater than 3”—refers to a
property that the subject of the statement can have.

We can denote the statement “x is greater than 3” by P(x), where P denotes


the predicate “is greater than 3” and x is the variable.
The statement P(x) is also said to be the value of the propositional function
P at x.
Once a value has been assigned to the variable x, the statement P(x)
becomes a proposition and has a truth value
© DigiiMento Education
Example

© DigiiMento Education
Example

© DigiiMento Education
Example

© DigiiMento Education
© DigiiMento Education
Quantifiers
• Quantification expresses the extent to which a predicate is true over a
range of elements.
• In English, the words all, some, many, none, and few are used in
quantifications.
• We will focus on two types of quantification here:
üuniversal quantification, which tells us that a predicate is true for
every element under consideration,
üand existential quantification, which tells us that there is one or
more element under consideration for which the predicate is true.
• The area of logic that deals with predicates and quantifiers is called
the predicate calculus.

© DigiiMento Education
Universal Quantifier

© DigiiMento Education
Example

© DigiiMento Education
Example

© DigiiMento Education
Example

© DigiiMento Education
© DigiiMento Education
© DigiiMento Education
© DigiiMento Education
THE EXISTENTIAL QUANTIFIER

© DigiiMento Education
© DigiiMento Education
EXAMPLE

© DigiiMento Education
EXAMPLE

© DigiiMento Education
WHEN ALL ELEMENTS IN DOMAIN ARE LISTED

© DigiiMento Education
EXAMPLE

© DigiiMento Education
THE UNIQUENESSQUANTIFIER

© DigiiMento Education
Quantifiers with Restricted Domains
EXAMPLE

© DigiiMento Education
© DigiiMento Education
Logical Equivalences Involving Quantifiers

© DigiiMento Education
DEMORGAN’S LAW

© DigiiMento Education
Negating Quantified Expressions

© DigiiMento Education
Negating Quantified Expressions

© DigiiMento Education
© DigiiMento Education
© DigiiMento Education
© DigiiMento Education
© DigiiMento Education
Using Quantifiers in System Specifications

© DigiiMento Education
Using Quantifiers in System Specifications

© DigiiMento Education
Example

© DigiiMento Education
Example

Let P(x), Q(x), and R(x) be the statements “x is


a lion,” “x is fierce,” and “x drinks coffee,” respectively. Assuming that the domain
consists of all
creatures, express the statements in the argument using quantifiers and P(x), Q(x), and
R(x).

© DigiiMento Education
© DigiiMento Education
© DigiiMento Education
© DigiiMento Education
© DigiiMento Education

You might also like