Really Simple Logarithmic Question

  • Thread starter Thread starter asd1249jf
  • Start date Start date
  • Tags Tags
    Logarithmic
Click For Summary
SUMMARY

The discussion focuses on simplifying the function f(n) = log(n) ^ (log(n)) for Big-O notation. The correct simplification is f(n) = n^log(log(n)), derived using logarithmic properties. The transformation utilizes the identity log(a^b) = b*log(a) to arrive at the final expression. This conclusion is essential for understanding the growth rate of the function in algorithm analysis.

PREREQUISITES
  • Understanding of Big-O notation
  • Familiarity with logarithmic properties
  • Knowledge of asymptotic analysis
  • Basic calculus concepts
NEXT STEPS
  • Study logarithmic identities and their applications in algorithm analysis
  • Learn about asymptotic notation and its significance in computer science
  • Explore advanced topics in complexity theory, focusing on logarithmic functions
  • Review examples of Big-O simplifications in algorithm design
USEFUL FOR

Students in computer science courses, algorithm designers, and anyone interested in understanding the complexities of logarithmic functions in Big-O notation.

asd1249jf

Homework Statement



1. f(n) = log(n) ^ (log(n)). Simplify for Big-O notation.

The Attempt at a Solution


1.

I'm just trying to prove a big-O notation for one of my courses, and this was simplified to

f(n) = n^log(log(n))

And I'm having a hard time seeing why. Any guidance would be appreciated.
 
Last edited by a moderator:
Physics news on Phys.org
[tex]\log{f(n)} = \log( (\log n)^{\log{n} } )[/tex]
Using [itex]\log(a^b) = b\log(a)[/itex]
[tex]\log f(n) = \log(n) \log( \log(n))[/tex]

Let's say the logs are base 10. Then
[tex]10^{\log f(n)} = 10^{\log(n) \log(\log(n)}[/tex]
[tex]f(n) = (10^{log(n)})^{\log(\log(n))}[/tex]
[tex]f(n) = n^{log(log(n))}[/tex]
 

Similar threads

Replies
10
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
Replies
7
Views
2K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 49 ·
2
Replies
49
Views
6K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 12 ·
Replies
12
Views
8K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 10 ·
Replies
10
Views
3K