User:IssaRice/Little o notation: Difference between revisions

From Machinelearning
Line 42: Line 42:
'''Exercise'''. Let <math>c, x_0 \in \mathbf R</math> be constants. Interpret the statement "<math>o(c(x-x_0) + o(x-x_0)) \in o(x-x_0)</math> as <math>x \to x_0</math>".
'''Exercise'''. Let <math>c, x_0 \in \mathbf R</math> be constants. Interpret the statement "<math>o(c(x-x_0) + o(x-x_0)) \in o(x-x_0)</math> as <math>x \to x_0</math>".


{{collapsible solution|The statement is saying <math>f(x) \in o(x-x_0)</math> where <math>f</math> is some function such that <math>\lim_{x\to x_0} \frac{f(x)}{c(x-x_0) + o(x-x_0)} = 0</math>.
{{collapsible solution|
TODO: be careful with universal vs existential quantifiers.
 
The statement is saying <math>f(x) \in o(x-x_0)</math> where <math>f</math> is some function such that <math>\lim_{x\to x_0} \frac{f(x)}{c(x-x_0) + o(x-x_0)} = 0</math>.


Because of the nested little o, we need to expand again and introduce <math>g</math>, where <math>g(x) \in o(x-x_0)</math> so <math>\lim_{x\to x_0} \frac{g(x)}{x-x_0} = 0</math>.
Because of the nested little o, we need to expand again and introduce <math>g</math>, where <math>g(x) \in o(x-x_0)</math> so <math>\lim_{x\to x_0} \frac{g(x)}{x-x_0} = 0</math>.

Revision as of 17:05, 29 November 2018

Definition

Definition (little o near a point). Let and be two functions, and let . We say that is little o of near iff for every there exists such that implies . Some equivalent ways to say the same thing are:

Notation Comments
is little o of near
as In this notation, we think of as a set.
as
near
near

Definition (little o at infinity). Let and be two functions. We say that is little o of at infinity iff for every there exists such that for all , implies .

Exercise. Can we write just or or or ?

Expand to see solution:

In general we can't because for this notation to make sense, we also need to know where the argument is going. In algorithms, we have , but in analysis (e.g. in some definitions of differentiability) we have .

Exercise. If we are being a little pedantic, what is wrong with saying " as "?

Expand to see solution:

We are saying , but we haven't clarified what is. Instead, we are relying on the reader to assume that is an argument to and .

Exercise. Interpret the meaning of .

Expand to see solution:

It depends on where is going. We want whenever , so this is only true when .

Properties

Proposition. Let and be two functions, and suppose for all . Then f is little o of g near a if and only if .

Proposition. transitivity

Proposition. we can replace the in the definition with , right?

Exercise. Let be constants. Interpret the statement " as ".

Expand to see solution:

TODO: be careful with universal vs existential quantifiers.

The statement is saying where is some function such that .

Because of the nested little o, we need to expand again and introduce , where so .

Now we verify:

Could have been arbitrary? In other words, could we have said for arbitrary ? To compute the limit we actually used the limit laws, which require that the right hand limit exist. This means that we needed to exist.

References

[1]

[2]