Little o notation: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Hendra I. Nurdin
m (Little O notation moved to Little o notation: 'o' instead of 'O' is more accurate)
imported>Hendra I. Nurdin
m (typo O-->o)
Line 1: Line 1:
The '''little O notation''' is a mathematical notation which indicates that the decay (respectively, growth) rate of a certain function or sequence is faster (respectively, slower) than that of another function or sequence. It is often used in particular applications in [[physics]], [[computer science]], [[engineering]] and other [[applied sciences]].  
The '''little o notation''' is a mathematical notation which indicates that the decay (respectively, growth) rate of a certain function or sequence is faster (respectively, slower) than that of another function or sequence. It is often used in particular applications in [[physics]], [[computer science]], [[engineering]] and other [[applied sciences]].  


More formally, if ''f'' (respectively, <math>f_n</math>) and ''g'' (respectively, <math>g_n</math>) are real valued functions of the real numbers (respectively, sequences)  then the notation <math>f(t)=o(g(t))</math> (respectively, <math>f_n=O(g_n)</math>) denotes that for every real number <math>\epsilon>0</math> there exists a positive real number (respectively, integer) <math>T(\epsilon)</math> (note the dependence of ''T'' on <math>\epsilon</math>) such that <math>|f(t)|\leq \epsilon |g(t)|</math> for all <math>t>T(\epsilon)</math> (respectively, <math>|f_n| \leq \epsilon |g_n|</math> for all <math>n>T(\epsilon)</math>).  
More formally, if ''f'' (respectively, <math>f_n</math>) and ''g'' (respectively, <math>g_n</math>) are real valued functions of the real numbers (respectively, sequences)  then the notation <math>f(t)=o(g(t))</math> (respectively, <math>f_n=O(g_n)</math>) denotes that for every real number <math>\epsilon>0</math> there exists a positive real number (respectively, integer) <math>T(\epsilon)</math> (note the dependence of ''T'' on <math>\epsilon</math>) such that <math>|f(t)|\leq \epsilon |g(t)|</math> for all <math>t>T(\epsilon)</math> (respectively, <math>|f_n| \leq \epsilon |g_n|</math> for all <math>n>T(\epsilon)</math>).  

Revision as of 03:59, 23 September 2007

The little o notation is a mathematical notation which indicates that the decay (respectively, growth) rate of a certain function or sequence is faster (respectively, slower) than that of another function or sequence. It is often used in particular applications in physics, computer science, engineering and other applied sciences.

More formally, if f (respectively, ) and g (respectively, ) are real valued functions of the real numbers (respectively, sequences) then the notation (respectively, ) denotes that for every real number there exists a positive real number (respectively, integer) (note the dependence of T on ) such that for all (respectively, for all ).

The little O notation is also often used to indicate that the absolute value of a real valued function goes to zero around some point at a rate faster than at which the absolute value of another function goes to zero at the same point. For example, suppose that f is a function with for some real number . Then the notation , where g(t) is a function which is continuous at t=0 and with g(0)=0, denotes that for every real number there exists a neighbourhood of such that holds on .

See also

Big O notation