4  Limits of Functions

The previous chapter turned the challenge-and-response game into a definition for sequences. This chapter plays the same game on a new board. Instead of a list indexed by \(n = 1, 2, 3, \dots\), we have a function defined on an interval, and instead of asking what happens as \(n\) grows, we ask what happens as \(x\) approaches a point.

Recall the examples from Chapter 1: a blood pressure reading each week, a balance each month, a pendulum’s position each second. A sequence records snapshots. The thing being photographed, the pressure, the balance, the pendulum, exists between the snapshots too. To model it we need functions on intervals of real numbers, and to ask about their long-run or local behavior we need limits of functions.

The question shifts from one form to another:

Question
Sequences Does \(a_n\) approach \(a\) as \(n \to \infty\)?
Functions Does \(f(x)\) approach \(L\) as \(x \to a\)?

Almost everything carries over. The tolerance \(\varepsilon\) stays. The threshold \(N\) (“far enough along the list”) becomes a radius \(\delta\) (“close enough to \(a\)”).

4.1 Motivation: Instantaneous Velocity

A particle moves along a line, and its position at time \(t\) is \(s(t)\). Its average velocity over the time interval from \(t_0\) to \(t_0 + h\) is displacement divided by elapsed time: \[ \frac{s(t_0 + h) - s(t_0)}{h}. \] What is its velocity at the instant \(t_0\)? Setting \(h = 0\) gives \(\frac00\), which means nothing. Yet a speedometer reads a definite number at every moment, so something must be going on.

Take \(s(t) = t^2\) and \(t_0 = 1\). Then \[ \frac{(1+h)^2 - 1}{h} = \frac{2h + h^2}{h} = 2 + h \qquad (h \ne 0). \]

\(h\) \(1\) \(0.1\) \(0.01\) \(0.001\)
average velocity \(3\) \(2.1\) \(2.01\) \(2.001\)

The line y = 2 + h with an open circle at h = 0, where the value would be 2, marking that the average velocity is undefined at h = 0 but approaches 2.

The expression is undefined at \(h = 0\), but its values crowd toward \(2\) from both sides. We declare \(2\) to be the instantaneous velocity at \(t_0 = 1\). In general, \[ v(t_0) = \lim_{h \to 0} \frac{s(t_0 + h) - s(t_0)}{h}, \] provided the limit exists. This is not a sequence limit. The variable \(h\) moves through every real number near \(0\), not along a list, so we need a definition built for that.

4.2 The Limit of a Function

Informally, \(\lim_{x \to a} f(x) = L\) means that \(f(x)\) can be made as close to \(L\) as we like by taking \(x\) close enough to \(a\), but not equal to \(a\).

Example 1. Let \(f(x) = \dfrac{x^2 - 1}{x - 1}\). At \(x = 1\) the denominator vanishes, so \(f(1)\) is undefined. For \(x \ne 1\), \[ f(x) = \frac{(x-1)(x+1)}{x-1} = x + 1, \] so as \(x\) approaches \(1\), \(f(x)\) approaches \(2\). We write \(\lim_{x \to 1} f(x) = 2\). The limit exists even though the function has no value at the point. This is the same situation as the velocity quotient above.

4.2.1 Challenge and Response, Again

Fix a candidate limit \(L\). An adversary names a tolerance \(\varepsilon > 0\). You must reply with a radius \(\delta > 0\) such that every \(x\) within \(\delta\) of \(a\), other than \(a\) itself, has \(f(x)\) within \(\varepsilon\) of \(L\). If you can always reply, however small the tolerance, the limit is \(L\).

One technical point first. The question “what does \(f\) do near \(a\)?” only makes sense if there are points of the domain near \(a\) to look at.

Definition 4.1 (Limit Point) Let \(E \subseteq \mathbb{R}\). A point \(a\) is a limit point of \(E\) if every interval \((a - r, a + r)\) with \(r > 0\) contains a point of \(E\) other than \(a\).

The point \(a\) itself need not belong to \(E\). For \(E = (0,1)\) every point of \([0,1]\) is a limit point. For \(E = \{1, \tfrac12, \tfrac13, \dots\}\) the only limit point is \(0\). In practice \(E\) will be an interval, or an interval with one point removed.

