Assign 1
Assign 1
1. Determine which of the following statements are propositions and which are non-propositions.
If a statement is a proposition, then decide the truth value of it.
p ∧ (q ∨ r) ≡ (p ∧ q) ∨ (p ∧ r).
4. Consider the expression (p ∧ q) ∨ ¬(p → q). In any way that you like, find an equivalent
expression that is as short as possible. Prove that your expression is equivalent.
6. The following exercises involve the logical operator ↑ (read as NAND). The proposition
p ↑ q is true when either p, or q, or both, are false.
1
7. What is wrong with this argument? Let H(x) be “x is happy.” Given that ∃xH(x), we
conclude that H(Lola). Therefore Lola is happy.
8. What is wrong with this argument? Let S(x, y) be “x is shorter than y.” Given the premise
∃sS(s, Max) it follows that S(Max, Max). Then by existential generalization it follows that
∃xS(x, x), so that someone is shorter than himself.
9. Which rule of inference is used in each of these arguments?
(a) Alice is a mathematics major. Therefore, Alice is either a mathematics major or a
computer science major.
(b) Jerry is a mathematics major and a computer science major. Therefore, Jerry is a
mathematics major.
(c) If it is rainy, then the pool will be closed. It is rainy. Therefore, the pool is closed.
(d) If it snows today, the university will close. The university is not closed today. There-
fore, it did not snow today.
(e) If I go swimming, then I will stay in the sun too long. If I stay in the sun too long,
then I will sunburn. Therefore, if I go swimming, then I will sunburn.
10. Identify the error or errors in this argument that supposedly shows that if ∀x(P (x) ∨ Q(x))
is true then ∀xP (x) ∨ ∀xQ(x) is true.
(1) ∀x(P (x) ∨ Q(x)) Premise.
(2) P (c) ∨ Q(c) Universal instantiation from (1).
(3) P (c) Simplification from (2).
(4) ∀xP (x) Universal generalization from (3).
(5) Q(c) Simplification from (2).
(6) ∀xQ(x) Universal generalization from (5).
(7) ∀xP (x) ∨ ∀Q(x) Conjunction from (4) and (6).
11. Determine whether these are valid arguments.
(a) If x is a positive real number, then x2 is a positive real number. Therefore, if a2 is
positive, where a is a real number, then a is a positive real number.
(b) If x2 6= 0, where x is a real number, then x 6= 0. Let a be a real number with a2 6= 0;
then a 6= 0.
12. To describe the various restaurants in the city, we let p denote the statement “The food
is good,” q denote the statement “The service is good,” and r denote the statement “The
rating is three-star.” Write the following statements in symbolic form.
(a) Either the food is good, or the service is good, or both.
(b) Either the food is good, or the service is good, but not both.
(c) If both the food and services are good, then the rating will be three-star.
(d) It is not true that a three-star rating always means good food and good service.
13. Express each of these mathematical statements using predicates, quantifiers, logical con-
nectives, and mathematical operators.
2
(a) The product of two negative real numbers is positive.
(b) The difference of a real number and itself is zero.
(c) A negative real number does not have a square root that is a real number.
14. Determine the truth value of each of these statements if the domain for all variables consists
of all integers.
lim f (x) = L,
x→x0
For every ε > 0, there exists δ > 0, such that for every x with 0 < |x − x0 | < δ,
|f (x) − L| < ε.
16. In the following figure, each English letter represents a distinct digit. Find out the digit
for each letter so that the addition is correct.
SEND
+ MORE
MONEY
Figure 1: The figure for Question 16.
17. Figure 2 shows a long division process that a number is properly divided by some number y.
In the figure, each * symbol represents a single digit and y is a positive integer (may have
multiple digits). What are the values of y and each * symbol?
**8**
y ) *******
***
**
**
***
***
0
3
18. Four cards are displayed on the table as shown in Figure 3. It is known that for each
card, both faces are drawn with geometric shapes, such that one is solid while the other is
empty. For instance, Card 1 shows a solid circle, which implies its other face will be some
empty shape. Similarly, Card 2 shows an empty square, which implies its other face will
be some solid shape.
Peter took a look at the other face of each card, and said, “if one face is drawn with a solid
circle, then the other face must be drawn with an empty triangle”.
(a) You want to double check about Peter’s claim. One way is to look at the other face
of every card. However, you want to save time. Is it possible to check only some (but
not all) of these cards, so that you can be 100% sure that Peter’s claim is correct?
(b) What is the minimum number of cards you need to check?
1 2 3 4
19. Determine the answers of the following questions so that all can be answered correctly.
Q1. Which is the first question where (c) is the correct answer?
(a) Q3 (c) Q1
(b) Q4 (d) Q2
Q2. Which is the first question where (a) is the correct answer?
(a) Q4 (c) Q3
(b) Q2 (d) Q1
Q3. Which is the first question where (d) is the correct answer?
(a) Q1 (c) Q4
(b) Q2 (d) Q3
Q4. Which is the first question where (b) is the correct answer?
(a) Q2 (c) Q3
(b) Q4 (d) Q1
4
them as A, B, and C, and chats with them. Suddenly, one of them said “A and B are
liars”, and then another one of them said “A and C are liars.”
How many liars are there among these three people?