edited by
609 views
1 votes
1 votes
Arrange the following functions in asymptotically increasing order

f1(n) = n0.999999 log n

f2(n) = 10000000n

Please explain your solution. Thanks
edited by

1 Answer

Best answer
0 votes
0 votes

$f1(n) = n^{0.999999} log n \\ f2(n) = 10000000n$


Convert both functions in such a way that they are comparable.


$f1(n) = n^{0.999999} log n  =10000000 * n^{0.999999} * logn * \frac{1}{10000000}\\f2(n) = 10000000n =10000000 \ * \ n^{0.999999} \ * \ n^{0.000001} $


Let $10000000 * n^{0.999999}  = X$

$f1(n) = X * logn * \frac{1}{10000000}\\f2(n) = X \ * \ n^{0.000001} $


For n=$2^{2^{10}}$

$f1(n) = 2^{10} * \frac{1}{10000000} = 1024 * 10^{-7}\\f2(n) = 2^{0.001024} = 1.000710035 $

$\therefore f2(n)>f1(n) $


Note : Using one value would not ensure the function plot but definetly hint something about function .

selected by

Related questions

0 votes
0 votes
1 answer
1
0 votes
0 votes
2 answers
2
raja11sep asked Feb 13, 2022
893 views
Can anyone explain this?
4 votes
4 votes
1 answer
3