Lecture 5
Lecture 5
Discrete Mathematics
MATH-161
Lecture # 5
In logic form
p(pq)
Time to work out more problems
1. Let p and q be the propositions
p : It is below freezing.
q : It is snowing.
6
Biconditional (if and only if)
Let p, q, and r be the propositions
p : Grizzly bears have been seen in the area.
q : Hiking is safe on the trail.
r : Berries are ripe along the trail.
Write these propositions using p, q, and r and logical connectives (including
negations).
a)Berries are ripe along the trail, but grizzly bears have not been seen in the
area.
b)Grizzly bears have not been seen in the area and hiking on the trail is
safe, but berries are ripe along the trail.
c)If berries are ripe along the trail, hiking is safe if and only if grizzly bears
have not been seen in the area.
d)It is not safe to hike on the trail, but grizzly bears have not been seen in
the area and the berries along the trail are ripe.
e)For hiking on the trail to be safe, it is necessary but not sufficient that
berries not be ripe along the trail and for grizzly bears not to have been seen
in the area.
f)Hiking is not safe on the trail whenever grizzly bears have been seen in the
area and berries are ripe along the trail. 7
Try as much as you can from…