SlideShare uma empresa Scribd logo
1 de 30
Lecture 6
Discrete Structures
Previous Lectures Summary
•Different forms of arguments
•Modus Ponens and Modus Tollens
•Additional Valid Arguments
•Valid Argument with False Conclusion
•Invalid argument with a true Conclusion
•Converse and Inverse error
•Contradictions and valid arguments
Predicates and Quantified statements I
Today’s Lecture
• Predicates
• Set Notation
• Universal and Existential Statement
• Translating between formal and informal language
• Universal conditional Statements
• Equivalent Form of Universal and Existential
statements
• Implicit Qualification
• Negations of Universal and Existential statements
Predicates
A predicate is a sentence which contains finite number of
variables and becomes a statement when specific values
are substituted for the variables.
The domain of a predicate variable is the set of all values that
may be substituted in place of the variable
Truth Set
If P(x) is a predicate and x has domain D, the truth set of
P(x) is the set of all elements of D that make P(x) true
when substituted for x. The truth set of P(x) is denoted by
read as “the set of all x in D such that P(x)”.
{ | ( )}
x D P x

For any two predicates P(x) and Q(x), the notation
means that every element in the truth set of
P(x) is in the truth set of Q(x). The notation
means that P and Q have identical truth sets.
Consider the predicate:
The truth set of the above predicate is
( ) ( )
P x Q x

Notation
( ) ( )
P x Q x

R
x
x 
 ,
0
 
0

 
x
R
x
Example
Let P(x) = x is a factor of 8, Q(x)= x is a factor of 4
and R(x)= x < 5 and . The domain of x is
assumed to be . Use symbols , to indicate
true relationships among P(x), Q(x) and R(x).
a. The truth set of P(x) is {1,2,4,8}, Q(x) is {1,2,4}.
Since every element in the truth set of Q(x) is in the
truth set of P(x), So
b. The truth Set of R(x) is {1,2,4}, which is identical to
the truth set of Q(x). Hence .
Cont…
( ) ( )
Q x P x

( ) ( )
Q x R x



3
x 

Z
Cont…
Let Q(x, y) be the statement
x + y = x − y
where the domain for x and y is the set of all real numbers.
Determine the truth value of:
(a) Q(5,−2).
(b) Q(4.7, 0).
(c) Determine the set of all pairs of numbers, x and y, such that
Q(x, y) is true.
Solution:
(a) Q(5,−2) says that 5 + (−2) = 5 − (−2), or 3= 7, which is false.
(b) Q(4.7, 0) says that 4.7+ 0 = 4.7 − 0, which is true.
(c) x + y = x − y if and only if x + 2y = x, which is true if and only if
y = 0. Therefore, x can be any real number and y must be zero.
Universal and Existential Statements
Let Q(x) be a predicate and D the domain of x. A
universal statement is of the form “ ”. It is
true if and only if Q(x) is true for all x in D and it is
false if and only if Q(x) is false for at least one x in D. A
value for x for which Q(x) is false is called a
counterexample to the universal statement.
Example: Let D={1,2,3,4,5} and consider the
statement Show that this statement is true.
Solution: Check that is true for each individual
x in D.
, ( )
x D Q x
 
2
, .
x D x x
  
2
" ".
x x

2
2
1 1
2 2


2
2
3 3
4 4


2
2
5 5
6 6


Cont…..
Hence is true.
The technique used in first statement while showing the
truthness of the universal statement is called method of
exhaustion.
Consider the statement Find the counter
example to show that this statement is not true.
Counter example . Take x=1/2, then x is in R and
Hence is false.
2
, .
x D x x
  
2
, .
x R x x
  
2
1 1
2 2
   

   
   
2
, .
x R x x
  
Existential Quantifier
Let Q(x) be a predicate and D the domain of
x. An existential statement is of the form.
such that
It is true if and only if Q(x) is true for at least
one x in D. It is false if and only if Q(x) is
false for all x in D.
The symbol denotes “there exist” and is
called the existential quantifier.

D
x
 )