Definition 4.2 (Limit of a Function) Let \(f : E \to \mathbb{R}\), let \(a\) be a limit point of \(E\), and let \(L \in \mathbb{R}\). We say \(f(x)\) converges to \(L\) as \(x\) approaches \(a\), and write \[ \lim_{x \to a} f(x) = L, \] if for every \(\varepsilon > 0\) there is a \(\delta > 0\) such that \[ x \in E \quad\text{and}\quad 0 < |x - a| < \delta \qquad\Longrightarrow\qquad |f(x) - L| < \varepsilon. \]

Visualization of the epsilon-delta definition

The dictionary from sequences is short:

Sequences Functions
\(\varepsilon > 0\) \(\varepsilon > 0\)
there is an \(N\) there is a \(\delta > 0\)
for all \(n \ge N\) for all \(x\) with \(0 < \lvert x - a\rvert < \delta\)
\(\lvert a_n - a\rvert < \varepsilon\) \(\lvert f(x) - L\rvert < \varepsilon\)

Three remarks prevent most early mistakes.

The condition \(0 < |x - a|\) removes \(x = a\). The value \(f(a)\), even whether it exists, plays no role. Only the behavior near \(a\) matters.

\(\delta\) depends on \(\varepsilon\), and usually on \(f\) and \(a\) as well. A smaller tolerance demands a smaller radius, just as it demanded a later \(N\).

If one \(\delta\) works, every smaller \(\delta\) works. We are never looking for the best radius, only for some radius that we can prove works.

4.2.2 Two Worked Examples

Example 2. \(\lim_{x \to 1} (2x + 3) = 5\).

Scratch work. We want \(|f(x) - 5| < \varepsilon\). Compute \(|2x + 3 - 5| = 2|x - 1|\). This is below \(\varepsilon\) exactly when \(|x - 1| < \varepsilon/2\). So \(\delta = \varepsilon/2\).

Let \(\varepsilon > 0\) and set \(\delta = \varepsilon/2\). If \(0 < |x - 1| < \delta\), then \[ |f(x) - 5| = 2|x - 1| < 2 \cdot \tfrac{\varepsilon}{2} = \varepsilon. \qquad \square \]

The response \(|f(x) - 5|\) is proportional to the perturbation \(|x - 1|\), and the constant of proportionality, here \(2\), sets the exchange rate between \(\varepsilon\) and \(\delta\). A steeper line needs a smaller \(\delta\).

Linear functions are too kind. The next example shows the typical difficulty.

Example 3. \(\lim_{x \to 2} x^2 = 4\).

Scratch work. Factor: \(|x^2 - 4| = |x - 2|\,|x + 2|\). The factor \(|x-2|\) is the one we control. The factor \(|x+2|\) is not constant, so we must bound it. If we agree to stay within \(1\) of \(2\), that is \(|x - 2| < 1\), then \(1 < x < 3\), so \(|x + 2| < 5\). Under that agreement, \[ |x^2 - 4| < 5\,|x - 2|, \] which is below \(\varepsilon\) once \(|x - 2| < \varepsilon/5\). We need both conditions, so \(\delta = \min(1, \varepsilon/5)\).

Let \(\varepsilon > 0\) and set \(\delta = \min(1, \varepsilon/5)\). If \(0 < |x - 2| < \delta\), then \(|x - 2| < 1\), so \(|x + 2| < 5\), and also \(|x - 2| < \varepsilon/5\). Hence \[ |x^2 - 4| = |x - 2|\,|x + 2| < \tfrac{\varepsilon}{5} \cdot 5 = \varepsilon. \qquad \square \]

As a check, take \(\varepsilon = 0.5\). Then \(\delta = \min(1, 0.1) = 0.1\), and for \(x = 2.09\) we get \(x^2 = 4.3681\), which is within \(0.37\) of \(4\), as promised. The pattern is worth remembering: bound the nuisance factor on a fixed neighborhood first, then spend \(\varepsilon\) on the factor you control. Most \(\varepsilon\)–\(\delta\) proofs for non-linear functions work this way.

4.2.3 When the Limit Is Not \(L\)

Negate the definition: \(\lim_{x\to a} f(x) \ne L\) means there is some \(\varepsilon > 0\) such that for every \(\delta > 0\) there is an \(x \in E\) with \(0 < |x - a| < \delta\) and \(|f(x) - L| \ge \varepsilon\). One bad tolerance, and points arbitrarily close to \(a\) keep escaping it.

