Professional Documents
Culture Documents
The following is a non-comprehensive list of solutions to Exam 1 problems. In some cases I may give an answer with just
a few words of explanation. On other problems the stated solution may be complete. As always, feel free to ask if you are
unsure of the appropriate level of details to include in your own work.
Please let me know if you spot any typos and Ill update things as soon as possible.
This is one of De Morgans Laws, covered in the lecture on Section 1.1. You can see the truth table in the answer
to Practice Problem 1.1.7(a).
(d) Write the negation of q using symbols or words and determine its truth value. (You should not just put the
negation symbol in front of the statement; rather, change quantifiers and other symbols as needed to express
the negation as a new statement.)
x R 3 y R, xy 0. This is true; x = 0 is the required value; for all real numbers y, we have 0 y 0.
Assume not; that is, assume x is rational, y is irrational, and x + y is rational. Then x = a/b and x + y = c/d,
where a, b, c, d Z and b, d, 6= 0. Then:
y = (x + y) x
c a
=
d b
bc ad
= .
bd
Both the numerator and denominator are integers, and bd 6= 0 since b and d are both non-zero. Hence y has the
form of a rational number, which contradicts our assumption that y is irrational.
1
(b) (Proof by Contrapositive): If xy is irrational, then x is irrational or y is irrational.
The contrapositive statement is If x and y are rational, then xy is rational. Suppose x and y are rational, so
x = a/b and y = c/d where a, b, c, d Z and b, d 6= 0. Then
ac ac
xy = =
bd bd
which is a ratio of integers, and bd 6= 0 since b and d are both non-zero. Thus xy is rational.
(4) In each part below, give a brief explanation or example to show that the described relation is not an equivalence
relation.
(a) Set: Z. Relation: mRn iff m n.
This relation fails to be symmetric. For example, 2R3 because 2 3, but 3R2 is false.
(5) Let R be the relation {(a, b), (b, c), (a, c)} on the the set S = {a, b, c}.
(a) List the fewest number of ordered pairs you must add to R to form an equivalence relation.
As given, R fails to be reflexive, so we must add the elements (a, a), (b, b) and (c, c), bringing us to a total of
six elements:
{(a, a), (b, b), (c, c), (a, b), (b, c), (a, c)}
This expanded relation still fails to be symmetric; (a, b) R but (b, a)
/ R, for example. So we have to add
in (b, a), (c, b) and (c, a). At this point we have NINE elements, which is all possible ordered pairs of elements
from S. So we actually have R = S S.
In both cases we see x A B and x A C and therefore conclude x (A B) (A C), which proves
the claim.