kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

Chapter 2 · Limits · §2.2

The Limit of a Function

Where a function is headed as xx approaches a point — even when you can't, or shouldn't, plug the point in.

bookSHelf · Calculus Volume 11 / 29
Kami title plate on ink-blue.
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

02 — Learning objectives

By the end of this section

  • Using correct notation, describe the limit of a function.
  • Use a table of values to estimate a limit — or identify when it does not exist.
  • Use a graph to estimate a limit — or identify when it does not exist.
  • Define one-sided limits and provide examples.
  • Explain the relationship between one-sided and two-sided limits.
  • Using correct notation, describe an infinite limit.
  • Define a vertical asymptote.
bookSHelf · Calculus Volume 12 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

§2.2 — The opening problem

Closing in on x=2x = 2

This is the graph of f(x)=x24x2f(x)=\dfrac{x^2-4}{x-2}. At x=2x = 2 it has no value (you'd divide by zero). So where is the graph headed as xx gets close to 2? Make a table — pick xx-values just below and just above 2, and compute f(x)f(x).

from the leftf(x)f(x)from the rightf(x)f(x)
1335
1.53.52.54.5
1.93.92.14.1
1.993.992.014.01
1.9993.9992.0014.001
1.99993.99992.00014.0001

From both sides the values close in on 4 — even though f(2)=00f(2)=\tfrac{0}{0} has no value. The graph heads toward 4 without ever reaching it.

Figure 2.12: f(x)=x24x2f(x)=\dfrac{x^2-4}{x-2} — the line y=x+2y=x+2 with the point (2,4)(2,4) punched out.

bookSHelf · Calculus Volume 13 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

§2.2 — Name the method · handout

Do it again — for any function

In Closing In you found the single value f(x)f(x) was heading toward as xx got closer and closer to 22 — without ever using x=2x = 2 itself. The point of math is to do it again, for any function. So write down exactly what your group did, step by step — then name and define your method.

Write the steps. Think about:

  • Which xx-values did you choose?
  • What did you compute at each?
  • How did you decide on the final value?
  • How did you make sure both sides agreed?
bookSHelf · Calculus Volume 14 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

§2.2 — Name the method · define it

Write it down, then name it

You found where ff was heading as x2x \to 2 — without ever using x=2x = 2. Write down exactly what your group did:

  1. Choose xx-values closing in on the point from the left.
  2. And matching values from the right.
  3. Compute f(x)f(x) at each one.
  4. Read down both columns — when they close in on a single number, that's where ff is heading.

The Closing-In Method — to find the value a function is heading toward as xx gets close to a point, plug in xx-values closer and closer from both sides and watch what number the outputs settle on.

bookSHelf · Calculus Volume 15 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

The question driving this section

You pinned down where one function was headed near one point. Here's the question that drives the rest of the section:

How can we describe where a function is headed near a point — even when we can't, or shouldn't, plug the point in?

The hole at x=2x = 2 is only the first way a point can't be trusted. By the end you'll have a name for every way a function can behave as xx approaches — and every way that behavior can fail.

bookSHelf · Calculus Volume 16 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

§2.2 — The limit, intuitively

Definition 2.2.1

Definition 2.2.1 — Limit (Intuitive)

Let f(x)f(x) be defined at all values in an open interval containing aa, with the possible exception of aa itself, and let LL be a real number. If all values of f(x)f(x) approach LL as the values of x (a)x\ (\ne a) approach aa, then the limit of f(x)f(x) as xx approaches aa is LL:

limxaf(x)=L.\lim_{x \to a} f(x) = L.
Open interval containing a, shaded band around a

Figure: the shaded band — the neighborhood around aa — is what the limit reports.

The limit reports what the neighborhood is doing, not the value at the point. For f(x)=x24x2f(x)=\dfrac{x^2-4}{x-2}, the value f(2)f(2) does not exist — yet limx2f(x)=4\displaystyle\lim_{x \to 2} f(x) = 4.

bookSHelf · Calculus Volume 17 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

§2.2 — Why the hole?

Why the hole — and the big idea

Factor and cancel:

x24x2=(x2)(x+2)x2=x+2for x2.\frac{x^2-4}{x-2}=\frac{(x-2)(x+2)}{x-2}=x+2 \quad\text{for } x \ne 2.

So ff is the line y=x+2y = x + 2 with the single point (2,4)(2, 4) punched out. The cancellation is only legal for x2x \ne 2 — which is why we approach the point instead of substituting it. (Evaluating limits exactly by factoring is the work of §2.3.)

Big Idea. A limit reads where a function is headed, not where it is — like reading which way a friend is heading through a crowd, even when you can't see exactly where they stand.

bookSHelf · Calculus Volume 18 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

§2.2 — Estimate a limit from a table

Example 2.2.1

Evaluate limx0sinxx\displaystyle\lim_{x \to 0}\frac{\sin x}{x} using a table of values.

The function is even, so the left and right columns match:

xxsinx/x\sin x / x
±0.1\pm 0.10.99833
±0.01\pm 0.010.99998
±0.001\pm 0.0010.9999998

Both sides march toward 1: limx0sinxx=1.\displaystyle\lim_{x \to 0}\frac{\sin x}{x}=1.

Graph of sin(x)/x approaching 1 at x=0

Figure 2.13: sinx/x\sin x / x heads to 1 from both sides of 0.

bookSHelf · Calculus Volume 19 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

§2.2 — Try it now

Try It Now 2.2.1

Estimate limx11x1x1\displaystyle\lim_{x \to 1}\frac{\frac{1}{x}-1}{x-1} using a table of values.

Simplify first: 1x1x1=(x1)x(x1)=1x\dfrac{\frac{1}{x}-1}{x-1}=\dfrac{-(x-1)}{x(x-1)}=-\dfrac{1}{x} for x1x \ne 1.

Both columns march toward 1-1: limx11x1x1=1.\displaystyle\lim_{x \to 1}\frac{\frac{1}{x}-1}{x-1}=-1. Answer: 1-1.

xxf(x)f(x)xxf(x)f(x)
0.9-1.11111.1-0.9091
0.99-1.01011.01-0.9901
0.999-1.00101.001-0.9990
bookSHelf · Calculus Volume 110 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

§2.2 — Estimate a limit from a graph

Example 2.2.3

For the function g(x)g(x) shown, evaluate limx1g(x)\displaystyle\lim_{x \to -1} g(x).

The marked point shows g(1)=4g(-1)=4, but the curve approaches height 3 from both sides: limx1g(x)=3.\displaystyle\lim_{x \to -1} g(x)=3.

The limit and the function value are allowed to disagree — the limit reports the neighborhood, not the isolated point.

Graph of g with a marked point at (-1,4) but curve heading to 3

Figure 2.15: g(1)=4g(-1)=4 marked, but the curve heads to 3.

bookSHelf · Calculus Volume 111 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

§2.2 — From estimates to building blocks

Reading a trend is not proving a value

Tables and graphs are quick, but they rest on guesswork — you are reading a trend, not proving a value. The next section builds algebraic limit laws that compute limits exactly.

Before we leave the informal stage, two limits are so basic that every one of those laws will lean on them.

bookSHelf · Calculus Volume 112 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

§2.2 — Two atomic limits

Theorem 2.2.1

Theorem 2.2.1 — Two Important Limits

For any real number aa and constant cc:

limxax=aandlimxac=c.\lim_{x \to a} x = a \qquad\text{and}\qquad \lim_{x \to a} c = c.

The identity function f(x)=xf(x)=x marches along with xx; a constant function never moves. These two limits are the atomic building blocks inside every limit law we prove from here on.

bookSHelf · Calculus Volume 113 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

§2.2 — When a limit misses

Two ways a limit can fail

For a two-sided limit to exist, f(x)f(x) must approach a single real number from both sides. It can miss in two very different ways:

  • Oscillationff bounces around forever without settling.
  • Blow-upff shoots off toward ±\pm\infty, a vertical wall.

Both get labeled DNE for now — but the rest of the section gives each its own precise vocabulary.

bookSHelf · Calculus Volume 114 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

§2.2 — A limit that fails: oscillation

Example 2.2.4

Evaluate limx0sin ⁣(1x)\displaystyle\lim_{x \to 0}\sin\!\left(\frac{1}{x}\right).

As x0x \to 0, the input 1/x1/x blows up, so sin(1/x)\sin(1/x) oscillates faster and faster — never settling on a value.

Along x=2π,23π,25π,x=\dfrac{2}{\pi},\dfrac{2}{3\pi},\dfrac{2}{5\pi},\dots the value cycles 1,1,1,1,1,-1,1,-1,\dots forever. Different paths to 0 give different values, so limx0sin ⁣(1x)\displaystyle\lim_{x \to 0}\sin\!\left(\frac{1}{x}\right) DNE.

Graph of sin(1/x) oscillating faster and faster near 0

Figure 2.17: sin(1/x)\sin(1/x) oscillates without bound as x0x \to 0.

bookSHelf · Calculus Volume 115 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

§2.2 — When "DNE" hides the real story

Each side can still be clean

Saying "the limit does not exist" sometimes throws away useful information.

sin(1/x)\sin(1/x) genuinely wandered — nothing more to say. But recall g(x)=x2x2g(x)=\dfrac{|x-2|}{x-2}: it settles cleanly on 1-1 from the left and +1+1 from the right.

The two-sided limit fails, yet each side is perfectly well-behaved. That deserves its own notation.

Figure: g(x)=x2x2g(x)=\dfrac{|x-2|}{x-2} — clean on each side, jump at x=2x=2.

bookSHelf · Calculus Volume 116 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

§2.2 — One-sided limits

Definition 2.2.2

Definition 2.2.2 — One-Sided Limits

From the left. If f(x)f(x) approaches LL as x (x<a)x\ (x < a) approaches aa:

limxaf(x)=L.\lim_{x \to a^-} f(x) = L.

From the right. If f(x)f(x) approaches LL as x (x>a)x\ (x > a) approaches aa:

limxa+f(x)=L.\lim_{x \to a^+} f(x) = L.

For g(x)=x2x2g(x)=\dfrac{|x-2|}{x-2}: the two-sided limit DNE, but the side limits are clean — limx2g(x)=1\displaystyle\lim_{x \to 2^-} g(x) = -1 and limx2+g(x)=1\displaystyle\lim_{x \to 2^+} g(x) = 1.

bookSHelf · Calculus Volume 117 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

§2.2 — Evaluating one-sided limits

Example 2.2.5

f(x)={x+1if x<2,x24if x2.f(x)=\begin{cases} x+1 & \text{if } x < 2,\\[2pt] x^2-4 & \text{if } x \ge 2.\end{cases}

Use the correct branch on each side: limx2f(x)=3,limx2+f(x)=0.\displaystyle\lim_{x \to 2^-} f(x) = 3,\quad \lim_{x \to 2^+} f(x) = 0.

The side limits disagree, so limx2f(x)\displaystyle\lim_{x \to 2} f(x) DNE — the graph jumps at x=2x = 2.

Piecewise graph with a jump at x=2

Figure 2.18: the branches disagree — a jump at x=2x=2.

bookSHelf · Calculus Volume 118 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

§2.2 — Try it now

Try It Now 2.2.4

Estimate the one-sided limits of x24x2\dfrac{|x^2-4|}{x-2} at x=2x = 2.

Factor: x24=x2x+2|x^2-4| = |x-2|\,|x+2|.

  • For x>2x > 2: x24x2x+2=4\dfrac{|x^2-4|}{x-2} \to |x+2| = 4.
  • For x<2x < 2: x24x2x+2=4\dfrac{|x^2-4|}{x-2} \to -|x+2| = -4.

limx2x24x2=4,limx2+x24x2=4.\displaystyle\lim_{x \to 2^-}\frac{|x^2-4|}{x-2}=-4,\qquad \lim_{x \to 2^+}\frac{|x^2-4|}{x-2}=4. Answer: left side 4-4; right side +4+4 (two-sided DNE).

bookSHelf · Calculus Volume 119 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

§2.2 — One-sided and two-sided

Theorem 2.2.2

Theorem 2.2.2 — Relating One-Sided and Two-Sided Limits

limxaf(x)=L        limxaf(x)=L  and  limxa+f(x)=L.\lim_{x \to a} f(x) = L \;\iff\; \lim_{x \to a^-} f(x) = L \ \text{ and } \ \lim_{x \to a^+} f(x) = L.

The two-sided limit exists exactly when the two side limits shake hands on the same value. If they disagree, the two-sided limit does not exist.

bookSHelf · Calculus Volume 120 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

§2.2 — The blow-up failure

Back to the blow-up

Every function so far stayed bounded near its trouble point. But the third opening function never settles:

h(x)=1(x2)2  +as x2.h(x)=\frac{1}{(x-2)^2}\ \longrightarrow\ +\infty \quad\text{as } x \to 2.

This is the blow-up failure we flagged earlier. Rather than write "DNE", we record how it fails — with the symbol \infty.

Figure: h(x)=1(x2)2+h(x)=\dfrac{1}{(x-2)^2} \to +\infty as x2x \to 2.

bookSHelf · Calculus Volume 121 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

§2.2 — Infinite limits & vertical asymptotes

Definitions 2.2.3 & 2.2.4

Definition 2.2.3 — Infinite Limits

If f(x)f(x) increases without bound as xax \to a, we write limxaf(x)=+\displaystyle\lim_{x \to a} f(x) = +\infty; if it decreases without bound, limxaf(x)=\displaystyle\lim_{x \to a} f(x) = -\infty. The same applies to the one-sided versions xax \to a^- and xa+x \to a^+.

Definition 2.2.4 — Vertical Asymptote

The line x=ax = a is a vertical asymptote of f(x)f(x) if any one of the following holds:

limxaf=±,  limxa+f=±,  limxaf=±.\lim_{x \to a^-} f = \pm\infty,\ \ \lim_{x \to a^+} f = \pm\infty,\ \ \lim_{x \to a} f = \pm\infty.

Writing ++\infty records how the limit fails — by blowing up — instead of just labeling it "DNE". h(x)=1(x2)2h(x)=\dfrac{1}{(x-2)^2} has limx2h(x)=+\displaystyle\lim_{x \to 2} h(x) = +\infty, so x=2x = 2 is a vertical asymptote. (Infinity describes behavior, not a real-number value.)

bookSHelf · Calculus Volume 122 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

§2.2 — Recognizing an infinite limit

Example 2.2.6

Evaluate the one- and two-sided limits of 1x\dfrac{1}{x} at x=0x = 0.

xx1/x1/xxx1/x1/x
-0.01-1000.01100
-0.001-10000.0011000

limx01x=,limx0+1x=+.\displaystyle\lim_{x \to 0^-}\frac{1}{x}=-\infty,\quad \lim_{x \to 0^+}\frac{1}{x}=+\infty. The sides blow up in opposite directions, so limx01x\displaystyle\lim_{x \to 0}\frac{1}{x} DNE.

Graph of 1/x with opposite-direction blow-ups at x=0

Figure 2.19: 1/x1/x blows up to -\infty and ++\infty at x=0x=0.

bookSHelf · Calculus Volume 123 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

§2.2 — Infinite limits from positive integers

Theorem 2.2.3

Theorem 2.2.3 — Infinite Limits from Positive Integers

For a real number aa and a positive integer nn. If nn is even:

limxa1(xa)n=+.\lim_{x \to a}\frac{1}{(x-a)^n}=+\infty.

If nn is odd:

limxa+1(xa)n=+,limxa1(xa)n=.\lim_{x \to a^+}\frac{1}{(x-a)^n}=+\infty,\quad \lim_{x \to a^-}\frac{1}{(x-a)^n}=-\infty.

Either way, the line x=ax = a is a vertical asymptote.

bookSHelf · Calculus Volume 124 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

§2.2 — Finding a vertical asymptote

Example 2.2.7

Evaluate the limits of f(x)=1(x+3)4f(x)=\dfrac{1}{(x+3)^4} at x=3x = -3, and identify any vertical asymptote.

Match the template 1(xa)n\dfrac{1}{(x-a)^n}: here a=3a = -3 and n=4n = 4 (even).

Even nn means both sides shoot to ++\infty:

limx3f(x)=limx3+f(x)=limx3f(x)=+.\lim_{x \to -3^-} f(x) = \lim_{x \to -3^+} f(x) = \lim_{x \to -3} f(x) = +\infty.

Because the limit blows up at x=3x = -3, the line x=3x = -3 is a vertical asymptote.

bookSHelf · Calculus Volume 125 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

§2.2 — Try it now

Try It Now 2.2.6

Evaluate the limits of f(x)=1(x2)3f(x)=\dfrac{1}{(x-2)^3} at x=2x = 2 and identify any vertical asymptote.

n=3n = 3 is odd, so the side limits go to opposite infinities:

limx21(x2)3=,limx2+1(x2)3=+.\lim_{x \to 2^-}\frac{1}{(x-2)^3}=-\infty,\qquad \lim_{x \to 2^+}\frac{1}{(x-2)^3}=+\infty.

The sides disagree, so the two-sided limit DNE. But one side blowing up is enough. Answer: left -\infty; right ++\infty; two-sided DNE; vertical asymptote at x=2x = 2.

bookSHelf · Calculus Volume 126 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

§2.2 — Four behaviors on one graph

Example 2.2.8

Read each behavior off the graph of ff:

  • x=4x = -4 (smooth): limx4f(x)=0\displaystyle\lim_{x \to -4} f(x) = 0, and f(4)=0f(-4) = 0.
  • x=2x = -2 (hole): limx2f(x)=3\displaystyle\lim_{x \to -2} f(x) = 3, but f(2)f(-2) is undefined.
  • x=1x = 1 (jump): lim=6\lim^- = 6, lim+=3\lim^+ = 3, two-sided DNE, f(1)=6f(1) = 6.
  • x=3x = 3 (asymptote): both sides \to -\infty, f(3)f(3) undefined.
Graph of f showing smooth, hole, jump, and asymptote behaviors

Figure 2.21: four distinct behaviors on a single graph.

bookSHelf · Calculus Volume 127 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

§2.2 — The question, answered

Four answers, one graph

Where is a function headed near a point — even when the point itself can't be trusted? One graph holds all four answers.

Point on the graphLimit verdict
smooth (x=4)(x=-4)exists; lim=f(a)\lim=f(a)
hole (x=2)(x=-2)exists; limf(a)\lim\ne f(a)
jump (x=1)(x=1)two-sided DNE; sides clean
asymptote (x=3)(x=3)infinite; vertical asymptote

The limit always reads the neighborhood, never the point. When the neighborhood agrees, the limit exists; when it splits or blows up, we don't stop at "DNE" — we name how.

Graph of f showing smooth, hole, jump, and asymptote behaviors

Figure 2.21: one graph, all four verdicts.

bookSHelf · Calculus Volume 128 / 29
kami Calculus Volume 1 · Ch. 2bookSHelf · §2.2

§2.2 — Carry forward

We name how.

A limit reads where a function is headed, not where it is — and when it fails, we record whether it wandered or blew up. Next: §2.3 computes limits exactly with the limit laws.

bookSHelf · Calculus Volume 1 · §2.2 · composed in kami · MMXXVI

bookSHelf · Calculus Volume 129 / 29