When Does n lg n Switch from Ω to O?

  • Context: Graduate 
  • Thread starter Thread starter Ananthan9470
  • Start date Start date
  • Tags Tags
    Bound
Click For Summary
SUMMARY

The discussion focuses on the asymptotic bounds of the function n log n, specifically identifying the values of a in n^a where n log n satisfies O(n^a) and Ω(n^a). It is established that n log n = O(n^1.261) and Ω(n^0.797). Additionally, the discussion highlights that the logarithmic base can be switched from lg to log_b, allowing for the expression of bounds in terms of natural logarithms. Understanding the mathematical definition of f(x) = O(g(x)) is crucial for deriving these asymptotic relationships.

PREREQUISITES
  • Understanding of asymptotic notation (Big O and Big Omega)
  • Familiarity with logarithmic functions and their properties
  • Basic knowledge of mathematical analysis
  • Concept of logarithmic bases and their conversions
NEXT STEPS
  • Study the mathematical definition of Big O and Big Omega notation
  • Explore the properties of logarithmic functions in detail
  • Learn about the implications of changing logarithmic bases
  • Investigate asymptotic analysis techniques for different functions
USEFUL FOR

Mathematicians, computer scientists, and software engineers interested in algorithm analysis and performance optimization.

Ananthan9470
Messages
31
Reaction score
0
When considering the asymptotic bounds for n lgn, for what value of a in na does n lgn satisfy O(na) and for what value does it satisfy Ω(na)?

For example n lgn = O(n1.261) but n lgn = Ω(n0.797). Can someone please tell me where for what a does Ω change to O? Also how does the answer change when you consider general logb instead of lg. Thanks!
 
Physics news on Phys.org
A good bound that has been found for the logarithm (in a form that might be useful to you) is the following,

##\ln x \leq x^{\frac{1}{e}}##

That of course implies,

##|x \ln x| \leq |x^{\frac{e+1}{e}}|##

Now review the mathematical definition of ##f(x)=O(g(x))##. You'll get the answer for your first question.

If you switch to ##\log_{b} n## you can still express it in terms of the natural logarithm and that will help you determine an asymptotic bound for logarithms with different bases.

Hope this helped.
 
  • Like
Likes   Reactions: Ananthan9470

Similar threads

  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 20 ·
Replies
20
Views
4K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 28 ·
Replies
28
Views
6K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 11 ·
Replies
11
Views
4K