Q1: 15 points Q2: 25 points Q3: 20 points Q4: 20 points Q5: 20 points Total: 100 points
Question text is in black, solutions in blue.
The base case is the proof of P(1), where P(n) is the statement we want to prove true for all n by induction.
The contrapositive of an implication "p → q" is the statement "¬q → ¬p". It is logically equivalent to the original implication.
If ∀x:P(x) is a universally quantified statement, a counterexample to it is any element a of the type of x such that P(a) is false. Its existence proves that ∀x:P(x) is false.
A recurrence relation defines a sequence of numbers by giving its first element (a1) and a rule for computing each new element in terms of previous elements.
A rational number is a real number that can be written as p/q, where p is any integer and q is any nonzero integer.
"∃b:∀x:PG(x) → I(x, b)" ("There is some breed that all of Professor Gill's dogs have") or "∀x:∀y:(PG(x) ∧ PG(y))) → SB(x, y)" ("Any two of Professor Gill's dogs are of the same breed")
"There do not exist two dogs of the same breed such that one belongs to Professor Barrington and the other to Professor Gill."
"SB(m, c) ⊕ SB(w, c)" or "(SB(m, c) ∨ SB(w, c)) ∧ ¬(SB(m, c) ∧ SB(w, c))" or "∃b:I(c, b) ∧ (I(m, b) ∨ I(w, b)) ∧ ¬(I(m, b) ∧ I(w, b))". Strictly speaking, we should not assume in our translation that a dog cannot have more than one breed (the third response here does this).
"Duncan belongs to Professor Barrington, and there is another dog x such that any dog other than Duncan belongs to Professor Barrington if and only if it is x," or "Professor Barrington has exactly two dogs, one of whom is Duncan".
"¬∃x:∃y: PB(x) ∧ PB(y) ∧ (x ≠ y) ∧ SB(x, y)" or "¬∃x:∃y:∃b: PB(x) ∧ PB(y) ∧ (x ≠ y) ∧ I(x, b) ∧ I(y, b)".
Since the column under the implication (the last operation to be
executed in evaluating the statement) is all ones, the statement is
true in all eight cases and it thus a tautology.
(q and (p or not r)) --> (p or (q and not r))
0 0 0 1 1 0 1 0 0 0 0 1 0
0 0 0 0 0 1 1 0 0 0 0 0 1
1 1 0 1 1 0 1 0 1 1 1 1 0
1 0 0 0 0 1 1 0 0 1 0 0 1
0 0 1 1 1 0 1 1 1 0 0 1 0
0 0 1 1 0 1 1 1 1 0 0 0 1
1 1 1 1 1 0 1 1 1 1 1 1 0
1 1 1 1 0 1 1 1 1 1 0 0 1
(Hint: Use the Division Theorem and consider the five cases of the possible remainder when n is divided by 5. You don't want to use induction, since you need all integers and not just positive ones.)
Let z be the number n3 + n2 + n + 1. By the
Division Theorem, we know that n can be written as 5q + r where 0 ≤
r < 5. We are interested in how the remainder, when 5 is divided
by 5, depends on the value of r.
Following one student's example, we will save calculation by
computing z in terms of q and r before breaking into cases.
Writing n as 5q + r, we get z = (5q + r)3 + (5q +
r)2 + (5q + r) + 1. Expanding the powers, we get a lot
of terms, but nearly all of them are clearly divisible by 5. The
exceptions are the terms r3, r2, r, and 1.
Now we break into five cases:
We prove this by induction.
For the base case, we are given that a1 = 1, and we want
to prove that a1 = 5 - 23-1. Since 1 = 5 - 4,
this is true.
For the inductive case, we asssume that an-1 = 5 -
23-(n-1) = 5 - 24 - n is true. Our inductive
goal is an = 5 - 23-n. Using the rule, we
compute that an = (an-1 + 5)/2 = (by the IH)
(5 - 24-n + 5)/2 = (10 - 24-n)/2 = 5 -
23-n.
This satisfies the inductive goal and completes the proof.
Last modified 22 October 2017