(x
Q
Truth and falsity of Existential statements
Suppose P(x) is the predicate “x < |x|.” Determine the
truth value of ∃ x s.t. P(x) where the domain for x is:
(a) the three numbers 1, 2, 3.
(b) the six numbers −2,−1, 0, 1, 2, 3.
Solution
(a) P(1), P(2), and P(3) are all false because in each
case x = |x|. Therefore, ∃ x such that P(x) is false for
this domain.
(b) If we begin checking the six values of x, we find
P(−2) is true. It states that −2 < |−2|. We need to check
no further; having one case that makes the predicate
true is enough to guarantee that ∃ x s.t. P(x) is true.
Truth and falsity of Existential statements
Consider the statement . Show
that this statement is true.
Sol: observe that . Thus is true for at
least one integer m . Hence is
true.
Let E={5,6,7,8,9,10} and consider the statement
Show that this statement is false.
Sol: the statement is not true for every value of
the E. Thus is false.
2
1 1

2
m m

m
m
t
s
Z
m 

 2
.
.
m
m
t
s
Z
m 

 2
.
.
m
m
t
s
E
m 

 2
.
.
m
m
t
s
E
m 

 2
.
.
Translating from formal to informal language
Rewrite the following statements in a variety of
equivalent but more informal ways. Do not use the
symbol
a)
b)
c)
Solution: a) we can write the statement in many ways
like “ All real numbers have non negative squares”,
“No real number has a negative square”,
“ x has a non negative square, for each value of x”.
,
 
2
, 0.
x R x
  
2
, 1.
x R x
   
m
m
t
s
Z
m 

 2
.
.
Cont….
b). Similarly we can translate the second statement in
these ways.
“ All real numbers have squares not equal to -1”,
“No real number have square equal to -1”.
c). “There is an integer whose square is equal to itself”,
“we can find at least one integer equal to its own
square”
Cont…
Write the following statement in English, using the
predicates
F(x): “x is a Freshman”
T (x, y): “x is taking y”
where x represents students and y represents courses:
∃x (F(x) ∧ T (x, Discrete Math))
Solution
The statement ∃ x (F(x)∧T (x, Discrete)) says that there
is a student x with two properties: x is a freshman and x
is taking Discrete. In English, “Some Freshman is taking
Discrete Math.”
Translating from informal Language to Formal language
“Every freshman at the College is taking CSC 102.”
Solution: There are various ways to answer this question,
depending on the domain.
• If we take as our domain all freshmen at the College
and use the predicate T (x) : “x is taking CSC 102”,
then the statement can be written as ∀x, T(x).
• We are making a conditional statement:
“If the student is a freshman, then the student is taking
CSC 101;”
∀x, (F(x) → T (x)).
Note that we cannot say ∀ x (F(x) ∧ T (x)), because this
says that every student is a freshman, which is not
something we can assume here.
Cont…..
“Every freshman at the College is taking some Computer
Science course.”
Sol: If we take as our domain for people all freshmen at
the College and our domain for courses, all Computer
Science courses.
Then we can use the predicate
T (x, y): “x is taking y”
The statement can be written as
∀x ∃y T(x, y).
Universal Conditional Statements
A reasonable argument can be made that the most
important form of statement in mathematics is the
universal conditional statement:
∀ x, if P(x) then Q(x)
Example: “Everyone who visited France stayed in
Paris.”
Sol: However, if we take all people as the universe ,
then we need to introduce the predicate F(x) for “x
visited France.” and P(x) is the predicate “x stayed in
Paris.” In this case, the proposition can be written as
∀ x, (F(x) → P(x)).
• We can write the following statements in a
variety of informal ways.
if then
Sol:
• if a real number is greater then 2, then the
square is greater than 4.
• Whenever a real number is greater then 2,
its square is greater than 4.
• The squares of real number, greater than 2,
are greater than 4.
,
x R
  2
