3.7 Asymptotic Analysis: A Scenic Route to Calculus

My method to overcome a difficulty is to go round it.

George Pólya

There are several roads one might take to prove theorems in calculus, such as the ever-important chain rule or derivative of exponential function. One can derive it directly by brute-forcing ε\varepsilon-δ\delta arguments, or stringing together limit rules and trying hard to overcome technical hurdles with sheer determination and cleverness, see e.g., [4, 7].

In this section, we will take a detour. On our way, we will pick up a profoundly useful toolbox—one that is cherished equally by theoretical physicists and applied engineers [2]. Following the wisdom of Pólya, rather than smashing our heads against the wall of algebraic manipulation, we shall simply walk around it using the elegant language of asymptotics.

3.7.1 Small oo and Big OO

Before we formalize our tools, let us look at the big picture. When analyzing the behavior of functions near a point (say, x0x_{0}), we are often less interested in exact equality and far more interested in relative sizes. Which function dominates? Which one vanishes into obscurity?

Definition 3.7.1 (oo and OO Notations).

Let f⁢(x)f(x) and g⁢(x)g(x) be real-valued functions.

  1. (i)
    ​

    We write “f⁢(x)=o⁢(g⁢(x))f(x)=o(g(x)) as x→x0x\to x_{0}” if

    equation (3.18) (3.18)
    limx→x0f⁢(x)g⁢(x)=0.\lim_{x\to x_{0}}\frac{f(x)}{g(x)}=0.
  2. (ii)
    ​

    We write “f⁢(x)=O⁢(g⁢(x))f(x)=O(g(x)) as x→x0x\to x_{0}” if the ratio |f⁢(x)g⁢(x)|\left\lvert\frac{f(x)}{g(x)}\right\rvert is bounded near x0x_{0}. That is, there exist real numbers M>0M>0 and δ>0\delta>0 such that

    equation (3.19) (3.19)
    |f⁢(x)|≤M⁢|g⁢(x)|for all ⁢|x−x0|<δ.\left\lvert f(x)\right\rvert\leq M\left\lvert g(x)\right\rvert\quad\text{for % all }\left\lvert x-x_{0}\right\rvert<\delta.
Intuition.

If f⁢(x)=o⁢(g⁢(x))f(x)=o(g(x)), then f⁢(x)f(x) is much smaller than g⁢(x)g(x) near x0x_{0}. It vanishes faster than gg can keep up with. If f⁢(x)=O⁢(g⁢(x))f(x)=O(g(x)), then f⁢(x)f(x) is about as big as g⁢(x)g(x) near x0x_{0}; their ratio does not blow up.

Caveat (An Abuse of Notation).

Note that this notation is technically an abuse of the equals sign—which may be one reason it is omitted in many introductory calculus classes! But the mathematical benefit is more than worth the notational sin.

We do not really say that f⁢(x)f(x) is “equal” to o⁢(g⁢(x))o(g(x)) when we write f⁢(x)=o⁢(g⁢(x))f(x)=o(g(x)), since o⁢(g⁢(x))o(g(x)) is not a single function. Instead, o⁢(g⁢(x))o(g(x)) represents a set of functions hh that satisfy limx→x0h⁢(x)g⁢(x)=0\lim_{x\to x_{0}}\frac{h(x)}{g(x)}=0. Hence, a structurally better way to write this would be f⁢(x)∈o⁢(g⁢(x))f(x)\in o(g(x)). Nevertheless, we will follow the tradition of physicists and engineers and use the equals sign.

To manipulate these asymptotic classes fluently, it is extremely useful to have a bridge between limits and bounds. Let us isolate a quick analytical trick.

Lemma 3.7.2.

Suppose limx→x0h⁢(x)=c\lim_{x\to x_{0}}h(x)=c, where cc is finite. Then h⁢(x)h(x) is locally bounded near x0x_{0}. That is, there exist M>0M>0 and δ>0\delta>0 such that

|h⁢(x)|<Mfor all ⁢|x−x0|<δ.\left\lvert h(x)\right\rvert<M\quad\text{for all }\left\lvert x-x_{0}\right% \rvert<\delta.
Proof.

