
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The third homework assignment for math 213, due on september 12, 2007. It includes various problems related to mathematical concepts such as bubble sort analysis, fibonacci sequence, and set relationships. The assignment also includes an induction proof task.
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Math 213 - Homework 3
Assigned: 9/7/
Due: 9/12/07 at the start of class.
Notation: Exercise a.b.c(d) stands for part (d) of Exercise c from Section a.b.
Problems:
(1) 3.3.4. (2) 3.3.9. (3) 3.3.26. (4) Carefully explain why the running time of bubble sort is O(n^2 ). (5) 4.1.4. (6) 4.1.10. (7) 4.1.18. (8) The Fibonacci sequence is defined by F 0 = 0, F 1 = 1, and Fn = Fn− 1 + Fn− 2 for n ≥ 2. Prove by induction that ∑n
i=
Fi = Fn+2 − 1.
(9) Let A 1 ,... , Am be sets. Suppose that for any two sets Ai and Aj either Ai ⊆ Aj or Aj ⊆ Ai. Prove that there is some k so that Ai ⊆ Ak for all i. [Let P (n) be the statement that there is a set Ak with 1 ≤ k ≤ n so that Ai ⊆ Ak for 1 ≤ k ≤ n.] (10) Show that ∑n
i=
i(i + 2)
n(3n + 5) 4(n + 1)(n + 2)
1