x  2
4
x 
Exercise
Rewrite the following statements in the form
∀ ,if then .
a) If a real number is an integer, then it is a rational
number.
a) All bytes have eight bits.
b) No fire trucks are green.
Sol: a).
b). ∀ x, if x is a byte, then x has eight bits.
c). ∀ x, if x is a fire truck, then x is not green.
, , .
x R ifx Z thenx Q
   
Equivalent Forms of Universal and Existential statements
Observe that the two statements “∀ real
numbers x, if x is an integer then x is
rational” and “∀ integers x, x is rational”
mean the same thing.
In fact, a statement of the form
if P(x) then Q(x).
Can always be rewritten in the form
Can be rewritten as
∀x, if x is in D then Q(x).
, ( )
x D Q x
 
,
U
x

Contd.
The following statements are equivalent
∀ polygons P, if P is square, then P is a rectangle.
And
∀ squares P, P is a rectangle
The existential statements
∃ x belongs to U such that P(x) and Q(x).
And
∃ x belongs to D such that Q(x)
Are also equivalent provided D is taken to consist of all elements in
U that make P(x) true.
Equivalence form for existential statement
The following statements are equivalent:
∃ a number n such that n is prime and n is even
And
∃ a prime number n such that n is even.
Implicit Quantifications
• Consider “ If a number is an integer, then it is a
rational number”
The clue to indicate its universal quantifications comes
from the presence of the indefinite article “a”.
Existential quantification can also be implicit.
for instance, “ the number 24 can be written as a sum of
sum of two integers”
“∃ even integers m and n such that 24=m + n.”
The negation of the statement of the form
∀ x in D, Q(x)
is logically equivalent to a statement of the
form
∃ x in D such that ~Q(x)
Symbolically:
Note: the negation of universal statement is
logically equivalent to existential statement.
Negations of Quantified Statement
~ ( , ( )) ~ ( ).
x D Q x x D Q x
     
The negation of the statement of the form
∃ x in D such that Q(x)
is logically equivalent to a statement of the
form
∀ x in D, ~Q(x)
Symbolically:
Note: the negation of existential statement is
logically equivalent to universal statement.
Cont….
~ ( ( )) ,~ ( ).
x D Q x x D Q x
     
Examples
Negate “Some integer x is positive and all integers
y are negative.”
Solution: Using all integers as the universe for x and y,
the statement is ∃ x s.t. (x > 0) ∧ ∀ y, (y < 0). The
negation is
~{∃x (x > 0) ∧ ∀ y (y < 0)}≡ ~∃x s.t. (x > 0) ∨ ~∀y, (y < 0):
by De Morgan’s law
≡ ∀ x, ~(x > 0) ∨ ∃ y s.t. ~(y < 0) properties of negation
≡ ∀ x, (x ≤ 0) ∨ ∃ y s.t. (y ≥ 0).
Therefore, the negation is “Every integer x is non
positive or there is an integer y that is nonnegative.”
Cont….
Negate “There is a student who came late to class
and there is a student who is absent from class.”
Solution: In symbols, if L(x) : “x came late to class” and
A(x) : “x is absent from class,” this statement can be
written as ∃ x st L(x) ∧ ∃ y st A(y).
Note that we must use a second variable y. By one of
De Morgan’s laws the negation can be written as
~(∃ x st L(x)) ∨ ~(∃ y st A(x)) ≡ ∀x, ~L(x) ∨ ∀ y, ~A(x).
In English this is “No student came late to class or no
student is absent from class.”
Lecture Summary
• Predicates
• Set Notation
• Universal and Existential Statement
• Translating between formal and informal language
• Universal conditional Statements
• Equivalent Form
• Implicit Qualification
• Negations

Mais conteúdo relacionado

Semelhante a 1606751772-ds-lecture-6.ppt

Nested Quantifiers.pptx
Nested Quantifiers.pptxNested Quantifiers.pptx
Nested Quantifiers.pptxJeevan225779
 
Lecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inferenceLecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inferenceasimnawaz54
 
SESSION-11 PPT.pptx
SESSION-11 PPT.pptxSESSION-11 PPT.pptx
SESSION-11 PPT.pptxNaniSarath
 
