Math 213 Homework 3: Problems and Induction Proofs, Assignments of Discrete Mathematics

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

Pre 2010

Uploaded on 03/10/2009

koofers-user-dbo
koofers-user-dbo 🇺🇸

9 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Math 213 - Homework 3
Assigned: 9/7/07
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(n2).
(5) 4.1.4.
(6) 4.1.10.
(7) 4.1.18.
(8) The Fibonacci sequence is defined by F0= 0, F1= 1, and Fn=Fn1+Fn2for n2.
Prove by induction that n
X
i=0
Fi=Fn+2 1.
(9) Let A1, . . . , Ambe sets. Suppose that for any two sets Aiand Ajeither AiAjor
AjAi. Prove that there is some kso that AiAkfor all i. [Let P(n) be the
statement that there is a set Akwith 1 knso that AiAkfor 1 kn.]
(10) Show that
n
X
i=1
1
i(i+ 2) =n(3n+ 5)
4(n+ 1)(n+ 2).
1

Partial preview of the text

Download Math 213 Homework 3: Problems and Induction Proofs and more Assignments Discrete Mathematics in PDF only on Docsity!

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