Example 4. The Heaviside function \[ H(x) = \begin{cases} 0 & x < 0, \\ 1 & x \ge 0 \end{cases} \] has no limit at \(0\).

Graph of the Heaviside step function: the value 0 for x less than 0, ending in an open circle at the origin, and the value 1 for x at least 0, starting with a filled circle at height 1.

Suppose \(H(x) \to L\) as \(x \to 0\). Take \(\varepsilon = \tfrac12\). There is a \(\delta > 0\) such that \(|H(x) - L| < \tfrac12\) whenever \(0 < |x| < \delta\). The points \(x = \pm\delta/2\) both qualify, with \(H(-\delta/2) = 0\) and \(H(\delta/2) = 1\). Then \[ 1 = |H(\delta/2) - H(-\delta/2)| \le |H(\delta/2) - L| + |L - H(-\delta/2)| < 1, \] which is absurd. \(\square\)

Note that \(H(0) = 1\) is defined and changes nothing. The failure comes from what happens on the two sides.

4.3 Limits Along Sequences

Sequences and functions are not two separate theories. A function’s limit at \(a\) is completely determined by what the function does along sequences that approach \(a\), and this gives us the entire sequence toolkit for free. Uniqueness, the limit laws and the squeeze theorem of the previous chapter will all transfer with almost no new work.

Theorem 4.1 (Sequential Criterion) Let \(f : E \to \mathbb{R}\) and let \(a\) be a limit point of \(E\). The following are equivalent:

  1. \(\lim_{x \to a} f(x) = L\).
  2. For every sequence \((p_n)\) in \(E\) with \(p_n \ne a\) for all \(n\) and \(p_n \to a\), we have \(f(p_n) \to L\).

The forward direction is a direct translation. The backward direction is proved by contrapositive: if the limit fails, we build a single bad sequence out of the failure.

(\(1 \Rightarrow 2\)) Let \(\varepsilon > 0\). Choose \(\delta\) as in the definition. If \(p_n \to a\) with \(p_n \ne a\), there is an \(N\) such that \(0 < |p_n - a| < \delta\) for all \(n \ge N\). For such \(n\), \(|f(p_n) - L| < \varepsilon\). So \(f(p_n) \to L\).

(\(2 \Rightarrow 1\)) Suppose \(f(x) \not\to L\). Then there is an \(\varepsilon > 0\) such that for every \(\delta > 0\) some \(x \in E\) has \(0 < |x - a| < \delta\) and \(|f(x) - L| \ge \varepsilon\). Taking \(\delta = 1/n\) for each \(n\), choose such a point \(p_n\). Then \(p_n \ne a\) and \(|p_n - a| < 1/n\), so \(p_n \to a\), but \(|f(p_n) - L| \ge \varepsilon\) for all \(n\). So (2) fails. \(\square\)

Two uses are worth naming. The criterion transports sequence theorems to functions. It also gives a refutation method: to show a limit does not exist, exhibit one sequence \(p_n \to a\) along which \(f(p_n)\) diverges, or two sequences with different limits of \(f(p_n)\).

4.3.1 Uniqueness

A definition that speaks of “the limit” had better deliver only one.

Theorem 4.2 (Uniqueness of Limits) If \(\lim_{x \to a} f(x) = L_1\) and \(\lim_{x \to a} f(x) = L_2\), then \(L_1 = L_2\).

Since \(a\) is a limit point of \(E\), there is a sequence \(p_n \to a\) in \(E\) with \(p_n \ne a\). (Pick \(p_n \in E\) with \(0 < |p_n - a| < 1/n\).) By Theorem 4.1, \(f(p_n) \to L_1\) and \(f(p_n) \to L_2\). Sequence limits are unique (Theorem 3.1), so \(L_1 = L_2\). \(\square\)

This is where the limit-point hypothesis earns its keep. If \(a\) were not a limit point, the condition “\(x \in E\) and \(0 < |x-a| < \delta\)” would eventually be satisfied by no \(x\) at all. The implication would then hold vacuously for every \(L\), and uniqueness would fail.

4.3.2 Limit Laws and Squeeze

