Big O notation or Big Oh notation, and also Landau notation or asymptotic notation, is a mathematical notation used to describe the asymptotic behavior of functions. Its purpose is to characterize a function's behavior for very large (or very small) inputs in a simple but rigorous way that enables comparison to other functions. More precisely, the symbol O is used to describe an asymptotic upper bound for the magnitude of a function in terms of another, usually simpler, function. There are also other symbols o, Ω, ω, and Θ for various other upper, lower, and tight bounds. It has two main areas of application: in mathematics, it is usually used to characterize the residual term of a truncated infinite series, especially an asymptotic series, and in computer science, it is useful in the analysis of the complexity of algorithms.

Informally, the O notation is commonly employed to describe an asymptotic tight bound, but tight bounds are more formally and precisely denoted by the Θ (capital theta) symbol as described below.

It was first introduced by German number theorist Paul Bachmann in 1894, in the second volume of his book Analytische Zahlentheorie ("analytic number theory"), the first volume of which (not yet containing big O notation) came out in 1892. The notation was popularized in the work of another German number theorist Edmund Landau, hence it is sometimes called a Landau symbol. The big-O, standing for "order of", was originally a capital omicron; today the identical-looking Latin capital letter O is also used, but never the digit zero.

Uses

There are two formally close, but noticeably different usages of this notation: infinite asymptotics and infinitesimal asymptotics. This distinction is only in application and not in principle, however—the formal definition for the "big O" is the same for both cases, only with different limits for the function argument.

Infinite asymptotics

Big O notation is useful when analyzing algorithms for efficiency. For example, the time (or the number of steps) it takes to complete a problem of size n might be found to be T(n) = 4n² - 2n + 2.

As n grows large, the n² term will come to dominate, so that all other terms can be neglected—for instance when n = 500, the term 4n² is 1000 times as large as the 2n term, and so ignoring the latter would have negligible effect on the expression's value for most purposes.

Further, the coefficients become irrelevant as well if we compare to any other order of expression, such as an expression containing a term n³ or 2n. Even if T(n) = 1,000,000n², if U(n) = n³, the latter will always exceed the former once n grows larger than 1,000,000 (T(1,000,000) = 1,000,000³ = U(1,000,000)).

So the big O notation captures what remains: we write

(pronounced "big O of n squared") and say that the algorithm has order of n²   time complexity.

Infinitesimal asymptotics

Big O can also be used to describe the error term in an approximation to a mathematical function. For example,

expresses the fact that the error, the difference , is smaller in absolute value than some constant times |x|3 when x is close enough to 0.

Formal definition

Suppose f(x) and g(x) are two functions defined on some subset of the real numbers. We say

if and only if

\exists \;x_0,\exists \;M>0\mbox{ such that } |f(x)| \le \; M |g(x)|\mbox{ for }x>x_0.

The notation can also be used to describe the behavior of f near some real number a: we say

if and only if

\exists \;\delta >0,\exists \; M>0\mbox{ such that }|f(x)| \le \; M |g(x)|\mbox{ for }|x - a| < \delta.

If g(x) is non-zero for values of x sufficiently close to a, both of these definitions can be unified using the limit superior:

if and only if

Theory of O-Notation: f is in the order of g (f(x) = O(g(x))) if and only if there exists a positive real number M and a real number x0 such that for all X,|f(x)| <= M . |g(x)|, wherever x > x0
Theory of O-Notation: f is in the order of g (f(x) = O(g(x))) if and only if there exists a positive real number M and a real number x0 such that for all X,
|f(x)| <= M . |g(x)|, wherever x > x0

In mathematics, both asymptotic behaviours near ∞ and near a are considered. In computational complexity theory, only asymptotics near ∞ are used; furthermore, only positive functions are considered, so the absolute value bars may be left out.

Example

Take the polynomials:

We say f(x) has order O(g(x)) or O(x4). From the definition of order, |f(x)| ≤ C |g(x)| for all x>1, where C is a constant.

Proof:

        where x > 1
    because x3 < x4, and so on.
                      where C = 13 in this example

Matters of notation

The statement "f(x) is O(g(x))" as defined above is usually written as f(x) = O(g(x)). This is a slight abuse of notation; equality of two functions is not asserted. The property of being O(g(x)) is not symmetric:

.

For this reason, some authors prefer set notation and write , thinking of O(g) as the set of all functions dominated by g.

In more complex usage, O( ) can appear in different places in an equation, even several times on each side. For example, the following are true for

(n + 1)2 = n2 + O(n)
nO(1) = O(en)

