Interactive · 3 questions
The set (read as "little-o of 1")
In the introduction to asymptotics, we said that the asymptotic behavior of a function tells us about what happens to when is large. We will begin, then, by talking about expressions that become almost entirely irrelevant for large values of .
What should we consider irrelevant? We could pick a threshold such as , and saying that quantities smaller than don't matter to us. But this is problematic for a few reasons.
First, arbitrary constants aren't elegant, and are defeated by simple things such as changing units. We don't want our definition of "irrelevant" to depend on whether we use kilometers or centimeters to measure length.
Second, we run into problems when dealing with multiple expressions. The quantities and are each smaller than the threshold we chose; but their sum, , exceeds , so suddenly it matters to us. We'd like to be able to entirely forget about "irrelevant" quantities, and we can't do that here.
Instead, we make the following definition: Let be the set of functions , such that for any threshold , we have for all large enough .
What does "large enough" mean? It usually depends on : the smaller the threshold, the further you'll have to go until becomes that small. Formally, there should be a function , such that if , then the bound holds.
The functions in will be the ones that we'll ignore in our asymptotic analysis.
Let's play around with this definition.
Which of these functions are in ?
Consider . For large , the first term here is much more important than the second: in fact, by our definition. This makes a good asymptotic description of .
If we think of as denoting the set , when is a set, we can also write this description as . This is a concise way of saying " is basically , plus an error that becomes insignificant when is large".
General little-o notation
Generalizing the notion of , we define to be the set of functions such that, for any threshold , we eventually have if we take to be large enough. The intuitive meaning of this definition is that is the set of functions that are irrelevant compared to .
For example, take the function (which counts the number of pairs that can be picked from a set of objects). For large , can be approximated fairly well by , but the difference between them is , which is still pretty big. We could write, however, that Relative to , the error in this approximation is small, as becomes large.
Which of these is also true?
Asymptotics at a point
Although most of the time, we consider the asymptotics of a function for large , we could instead look at how behaves close to some specific point. For example, we can talk about : the set of functions that are insignificant compared to , as long as is sufficiently close to .
Think about how we might define , based on our previous definitions.
As before, we want to choose a threshold . We say that if for all "sufficiently close to ". How do we make this last bit precise? Depending on , we might need "sufficiently close" to mean different things: it could mean "between and " or "between and ". Formally, we choose a radius , usually depending on , such that as long as , we have what we want: .
A popular approximation in physics, for instance, is that . For sufficiently small angles , we can approximate by the angle itself (in radians).