Theorem 4.3 (Limit Laws for Functions) Let \(f, g : E \to \mathbb{R}\), let \(a\) be a limit point of \(E\), and suppose \(f(x) \to L\) and \(g(x) \to M\) as \(x \to a\). Then

  1. \(f(x) \pm g(x) \to L \pm M\).
  2. \(f(x)\,g(x) \to LM\).
  3. \(c\,f(x) \to c\,L\) for every \(c \in \mathbb{R}\).
  4. If \(M \ne 0\), then \(g(x) \ne 0\) for all \(x \in E\) sufficiently close to \(a\), and \(f(x)/g(x) \to L/M\).

Let \(p_n \to a\) with \(p_n \in E\) and \(p_n \ne a\). By Theorem 4.1, \(f(p_n) \to L\) and \(g(p_n) \to M\). The sequence laws (Theorem 3.3) give \(f(p_n) \pm g(p_n) \to L \pm M\), \(f(p_n)g(p_n) \to LM\) and \(c f(p_n) \to cL\). Since \((p_n)\) was arbitrary, Theorem 4.1 gives (1) to (3).

For (4), apply the definition of \(g(x) \to M\) with \(\varepsilon = |M|/2\): there is a \(\delta_0 > 0\) with \(|g(x) - M| < |M|/2\), hence \(|g(x)| > |M|/2 > 0\), for \(0 < |x - a| < \delta_0\). For sequences \(p_n \to a\) inside this punctured neighborhood, the quotient law gives \(f(p_n)/g(p_n) \to L/M\), and Theorem 4.1 finishes. \(\square\)

Example 5. Example 1 now takes one line, and so does a rational function: \[ \lim_{x \to 1}\frac{x^2 - 1}{x - 1} = \lim_{x \to 1}(x + 1) = 2, \qquad \lim_{x \to 2}\frac{x^2 + 1}{x + 3} = \frac{4 + 1}{2 + 3} = 1. \] In the first, the quotient law does not apply directly, since the denominator tends to \(0\). We first cancel the common factor, which is legitimate because the limit ignores \(x = 1\). As in the previous chapter, the laws are a conditional license: they apply once you know each piece has a limit and, for quotients, that the denominator’s limit is not zero.

Theorem 4.4 (Squeeze Theorem for Functions) Suppose \(g(x) \le f(x) \le h(x)\) for all \(x \in E\) with \(0 < |x - a| < r\), for some \(r > 0\). If \(g(x) \to L\) and \(h(x) \to L\) as \(x \to a\), then \(f(x) \to L\).

For any sequence \(p_n \to a\) in \(E\) with \(p_n \ne a\), we have \(g(p_n) \le f(p_n) \le h(p_n)\) for large \(n\), and both outer sequences tend to \(L\). By Theorem 3.5, \(f(p_n) \to L\). Apply Theorem 4.1. \(\square\)

Example 6. The function \(\sin(1/x)\) has no limit at \(0\), but \(x\sin(1/x)\) does.

Two panels. On the left, sin(1/x) for x between 0.01 and 0.3 oscillating faster and faster between -1 and 1 as x approaches 0. On the right, x sin(1/x) oscillating between the lines y = x and y = -x and shrinking to 0.

No limit. Let \(x_n = \dfrac{1}{n\pi}\) and \(y_n = \dfrac{1}{2n\pi + \pi/2}\). Both tend to \(0\) and are nonzero, but \(\sin(1/x_n) = 0\) and \(\sin(1/y_n) = 1\) for every \(n\). Two sequences approaching \(0\) give two different limits for the values, so by Theorem 4.1 no limit exists.

A limit. For \(x \ne 0\) we have \(-|x| \le x\sin(1/x) \le |x|\). Both bounds tend to \(0\) (take \(\delta = \varepsilon\)), so \(x\sin(1/x) \to 0\) by Theorem 4.4.

4.4 One-Sided Limits

A function can behave differently on the two sides of a point, as the Heaviside function does. One-sided limits capture this.

Definition 4.3 (One-Sided Limits) Let \(a\) be a limit point of \(E \cap (-\infty, a)\). We write \(\lim_{x \to a^-} f(x) = L\) if for every \(\varepsilon > 0\) there is a \(\delta > 0\) such that \[ x \in E \quad\text{and}\quad a - \delta < x < a \qquad\Longrightarrow\qquad |f(x) - L| < \varepsilon. \] Similarly, for \(a\) a limit point of \(E \cap (a, \infty)\), we write \(\lim_{x \to a^+} f(x) = L\) if for every \(\varepsilon > 0\) there is a \(\delta > 0\) such that \[ x \in E \quad\text{and}\quad a < x < a + \delta \qquad\Longrightarrow\qquad |f(x) - L| < \varepsilon. \]