The meaning of such statements is as follows: for any functions which satisfy each O( ) on the left side, there are some functions satisfying each O( ) on the right side, such that substituting all these functions into the equation makes the two sides equal. For example, the third equation above means: "For any function f(n)=O(1), there is some function g(n)=O(en) such that nf(n)=g(n)." In terms of the "set notation" above, the meaning is that the class of functions represented by the left side is a subset of the class of functions represented by the right side.

Common orders of functions

Here is a list of classes of functions that are commonly encountered when analyzing algorithms. All of these are as n increases to infinity. The slower-growing functions are listed first. c is an arbitrary constant.

Notation Name Example
O(1) constant Determining if a number is even or odd
O(log* n) iterated logarithmic The find algorithm of Hopcroft and Ullman on a disjoint set
O(log n) logarithmic Finding an item in a sorted list with the binary search algorithm
O((log n)c) polylogarithmic Deciding if n is prime with the AKS primality test
O(n) linear Finding an item in an unsorted list
O(n log n) linearithmic, loglinear, or quasilinear Sorting a list with heapsort
O(n2) quadratic Sorting a list with insertion sort
O(nc), c > 1 polynomial, sometimes called algebraic Finding the shortest path on a weighted digraph with the Floyd-Warshall algorithm
O(cn) exponential, sometimes called geometric Finding the (exact) solution to the traveling salesman problem
O(n!) factorial, sometimes called combinatorial Determining if two logical statements are equivalent [1]; traveling salesman problem via brute-force search
double exponential Finding a complete set of AC-unifiers (associative-commutative unifiers) [2]

Not as common, but even larger growth is possible, such as the single-valued version of the Ackermann function, A(n,n). Conversely, extremely slowly-growing functions such as the inverse of this function, often denoted α(n), are possible. Although unbounded, these functions are often regarded as being constant factors for all practical purposes


처음 올리는 글은 위피 폐지에 관한 글이 되겠군요...

위피(WIPI)란?      

위피(Wireless Internet Platform for Interoperability)는 지난 2005년 4월 정부가 의무화한 국내 휴대전화의 공통 무선인터넷 플랫폼. 이동통신업체들이 같은 플랫폼을 사용하도록 함으로써 국가적 낭비를 줄이자는 취지로 도입됐다. 이런 위피탑재 의무화 규정은 외국 단말기의 국내진출에 큰 걸림돌로 작용됐던 게 사실. 단말기 제조과정에서 한국 소비자만을 위한 소프트웨어를 별도로 부착시켜야 하고 이에 따른 비용이 만만치 않았기 때문이다.

위피의 폐지?      

방송통신위원회가 오는 4월1일자로 국내 이동전화 단말기의 '위피' 탑재의무 규정을 폐지시키기로 했습니다. 
이것이 의미하는 것은....외국산 스마트폰이 대거 유입될 수 있다는 것입니다.

솔직히 지금까지 위피는 한국 핸드폰 산업의 쉴드 역활을 하고 있었다고 생각합니다.  한국에 출시되는 핸드폰은 꼭 위피를 탑재해야만 했고, 따라서 외국산 휴대폰은 한국에 들어오기 힘든 것이 사실이었습니다.

하지만 위피 폐지를 앞둔 이상, 더 이상은 소니, 애플 혹은 구글과 HTC에서 제작된 핸드폰 혹은 스마트폰을 막을 수 없을 것입니다.

그렇다면 아이폰이 들.어.온.다.능?!       





지난해 미국에서 돌풍을 일으킨 애플사의 아이폰을 놓고는 현재 SK텔레콤과 KTF가 경쟁을 벌이고 있는 상황. 애플사는 한 나라 한 이동통신업체에게만 아이폰을 공급한다는 원칙을 세워놓았으나 한국시장의 특성을 감안, KTF 및 SK텔레콤 두 회사에 동시에 아이폰을 공급할 수도 있을 것으로 업계에선 전망하고 있다.





 SK텔레콤은 캐나다 림사의 스마트폰 블랙베리도 선보일 예정이다. 

   소니에릭슨사의 전략폰인 엑스페리아X1도 SK텔레콤이 도입을 협상중인 단말기.

 이밖에 LG텔레콤은 구글폰 도입을 추진 중이다.

그러나...BUT!!      

WM 6.1이 사용된 스마트폰은 아무래도 일반 휴대폰 보다는 다루기 힘들고 어렵다. 또한, 환율의 영향으로 인하여 외국폰들의 가격이 올라가므로 우리나라 핸드폰 시장에서 살아남을 수 있을지 없을지는 두고 봐야 하는 문제라고 하겠다.

뱀다리를 달자면 아이폰 나오면 바로 구입예정 *-_-* <<

+ Recent posts