06.03.2017 Views

Mathematics for Computer Science

e9ck2Ar

e9ck2Ar

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

“mcs” — 2017/3/3 — 11:21 — page 594 — #602<br />

594<br />

Chapter 14<br />

Sums and Asymptotics<br />

f g, the “asymptotically equal” relation.<br />

f D o.g/, the “little Oh” relation.<br />

f D O.g/, the “big Oh” relation.<br />

f D ‚.g/, the “Theta” relation.<br />

f D O.g/ AND NOT.g D O.f //.<br />

(b) Indicate the implications among the assertions in part (a). For example,<br />

f D o.g/ IMPLIES f D O.g/:<br />

Problem 14.40.<br />

Recall that if f and g are nonnegative real-valued functions on Z C , then f D O.g/<br />

iff there exist c; n 0 2 Z C such that<br />

8n n 0 : f .n/ cg.n/:<br />

For each pair of functions f and g below, indicate the smallest c 2 Z C , and<br />

<strong>for</strong> that smallest c, the smallest corresponding n 0 2 Z C , that would establish<br />

f D O.g/ by the definition given above. If there is no such c, write 1.<br />

(a) f .n/ D 1 2 ln n2 ; g.n/ D n. c D , n 0 =<br />

(b) f .n/ D n; g.n/ D n ln n. c D , n 0 =<br />

(c) f .n/ D 2 n ; g.n/ D n 4 ln n c D , n 0 =<br />

.n 1/<br />

(d) f .n/ D 3 sin<br />

C 2; g.n/ D 0:2.<br />

100<br />

c D , n 0 =<br />

Problem 14.41.<br />

Let f; g be positive real-valued functions on finite, connected, simple graphs. We<br />

will extend the O./ notation to such graph functions as follows: f D O.g/ iff<br />

there is a constant c > 0 such that<br />

f .G/ c g.G/ <strong>for</strong> all connected simple graphs G with more than one vertex:<br />

For each of the following assertions, state whether it is True or False and briefly<br />

explain your answer. You are not expected to offer a careful proof or detailed<br />

counterexample.<br />

Reminder: V .G/ is the set of vertices and E.G/ is the set of edges of G, and G<br />

is connected.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!