We deploy the ε\varepsilon-δ\delta definition of the limit with a concrete choice, say ε=1\varepsilon=1. By definition, there exists a δ>0\delta>0 such that

|h⁢(x)−c|<1for all ⁢|x−x0|<δ.\left\lvert h(x)-c\right\rvert<1\quad\text{for all }\left\lvert x-x_{0}\right% \rvert<\delta.

By the triangle inequality (with the middle-man cc),

|h⁢(x)|=|h⁢(x)−c+c|≤|c|+|h⁢(x)−c|<|c|+1\left\lvert h(x)\right\rvert=\left\lvert h(x)-c+c\right\rvert\leq\left\lvert c% \right\rvert+\left\lvert h(x)-c\right\rvert<\left\lvert c\right\rvert+1

for all |x−x0|<δ\left\lvert x-x_{0}\right\rvert<\delta. We simply choose M≔|c|+1M\coloneqq\left\lvert c\right\rvert+1, completing the proof. ∎

Corollary 3.7.3.

Thus, if the limit limx→x0|f⁢(x)g⁢(x)|\lim_{x\to x_{0}}\left\lvert\frac{f(x)}{g(x)}\right\rvert exists and is finite, then

f⁢(x)={O⁢(g⁢(x))if the limit >0,o⁢(g⁢(x))if the limit =0.f(x)=\begin{cases}O(g(x))&\text{if the limit }>0,\\ o(g(x))&\text{if the limit }=0.\end{cases}

Let us take a moment to build our intuition with a few examples.

Example 3.7.4.
  1. 1.
    ​

    x=o⁢(x)x=o(\sqrt{x}) as x→0x\to 0, because limx→0xx=0\lim_{x\to 0}\frac{x}{\sqrt{x}}=0.

  2. 2.
    ​

    x=o⁢(x)\sqrt{x}=o(x) as x→∞x\to\infty, because limx→∞xx=0\lim_{x\to\infty}\frac{\sqrt{x}}{x}=0.

  3. 3.
    ​

    If limh→0F⁢(h)h=0\lim_{h\to 0}\frac{F(h)}{h}=0, then F⁢(h)=o⁢(h)F(h)=o(h).

  4. 4.
    ​

    sin⁡(2⁢x)=O⁢(x)\sin(2x)=O(x) as x→0x\to 0, because limx→0sin⁡(2⁢x)x=2\lim_{x\to 0}\frac{\sin(2x)}{x}=2. (This implies the famous small-angle approximation sin⁡(2⁢x)≈2⁢x\sin(2x)\approx 2x).

3.7.2 Newton’s Approximation in Disguise

We are now ready to see why this notation is so powerful. We can rewrite the very foundation of differential calculus—the derivative—using the small oo notation.

Proposition 3.7.5.

If ff is differentiable at x0x_{0}, then

equation (3.20) (3.20)
f⁢(x0+h)=f⁢(x0)+f′⁢(x0)⁢h+o⁢(h)as ⁢h→0.f(x_{0}+h)=f(x_{0})+f^{\prime}(x_{0})h+o(h)\quad\text{as }h\to 0.
Proof.

We begin with the standard limit definition of the derivative:

f′⁢(x0)=limh→0f⁢(x0+h)−f⁢(x0)h.f^{\prime}(x_{0})=\lim_{h\to 0}\frac{f(x_{0}+h)-f(x_{0})}{h}.

We can trivially rearrange this by bringing f′⁢(x0)f^{\prime}(x_{0}) inside the limit (since it is a constant with respect to hh):

limh→0(f⁢(x0+h)−f⁢(x0)h−f′⁢(x0))=0⟹limh→0f⁢(x0+h)−f⁢(x0)−f′⁢(x0)⁢hh=0.\begin{split}\lim_{h\to 0}\left(\frac{f(x_{0}+h)-f(x_{0})}{h}-f^{\prime}(x_{0}% )\right)&{}=0\\[4.30554pt] \implies\lim_{h\to 0}\frac{f(x_{0}+h)-f(x_{0})-f^{\prime}(x_{0})h}{h}&{}=0.% \end{split}

By definition of small oo (Definition 3.7.1), the numerator must be o⁢(h)o(h). Therefore:

f⁢(x0+h)−f⁢(x0)−f′⁢(x0)⁢h=o⁢(h)⟹f⁢(x0+h)=f⁢(x0)+f′⁢(x0)⁢h+o⁢(h).\begin{split}f(x_{0}+h)-f(x_{0})-f^{\prime}(x_{0})h&{}=o(h)\\ \implies f(x_{0}+h)&{}=f(x_{0})+f^{\prime}(x_{0})h+o(h).\end{split}

∎

Story (The Ghosts of Departed Quantities).

Interestingly, this asymptotic identity is conceptually much more aligned with the original infinitesimal calculus developed by Newton and Leibniz. Instead of dealing with ghostly fractions of zeroes, we view the derivative as a linear mapping. Moreover, this viewpoint is incredibly robust: higher-dimensional derivatives (the Jacobian) or even derivatives in abstract Banach spaces (the Fréchet derivative) are defined exactly this way!

Moral.

If we let x=x0+hx=x_{0}+h, then Proposition 3.7.5 becomes:

f⁢(x)=f⁢(x0)+f′⁢(x0)⁢(x−x0)+o⁢(x−x0).f(x)=f(x_{0})+f^{\prime}(x_{0})(x-x_{0})+o(x-x_{0}).

This tells us geometrically that the function f⁢(x)f(x) can be approximated by its tangent line y=f⁢(x0)+f′⁢(x0)⁢(x−x0)y=f(x_{0})+f^{\prime}(x_{0})(x-x_{0}), up to an error that is much smaller than the distance |x−x0|\left\lvert x-x_{0}\right\rvert!

Let us test the raw power of this framework by deriving two classic rules of calculus. By replacing fraction manipulation with asymptotic expansions, proofs that usually require clever middle-man tricks fall out entirely naturally.

Example 3.7.6 (The Product Rule).

Suppose ff and gg are differentiable at xx. Then

(f⁢g)′⁢(x)=f′⁢(x)⁢g⁢(x)+f⁢(x)⁢g′⁢(x).(fg)^{\prime}(x)=f^{\prime}(x)g(x)+f(x)g^{\prime}(x).

We evaluate the limit definition of the derivative for the product f⁢gfg, substituting our asymptotic expansions for f⁢(x+h)f(x+h) and g⁢(x+h)g(x+h):

limh→0f⁢(x+h)⁢g⁢(x+h)−f⁢(x)⁢g⁢(x)h=limh→0(f⁢(x)+f′⁢(x)⁢h+o⁢(h))⁢(g⁢(x)+g′⁢(x)⁢h+o⁢(h))−f⁢(x)⁢g⁢(x)h.\begin{split}&{}\lim_{h\to 0}\frac{f(x+h)g(x+h)-f(x)g(x)}{h}\\[4.30554pt] ={}&{}\lim_{h\to 0}\frac{\big{(}f(x)+f^{\prime}(x)h+o(h)\big{)}\big{(}g(x)+g^{% \prime}(x)h+o(h)\big{)}-f(x)g(x)}{h}.\end{split}

Now, we simply expand the algebraic product in the numerator. Notice how the f⁢(x)⁢g⁢(x)f(x)g(x) terms will instantly cancel:

=limh→0[f⁢(x)⁢g⁢(x)+f′⁢(x)⁢g⁢(x)⁢h+f⁢(x)⁢g′⁢(x)⁢h+(f′⁢(x)⁢g′⁢(x))⁢h2h+o⁢(h)⋅o⁢(h)−f⁢(x)⁢g⁢(x)h].\begin{split}=\lim_{h\to 0}\Bigg{[}&{}\frac{f(x)g(x)+f^{\prime}(x)g(x)h+f(x)g^% {\prime}(x)h+\big{(}f^{\prime}(x)g^{\prime}(x)\big{)}h^{2}}{h}\\ &{}+\frac{o(h)\cdot o(h)-f(x)g(x)}{h}\Bigg{]}.\end{split}

Dividing by hh, we extract the linear terms, while bundling the remaining higher-order terms:

equation (3.21) (3.21)
=f′⁢(x)⁢g⁢(x)+f⁢(x)⁢g′⁢(x)+limh→0((f′⁢(x)+g′⁢(x))⁢o⁢(h)h⋅h+o⁢(h)⋅o⁢(h)h).=f^{\prime}(x)g(x)+f(x)g^{\prime}(x)+\lim_{h\to 0}\left(\big{(}f^{\prime}(x)+g% ^{\prime}(x)\big{)}\frac{o(h)}{h}\cdot h+\frac{o(h)\cdot o(h)}{h}\right).

Since f′⁢(x)f^{\prime}(x) and g′⁢(x)g^{\prime}(x) are finite (as ff and gg are differentiable at xx), and by definition limh→0o⁢(h)h=0\lim_{h\to 0}\frac{o(h)}{h}=0, the entire last limit in (3.21) vanishes. Thus, we are left with:

(f⁢g)′⁢(x)=f′⁢(x)⁢g⁢(x)+f⁢(x)⁢g′⁢(x).(fg)^{\prime}(x)=f^{\prime}(x)g(x)+f(x)g^{\prime}(x).

Let us tackle division.

Example 3.7.7 (The Reciprocal Rule).

Suppose gg is differentiable at xx and g⁢(x)≠0g(x)\neq 0. Then

(1g)′⁢(x)=−g′⁢(x)g⁢(x)2.\left(\frac{1}{g}\right)^{\prime}(x)=-\frac{g^{\prime}(x)}{{g(x)}^{2}}.

We write out the limit for the derivative of 1/g1/g:

limh→01g⁢(x+h)−1g⁢(x)h=limh→0g⁢(x)−g⁢(x+h)h⁢g⁢(x+h)⁢g⁢(x).\lim_{h\to 0}\frac{\frac{1}{g(x+h)}-\frac{1}{g(x)}}{h}=\lim_{h\to 0}\frac{g(x)% -g(x+h)}{h\,g(x+h)g(x)}.

We now invoke our asymptotic hammer, substituting g⁢(x+h)=g⁢(x)+g′⁢(x)⁢h+o⁢(h)g(x+h)=g(x)+g^{\prime}(x)h+o(h) directly into the numerator:

=limh→0g⁢(x)−(g⁢(x)+g′⁢(x)⁢h+o⁢(h))h⁢g⁢(x+h)⁢g⁢(x)=limh→0−g′⁢(x)⁢h−o⁢(h)h⁢g⁢(x+h)⁢g⁢(x).\begin{split}&{}=\lim_{h\to 0}\frac{g(x)-\big{(}g(x)+g^{\prime}(x)h+o(h)\big{)% }}{h\,g(x+h)g(x)}\\ &{}=\lim_{h\to 0}\frac{-g^{\prime}(x)h-o(h)}{h\,g(x+h)g(x)}.\end{split}

Dividing the numerator and denominator by hh, we split the limit:

=limh→0(−g′⁢(x)g⁢(x+h)⁢g⁢(x)−o⁢(h)h⋅1g⁢(x+h)⁢g⁢(x)).=\lim_{h\to 0}\left(-\frac{g^{\prime}(x)}{g(x+h)g(x)}-\frac{o(h)}{h}\cdot\frac% {1}{g(x+h)g(x)}\right).

Because gg is differentiable (and therefore continuous), g⁢(x+h)→g⁢(x)g(x+h)\to g(x) as h→0h\to 0. Furthermore, o⁢(h)h→0\frac{o(h)}{h}\to 0. The second term vanishes, and the first term limits to our desired result:

limh→01g⁢(x+h)−1g⁢(x)h=−g′⁢(x)g⁢(x)2.\lim_{h\to 0}\frac{\frac{1}{g(x+h)}-\frac{1}{g(x)}}{h}=-\frac{g^{\prime}(x)}{g% (x)^{2}}.
Exercise 3.7.8 (The Quotient Rule).

Using the small oo notation techniques we have just developed, derive the standard quotient rule:

(fg)′=f′⁢g−f⁢g′g2.\left(\frac{f}{g}\right)^{\prime}=\frac{f^{\prime}g-fg^{\prime}}{g^{2}}.

Hint: Do not be afraid to let o⁢(h)o(h) absorb any cross-terms that divide out to zero as h→0h\to 0.