Big Olittle o
Big Olittle o
Big Olittle o
The Landau symbolic notation Big-O and little-o can be one of the most useful notations in
analysis. Learn it well and you become more flexible, quicker, and more sure of yourself in a wide
variety of analytic settings.
One concept associated with limits that we weave through this is the notion of eventually.
To understand this, let P (x) be a statement depending on the variable x that can be either true or
false. The statement as x 0, eventually P (x) means that > 0 such that for |x| < , P (x)
is true. The statement as n , eventually P (n) means that N such that for n > N, P (n)
is true. Similar statements can be made for all limit situations. As an example: lim f (x) = L iff
xa
> 0, eventually |f (x) L| < , where in this case, eventually means > 0 such that for
|x a| < .
With the concept of eventually understood, we define of Big-O and little-o. We can define
these concepts in any limit situation. In what follows, the function g(x) that we are comparing
ought be eventually monotone , nonzero, and should be reasonably simple, a concept that we
wont define.
f (x)
= 0.
x? g(x)
f (x)
is eventually
g(x)
bounded.
Some examples of this notation:
If m < n, as x , xm = o(xn ).
If m < n, as x 0, xn = o(xm ).
If n > 0, as x , ln(x) = o(xn ).
If n < 0, as x 0+ , ln(x) = o(xn ).
As x , sin x = O(1).
As x 0, sin x = O(x).
As x 0, sin x = x + O(x3 ).
x3
As x 0, sin x = x
+ O(x5 ).
6
p
As n , n2 + 1 = O(n).
p
1
As n , n2 + 1 = n + O
.
n
This notation is very closely tied up with differentiation and with Taylor polynomials.
For instance, we can prove that the function f is differentiable as x iff a number which we call
f 0 (x) such that as h 0, f (x + h) = f (x) + f 0 (x)h + o(h). That is the definition of the derivative
right there. The thing were calling o(h) is f (x + h) f (x) f 0 (x)h and calling it o(h) is saying
that
f (x + h) f (x) f 0 (x)h
f (x + h) f (x)
lim
= lim
f 0 (x) = 0.
h0
h0
h
h
1
n1
X
k=0
f [k] (x) k
h + O(hn ).
k!
Youll notice that this last statement is slightly weaker than the full statement of Taylors
Theorem. We have merely said that the error is no worse than some constant times hn . The full
statement of the theorem gives us some tools for estimating how big that constant is; using big-O
notation essentially announces that we dont care how big the constant is, as long as its constant.
The reason big-O and little-o is a powerful an flexible notation is that more often than not, we
dont care what the constant is.
Examples:
1 cos(x3 )
.
x0 sin2 x sin(x4 )
Technically speaking, you could use LHopitals Rule. But Im not willing to demonstrate that,
nor am I willing to help you out if youre foolish enough to try. But this is in fact very quick, using
u2
the Taylor series of the functions in question: cos u = 1 + O(u4 ) and sin u = u + O(u3 ). Hence,
2
6
x6
12
1 1 x2 + O(x12 )
1 cos(x3 )
2 + O(x )
=
=
(x + O(x3 ))2 (x4 + O(x12 ))
(x2 + O(x4 ))(x4 + O(x12 ))
sin2 x sin(x4 )
=
x6
12
2 + O(x )
x6 + O(x8 )
1
2
+ O(x6 )
1 + O(x2 )
1
which clearly has the limit . To be honest, we spent more effort keeping track of exponents there
2
than we needed to. This is a problem that a reasonably experienced person can work in his or her
head.
Example 2: If f (x) =
p
cos(x), find f 00 (0) and f [4] (0).
That sounds simple enough, but it can get messy. Lets find the fourth degree Taylor polynomial
instead, using the cosine series and the binomial series. The binomial series tells us that
(1 + u) = 1 + u +
( 1) 2
u + O(u3 )
2
as u 0. (Note: if we need more terms than this, well find out, and can return to this point to
get more terms.)
12
x2 x4
6
cos x = 1
+
+ O(x )
2
24
2
1
2
1
1
x
x4
x2
6
4
2
2
=1+
+
+ O(x ) +
+ O(x ) + O(x6 )
2
2
24
2
2
4
2
4
x
x
1 x
=1
+
+ O(x6 )
+ O(x6 ) + O(x6 )
4
48
8 4
x2
1
1
=1
+
x4 + O(x6 )
4
48 32
x2 x4
+ O(x6 )
=1
4
96
1
1
1
1
We can now read off that f 00 (0) = 2!
= and f [4] (0) = 4!
= .
4
2
96
3
" Z
#n
1
cos x 1
Example 3: Find lim
1+
dx
n 0
n
This will provide a good workout for our calculus methods. This is a 1 indeterminate case,
so we start by taking the logarithm.
For small u, (1 + u)1 = 1 u + u2 + O(u3 ). (Geometric series).
cos x 1
cos x cos2 x
Thus, 1 +
=1 +
+ O(n3/2 ).
n
n
n
1
Z
0
Z
cos x 1
1
cos x cos2 x
1
1+
dx =
1 +
+ O(n3/2 ) dx = 1 + 0 +
+ O(n3/2 ).
0
n
2n
n
n
1
1
+ O(n1/2 ). This goes to , so our original limit ie e1/2 = e.
2
2
3
Exercises:
n=1
X
1
as n , then
an converges. If true, prove. If false, give a
4. True or false: if an = o
n
n=1
counterexample.
(a) Show that