Skip to content

Mathematics · Ch 9 — Differential Calculus – Limits and Continuity

The calculation of limits

9.2.1

The calculation of limits

The idea of a limit asks a very specific question: as the input xx of a function is pushed closer and closer to some fixed value x0x_0 (without ever actually landing on x0x_0), what value does the output f(x)f(x) get closer and closer to?

Illustration — a polynomial. Take f(x)=x2+3f(x)=x^2+3 and study its behaviour near x=2x=2. Building a table of values with xx approaching 22 from below (1.7,1.9,1.95,1.99,…1.7,1.9,1.95,1.99,\dots) and from above (2.3,2.1,2.05,2.01,…2.3,2.1,2.05,2.01,\dots) shows f(x)f(x) closing in on 77 from both directions — which is also exactly f(2)=22+3f(2)=2^2+3 (Fig. 9.1 plots the parabola y=x2+3y=x^2+3 and marks this behaviour near x=2x=2). We say the left limit of ff at 22 equals 77, written lim⁡x→2−f(x)=7\lim\limits_{x\to2^-} f(x)=7, and the right limit also equals 77, written lim⁡x→2+f(x)=7\lim\limits_{x\to2^+} f(x)=7. When the left and right limits agree, the common value is called simply the limit, lim⁡x→2f(x)=7\lim\limits_{x\to2} f(x)=7. The important point of this first illustration is that here the limit could be found by plain substitution — but that is a lucky coincidence of ff being a polynomial, not something to rely on in general.

Illustration — a function undefined at the target point. Take f(x)=x2−16x+4f(x)=\dfrac{x^2-16}{x+4}, whose domain excludes x=−4x=-4. Even though f(−4)f(-4) itself does not exist, the limit as x→−4x\to-4 can still be investigated, because the phrase "x→−4x\to-4" only ever considers xx-values near −4-4, never x=−4x=-4 itself. Algebraically, for any x≠−4x\ne-4, f(x)=(x+4)(x−4)x+4=4−xf(x)=\dfrac{(x+4)(x-4)}{x+4}=4-x, so the graph of ff is exactly the straight line y=4−xy=4-x except for a single missing point ("hole" or "puncture") directly above x=−4x=-4 (Fig. 9.2). As xx approaches −4-4 from either side, f(x)f(x) approaches 88, so lim⁡x→−4f(x)=8\lim\limits_{x\to-4} f(x)=8 even though f(−4)f(-4) is undefined. This is the key lesson: whether or not ff is even defined at x0x_0 has no bearing whatsoever on whether the limit exists at x0x_0.

Illustration — a limit that fails to exist. Take f(x)=∣x∣xf(x)=\dfrac{|x|}{x} (undefined at x=0x=0). For x>0x>0, f(x)=1f(x)=1; for x<0x<0, f(x)=−1f(x)=-1 (Fig. 9.3 shows two disconnected open half-lines at heights ±1\pm1, meeting nowhere above x=0x=0). No matter how close xx gets to 00, there are always nearby points giving f(x)=1f(x)=1 and other nearby points giving f(x)=−1f(x)=-1 — the function never settles on a single value as x→0x\to0. Hence lim⁡x→0−f(x)=−1\lim\limits_{x\to0^-} f(x)=-1 while lim⁡x→0+f(x)=+1\lim\limits_{x\to0^+} f(x)=+1: the one-sided limits disagree, so lim⁡x→0f(x)\lim\limits_{x\to0} f(x) does not exist. (At any other point, e.g. x=2x=2 or x=−3x=-3, the one-sided limits obviously agree and the ordinary limit does exist.)

These three illustrations converge on a formal description of what a limit is:

Definition 9.1. Let II be an open interval containing x0x_0, and f:I→Rf:I\to\mathbb R. We say the limit of f(x)f(x) as xx approaches x0x_0 is LL — written lim⁡x→x0f(x)=L\lim\limits_{x\to x_0} f(x)=L — if, whenever xx is taken sufficiently close to x0x_0 from either side (with x≠x0x\ne x_0), f(x)f(x) becomes correspondingly close to LL.

The definition deliberately excludes x=x0x=x_0 itself, which is exactly why the hole at x=−4x=-4 in the second illustration does not prevent the limit from existing there.

Worked techniques from Examples 9.1–9.6. A recurring technique in this section is splitting a function built from ∣x∣|x|, x\sqrt{x}, log⁡x\log x, or the greatest-integer function ⌊x⌋\lfloor x\rfloor into its separate pieces and evaluating one-sided limits on each piece:

  • lim⁡x→0∣x∣=0\lim_{x\to0}|x|=0: since ∣x∣=x→0|x|=x\to0 from the right and ∣x∣=−x→0|x|=-x\to0 from the left, both one-sided limits agree.
  • lim⁡x→0x\lim_{x\to0}\sqrt x: x\sqrt x is not even defined for x<0x<0, so the left-hand limit cannot be formed at all — hence the two-sided limit does not exist, even though the right-hand limit lim⁡x→0+x=0\lim_{x\to0^+}\sqrt x=0 does. Similarly log⁡x\log x has no left-hand limit as x→0−x\to0^-, since log⁡x\log x is undefined for x≤0x\le0 — a reminder that a one-sided limit needs the function to actually be defined on that side. …
Figure 9.1Graph of $f(x)=x^2+3$ near $x=2$

What this figure shows. Upward parabola y=x2+3y=x^2+3 with vertex (0,3)(0,3); as the two arrowheads on the xx-axis close in on x=2x=2 from either side, the corresponding heights on the curve close in on y=7y=7. …

Figure 9.2Graph of $f(x)=\frac{x^2-16}{x+4}$ near $x=-4$

What this figure shows. The line y=4−xy=4-x with an open hole (puncture) at x=−4, y=8x=-4,\ y=8, since the original function is undefined there even though the simplified line passes through that point. …

Figure 9.3Graph of $f(x)=|x|/x$ near $x=0$

What this figure shows. Two horizontal half-lines with open circles at x=0x=0: y=+1y=+1 for x>0x>0 and y=−1y=-1 for x<0x<0, showing the left and right approach values disagree so the two-sided limit at 00 fails to exist. …