Asymptotic notation informal definitions

  • Context: Undergrad 
  • Thread starter Thread starter colt
  • Start date Start date
  • Tags Tags
    Definitions Notation
Click For Summary
SUMMARY

The discussion centers on the potential interchangeability of asymptotic notations: O, Ω, o, and ω. The user proposes that the definitions of O notation could be redefined as c*f(x) <= g(x) instead of f(x) <= c*g(x), which would allow for different constants and values of n. The user also questions the validity of redefining these notations, particularly in the context of θ notation, suggesting that adjustments could be made to coefficients. The consensus indicates that such changes would undermine the established meanings of these notations.

PREREQUISITES
  • Understanding of asymptotic notation (O, Ω, o, ω)
  • Familiarity with mathematical functions and inequalities
  • Basic knowledge of algorithm analysis
  • Concept of θ notation in relation to bounding functions
NEXT STEPS
  • Research the formal definitions of asymptotic notations in algorithm analysis
  • Explore the implications of redefining asymptotic notations on algorithm complexity
  • Study the differences between tight and loose bounds in θ notation
  • Examine examples of function comparisons using O, Ω, o, and ω notations
USEFUL FOR

Students and professionals in computer science, particularly those focused on algorithm analysis and performance optimization, will benefit from this discussion.

colt
Messages
20
Reaction score
0
I was wondering if the O notation definition could be exchanged with the Ω notation and o could be exchanged with the ω notation.

I ask this because of this:
2n² O(n²) means that 2n² <= c*n² which it is true for c=3 and n>=1 for example

Instead, it would be like this:

c*2n² <= n² which would be true for c=1/3 and n>=1 for example

and in the Ω case, 2n² Ω n² means that c*2n² <= n² ,which is true to c=1/3 and n>=1 for example. Instead could it be defined so it would means that 2n² < c*n², which would be true for for c=3 and n>=1, for example. Basically changing the meaning of these notations

The same would be applicable to o and ω notations.

And in the case of n²-2n = θ(n²), instead of c1*n²<=n²-2n<=c2*n² could it be c1*n²-2n<=n²<=c2*n²-2n adjusting the coefficients as needed?

It is all of this valid, or there is some restriction that forces these definitions to be that way?
 
Physics news on Phys.org
I don't think it's possible to know what you are talking about. Could you please try to explain your question over?
 
I will try starting with only the O notation then

for a function f(x) to be O g(x) is necessary that f(x) <= c * g(x) for a certain n >= n0 right?

for f(x) = 2n² to be <= than g(x) = n², you could call c of 3 and n >= 1 for instance.

However, if the definition of O notation were c* f(x) <= g(x), for a certain n>= n0, c could be 1/3 and n>=1 that the inequality would keep being true.

Instead to make g(x) bigger, the idea is to make f(x) smaller.

But if you pay attention to the Ω notation would have noted that it is c* f(x) <= g(x) for n>= n0, exactly the "new" notation for O. So Ω would have to change for not be equal to O.
And so would became f(x) <= c * g(x), that it is the "old" definition of O

So what I am doing here is basically swapping their definitions.

The original Ω is equal to the new O notation
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 29 ·
Replies
29
Views
6K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K