Intuitively, the assertion ā€œf(x)Ā isĀ o(g(x))ā€ (read ā€œf(x)Ā is little-o ofĀ g(x)ā€) means thatĀ g(x)Ā grows much faster thanĀ f(x).

As before, letĀ fĀ be a real or complex valued function andĀ gĀ a real valued function, both defined on some unbounded subset of the positiveĀ real numbers, such thatĀ g(x) is strictly positive for all large enough values ofĀ x.

One writes , if for every positive constant ε there exists a constant  such that 1

For example, one has Ā andĀ Ā both asĀ 

The difference between the definition of the big-O notation and the definition of little-o is that ==while the former has to be true for at least one constant M, the latter must hold for every positive constant ε, however small==2.

In this way, little-o notation makes aĀ stronger statementĀ than the corresponding big-O notation: ==every function that is little-o ofĀ gĀ is also big-O ofĀ g, but not every function that is big-O ofĀ gĀ is also little-o ofĀ g==. For example,Ā Ā butĀ .

AsĀ g(x) is nonzero, or at least becomes nonzero beyond a certain point, the relationĀ Ā is equivalent to Ā (and this is in fact how LandauĀ originally defined the little-o notation).

Little-o respects a number of arithmetic operations. For example,

  • ifĀ cĀ is a nonzero constant andĀ Ā thenĀ , and
  • ifĀ Ā andĀ Ā thenĀ 

It also satisfies aĀ transitivityĀ relation:

  • ifĀ Ā andĀ Ā thenĀ 

Footnotes

  1. Landau, Edmund (1909). Handbuch der Lehre von der Verteilung der Primzahlen [Handbook on the theory of the distribution of the primes] (in German). Leipzig: B. G. Teubner. p. 61. ↩

  2. Thomas H. Cormen et al., 2001, Introduction to Algorithms, Second Edition, Ch. 3.1 Archived 2009-01-16 at the Wayback Machine ↩