- Published on
The Algorithm Design Manual (3rd) Exercise Solution 'E2-36'
Table of Contents
Introduction
This series is my solutions for algorithm exercises in'The Algorithm Design Manual' 3rd edition.
It's my solutions, not model answers, so if you find some mistakes or more sophisticated solutions, please post in comment area below.
Repository
Exercise 2-36
Question
For each pair of expressions (A, B) below, indicate whether A is , or of B. Note that zero, one, or more of these relations may hold for a given pair; list all correct ones.
Solution
Solution for (f)
[1] First, think about how long range n! is bound by.
can be closely related with the simple power of , because the half amount of terms in is larger than .
[1-1] Take a logarithm (base 2) of left hand side.
For sufficiantly large , the following holds:
Using (1) and (3),
[1-2] Take a logarithm of right hand side.
So, the following binding relation is derived:
[1-3] Using the results of [1-1, 1-2],
[2] Next, think about the relation of dominations.
From the analysis in [1], The binding to is:
is bound by two simple multiple of and their domination limits (either is numerator or denominator) does not converge into 0.
So,
[3]
From [1], [2],
All relations are: