Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Cairo University
MTH N104, MTH 125B
Discrete Math
Sheet #1
1. Construct a truth table for each of the following compound propositions, where p, q, r denote primitive
propositions. Which of these propositions are tautologies?
( ) ( )
b)
( )
a)
( )
c)
( )
[ ( )]
d)
e)
f)
( )
2. Determine all the truth value assignments, if any, for the primitive propositions p, q, r, s, t that make each of
the following compound propositions false.
a) [( ) ] ( )
b) [ ( )] ( )
3. Let p and q be the propositions
p: You drive over 65 miles per hour.
q: You get a speeding ticket.
Write the following propositions using p and q and logical connectives.
a) You don't drive over 65 miles per hour.
b) Your drive over 65 miles per hour, but you don't get a speeding ticket.
c) You will get a speeding ticket if you drive over 65 miles per hour.
d) If you don't 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 don't drive over 65 miles per hour.
g) Whenever you get a speeding ticket, you are driving over 65 miles per hour.
c)
( )
7. Provide the steps and reasons to establish the following logical equivalences
a) [ ( )]
b) ( )
c) [( ) ( )
d) ( ) ( ) ( )
b)
d)
[() ()]
() () ()
9. Let p(x) be the statement "x can speak Russian" and let q(x) be the statement "x knows the computer
language C++." Express each of the following sentences in the terms of p(x), q(x), quantifiers, and logical
connectives. For the universe of discourse for quantifiers use the set of all students at your faculty.
a) There is a student at your faculty who can speak Russian and who knows C++
b) There is a student at your faculty who can speak Russian but who doesn't know C++
c) Every student at your faculty either can speak Russian or knows C++
d) No student at your faculty can speak Russian or knows C++
10. For the following statements, the universe comprises all non-zero integers. Determine the truth value of
each statement
a)
[ = 1]
b)
[ = 1]
c)
[ = 1]
d)
[(2 + = 5) ( 3 = 8)]
e)
[(3 = 7) (2 + 4 = 3)]
11. Repeat problem 10 with a universe of all non-zero real numbers.
17. Write each of the following arguments in symbolic form. Then establish the validity of the argument or give a
counterexample to show that it is invalid.
a) If Dominic goes to the racetrack, then Helen will be mad. If Ralph plays cards all night, then Carmella
will be mad. If either Helen or Carmella gets mad, then Veronica (their attorney) will be notified.
Veronica has not heard from either of these two clients. Consequently, Dominic didn't make it to the
racetrack and Ralph didn't play cards all night.
b) If there is a chance of rain or her read headband is missing, then Lois will not mow her lawn.
Whenever the temperature is over 80oF, there is no chance for rain. Today the temperature is 85oF
and Lois is wearing her red headband. Therefore (sometime today) Lois will mow her lawn.
**********************************
Rules of Logic
For primitive propositions p, q, r, any tautology To and any contradiction Fo
1)
2)
3)
4)
5)
6)
7)
8)
9)
10)
11)
12)
( )
( )
Commutative Laws
Associative Laws
( ) ( )
( ) ( )
( ) ( ) ( )
Distributive Laws
( ) ( ) ( )
Idempotent Laws
Identity Laws
Negation Laws
Domination Laws
Absorption Laws
( )
Definition of Implication
( )
( ) ( )
Definition of Bi-conditional
Rules of Inference
1)
2)
3)
4)
5)
6)
7)
8)
9)
10)
11)
*Not in Textbook
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
Modus Tollens
Rule of Conjunction
Rule of Simplification
Rule of Addition
Rule of Resolution