Professional Documents
Culture Documents
Propositions
Propositions
DISCRETE MATHEMATIC
LEC-01:
Statements and Propositions
Propositions
Quantifiers
Quantifiers and Negation
Propositions
A proposition is a statement
which is either true or false
Examples:
is irrational
A proposition is a statement
which is either true or false
Examples (NOT propositions):
Conjunction
Disjunction
Negation
Implication
MAT 221
P
R Conjunction
O
P
O P Λ Q (P “and” Q)
S True when both P and Q are True
I
T P Q PΛQ
P
R Implication
O
P P=>Q
O (1) If P, then Q
S
I
(2) Q if P
T (3) P only if Q
I (4) P is sufficient for Q
O
N
(5) Q is necessary for P
S
P
R Implication
O
P P=>Q is true
O Q=>P is true
S
I
P if and only if Q
T P iff Q
I
Examples:
O
P: “3 is odd”, R: “6 is even”
N
S P if and only if R (logically equivalent)
P
R Implication
O
Contrapositive
P
O ¬ Q => ¬ P
S
I Example:
T If you got 6.0 in IELTS, you didn’t have to take the
test again
I
Contrapositive:
O If you had to take IELTS again, you didn’t get 6.0 in
N IELTS
S
P
R Implication
O
Converse
P
O Q => P
S
I Example:
T If you got 6.0 in IELTS, you didn’t have to take the
test again
I
O Converse:
N If you didn’t have to take the test again, you must
S have got 6.0 in IELTS
P
R Remark
O Contrapositives: p q and q p
P Ex. “If it is noon, then I am hungry.”
O “If I am not hungry, then it is not noon.”
S Converses: p q and q p
I Ex. “If it is noon, then I am hungry.”
T “If I am hungry, then it is noon.”
I Inverses: p q and p q
Ex. “If it is noon, then I am hungry.”
O
“If it is not noon, then I am not hungry.”
N
S
P
R Implication
O
P Converse Contrapositive
P Q ¬P ¬Q P→Q Q→P ¬Q→¬P P↔Q
O T T F F T T T T
S T F F T F T F F
I F T T F T F T F
T F F T T T T T T
I
O The contrapositive of P →Q has the same truth values,
N while the converse does not.
S
P Distributivity: p (q r) (p q) (p r)
R
O
P p q r qr p (q r) pq pr (p q) (p r)
O T T T T T T T T
S T T F F T T T T
I T F T F T T T T
T T F F F T T T T
I F T T T T T T T
O F T F F F T F F
N F F T F F F T F
S F F F F F F F F
Application: Digital Logic Circuits
P
R
O
P
O
S
I
T
I
O
N
S
Quantifiers
Universal quantifier
(For all)
Example:
Quantifiers
Existential quantifier
(There exists)
Example:
Quantifiers and Negation
Example:
Question and Answer
• This proposition is true or false?
Question and Answer
• If a is in [5,10], then a is greater than or equal to 5.
• Is 5 in [5,10] ?