The two-sided limit is exactly the conjunction of the two one-sided ones.

Theorem 4.5 (Two-Sided Limits via One-Sided Limits) Suppose \(a\) is a limit point of both \(E \cap (-\infty, a)\) and \(E \cap (a, \infty)\). Then \(\lim_{x \to a} f(x) = L\) if and only if \[ \lim_{x \to a^-} f(x) = L = \lim_{x \to a^+} f(x). \]

(\(\Rightarrow\)) The one-sided conditions ask for less than the two-sided one: the same \(\delta\) works, restricted to one side.

(\(\Leftarrow\)) Given \(\varepsilon > 0\), choose \(\delta^-\) and \(\delta^+\) for the left and right limits, and put \(\delta = \min(\delta^-, \delta^+)\). If \(0 < |x - a| < \delta\), then \(x\) lies on exactly one side of \(a\), within the corresponding radius, so \(|f(x) - L| < \varepsilon\). \(\square\)

The theorem is also a refutation tool. For the Heaviside function, \(\lim_{x \to 0^-} H(x) = 0\) and \(\lim_{x \to 0^+} H(x) = 1\). The one-sided limits exist and differ, so no two-sided limit exists, which is Example 4 again in one sentence.

Example 7. Let \[ h(x) = \begin{cases} x^2 & x < 2, \\ 6 & x = 2, \\ 3x & x > 2. \end{cases} \] Then \(\lim_{x \to 2^-} h(x) = 4\) and \(\lim_{x \to 2^+} h(x) = 6\). They differ, so \(\lim_{x \to 2} h(x)\) does not exist. The value \(h(2) = 6\) happens to match the right-hand limit, but this is a coincidence of the formula. The limit never looks at \(h(2)\), so that agreement does not help.

TipKey Ideas
  • A limit of a function describes behavior near a point, excluding the point itself. The value \(f(a)\) can be anything, or not exist.
  • The \(\varepsilon\)–\(\delta\) game is the \(\varepsilon\)–\(N\) game with a radius \(\delta\) in place of a threshold \(N\). For linear functions \(\delta\) is a multiple of \(\varepsilon\). For others, bound the nuisance factor first, then take a minimum.
  • The limit-point condition is what makes “the limit” meaningful and unique.
  • The sequential criterion converts function limits into sequence limits. It lets us reuse uniqueness, the limit laws and the squeeze theorem, and it refutes limits with a pair of sequences.
  • A two-sided limit exists exactly when both one-sided limits exist and agree.

Quick Check: \(\lim_{x \to 1}(3x + 2) = \;\)?

