<?xml version="1.0" encoding="UTF-8"?>

<record version="15" id="90">
 <title>Landau notation</title>
 <name>LandauNotation</name>
 <created>2001-10-06 03:03:55</created>
 <modified>2006-09-21 17:24:38</modified>
 <type>Definition</type>
 <creator id="13753" name="Mathprof"/>
 <author id="13753" name="Mathprof"/>
 <author id="2727" name="mathcam"/>
 <author id="1182" name="Larry Hammick"/>
 <author id="6" name="Logan"/>
 <classification>
	<category scheme="msc" code="26A12"/>
 </classification>
 <defines>
	<concept>big-o</concept>
	<concept>small-o</concept>
	<concept>small-omega</concept>
 </defines>
 <synonyms>
	<synonym concept="Landau notation" alias="O notation"/>
	<synonym concept="Landau notation" alias="omega notation"/>
	<synonym concept="Landau notation" alias="theta notation"/>
	<synonym concept="Landau notation" alias="big-O notation"/>
 </synonyms>
 <related>
	<object name="LowerBoundForSorting"/>
	<object name="ConvergenceOfIntegrals"/>
 </related>
 <keywords>
	<term>complexity</term>
	<term>estimate</term>
	<term>estimation</term>
	<term>runtime complexity</term>
	<term>space complexity</term>
 </keywords>
 <preamble>\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}</preamble>
 <content>\PMlinkescapeword{group}
Given two functions $f$ and $g$ from $\mathbb{R}^+$ to $\mathbb{R}^+$,
the notation
$$f=O(g)$$
means that the ratio $\displaystyle \frac{f(x)}{g(x)}$
stays bounded as $x\to\infty$. If moreover that ratio approaches zero,
we write
$$f=o(g).$$

It is legitimate to write, say, $2x=O(x)=O(x^2)$, with the understanding
that we are using the equality sign in an unsymmetric (and informal) way,
in that we do not have, for example, $O(x^2)=O(x)$.

The notation
$$f=\Omega(g)$$
means that the ratio $\displaystyle \frac{f(x)}{g(x)}$
is bounded away from zero as $x\to\infty$, or equivalently $g=O(f)$.

If both $f=O(g)$ and $f=\Omega(g)$, we write $f=\Theta(g)$.

One more notational convention in this group is $$f(x)\sim g(x),$$
meaning $\displaystyle \lim_{x\to\infty}\frac{f(x)}{g(x)}=1$.

In analysis, such notation is useful in describing error \PMlinkname{estimates}{AsymptoticEstimate}.
For example, the Riemann hypothesis is equivalent to the conjecture
$$\pi(x)=\operatorname{li} x+O(\sqrt{x}\log x),$$ where $\operatorname{li} x$ denotes the logarithmic integral.

Landau notation is also handy in applied mathematics, e.g. in describing
the time complexity of an algorithm. It is common to say that an algorithm
requires $O(x^3)$ steps, for example, without needing to specify exactly what
is a step; for if $f=O(x^3)$, then $f=O(Ax^3)$ for any positive constant
$A$.</content>
</record>