Lecture 3 qualtifed rules of inference
Lecture 3 qualtifed rules of inferenceLecture 3 qualtifed rules of inference
Lecture 3 qualtifed rules of inferenceasimnawaz54
 
CSci102_Module 4.ppt
CSci102_Module 4.pptCSci102_Module 4.ppt
CSci102_Module 4.pptHarleyGotardo
 
Predicates and Quantifiers
Predicates and QuantifiersPredicates and Quantifiers
Predicates and Quantifiersblaircomp2003
 
20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptx
20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptx20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptx
20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptxssuser92109d
 
Stochastic Processes Homework Help
Stochastic Processes Homework HelpStochastic Processes Homework Help
Stochastic Processes Homework HelpExcel Homework Help
 
Discrete Mathematics - All chapters
Discrete Mathematics - All chapters Discrete Mathematics - All chapters
Discrete Mathematics - All chapters Omnia A. Abdullah
 
L03 ai - knowledge representation using logic
L03 ai - knowledge representation using logicL03 ai - knowledge representation using logic
L03 ai - knowledge representation using logicManjula V
 
random variables-descriptive and contincuous
random variables-descriptive and contincuousrandom variables-descriptive and contincuous
random variables-descriptive and contincuousar9530
 

Semelhante a 1606751772-ds-lecture-6.ppt (20)

Nested Quantifiers.pptx
Nested Quantifiers.pptxNested Quantifiers.pptx
Nested Quantifiers.pptx
 
Lecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inferenceLecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inference
 
SESSION-11 PPT.pptx
SESSION-11 PPT.pptxSESSION-11 PPT.pptx
SESSION-11 PPT.pptx
 
Lecture 3 qualtifed rules of inference
Lecture 3 qualtifed rules of inferenceLecture 3 qualtifed rules of inference
Lecture 3 qualtifed rules of inference
 
Math Assignment Help
Math Assignment HelpMath Assignment Help
Math Assignment Help
 
CSci102_Module 4.ppt
CSci102_Module 4.pptCSci102_Module 4.ppt
CSci102_Module 4.ppt
 
Slide subtopic 3
Slide subtopic 3Slide subtopic 3
Slide subtopic 3
 
Predicate &amp; quantifier
Predicate &amp; quantifierPredicate &amp; quantifier
Predicate &amp; quantifier
 
Predicates and Quantifiers
Predicates and QuantifiersPredicates and Quantifiers
Predicates and Quantifiers
 
Predicates
PredicatesPredicates
Predicates
 
Ch5
Ch5Ch5
Ch5
 
Course notes2summer2012
Course notes2summer2012Course notes2summer2012
Course notes2summer2012
 
DISMATH_Part1
DISMATH_Part1DISMATH_Part1
DISMATH_Part1
 
20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptx
20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptx20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptx
20220818151924_PPT01 - The Logic of Compound and Quantitative Statement.pptx
 
Stochastic Processes Homework Help
Stochastic Processes Homework HelpStochastic Processes Homework Help
Stochastic Processes Homework Help
 
Discrete Mathematics - All chapters
Discrete Mathematics - All chapters Discrete Mathematics - All chapters
Discrete Mathematics - All chapters
 
L03 ai - knowledge representation using logic
L03 ai - knowledge representation using logicL03 ai - knowledge representation using logic
L03 ai - knowledge representation using logic
 
random variables-descriptive and contincuous
random variables-descriptive and contincuousrandom variables-descriptive and contincuous
random variables-descriptive and contincuous
 
Per3 logika
Per3 logikaPer3 logika
Per3 logika
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 

Último

Berhampur CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Berhampur CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDINGBerhampur CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Berhampur CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDINGpr788182
 
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al MizharAl Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizharallensay1
 