True or false: If \(f(c)\) is defined, then \(\lim_{x \to c} f(x) = f(c)\).

  1. Let \(f(x) = 3x + 2\).

    1. Use the \(\varepsilon\)–\(\delta\) definition to prove that \(\lim_{x \to 1} f(x) = 5\).

    2. For \(\varepsilon = 0.15\), find an explicit \(\delta > 0\) that works.

    3. Explain in words why \(\delta = \varepsilon/3\) works.

    4. For \(g(x) = 5x + 2\) and \(\lim_{x \to 1} g(x) = 7\), what is the corresponding relationship between \(\delta\) and \(\varepsilon\)? Why is it different?

  2. Let \(f(x) = \dfrac{x^2 + 3x - 4}{x - 1}\).

    1. Show that \(f(x) = x + 4\) for all \(x \ne 1\).

    2. Use this to find \(\lim_{x \to 1} f(x)\).

    3. Explain why \(f(1)\) being undefined does not prevent the limit from existing.

    4. Let \((x_n)\) be any sequence with \(x_n \ne 1\) and \(x_n \to 1\). What happens to \(f(x_n)\)? Which theorem justifies your answer?

  3. Define \[ h(x) = \begin{cases} x^2 & x < 2, \\ 6 & x = 2, \\ 3x & x > 2. \end{cases} \]

    1. Compute \(\lim_{x \to 2^-} h(x)\) and \(\lim_{x \to 2^+} h(x)\).

    2. Does \(\lim_{x \to 2} h(x)\) exist? Justify your answer with Theorem 4.5.

    3. How is \(h(2) = 6\) related to your answer in (b)?

    4. Replace \(3x\) by \(cx\) for \(x > 2\). For which \(c\) does the two-sided limit at \(2\) exist, and what is its value?

  4. Prove from the definition that \(\lim_{x \to 3} x^2 = 9\). (Follow Example 3: bound \(|x+3|\) on a fixed neighborhood, then choose \(\delta\) as a minimum.)

  5. Consider \(f(x) = \sin(1/x)\) for \(x \ne 0\).

    1. Find two sequences \(x_n, y_n \to 0\) (nonzero) with \(f(x_n) = 0\) and \(f(y_n) = 1\) for all \(n\).

    2. Conclude, using Theorem 4.1, that \(\lim_{x \to 0} f(x)\) does not exist.

    3. Show that \(\lim_{x \to 0} x\,f(x) = 0\).

    1. Let \(\varepsilon > 0\) and \(\delta = \varepsilon/3\). If \(0 < |x - 1| < \delta\), then \(|f(x) - 5| = |3x - 3| = 3|x - 1| < \varepsilon\). \(\square\)

    2. \(\delta = 0.15/3 = 0.05\).

    3. The function has slope \(3\), so a change \(\Delta x\) in the input changes the output by \(3\,\Delta x\). Keeping the output change below \(\varepsilon\) requires \(\Delta x < \varepsilon/3\).

    4. \(|g(x) - 7| = 5|x - 1|\), so \(\delta = \varepsilon/5\). A steeper slope amplifies input changes more, so the input neighborhood must be smaller.

    1. \(x^2 + 3x - 4 = (x - 1)(x + 4)\), so for \(x \ne 1\) the factor \(x - 1\) cancels and \(f(x) = x + 4\).

    2. \(\lim_{x \to 1} f(x) = \lim_{x \to 1}(x + 4) = 5\).

    3. The definition requires \(0 < |x - 1|\), which excludes \(x = 1\). We never evaluate \(f(1)\), so it can be undefined, or defined with any value, without affecting the limit.

    4. By Theorem 4.1, \(f(x_n) \to 5\). Concretely, \(x_n \ne 1\) lets us write \(f(x_n) = x_n + 4 \to 5\).

    1. The left limit is \(\lim_{x \to 2^-} x^2 = 4\). The right limit is \(\lim_{x \to 2^+} 3x = 6\).

    2. No. The one-sided limits exist but differ, so by Theorem 4.5 the two-sided limit does not exist. (If it equaled some \(L\), both one-sided limits would equal \(L\).)

    3. It is not related. The limit ignores \(h(2)\). That \(6\) equals the right-hand limit is a coincidence, and it would not rescue the two-sided limit.

    4. The right limit is \(\lim_{x \to 2^+} cx = 2c\). For the two-sided limit to exist we need \(2c = 4\), so \(c = 2\), and the limit is \(4\).

  1. Scratch work. \(|x^2 - 9| = |x - 3|\,|x + 3|\). If \(|x - 3| < 1\) then \(2 < x < 4\), so \(|x + 3| < 7\). We then need \(|x - 3| < \varepsilon/7\).

    Proof. Let \(\varepsilon > 0\) and \(\delta = \min(1, \varepsilon/7)\). If \(0 < |x - 3| < \delta\), then \(|x + 3| < 7\) and \(|x - 3| < \varepsilon/7\), so \(|x^2 - 9| < 7 \cdot \varepsilon/7 = \varepsilon\). \(\square\)

    1. \(x_n = \dfrac{1}{n\pi}\) gives \(\sin(n\pi) = 0\). \(y_n = \dfrac{1}{2n\pi + \pi/2}\) gives \(\sin(2n\pi + \pi/2) = 1\). Both sequences are nonzero and tend to \(0\).

    2. If \(\lim_{x\to0} f(x) = L\) existed, Theorem 4.1 would force \(f(x_n) \to L\) and \(f(y_n) \to L\). But \(f(x_n) \to 0\) and \(f(y_n) \to 1\), and limits of sequences are unique, so no such \(L\) exists.

    3. For \(x \ne 0\), \(-|x| \le x\sin(1/x) \le |x|\) because \(|\sin(1/x)| \le 1\). Both bounds tend to \(0\), so \(x\sin(1/x) \to 0\) by Theorem 4.4.