2.4 Fractured Journeys: One-Sided Limits

Not all functions are so well behaved. Let us investigate a simpler, yet sharper function: the absolute value, f⁢(x)=|x|f(x)=\left\lvert x\right\rvert. The domain of |x|\left\lvert x\right\rvert is the entire real line, ℝ\mathbb{R}. We may define it piecewise as:

f⁢(x)={x,x≥0−x,x<0.f(x)=\begin{cases}x,&x\geq 0\\ -x,&x<0.\end{cases}

As x→0x\to 0, the values of |x|\left\lvert x\right\rvert converge to 0 from both sides, so limx→0|x|=0\lim_{x\to 0}\left\lvert x\right\rvert=0, see Figure 2.5.

Graph of the absolute value function f(x) = |x| on a
Cartesian coordinate system. It shows a V-shaped graph consisting
of two symmetric linear segments meeting at the origin (labeled
0): a navy blue line in the second quadrant representing f(x) =
-x, and a red line in the first quadrant representing f(x) = x,
with the label f(x) near its top right end.
Figure 2.5: Graph of the absolute value function f⁢(x)=|x|f(x)=\left\lvert x\right\rvert.

But what happens if we construct a ratio that pits xx against its absolute value? Consider the signum function (represented here purely by its ratio):

f⁢(x)=|x|x.f(x)=\frac{\left\lvert x\right\rvert}{x}.

The domain is stripped of the origin: dom⁡(f)=ℝ∖{0}=(−∞,0)∪(0,∞)\operatorname{dom}(f)=\mathbb{R}\setminus\{0\}=(-\infty,0)\cup(0,\infty). Let us rewrite f⁢(x)f(x) without the absolute value bars to expose its piecewise nature:

f⁢(x)={xx=1,if ⁢x>0−xx=−1,if ⁢x<0.f(x)=\begin{cases}\frac{x}{x}=1,&\text{if }x>0\\[4.30554pt] \frac{-x}{x}=-1,&\text{if }x<0.\end{cases}

If xx is closed to 0 and positive, f⁢(x)f(x) rigidly equals 11. Conversely, if xx is closed to 0 and negative, f⁢(x)f(x) rigidly equals −1-1, see Figure 2.6.

Graph of the signum function, sgn(x). The horizontal x-axis and vertical y-axis intersect at the origin (0,0), marked by a solid blue dot. For positive x values, a horizontal blue ray extends to the right at y = 1, starting with an open blue circle at (0,1). For negative x values, a horizontal blue ray extends to the left at y = -1, starting with an open blue circle at (0,-1).
Figure 2.6: Graph of the signum function f⁢(x)=|x|xf(x)=\frac{\left\lvert x\right\rvert}{x}

We are faced with a bifurcation: there are two entirely different choices for our limit LL, depending solely on our direction of approach! Because the function cannot settle on a single value, we are forced to conclude that the limit does not exist (DNE).

Caveat (The Ambiguity of Direction).

A limit only exists if the function agrees on a single destination from all possible directions of approach.

However, not all things are lost! We can still salvage meaningful information about the behavior of ff near 0 by restricting our perspective to one direction at a time.

2.4.1 Formalizing the Directional Approach

We introduce a refinement of our limit concept to handle such fractured behavior.

Definition 2.4.1 (One-Sided Limits).

Given a function f:ℝ→ℝf:\mathbb{R}\to\mathbb{R}, and constants a,L∈ℝa,L\in\mathbb{R}:

  1. 1.
    ​

    Right-sided limit: If f⁢(x)f(x) is arbitrarily close to LL for all xx sufficiently close to aa with x>ax>a, we write:

    limx→a+f⁢(x)=Lorf⁢(x)→x→a+L.\lim_{x\to a^{+}}f(x)=L\quad\text{or}\quad f(x)\xrightarrow{x\to a^{+}}L.
  2. 2.
    ​

    Left-sided limit: If f⁢(x)f(x) is arbitrarily close to LL for all xx sufficiently close to aa with x<ax<a, we write:

    limx→a−f⁢(x)=Lorf⁢(x)→x→a−L.\lim_{x\to a^{-}}f(x)=L\quad\text{or}\quad f(x)\xrightarrow{x\to a^{-}}L.

Returning to our pathological example f⁢(x)=|x|/xf(x)=\left\lvert x\right\rvert/x, we can now mathematically describe its behavior:

equation (2.15) (2.15)
limx→0+|x|x=1andlimx→0−|x|x=−1.\lim_{x\to 0^{+}}\frac{\left\lvert x\right\rvert}{x}=1\quad\text{and}\quad\lim% _{x\to 0^{-}}\frac{\left\lvert x\right\rvert}{x}=-1.

This leads us to a beautiful theorem linking local (one-sided) and global (two-sided) behavior.

Theorem 2.4.2 (Connection between one-sided and (two-sided) limits).

Let ff be a function defined on an open interval around aa (except possibly at aa). Then the limit exists and equals LL:

equation (2.16) (2.16)
limx→af⁢(x)=L⇔{limx→a+f⁢(x)=Llimx→a−f⁢(x)=L.\lim_{x\to a}f(x)=L\iff\begin{cases}\lim_{x\to a^{+}}f(x)=L\\ \lim_{x\to a^{-}}f(x)=L.\end{cases}

Because 1≠−11\neq-1, the global limit limx→0|x|x\lim_{x\to 0}\frac{\left\lvert x\right\rvert}{x} fails the test of Theorem 2.4.2.

2.4.2 Divergence: To Infinity and Beyond

Thus far, our limits have been well-behaved, finite numbers. But what if the values of the function grow without bound? Consider the inverse-square function,

equation (2.17) (2.17)
f⁢(x)=1x2.f(x)=\frac{1}{x^{2}}.

Graphically, this function features a vertical asymptote at x=0x=0, with the curve shooting upward, see Figure 2.7.

Graph of the function f(x) = 1/x^2. The horizontal x-axis ranges from -3.5 to 3.5, and the vertical y-axis ranges from -0.5 to 4.5. The graph consists of two symmetric, smooth curves in the upper half-plane (quadrants 1 and 2). Both curves approach the positive vertical y-axis as x goes to 0 (vertical asymptote), and approach the horizontal x-axis as x goes to positive or negative infinity (horizontal asymptote). Dashed lines connect the points (-1, 1) and (1, 1) to their respective coordinates on the axes, with blue dots marking these points on the curves.
Figure 2.7: Graph of the function f⁢(x)=1x2f(x)=\frac{1}{x^{2}}

Let us confirm this numerically in Table 2.2:

Table 2.2: Values of f(x) as x approaches 0 .
xx −10−1-10^{-1} −10−10-10^{-10} 0 10−1010^{-10} 10−110^{-1}
f⁢(x)f(x) 10210^{2} 102010^{20} undefined 102010^{20} 10210^{2}
Table 2.2: Values of f⁢(x)f(x) as xx approaches 0.

As xx approaches 0, the values of f⁢(x)f(x) explode. We encapsulate this behavior with the symbol ∞\infty, writing:

limx→01x2=∞.\lim_{x\to 0}\frac{1}{x^{2}}=\infty.
Definition 2.4.3 (Infinite Limit).

Given a real-valued function ff, and a∈ℝa\in\mathbb{R}, we say that ∞\infty is the limit of ff at aa, and write

equation (2.18) (2.18)
limx→af⁢(x)=∞\lim_{x\to a}f(x)=\infty

if we can make the values of f⁢(x)f(x) be as large as we want by taking xx to be sufficiently close (but not equal) to aa.

Intuition.

Saying the limit “is infinity” is a slight abuse of terminology. Infinity is not a real number; it is a direction. Writing =∞=\infty is simply mathematically precise shorthand for “diverges by growing without bound.”

We must remain vigilant. Consider the simpler hyperbola f⁢(x)=1/xf(x)=1/x. Evaluating the one-sided limits by Figure 2.8 yields:

limx→0+1x=∞andlimx→0−1x=−∞.\lim_{x\to 0^{+}}\frac{1}{x}=\infty\quad\text{and}\quad\lim_{x\to 0^{-}}\frac{% 1}{x}=-\infty.
Graph of the reciprocal function f(x) = 1/x. The horizontal x-axis and vertical y-axis range from -3.5 to 3.5. The graph consists of two symmetric branches of a hyperbola in the first and third quadrants. In the first quadrant, the curve starts near the vertical asymptote (y-axis), passes through (1,1), and approaches the horizontal asymptote (x-axis). In the third quadrant, the curve starts near the horizontal asymptote (x-axis), passes through (-1,-1), and approaches the vertical asymptote (y-axis). Dashed gray lines connect the points (1,1) and (-1,-1) to their coordinates on the axes, with small blue dots marking these points on the curves.
Figure 2.8: Graph of the function f⁢(x)=1xf(x)=\frac{1}{x}

Since the two one-sided limits wildly disagree (∞≠−∞\infty\neq-\infty), we conclude that the two-sided limit limx→01x\lim_{x\to 0}\frac{1}{x} does not exist.

2.4.3 The Topologist’s Sine Curve: A Frantic Oscillation

We conclude this section with a spectacular failure of limits. Some functions do not elegantly approach a value, nor do they boldly explode to infinity. Instead, they vibrate with infinite frenzy.

Consider f⁢(x)=sin⁡(1x)f(x)=\sin\left(\frac{1}{x}\right), affectionately known as the Topologist’s Sine Curve, see Figure 2.9. Its domain is dom⁡(f)=ℝ∖{0}=(−∞,0)∪(0,∞)\operatorname{dom}(f)=\mathbb{R}\setminus\{0\}=(-\infty,0)\cup(0,\infty).

What is limx→0f⁢(x)\lim_{x\to 0}f(x)? Let us construct a sequence of xx-values inching closer to zero from the right in Table 2.3.

Table 2.3: Values of f(x) as x approaches 0 from the right.
xx 2π\frac{2}{\pi} 23⁢π\frac{2}{3\pi} 25⁢π\frac{2}{5\pi} 27⁢π\frac{2}{7\pi} ⋯\cdots
f⁢(x)f(x) 11 −1-1 11 −1-1 ⋯\cdots
Table 2.3: Values of f⁢(x)f(x) as xx approaches 0 from the right.

As x→0+x\to 0^{+}, the frequency of the wave becomes infinite. No matter how closely we zoom in toward the origin, the function violently jumps between 11 and −1-1. It cannot settle on a single finite value, nor does it escape to infinity.

Therefore, limx→0+f⁢(x)\lim_{x\to 0^{+}}f(x) simply does not exist. Consequently, limx→0f⁢(x)\lim_{x\to 0}f(x) also perishes.

Story (The Beauty of Pathologies).

In the 19th century, functions like the Topologist’s Sine Curve were considered “monsters.” They broke the intuitive, geometric rules that classical mathematicians implicitly trusted. But these monsters were necessary; they forced the creation of rigorous modern analysis. The failure of our geometric intuition is exactly what drives the need for precise mathematical language. We must build our castle of calculus not on the shifting sands of rough sketches, but on the bedrock of formal logic!

Graph of the topologist's sine curve, f(x) = sin(1/x). The horizontal x-axis ranges from -0.15 to 1.25, and the vertical y-axis ranges from -1.25 to 1.25. A thick blue vertical line lies along the y-axis from y = -1 to 1, representing the limit set of the function as x approaches 0. To the right of the y-axis, a continuous blue curve oscillates infinitely between y = -1 and y = 1. The oscillations become infinitely dense as the curve approaches the y-axis from the right, while becoming wider and smoother as x increases toward 1.
Figure 2.9: The Topologist’s Sine Curve f⁢(x)=sin⁡(1/x)f(x)=\sin(1/x) on (0,∞)(0,\infty)