




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





∑n i=1 i^2 i^ = (n^ −^ 1)2n+1^ + 2
Guess that the sequence satisfies this formula: tn = an^2 + bn + c, for some (unknown) constants a, b, c. Use constructive induction to derive values for the constants a, b, c while proving the formula at the same time. Make sure to use the base cases.
A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C)
A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ B ∩ C)
v. The size (cardinality, number of elements) of the powerset P (A) of the set A of all 36 alphanumeric symbols (26 lowercase letters, plus digits 0,1,...,9) is (just write the correct expression; do not attempt to reduce to an ordinary number):
Russell’s paradox and the The Halting Problem a. were both discovered by Russell b. both use the idea of a kind of negative self-reference c. both of the above d. none of the above
The multiplication rule says that if a procedure has n steps a. then it can be done in n^2 ways b. then each step s_i can always be done in w_i ways c. both of the above d. none of the above
Let S be a set of cardinality n. Then the # of r-permutations of S a. is equal to the # of r-combinations of S b. is larger than the # of r-combinations of S c. is less than the # of r-combinations of S
Assuming a uniform probablitly distribution on tosses of a (6-sided) die, and letting each of 1,...,6 represent the elementary event of rolling that value, then a. P(3) = P(1 union 2) b. P(3) = P(1) + P(2) c. both the above d. none of the above
Let f:A->B, where |A| > |B|. Then
a. f must be 1- b. f cannot be 1- c. f must be onto
The cardinality of infinite sets a. makes no sense, as Galileo showed b. can be given a precise meaning c. makes sense only by saying all of them have the same size
a. Let f:A->B be a function from A to B Then the domain of f is _____ The domain and codomain must be the same_____ (T/F)
b. Give an example of a function that is neither 1-1 nor onto _______________
c. Give an example of a function that is both 1-1 and onto___________________
d. The Customs Office arrests a man who has 1000 bottles of wine that he admits were brought from another country. But he says that he did not bring them all at once: only a few at a time, well within the legal limit, and that he has been doing this once a week, fifty weeks a year, for the past two years. The Customs Office convinces a judge that he broke the law and in fact exceeded the limit at least once. Assuming they made a correct argument to the judge, what can we infer about the legal limit on bottles of wine that can be brought into the country on one trip? __________________________
Definition p → q ≡ ∼ p ∨ q of Implication ∼ (p → q) ≡ p∧ ∼ q Definition of A ↔ B ≡ (A → B) ∧ (B → A) Biconditional ∼ (A ↔ B) ≡ (A∧ ∼ B) ∨ (B∧ ∼ A) Negation of ∼ ∀x P (x) ≡ ∃x ∼ P (x) Quantifiers ∼ ∃x P (x) ≡ ∀x ∼ P (x) Universal ∀x ∈ D, P (x) → Q(x) Modus Ponens P (a) → Q(a) Universal ∀x ∈ D, P (x) → Q(x) Modus Tollens ∼ Q(a) → ∼ P (a) Universal Instantiation ∀x ∈ D, P (x) → P (a) (Needs Nonempty Domain) Existential Generalization P (a) where a ∈ D → ∃x ∈ D, P (x) Universal Generalization P (a) where a ∈ D → ∀x ∈ D, P (x) (Needs a not special) Existential Instantiation ∃x ∈ D, P (x) → P (a) where a ∈ D (Needs a not special)
Theorem 4.1.
∑ k = mna k +
∑ k = mnb k =
∑ k = mn(a k + b k) Theorem 4.1.1 c ·
∑ k = mna k =
∑ k = mn(c · a k) Theorem 4.1.
∏ k = mna k ·
∏ k = mnb k =
∏ k = mn(a k · b k) Theorem 4.2.
∑ i = 1mi = m(m 2 +1)
Theorem 4.2.
∑ i = 0nri^ = r
n+1− 1 r− 1
The rules below apply to all sets A, B, and C that are subsets of some fixed universal set U.