Thread Closed

Big-O Notation

 
Share Thread Thread Tools
May30-06, 02:30 AM   #1
 

Big-O Notation


[tex]\sum_{p\leq N}\frac{1}{p}=\log\log N + A + O(\frac{1}{\log N})[/tex]

Does it mean that we can simply replace the O part with a function that is a constant times 1/(log N)? What would be the difference between [tex] A + O(\frac{1}{\log N})[/tex] and [tex]O(1)[/tex]?
 
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Front-row seats to climate change
>> Attacking MRSA with metals from antibacterial clays
>> New formula invented for microscope viewing, substitutes for federally controlled drug
May30-06, 12:35 PM   #2
 
Recognitions:
Homework Helper Homework Help
Science Advisor Science Advisor
Quote by Dragonfall
Does it mean that we can simply replace the O part with a function that is a constant times 1/(log N)?
No it doesn't. If f(n)=g(n)+O(h(n)) then there is a constant C where |f(n)-g(n)|<=C*h(n) in some suitable range of n. It does NOT mean f(n)=g(n)+C*h(n). Consider cos(x)=O(1) but we don't have cos(x)=constant.

Quote by Dragonfall
What would be the difference between [tex] A + O(\frac{1}{\log N})[/tex] and [tex]O(1)[/tex]?
The first gives more information (it implies the second but not vice versa). Even if you don't know the constant A (it can be expressed in terms of an infinite sum over the primes here though) it still says something about the structure of the lower order terms.
 
Thread Closed
Thread Tools


Similar Threads for: Big-O Notation
Thread Forum Replies
notation Calculus & Beyond Homework 5
Index notation vs Dirac notation Special & General Relativity 6
Bra-Ket and Ket-Bra Notation Advanced Physics Homework 1
what is this notation? Linear & Abstract Algebra 2
Notation General Math 2