Horngren’s Cost Accounting A Managerial Emphasis, Canadian 9th edition soluti...
Horngren’s Cost Accounting A Managerial Emphasis, Canadian 9th edition soluti...Horngren’s Cost Accounting A Managerial Emphasis, Canadian 9th edition soluti...
Horngren’s Cost Accounting A Managerial Emphasis, Canadian 9th edition soluti...ssuserf63bd7
 
Ooty Call Gril 80022//12248 Only For Sex And High Profile Best Gril Sex Avail...
Ooty Call Gril 80022//12248 Only For Sex And High Profile Best Gril Sex Avail...Ooty Call Gril 80022//12248 Only For Sex And High Profile Best Gril Sex Avail...
Ooty Call Gril 80022//12248 Only For Sex And High Profile Best Gril Sex Avail...pujan9679
 
Mckinsey foundation level Handbook for Viewing
Mckinsey foundation level Handbook for ViewingMckinsey foundation level Handbook for Viewing
Mckinsey foundation level Handbook for ViewingNauman Safdar
 
PHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation FinalPHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation FinalPanhandleOilandGas
 
Falcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business PotentialFalcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business PotentialFalcon investment
 
Uneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration PresentationUneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration Presentationuneakwhite
 
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAIGetting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAITim Wilson
 
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...Falcon Invoice Discounting
 
Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024Marel
 
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan CytotecJual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan CytotecZurliaSoop
 
Durg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTS
Durg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTSDurg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTS
Durg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTSkajalroy875762
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityEric T. Tung
 
Nashik Call Girl Just Call 7091819311 Top Class Call Girl Service Available
Nashik Call Girl Just Call 7091819311 Top Class Call Girl Service AvailableNashik Call Girl Just Call 7091819311 Top Class Call Girl Service Available
Nashik Call Girl Just Call 7091819311 Top Class Call Girl Service Availablepr788182
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...daisycvs
 
QSM Chap 10 Service Culture in Tourism and Hospitality Industry.pptx
QSM Chap 10 Service Culture in Tourism and Hospitality Industry.pptxQSM Chap 10 Service Culture in Tourism and Hospitality Industry.pptx
QSM Chap 10 Service Culture in Tourism and Hospitality Industry.pptxDitasDelaCruz
 
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All TimeCall 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All Timegargpaaro
 
Putting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptxPutting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptxCynthia Clay
 
Kalyan Call Girl 98350*37198 Call Girls in Escort service book now
Kalyan Call Girl 98350*37198 Call Girls in Escort service book nowKalyan Call Girl 98350*37198 Call Girls in Escort service book now
Kalyan Call Girl 98350*37198 Call Girls in Escort service book nowranineha57744
 

Último (20)

Berhampur CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Berhampur CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDINGBerhampur CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Berhampur CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
 
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al MizharAl Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
 
Horngren’s Cost Accounting A Managerial Emphasis, Canadian 9th edition soluti...
Horngren’s Cost Accounting A Managerial Emphasis, Canadian 9th edition soluti...Horngren’s Cost Accounting A Managerial Emphasis, Canadian 9th edition soluti...
Horngren’s Cost Accounting A Managerial Emphasis, Canadian 9th edition soluti...
 
Ooty Call Gril 80022//12248 Only For Sex And High Profile Best Gril Sex Avail...
Ooty Call Gril 80022//12248 Only For Sex And High Profile Best Gril Sex Avail...Ooty Call Gril 80022//12248 Only For Sex And High Profile Best Gril Sex Avail...
Ooty Call Gril 80022//12248 Only For Sex And High Profile Best Gril Sex Avail...
 
Mckinsey foundation level Handbook for Viewing
Mckinsey foundation level Handbook for ViewingMckinsey foundation level Handbook for Viewing
Mckinsey foundation level Handbook for Viewing
 
PHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation FinalPHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation Final
 
Falcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business PotentialFalcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business Potential
 
Uneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration PresentationUneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration Presentation
 
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAIGetting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
 
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
 
Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024
 
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan CytotecJual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
 
Durg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTS
Durg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTSDurg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTS
Durg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTS
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
 
