Q1: 20 points Q2: 20 points Q3: 25 points Q4: 35 points Total: 100 points
Question text is in black, solutions in blue.
The summation of a number sequence a1, a2, a3,... is the sequence s1, s2, s3,... where each sn is the sum of all terms ai for i from 1 through n.
The inverse of an implication "p → q" is the implication "¬p → ¬q". It is not equivalent to the original implication.
This rule says that for any proposition p, "¬¬p" is equivalent to p.
Written "∃x" for some variable x, it means that at least one value of x exists making the following statement true.
A compound proposition is a tautology if every possible setting of its atomic variables makes the compound proposition true.
The recursive form is a1 = -7, ak =
ak-1 + 4.
The next three terms are a6 = 13, a7 =
17,
and a8 = 21.
The closed form is an = 4n - 11. We can find this
because we can see that the function is a linear one with slope
4,
so that we only need to find the y-intercept.
There are at least two possible recursive forms, both with first term
b1 = -1. The one I intended was bk =
3bk-1 + 3. But an equally good one is bk
= bk-1 + 3k-1.
The next three terms are b6 = 120,
b7 = 363, and b8 = 1092. (These may be
calculated from either of the given recursive rules.)
To find the closed form, we use the fact that the tripling on
every step is going to create a term of the form 3n.
If we look for part of the sequence resembling (1, 3, 9, 27,
81, 243, 729,...)
we can see that some of the numbers in our sequence are around
half
of these numbers. From this we can get bn =
(1/2)(3n-1 - 3), so that b1 =
(1/2)(30 - 3) = -1 and b2 =
(1/2)(31 - 3) = 0.
¬(p → q)
Every dog is either sillier than Duncan or less silly than Cardie. (Many people said instead "Either every dog is siller than Duncan, or every dog is less silly than Cardie", which is not the same thing -- that would be the translation of (∀x: S(d, x)) ∨ (∀y: S(y, c)).)
(p ∧ q) → ∀x: ((x ≠ c) ∧ (x ≠ d)) → (S(c, x) ∧ S(d, x)) (We need the reference to x not being equal to c or d in order to capture the phrase "all other dogs".)
Either Duncan is sillier than Cardie, or Duncan barks too much, Cardie is sillier than Duncan, and Cardie does not eat paper.
∃x:∀y:(¬S(y, c) ∧ ¬S(y, d)) → S(x, y)
((p --> not q) and q) --> not p
-----------------------------------
0 1 1 0 0 0 1 1 0
0 1 0 1 1 1 1 1 0
1 1 1 0 0 0 1 0 1
1 0 0 1 0 1 1 0 1
((p and not q and not r) or (q and r)) <--> ((q <--> r) and (p or q))
----------------------------------------------------------------------
0 0 1 0 0 1 0 0 0 0 0 1 0 1 0 0 0 0 0
0 0 1 0 0 0 1 0 0 0 1 1 0 0 1 0 0 0 0
0 0 0 1 0 1 0 0 1 0 0 1 1 0 0 0 0 1 1
0 0 0 1 0 0 1 1 1 1 1 1 1 1 1 1 0 1 1
1 1 1 0 1 1 0 1 0 0 0 1 0 1 0 1 1 1 0
1 1 1 0 0 0 1 0 0 0 1 1 0 0 1 0 1 1 0
1 0 0 1 0 1 0 0 1 0 0 1 1 0 0 0 1 1 1
1 0 0 1 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1
Last modified 13 October 2015