LRC Reviewer Math29 LE1-Solution-Set
LRC Reviewer Math29 LE1-Solution-Set
I. TRUE or FALSE. Write TRUE is the statement is always true, otherwise, FALSE.
1. The statement (P ∧ Q) ∨ (P ∨ Q) is true whenever at least one among statements P and Q is true.
2. The implication P ⇒ Q is false whenever P or Q is false.
3. The statement (P ∨ Q) ∧ ¬(P ∧ Q) is equivalent to the statement (P ∧ ¬Q) ∨ (¬P ∧ Q).
4. Showing that the hypothesis of a conditional statement is false implies the validity of the statement.
5. A statement without any counterexample is a tautology.
II. LOGIC. Provide NEAT and COMPLETE solutions/proof to the following problems.
END OF REVIEWER
kbramos7, kpraposas
LRC Math 29 1st Semester A.Y. 2021-2022
Learning Resource Center
University of the Philippines Baguio
UP Baguio Office: Tel. (074) 444-8720
I. TRUE or FALSE. Write TRUE is the statement is always true, otherwise, FALSE.
1. The statement (P ∧ Q) ∨ (P ∨ Q) is true whenever at least one among statements P and Q is true. Ans: TRUE
2. The implication P ⇒ Q is false whenever P or Q is false. Ans: FALSE
3. The statement (P ∨ Q) ∧ ¬(P ∧ Q) is equivalent to the statement (P ∧ ¬Q) ∨ (¬P ∧ Q). Ans: TRUE
4. Showing that the hypothesis of a conditional statement is false implies the validity of the statement. Ans: TRUE
5. A statement without any counterexample is a tautology. Ans: TRUE
II. LOGIC. Provide NEAT and COMPLETE solutions/proof to the following problems.
p : Math 29 is easy.
q : Math 29 classes are short.
r : Math 29 is interesting.
s : Math 29 is fulfilling.
Then we have the following set of premises: p ⇒ q, ¬p ∧ r ⇒ s, ¬q, and the additional premise, (p ⇒ q) ⇔
(¬q ⇒ ¬p).
Prove: r ⇒ s.
1. r (H)
2. p ⇒ q (Pr)
3. ¬p ∨ q (Or-form)
4. q ∨ ¬p (Commutativity of ∨)
5. ¬q =⇒ ¬p (Or-form)
6. ¬q (Pr)
7. ¬p (MP)
8. ¬p ∧ r (Adj)
9. ¬p ∧ r ⇒ s (Pr)
10. s (DPI)
III. METHODS OF PROOF. Provide NEAT and COMPLETE solutions/proof to the following problems.
1. Let x ∈ Z. Prove directly that if x2 − 4x + 2 is divisible by 7, then x3 − 27 is also divisible by 7.
Ans: Assume that x2 − 4x + 2 is divisible by 7 for some x ∈ Z, i.e. x2 − 4x + 2 = 7k for some k ∈ Z. Now,
we need to show that x3 − 27 is also divisible by 7, i.e. x3 − 27 = 7j for some j ∈ Z
Proof.
x2 − 4x + 2 = x2 − 7x + 3x + 9 − 7
= x2 + 3x + 9 − 7(x + 1)
x3 − 27 = (x − 3)(x2 + 3x + 9)
= (x − 3)(7m)
= 7(m)(x − 3)
= 7j
xy + 1 = (2k)(2l + 1) + 1 = 2(2kl + l) + 1 = 2m + 1
is odd, since m = 2kl + l is an integer. By contraposition, xy + 1 is even if x and y are both odd.
(⇐) Let x, y be odd integers, i.e., x = 2k + 1 and y = 2l + 1 for some k, l ∈ Z. Then
so we let n = 5k − 3. The problem becomes n2 + 3n is even if n is an integer. If n is an even integer, then n = 2k for
some integer k. Then
is an even integer, since l = 2k2 + 3k is an integer. If n is odd, i.e., n = 2k + 1 for some integer k, then
1
X
(1)21 = (1 − 1)21+1 + 2
k=1
2 = (0)22 + 2 = 2
n+1
X
We have verified that k2k = (n)2n+2 + 2. Therefore, by the principle of mathematical induction, for any positive
k=1
n
X
integer n, k2k = (n − 1)2n+1 + 2 for some integer k ≥ 1.
k=1
6. Find a formula for the total number of squares on a n − by − n square grid. Prove your claim using mathematical induction.
Ans: Let Sn = total number of squares in an n − by − n square grid.
Observe that
n Sn
1 1
2 5=1+4
3 14=5+9
4 30=14+16
.. ..
. .
n 12 + 22 + 32 + · · · + n2 = Sn−1 + n2
The pattern that can be obtained is Sn = Sn−1 + n2
Claim. Sn = 12 + 22 + 32 + · · · + n2
Sk+1 = Sk + (k + 1)2
= 12 + 22 + 32 + · · · + k2 + (k + 1)2
We have verified that Sk+1 is true for all natural numbers k ≥ n. Therefore, by the principle of mathematical induction,
total number of squares in an n − by − n square grid is given by 12 + 22 + 32 + · · · + n2
7. Prove: ∀xp(x) ∨ ∀xq(x) ⇒ ∀x(p(x) ∨ q(x)). Does the converse also hold?
Ans: Proof. Suppose ∀xp(x) ∨ ∀xq(x). WLOG, for any substitution a ∈ U , p(a). Then for any substitution a ∈ U ,
p(a) ∨ q(a). Hence, ∀x(p(x) ∨ q(x)).
For the converse, we can think of two statements that are true exclusively, i.e., one statement is true while the other
statement is false for some x. Take p(x) as the open statement, x is even, and q(x) as the open statement, x is odd. Note
that for all x, either x is even or odd, but not all x is even and not all x is odd.
END OF REVIEWER
kbramos7, kpraposas
LRC Math 29 1st Semester A.Y. 2021-2022