Nashik Call Girl Just Call 7091819311 Top Class Call Girl Service Available
Nashik Call Girl Just Call 7091819311 Top Class Call Girl Service AvailableNashik Call Girl Just Call 7091819311 Top Class Call Girl Service Available
Nashik Call Girl Just Call 7091819311 Top Class Call Girl Service Available
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
 
QSM Chap 10 Service Culture in Tourism and Hospitality Industry.pptx
QSM Chap 10 Service Culture in Tourism and Hospitality Industry.pptxQSM Chap 10 Service Culture in Tourism and Hospitality Industry.pptx
QSM Chap 10 Service Culture in Tourism and Hospitality Industry.pptx
 
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All TimeCall 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
 
Putting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptxPutting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptx
 
Kalyan Call Girl 98350*37198 Call Girls in Escort service book now
Kalyan Call Girl 98350*37198 Call Girls in Escort service book nowKalyan Call Girl 98350*37198 Call Girls in Escort service book now
Kalyan Call Girl 98350*37198 Call Girls in Escort service book now
 

1606751772-ds-lecture-6.ppt

  • 2. Previous Lectures Summary •Different forms of arguments •Modus Ponens and Modus Tollens •Additional Valid Arguments •Valid Argument with False Conclusion •Invalid argument with a true Conclusion •Converse and Inverse error •Contradictions and valid arguments
  • 4. Today’s Lecture • Predicates • Set Notation • Universal and Existential Statement • Translating between formal and informal language • Universal conditional Statements • Equivalent Form of Universal and Existential statements • Implicit Qualification • Negations of Universal and Existential statements
  • 5. Predicates A predicate is a sentence which contains finite number of variables and becomes a statement when specific values are substituted for the variables. The domain of a predicate variable is the set of all values that may be substituted in place of the variable Truth Set If P(x) is a predicate and x has domain D, the truth set of P(x) is the set of all elements of D that make P(x) true when substituted for x. The truth set of P(x) is denoted by read as “the set of all x in D such that P(x)”. { | ( )} x D P x 
  • 6. For any two predicates P(x) and Q(x), the notation means that every element in the truth set of P(x) is in the truth set of Q(x). The notation means that P and Q have identical truth sets. Consider the predicate: The truth set of the above predicate is ( ) ( ) P x Q x  Notation ( ) ( ) P x Q x  R x x   , 0   0    x R x
  • 7. Example Let P(x) = x is a factor of 8, Q(x)= x is a factor of 4 and R(x)= x < 5 and . The domain of x is assumed to be . Use symbols , to indicate true relationships among P(x), Q(x) and R(x). a. The truth set of P(x) is {1,2,4,8}, Q(x) is {1,2,4}. Since every element in the truth set of Q(x) is in the truth set of P(x), So b. The truth Set of R(x) is {1,2,4}, which is identical to the truth set of Q(x). Hence . Cont… ( ) ( ) Q x P x  ( ) ( ) Q x R x    3 x   Z
  • 8. Cont… Let Q(x, y) be the statement x + y = x − y where the domain for x and y is the set of all real numbers. Determine the truth value of: (a) Q(5,−2). (b) Q(4.7, 0). (c) Determine the set of all pairs of numbers, x and y, such that Q(x, y) is true. Solution: (a) Q(5,−2) says that 5 + (−2) = 5 − (−2), or 3= 7, which is false. (b) Q(4.7, 0) says that 4.7+ 0 = 4.7 − 0, which is true. (c) x + y = x − y if and only if x + 2y = x, which is true if and only if y = 0. Therefore, x can be any real number and y must be zero.
  • 9. Universal and Existential Statements Let Q(x) be a predicate and D the domain of x. A universal statement is of the form “ ”. It is true if and only if Q(x) is true for all x in D and it is false if and only if Q(x) is false for at least one x in D. A value for x for which Q(x) is false is called a counterexample to the universal statement. Example: Let D={1,2,3,4,5} and consider the statement Show that this statement is true. Solution: Check that is true for each individual x in D. , ( ) x D Q x   2 , . x D x x    2 " ". x x  2 2 1 1 2 2   2 2 3 3 4 4   2 2 5 5 6 6  
  • 10. Cont….. Hence is true. The technique used in first statement while showing the truthness of the universal statement is called method of exhaustion. Consider the statement Find the counter example to show that this statement is not true. Counter example . Take x=1/2, then x is in R and Hence is false. 2 , . x D x x    2 , . x R x x    2 1 1 2 2              2 , . x R x x   
  • 11. Existential Quantifier Let Q(x) be a predicate and D the domain of x. An existential statement is of the form. such that It is true if and only if Q(x) is true for at least one x in D. It is false if and only if Q(x) is false for all x in D. The symbol denotes “there exist” and is called the existential quantifier.  D x  ) (x Q
  • 12. Truth and falsity of Existential statements Suppose P(x) is the predicate “x < |x|.” Determine the truth value of ∃ x s.t. P(x) where the domain for x is: (a) the three numbers 1, 2, 3. (b) the six numbers −2,−1, 0, 1, 2, 3. Solution (a) P(1), P(2), and P(3) are all false because in each case x = |x|. Therefore, ∃ x such that P(x) is false for this domain. (b) If we begin checking the six values of x, we find P(−2) is true. It states that −2 < |−2|. We need to check no further; having one case that makes the predicate true is enough to guarantee that ∃ x s.t. P(x) is true.
  • 13. Truth and falsity of Existential statements Consider the statement . Show that this statement is true. Sol: observe that . Thus is true for at least one integer m . Hence is true. Let E={5,6,7,8,9,10} and consider the statement Show that this statement is false. Sol: the statement is not true for every value of the E. Thus is false. 2 1 1  2 m m  m m t s Z m    2 . . m m t s Z m    2 . . m m t s E m    2 . . m m t s E m    2 . .
  • 14. Translating from formal to informal language Rewrite the following statements in a variety of equivalent but more informal ways. Do not use the symbol a) b) c) Solution: a) we can write the statement in many ways like “ All real numbers have non negative squares”, “No real number has a negative square”, “ x has a non negative square, for each value of x”. ,   2 , 0. x R x    2 , 1. x R x     m m t s Z m    2 . .
  • 15. Cont…. b). Similarly we can translate the second statement in these ways. “ All real numbers have squares not equal to -1”, “No real number have square equal to -1”. c). “There is an integer whose square is equal to itself”, “we can find at least one integer equal to its own square”
  • 16. Cont… Write the following statement in English, using the predicates F(x): “x is a Freshman” T (x, y): “x is taking y” where x represents students and y represents courses: ∃x (F(x) ∧ T (x, Discrete Math)) Solution The statement ∃ x (F(x)∧T (x, Discrete)) says that there is a student x with two properties: x is a freshman and x is taking Discrete. In English, “Some Freshman is taking Discrete Math.”
  • 17. Translating from informal Language to Formal language “Every freshman at the College is taking CSC 102.” Solution: There are various ways to answer this question, depending on the domain. • If we take as our domain all freshmen at the College and use the predicate T (x) : “x is taking CSC 102”, then the statement can be written as ∀x, T(x). • We are making a conditional statement: “If the student is a freshman, then the student is taking CSC 101;” ∀x, (F(x) → T (x)). Note that we cannot say ∀ x (F(x) ∧ T (x)), because this says that every student is a freshman, which is not something we can assume here.
  • 18. Cont….. “Every freshman at the College is taking some Computer Science course.” Sol: If we take as our domain for people all freshmen at the College and our domain for courses, all Computer Science courses. Then we can use the predicate T (x, y): “x is taking y” The statement can be written as ∀x ∃y T(x, y).
  • 19. Universal Conditional Statements A reasonable argument can be made that the most important form of statement in mathematics is the universal conditional statement: ∀ x, if P(x) then Q(x) Example: “Everyone who visited France stayed in Paris.” Sol: However, if we take all people as the universe , then we need to introduce the predicate F(x) for “x visited France.” and P(x) is the predicate “x stayed in Paris.” In this case, the proposition can be written as ∀ x, (F(x) → P(x)).
  • 20. • We can write the following statements in a variety of informal ways. if then Sol: • if a real number is greater then 2, then the square is greater than 4. • Whenever a real number is greater then 2, its square is greater than 4. • The squares of real number, greater than 2, are greater than 4. , x R   2 x  2 4 x 
  • 21. Exercise Rewrite the following statements in the form ∀ ,if then . a) If a real number is an integer, then it is a rational number. a) All bytes have eight bits. b) No fire trucks are green. Sol: a). b). ∀ x, if x is a byte, then x has eight bits. c). ∀ x, if x is a fire truck, then x is not green. , , . x R ifx Z thenx Q    
  • 22. Equivalent Forms of Universal and Existential statements Observe that the two statements “∀ real numbers x, if x is an integer then x is rational” and “∀ integers x, x is rational” mean the same thing. In fact, a statement of the form if P(x) then Q(x). Can always be rewritten in the form Can be rewritten as ∀x, if x is in D then Q(x). , ( ) x D Q x   , U x 
  • 23. Contd. The following statements are equivalent ∀ polygons P, if P is square, then P is a rectangle. And ∀ squares P, P is a rectangle The existential statements ∃ x belongs to U such that P(x) and Q(x). And ∃ x belongs to D such that Q(x) Are also equivalent provided D is taken to consist of all elements in U that make P(x) true.
  • 24. Equivalence form for existential statement The following statements are equivalent: ∃ a number n such that n is prime and n is even And ∃ a prime number n such that n is even.
  • 25. Implicit Quantifications • Consider “ If a number is an integer, then it is a rational number” The clue to indicate its universal quantifications comes from the presence of the indefinite article “a”. Existential quantification can also be implicit. for instance, “ the number 24 can be written as a sum of sum of two integers” “∃ even integers m and n such that 24=m + n.”
  • 26. The negation of the statement of the form ∀ x in D, Q(x) is logically equivalent to a statement of the form ∃ x in D such that ~Q(x) Symbolically: Note: the negation of universal statement is logically equivalent to existential statement. Negations of Quantified Statement ~ ( , ( )) ~ ( ). x D Q x x D Q x      
  • 27. The negation of the statement of the form ∃ x in D such that Q(x) is logically equivalent to a statement of the form ∀ x in D, ~Q(x) Symbolically: Note: the negation of existential statement is logically equivalent to universal statement. Cont…. ~ ( ( )) ,~ ( ). x D Q x x D Q x      
  • 28. Examples Negate “Some integer x is positive and all integers y are negative.” Solution: Using all integers as the universe for x and y, the statement is ∃ x s.t. (x > 0) ∧ ∀ y, (y < 0). The negation is ~{∃x (x > 0) ∧ ∀ y (y < 0)}≡ ~∃x s.t. (x > 0) ∨ ~∀y, (y < 0): by De Morgan’s law ≡ ∀ x, ~(x > 0) ∨ ∃ y s.t. ~(y < 0) properties of negation ≡ ∀ x, (x ≤ 0) ∨ ∃ y s.t. (y ≥ 0). Therefore, the negation is “Every integer x is non positive or there is an integer y that is nonnegative.”
  • 29. Cont…. Negate “There is a student who came late to class and there is a student who is absent from class.” Solution: In symbols, if L(x) : “x came late to class” and A(x) : “x is absent from class,” this statement can be written as ∃ x st L(x) ∧ ∃ y st A(y). Note that we must use a second variable y. By one of De Morgan’s laws the negation can be written as ~(∃ x st L(x)) ∨ ~(∃ y st A(x)) ≡ ∀x, ~L(x) ∨ ∀ y, ~A(x). In English this is “No student came late to class or no student is absent from class.”
  • 30. Lecture Summary • Predicates • Set Notation • Universal and Existential Statement • Translating between formal and informal language • Universal conditional Statements • Equivalent Form • Implicit Qualification • Negations