0% found this document useful (0 votes)
38 views

Chapter 01 (Student Version)

TUTORIAL DISCRETE MATH

Uploaded by

Mickey Minnie
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views

Chapter 01 (Student Version)

TUTORIAL DISCRETE MATH

Uploaded by

Mickey Minnie
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

Chapter 1

Use the following to answer questions 1-5:

In the questions below determine whether the proposition is TRUE or FALSE

1. 1 + 1 = 3 if and only if 2 + 2 = 3.

2. If it is raining, then it is raining.

3. If 1  0, then 3 = 4.

4. If 2 + 1 = 3, then 2 = 3 − 1.

5. If 1 + 1 = 2 or 1 + 1 = 3, then 2 + 2 = 3 and 2 + 2 = 4.

6. Write the truth table for the proposition (r → q)  (p  r).

7. (a) Find a proposition with the given truth table.


p q ?
T T F
T F F
F T T
F F F

(b) Find a proposition using only pq, and the connective  that has this truth table.

Page 1
8. Find a proposition with three variables p, q, and r that is true when p and r are true and q
is false, and false otherwise

9. Find a proposition with three variables p, q, and r that is true when exactly one of the
three variables is true, and false otherwise

10. Find a proposition with three variables p, q, and r that is never true

11. Find a proposition using only pq and the connective  with the given truth table.
p q ?
T T F
T F T
F T T
F F F

12. Determine whether p → (q → r) and p → (q  r) are equivalent.

13. Determine whether p → (q → r) is equivalent to (p → q) → r.

14. Determine whether (p → q)  (p → q)  q.

Page 2
15. Write a proposition equivalent to p  q that uses only pq and the connective .

16. Write a proposition equivalent to p  q using only pq and the connective .

17. Prove that the proposition “if it is not hot, then it is hot” is equivalent to “it is hot”.

18. Write a proposition equivalent to p → q using only pq and the connective: .

19. Write a proposition equivalent to p → q using only pq and the connective .

20. Prove that p → q and its converse are not logically equivalent.

21. Prove that p → q and its inverse are not logically equivalent.

22. Determine whether the following two propositions are logically equivalent: p  (q  r)(p
 q)  (p  r).

23. Determine whether the following two propositions are logically equivalent: p → (q 
r)p  (r → q).

24. Prove that (q  (p → q)) → p is a tautology using propositional equivalence and the
laws of logic.

25. Determine whether this proposition is a tautology: ((p → q)  p) → q.

26. Determine whether this proposition is a tautology: ((p → q)  q) → p.

Use the following to answer questions 27-33:

In the questions below write the statement in the form “If …, then ….”

Page 3
27. x is even only if y is odd.

28. A implies B.

29. It is hot whenever it is sunny.

30. To get a good grade it is necessary that you study.

31. Studying is sufficient for passing.

32. The team wins if the quarterback can pass.

33. You need to be registered in order to check out library books.

34. Write the contrapositive, converse, and inverse of the following: If you try hard, then you
will win.

35. Write the contrapositive, converse, and inverse of the following: You sleep late if it is
Saturday.

Use the following to answer questions 36-38:

