Question text is in black, solutions in blue.
Q1: 15 points Q2: 15 points Q3: 20 points Q4: 20 points Q5: 30 points Total: 100 points
An integer x is a multiple of y if it equals yz for some integer z.
A proof by contradiction is where you prove a proposition p by first assuming "not p", then using that and other true facts and valid proof methods to derive a contradiction. You have then proved "not p → 0", which is equivalent to p.
A rational number is a real number that can be written in the form x/y, where x and y are integers and y ≠ 0.
When we use induction to prove a statement P(n) for all positive integers n, the base case is to prove the proposition P(1).
A predicate on the positive integers is some statement that contains one free variable of type "positive integer". If P(x) is such a statement, then P(1), P(2), P(3), etc. are propositions obtained by substituting each number for n in the definition of P(n).
FALSE. Since 91 = 7 times 13, 91 is divisible by 7.
TRUE. Both divisions have remainder 1.
FALSE. 10101 is the binary for 16 + 4 + 1 = 21.
TRUE. If n = 2m, then n2 = 4m2 which is divisible by 4. If n = 2m + 1, then n2 = 4m2 + 4m + 1 which is a multiple of 4, plus 1. By the Division Theorem these are the only two possible cases.
FALSE. We proved in lecture that the square root of 2 is irrational. So it is an irrational number whose square is rational.
We will show that if n is any integer, then n2 is not of the form 7k + 5 because it has a remainder mod 7 of other than 5. Any integer n can be written as 7q + r where r is 0, 1, 2, 3, 4, 5, or 6. If r = 0, n2 = 49q2 which is a multiple of 7 and hence not of the form 7k + 5. If r = 1, m2 = 49q2 + 14q + 1, which has remainder 1, not 5, when divided by 7. In each of the other five cases, n2 = 49q2 + 14qr + r2. This number, when divided by 7, has the same remainder as does r2 because the other two terms are divisible by 7. With r = 2 this remainder is 4, with r = 3 it is 2 because (9 mod 7) = 2, with r = 4 it is (16 mod 7) = 2, with r = 5 it is (25 mod 7) = 4, and with r = 6 it is (36 mod 7) = 1. So it is never 5 for any perfect square.
For our base case, we must prove P(1), which says that a1 =
2(1)2 - 5(1) + 6. Since 2 - 5 + 6 = 3, this matches
the given value of a1.
For the inductive case, we assume that ak-1 =
2(n-1)2 -5(n-1) + 6, which is 2n2 - 4n + 2
- 5n + 5 + 6 = 2n2 -9n + 13. Then, by the rule,
an
= an-1 + 4n - 7 = 2n2 -9n + 13 + 4n - 7 =
2n2 -5n + 6. This is exactly what the statement P(n)
says that it should be.
b3 = 3 - 2 = 1, b4 = 1 - 3 = -2, b5 = -2 - 1 = -3, b6 = -3 - (-2) = -1, b7 = -1 - (-3) = 2, b8 = 2 - (-1) = 3, b9 = 3 - 2 = 1, and b10 = 1 = 3 = -2.
By the result of part (c), b100 = b94 = b88, and so on removing 6 at a time until we reach b4 = -2.
First base case: We observe that b7 and b1 are
both 2.
Second base case: We observe that b8 and
b2 are both 3.
Inductive case: Let n be any number with n > 8. We assume that bn-1 =
bn-7, and that bn-2 = bn-8.
We can do this because n-1 and n-2 are each greater than 6.
Now the rule says that bn = bn-1 -
bn-2, and by our two assumptions this equals
bn-7 - bn-8. But by the rule again,
this latter expression equals bn-6, so we have
proved that bn = bn-6.
Last modified 20 October 2015