CSC165H1 Lecture Notes - Inside Out Music, Natural Number, Precondition

58 views4 pages
cherryberry1035 and 38883 others unlocked
CSC165H1 Full Course Notes
3
CSC165H1 Full Course Notes
Verified Note
3 documents

Document Summary

Fall 2011: write a detailed, structured proof that. Assume f : n r+ and g : n r+. Then c r+, b n, n n, n (cid:62) b g(n) (cid:54) c f (n). Let c0 r+ and b0 n be such that n n, n (cid:62) b0 g(n) (cid:54) c0 f (n). # show that g2 o(f 2): then c1 r+. Then b1 n. # because b0 n. Assume n n and n (cid:62) b1 = b0. Then g(n) (cid:54) c0 f (n) (because n (cid:62) b0), so g2(n) = g(n) g(n) (cid:54) (c0 f (n)) (c0 f (n)) = c2. Hence, n n, n (cid:62) b1 g2(n) (cid:54) c1 f 2(n). Then c r+, b n, n n, n (cid:62) b g2(n) (cid:54) c f 2(n). Therefore, g o(f ) g2 o(f 2). 0 f (n) f (n) = c1 f 2(n): prove that tbft(n) (n2), where bft is the algorithm below.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents

Related Questions