In the questions below write the negation of the statement. (Don't write “It is not true that ….”)

36. It is Thursday and it is cold.

37. I will go to the play or read a book, but not both.

Page 4
38. If it is rainy, then we go to the movies.

39. Explain why the negation of “Al and Bill are absent” is not “Al and Bill are present”.

40. Using c for “it is cold” and d for “it is dry”, write “It is neither cold nor dry” in symbols.

41. Using c for “it is cold” and r for “it is rainy”, write “It is rainy if it is not cold” in
symbols.

42. Using c for “it is cold” and w for “it is windy”, write “To be windy it is necessary that it
be cold” in symbols.

43. Using c for “it is cold”, r for “it is rainy”, and w for “it is windy”, write “It is rainy only if
it is windy and cold” in symbols.

44. A set of propositions is consistent if there is an assignment of truth values to each of the
variables in the propositions that makes each proposition true. Is the following set of
propositions consistent?
The system is in multiuser state if and only if it is operating normally.
If the system is operating normally, the kernel is functioning.
The kernel is not functioning or the system is in interrupt mode.
If the system is not in multiuser state, then it is in interrupt mode.
The system is in interrupt mode.

45. On the island of knights and knaves you encounter two people, A and B. Person A says,
"B is a knave." Person B says, "We are both knights." Determine whether each person is a
knight or a knave.

46. On the island of knights and knaves you encounter two people. A and B. Person A says,
"B is a knave." Person B says, "At least one of us is a knight." Determine whether each
person is a knight or a knave.

Use the following to answer questions 47-49:

In the questions below suppose that Q(x) is “x + 1 = 2x”, where x is a real number. Find the
truth value of the statement.

47. Q(2).

48. xQ(x).

Page 5
49. xQ(x).

Use the following to answer questions 50-57:

In the questions below P(xy) means “x + 2y = xy”, where x and y are integers. Determine the
truth value of the statement.

50. P(1−1).

51. P(00).

52. yP(3y).

53. xyP(xy).

54. xyP(xy).

55. yxP(xy).

56. yxP(xy).

57. xyP(xy).

Use the following to answer questions 58-59:

In the questions below P(xy) means “x and y are real numbers such that x + 2y = 5”. Determine
whether the statement is true.

58. xyP(xy).

59. xyP(xy).

Use the following to answer questions 60-62:

In the questions below P(mn) means “m ≤ n”, where the universe of discourse for m and n is
the set of nonnegative integers. What is the truth value of the statement?

Page 6
60. nP(0n).

61. nmP(mn).

62. mnP(mn).

Use the following to answer questions 63-68:

In the questions below suppose P(x,y) is a predicate and the universe for the variables x and y is
{1,2,3}. Suppose P(1,3), P(2,1), P(2,2), P(2,3), P(2,3), P(3,1), P(3,2) are true, and P(x,y) is false
otherwise. Determine whether the following statements are true.

63. xyP(xy).

64. xyP(xy).

65. xy(P(xy)  P(y,x)).

66. yx(P(xy) → P(y,x)).

67. xy (x ≠ y → (P(x,y)  P(y,x)).

68. yx (x ≤ y  (P(x,y)).

Use the following to answer questions 69-72:

In the questions below suppose the variable x represents students and y represents courses, and:
U(y): y is an upper-level course M(y): y is a math course F(x): x is a freshman
B(x): x is a full-time student T(xy): student x is taking course y.
Write the statement using these predicates and any needed quantifiers.

69. Eric is taking MTH 281.

70. All students are freshmen.

71. Every freshman is a full-time student.

72. No math course is upper-level.

Use the following to answer questions 73-75:

In the questions below suppose the variable x represents students and y represents courses, and:
U(y): y is an upper-level course M(y): y is a math course F(x): x is a freshman
A(x): x is a part-time student T(xy): student x is taking course y.
Write the statement using these predicates and any needed quantifiers.

Page 7
73. Every student is taking at least one course.

74. There is a part-time student who is not taking any math course.

75. Every part-time freshman is taking some upper-level course.

Use the following to answer questions 76-78:

In the questions below suppose the variable x represents students and y represents courses, and:
F(x): x is a freshman A(x): x is a part-time student T(xy): x is taking y.
Write the statement in good English without using variables in your answers.

76. F(Mikko).

77. yT(Joey).

78. x(A(x)  F(x)).

Use the following to answer questions 79-81:

In the questions below suppose the variable x represents students and y represents courses, and:
M(y): y is a math course F(x): x is a freshman
B(x): x is a full-time student T(xy): x is taking y.
Write the statement in good English without using variables in your answers.

79. xyT(xy).

80. xyT(xy).

81. xy[(B(x)  F(x)) → (M(y)  T(xy))].

Use the following to answer questions 82-84:

In the questions below suppose the variables x and y represent real numbers, and
L(xy)  x  y G(x)  x  0 P(x)  x is a prime number.
Write the statement in good English without using any variables in your answer.

82. L(73).

83. xyL(xy).

84. xy[G(x) → (P(y)  L(xy))].

Page 8
Use the following to answer questions 85-87:

In the questions below suppose the variables x and y represent real numbers, and
L(xy)  x  y Q(xy)  x = y E(x)  x is even I(x)  x is an integer.
Write the statement using these predicates and any needed quantifiers.

85. Every integer is even.

86. If x  y, then x is not equal to y.

87. There is no largest real number.

Use the following to answer questions 88-89:

In the questions below suppose the variables x and y represent real numbers, and
E(x)  x is even G(x)  x  0 I(x)  x is an integer.
Write the statement using these predicates and any needed quantifiers.

88. Some real numbers are not positive.

89. No even integers are odd.

Use the following to answer questions 90-92:

In the questions below suppose the variable x represents people, and


F(x): x is friendly T(x): x is tall A(x): x is angry.
Write the statement using these predicates and any needed quantifiers.

90. Some people are not angry.

91. All tall people are friendly.

92. No friendly people are angry.

Use the following to answer questions 93-94:

In the questions below suppose the variable x represents people, and


F(x): x is friendly T(x): x is tall A(x): x is angry.
Write the statement using these predicates and any needed quantifiers.

93. Some tall angry people are friendly.

94. If a person is friendly, then that person is not angry.

Page 9
Use the following to answer questions 95-97:

In the questions below suppose the variable x represents people, and


F(x): x is friendly T(x): x is tall A(x): x is angry.
Write the statement in good English. Do not use variables in your answer.

95. A(Bill).

96. x(A(x)  T(x)).

97. x(F(x) → A(x)).

Use the following to answer questions 98-100:

In the questions below suppose the variable x represents students and the variable y represents
courses, and
A(y): y is an advanced course S(x): x is a sophomore
F(x): x is a freshman T(xy): x is taking y.
Write the statement using these predicates and any needed quantifiers.

98. There is a course that every freshman is taking.

99. No freshman is a sophomore.

100. Some freshman is taking an advanced course.

Use the following to answer questions 101-102:

In the questions below suppose the variable x represents students and the variable y represents
courses, and
A(y): y is an advanced course F(x): x is a freshman
T(xy): x is taking y P(xy): x passed y.
Write the statement using the above predicates and any needed quantifiers.

101. No one is taking every advanced course.

102. Every freshman passed calculus.

Use the following to answer questions 103-105:

In the questions below suppose the variable x represents students and the variable y represents
courses, and
T(xy): x is taking y P(xy): x passed y.
Write the statement in good English. Do not use variables in your answers.

Page 10
103. P(WisteriaMAT100).

104. yxT(xy).

105. xyT(xy).

Use the following to answer questions 106-110:

In the questions below assume that the universe for x is all people and the universe for y is the
set of all movies. Write the English statement using the following predicates and any needed
quantifiers:
S(xy): x saw y L(xy): x liked y A(y): y won an award C(y): y is a comedy.

106. No comedy won an award.

107. Lois saw Casablanca, but didn't like it.

108. Some people have seen every comedy.

109. No one liked every movie he has seen.

110. Ben has never seen a movie that won an award.

Use the following to answer questions 111-113:

In the questions below assume that the universe for x is all people and the universe for y is the
set of all movies. Write the statement in good English, using the predicates
S(xy): x saw y L(xy): x liked y.
Do not use variables in your answer.

111. yS(Margarety).

112. yxL(xy).

113. xyL(xy).

Page 11
Use the following to answer questions 114-123:

In the questions below suppose the variable x represents students, y represents courses, and
T(xy) means “x is taking y”. Match the English statement with all its equivalent symbolic
statements in this list:
1. xyT(xy)
2. yxT(xy)
3. xyT(xy)
4. xyT(xy)
5. xyT(xy)
6. yxT(xy)
7. yxT(xy)
8. xyT(xy)
9. yxT(xy)
10. xyT(xy)
11. xyT(xy)
12. xyT(xy)

114. Every course is being taken by at least one student.

115. Some student is taking every course.

116. No student is taking all courses.

117. There is a course that all students are taking.

118. Every student is taking at least one course.

119. There is a course that no students are taking.

120. Some students are taking no courses.

121. No course is being taken by all students.

122. Some courses are being taken by no students.

123. No student is taking any course.

Page 12
Use the following to answer questions 124-134:

In the questions below suppose the variable x represents students, F(x) means “x is a freshman”,
and M(x) means “x is a math major”. Match the statement in symbols with one of the English
statements in this list:
1. Some freshmen are math majors.
2. Every math major is a freshman.
3. No math major is a freshman.

124. x(M(x) → F(x)).

125. x(M(x)  F(x)).

126. x(F(x) → M(x)).

127. x(M(x) → F(x)).

128. x(F(x)  M(x)).

129. x(F(x)  M(x)).

130. x((M(x)  F(x))).

131. x(M(x)  F(x)).

132. x(M(x)  F(x)).

133. x(M(x)  F(x)).

134. x(F(x) → M(x)).

Use the following to answer questions 135-138:

In the questions below let F(A) be the predicate “A is a finite set” and S(AB) be the predicate
“A is contained in B”. Suppose the universe of discourse consists of all sets. Translate the
statement into symbols.

135. Not all sets are finite.

136. Every subset of a finite set is finite.

137. No infinite set is contained in a finite set.

138. The empty set is a subset of every finite set.

Page 13
Use the following to answer questions 139-143:

In the questions below write the negation of the statement in good English. Don't write “It is not
true that …”

139. Some bananas are yellow.

140. All integers ending in the digit 7 are odd.

141. No tests are easy.

142. Roses are red and violets are blue.

143. Some skiers do not speak Swedish.

144. A student is asked to give the negation of “all bananas are ripe”.
(a) The student responds “all bananas are not ripe”. Explain why the English in the
student's response is ambiguous.
(b) Another student says that the negation of the statement is “no bananas are ripe”.
Explain why this is not correct.
(c) Another student says that the negation of the statement is “some bananas are ripe”.
Explain why this is not correct.
(d) Give the correct negation.

145. Explain why the negation of “Some students in my class use e-mail” is not “Some
students in my class do not use e-mail”.

146. What is the rule of inference used in the following:


If it snows today, the university will be closed. The university will not be closed today.
Therefore, it did not snow today.

147. What is the rule of inference used in the following:


If I work all night on this homework, then I can answer all the exercises. If I answer all
the exercises, I will understand the material. Therefore, if I work all night on this
homework, then I will understand the material.

148. Explain why an argument of the following form is not valid:


p→q
p
________
 q

Page 14
149. Determine whether the following argument is valid:
p→r
q→r
(p  q)
________
 r

150. Determine whether the following argument is valid:


p→r
q→r
q  r
________
 p

151. Show that the hypotheses “I left my notes in the library or I finished the rough draft of the
paper” and “I did not leave my notes in the library or I revised the bibliography” imply
that “I finished the rough draft of the paper or I revised the bibliography”.

152. Determine whether the following argument is valid. Name the rule of inference or the
fallacy.
If n is a real number such that n  1, then n2  1. Suppose that n2  1. Then n  1.

153. Determine whether the following argument is valid. Name the rule of inference or the
fallacy.
If n is a real number such that n  2, then n2  4. Suppose that n  2. Then n2  4.

154. Determine whether the following argument is valid:


She is a Math Major or a Computer Science Major.
If she does not know discrete math, she is not a Math Major.
If she knows discrete math, she is smart.
She is not a Computer Science Major.
Therefore, she is smart.

155. Determine whether the following argument is valid.


Rainy days make gardens grow.
Gardens don't grow if it is not hot.
It always rains on a day that is not hot.
Therefore, if it is not hot, then it is hot.

156. Determine whether the following argument is valid.


If you are not in the tennis tournament, you will not meet Ed.
If you aren't in the tennis tournament or if you aren't in the play, you won't meet Kelly.
You meet Kelly or you don't meet Ed.
It is false that you are in the tennis tournament and in the play.
Therefore, you are in the tennis tournament.

Page 15
157. Show that the premises “Every student in this class passed the first exam” and “Alvina is
a student in this class” imply the conclusion “Alvina passed the first exam”.

158. Show that the premises “Jean is a student in my class” and “No student in my class is
from England” imply the conclusion “Jean is not from England”.

159. Determine whether the premises “Some math majors left the campus for the weekend”
and “All seniors left the campus for the weekend” imply the conclusion “Some seniors
are math majors”.

160. Show the premises "Everyone who read the textbook passed the exam", and "Ed read the
textbook" imply the conclusion "Ed passed the exam".

161. Determine whether the premises "No juniors left campus for the weekend" and "Some
math majors are not juniors" imply the conclusion "Some math majors left campus for the
weekend."

162. Show that the premise “My daughter visited Europe last week” implies the conclusion
“Someone visited Europe last week”.

163. Suppose you wish to prove a theorem of the form “if p then q”.
(a) If you give a direct proof, what do you assume and what do you prove?
(b) If you give an indirect proof, what do you assume and what do you prove?
(c) If you give a proof by contradiction, what do you assume and what do you prove?

Page 16
164. Suppose that you had to prove a theorem of the form “if p then q”. Explain the difference
between a direct proof and a proof by contraposition.

165. Give a direct proof of the following: “If x is an odd integer and y is an even integer, then
x + y is odd”.

166. Give a proof by contradiction of the following: “If n is an odd integer, then n2 is odd”.

167. Consider the following theorem: “if x and y are odd integers, then x + y is even”. Give a
direct proof of this theorem.

168. Consider the following theorem: “if x and y are odd integers, then x + y is even”. Give a
proof by contradiction of this theorem.

169. Give a proof by contradiction of the following: If x and y are even integers, then xy is
even.

170. Consider the following theorem: If x is an odd integer, then x + 2 is odd. Give a direct
proof of this theorem

171. Consider the following theorem: If x is an odd integer, then x + 2 is odd. Give a proof by
contraposition of this theorem.

172. Consider the following theorem: If x is an odd integer, then x + 2 is odd. Give a proof by
contradiction of this theorem.

173. Consider the following theorem: If n is an even integer, then n + 1 is odd. Give a direct
proof of this theorem.

174. Consider the following theorem: If n is an even integer, then n + 1 is odd. Give a proof by
contraposition of this theorem.

175. Consider the following theorem: If n is an even integer, then n + 1 is odd. Give a proof by
contradiction of this theorem.

176. Prove that the following is true for all positive integers n: n is even if and only if 3n2 + 8
is even.

177. Prove the following theorem: n is even if and only if n2 is even.

178. Prove: if m and n are even integers, then mn is a multiple of 4.

179. Prove or disprove: For all real numbers x and y, x − y = x − y.

180. Prove or disprove: For all real numbers x and y, x + x = 2x.

Page 17
181. Prove or disprove: For all real numbers x and y, xy = x  y.

182. Give a proof by cases that x  x for all real numbers x.

183. Suppose you are allowed to give either a direct proof or a proof by contraposition of the
following: if 3n + 5 is even, then n is odd. Which type of proof would be easier to give?
Explain why.

184. Prove that the following three statements about positive integers n are equivalent: (a) n is
even; (b) n3 + 1 is odd; (c) n2 - 1 is odd.

185. Given any 40 people, prove that at least four of them were born in the same month of the
year.

186. Prove that the equation 2 x 2 + y 2 =14 has no positive integer solutions.

187. What is wrong with the following "proof" that -3 = 3, using backward reasoning?
Assume that -3 = 3. Squaring both sides yields (-3)2 = 32, or 9 = 9. Therefore -3 = 3.

Page 18

You might also like