Mathematics · Book 2 · Grades 10–12

High School Mathematics

High School Mathematics · Grades 10–12

21Limits and Continuity

This chapter extends the notion of limit from sequences to functions of a real variable, and introduces continuity. The central result is the intermediate value theorem, which turns qualitative information (“ff is continuous and changes sign”) into the existence of solutions of equations.

21.1 Limits of functions

Throughout, ff is a function defined on an interval or a union of intervals D⊆RD \subseteq \R.

Definition 21.1 (Limit at infinity)

Let ff be defined on an interval [a, +∞)\intco{a}{+\infty} and ℓ∈R\ell \in \R. We say that ff tends to ℓ\ell at +∞+\infty, written lim⁡x→+∞f(x)=ℓ\lim\limits_{x\to+\infty} f(x) = \ell, if every open interval containing ℓ\ell contains all values f(x)f(x) for xx large enough: for every ε>0\varepsilon > 0 there exists AA such that for all x≥Ax \geq A, ∣f(x)−ℓ∣≤ε\abs{f(x) - \ell} \leq \varepsilon.

We say ff tends to +∞+\infty at +∞+\infty if for every M∈RM \in \R there exists AA such that f(x)≥Mf(x) \geq M for all x≥Ax \geq A. Limits at −∞-\infty and limits equal to −∞-\infty are defined analogously.

Definition 21.2 (Limit at a point)

Let a∈Ra \in \R and let ff be defined near aa (except possibly at aa). We say that ff tends to ℓ∈R\ell \in \R at aa, written lim⁡x→af(x)=ℓ\lim\limits_{x \to a} f(x) = \ell, if for every ε>0\varepsilon > 0 there exists δ>0\delta > 0 such that for all x∈Dx \in D with ∣x−a∣≤δ\abs{x - a} \leq \delta, ∣f(x)−ℓ∣≤ε\abs{f(x) - \ell} \leq \varepsilon.

We say ff tends to +∞+\infty at aa if for every MM there is δ>0\delta > 0 such that f(x)≥Mf(x) \geq M whenever x∈Dx \in D and ∣x−a∣≤δ\abs{x - a} \leq \delta. One-sided limits (x→a+x \to a^+, x→a−x \to a^-) restrict xx to x>ax > a or x<ax < a.

Example 21.3

lim⁡x→+∞1x=0\lim\limits_{x\to+\infty} \frac{1}{x} = 0, lim⁡x→0+1x=+∞\lim\limits_{x\to 0^+} \frac{1}{x} = +\infty, lim⁡x→0−1x=−∞\lim\limits_{x\to 0^-} \frac{1}{x} = -\infty. The function x↦1xx \mapsto \frac1x has no (two-sided) limit at 00.

Definition 21.4 (Asymptotes)

The line y=ℓy = \ell is a horizontal asymptote of the curve of ff at +∞+\infty (resp. −∞-\infty) if lim⁡x→+∞f(x)=ℓ\lim_{x\to+\infty} f(x) = \ell (resp. at −∞-\infty). The line x=ax = a is a vertical asymptote if ff has an infinite one-sided limit at aa.

The curve of f(x) = 2 + 1/x-1 with its horizontal asymptote y = 2 (at ±∈fty) and vertical asymptote x = 1.
The curve of f(x)=2+1x−1f(x) = 2 + \frac{1}{x-1} with its horizontal asymptote y=2y = 2 (at ±∞\pm\infty) and vertical asymptote x=1x = 1.

Proposition 21.5 (Operations on limits)

The rules of Proposition 20.14 (sums, products, quotients) hold verbatim for limits of functions, at a point or at infinity, with the same four indeterminate forms (+∞)+(−∞)(+\infty)+(-\infty), 0×∞0\times\infty, ∞∞\frac{\infty}{\infty}, 00\frac{0}{0}.

Proof. The proofs are identical to the sequence case, replacing “for n≥Nn \geq N” by “for x≥Ax \geq A” or “for ∣x−a∣≤δ\abs{x-a} \leq \delta”. ∎

Theorem 21.6 (Limit of a composition)

Let f,gf, g be functions and a,b,ca, b, c be real numbers or ±∞\pm\infty. If lim⁡x→af(x)=b\lim\limits_{x \to a} f(x) = b and lim⁡y→bg(y)=c\lim\limits_{y \to b} g(y) = c, then

lim⁡x→ag(f(x))=c.\lim_{x \to a} g\bigl(f(x)\bigr) = c .

The same statement holds with a sequence in place of ff: if un→bu_n \to b and lim⁡y→bg(y)=c\lim_{y\to b} g(y) = c, then g(un)→cg(u_n) \to c.

Proof. Take b,cb, c finite (the other cases are analogous). Let ε>0\varepsilon > 0. There is δ>0\delta > 0 such that ∣y−b∣≤δ\abs{y - b} \leq \delta implies ∣g(y)−c∣≤ε\abs{g(y) - c} \leq \varepsilon; and there is δ′>0\delta' > 0 such that ∣x−a∣≤δ′\abs{x - a} \leq \delta' implies ∣f(x)−b∣≤δ\abs{f(x) - b} \leq \delta. Chaining the two gives ∣g(f(x))−c∣≤ε\abs{g(f(x)) - c} \leq \varepsilon for ∣x−a∣≤δ′\abs{x - a} \leq \delta'. ∎

Theorem 21.7 (Comparison and squeeze)

Let f,g,hf, g, h be functions and a∈R∪{±∞}a \in \R \cup \{\pm\infty\}.

  1. If f≤gf \leq g near aa and f(x)→+∞f(x) \to +\infty as x→ax \to a, then g(x)→+∞g(x) \to +\infty.
  2. If f≤g≤hf \leq g \leq h near aa and f,hf, h tend to the same finite limit ℓ\ell at aa, then g(x)→ℓg(x) \to \ell as x→ax \to a.

Proof. Same argument as for sequences (Theorem 20.16). ∎

Method 21.8 (Computing limits in practice)

  • Polynomials and rational functions at ±∞\pm\infty: factor out the highest power of xx; the limit is that of the ratio of leading terms.
  • 00\frac{0}{0} at a point aa: factor (x−a)(x-a) out of numerator and denominator, or recognize a derivative lim⁡x→af(x)−f(a)x−a=f′(a)\lim_{x\to a}\frac{f(x)-f(a)}{x-a} = f'(a) (Chapter 22).
  • Square roots: multiply by the conjugate expression.
  • Oscillating factors (cos⁡\cos, sin⁡\sin): use the squeeze theorem.

21.2 Continuity

Definition 21.9 (Continuity)

Let ff be defined on an interval II and a∈Ia \in I. The function ff is continuous at aa if lim⁡x→af(x)=f(a)\lim\limits_{x \to a} f(x) = f(a). It is continuous on II if it is continuous at every point of II.

Intuitively, the graph of a continuous function on an interval can be drawn without lifting the pen.

Proposition 21.10 (Continuity of usual functions)

Polynomials, rational functions, x↦xx \mapsto \sqrt{x}, x↦∣x∣x \mapsto \abs{x}, cos⁡\cos, sin⁡\sin, exp⁡\exp and ln⁡\ln are continuous on every interval contained in their domain. Sums, products, quotients (where defined) and compositions of continuous functions are continuous.

Partial proof. Stability under sums, products, quotients and composition follows from the corresponding theorems on limits. Continuity of x↦xx \mapsto x and of constant functions is immediate from the definition, hence polynomials and rational functions are continuous. Continuity of the remaining usual functions is proved in the chapters where they are constructed, or admitted. ∎

Example 21.11

The floor function x↦⌊x⌋x \mapsto \floor{x} (the greatest integer ≤x\leq x) is not continuous at any integer nn: its left limit there is n−1n - 1 while ⌊n⌋=n\floor{n} = n.

The floor function jumps at each integer: the value (filled dot) differs from the left limit (open dot).
The floor function jumps at each integer: the value (filled dot) differs from the left limit (open dot).

Proposition 21.12 (Sequences and continuity)

If un→ℓu_n \to \ell and ff is continuous at ℓ\ell, then f(un)→f(ℓ)f(u_n) \to f(\ell). In particular, if a sequence defined by un+1=f(un)u_{n+1} = f(u_n) converges to ℓ\ell and ff is continuous at ℓ\ell, then f(ℓ)=ℓf(\ell) = \ell.

Proof. The first claim is Theorem 21.6 applied with the sequence (un)(u_n). For the second, pass to the limit on both sides of un+1=f(un)u_{n+1} = f(u_n): the left side tends to ℓ\ell, the right side to f(ℓ)f(\ell), and limits are unique. ∎

21.3 The intermediate value theorem

Theorem 21.13 (Intermediate value theorem)

Let ff be continuous on [a, b]\intcc{a}{b} and let kk be any number between f(a)f(a) and f(b)f(b). Then there exists c∈[a, b]c \in \intcc{a}{b} such that f(c)=kf(c) = k.

The intermediate value theorem: a continuous curve joining (a, f(a)) to (b, f(b)) must cross every horizontal line y = k lying between f(a) and f(b).
The intermediate value theorem: a continuous curve joining (a,f(a))(a, f(a)) to (b,f(b))(b, f(b)) must cross every horizontal line y=ky = k lying between f(a)f(a) and f(b)f(b).

Proof. Replacing ff by f−kf - k (and by k−fk - f if needed), we may assume f(a)≤0≤f(b)f(a) \leq 0 \leq f(b) and look for a zero of ff. We construct two sequences by dichotomy: set a0=aa_0 = a, b0=bb_0 = b; given an≤bna_n \leq b_n with f(an)≤0≤f(bn)f(a_n) \leq 0 \leq f(b_n), let m=an+bn2m = \frac{a_n + b_n}{2} and define

(an+1,bn+1)={(an,m)if f(m)≥0,(m,bn)if f(m)<0.(a_{n+1}, b_{n+1}) = \begin{cases} (a_n, m) & \text{if } f(m) \geq 0,\\ (m, b_n) & \text{if } f(m) < 0. \end{cases}

In both cases f(an+1)≤0≤f(bn+1)f(a_{n+1}) \leq 0 \leq f(b_{n+1}), the sequence (an)(a_n) is increasing, (bn)(b_n) is decreasing, and bn−an=b−a2n→0b_n - a_n = \frac{b-a}{2^n} \to 0: the sequences are adjacent (see Exercise 20.10) and converge to a common limit c∈[a, b]c \in \intcc{a}{b}. By continuity, f(an)→f(c)f(a_n) \to f(c) and f(bn)→f(c)f(b_n) \to f(c); passing to the limit in f(an)≤0f(a_n) \leq 0 and f(bn)≥0f(b_n) \geq 0 gives f(c)≤0≤f(c)f(c) \leq 0 \leq f(c), so f(c)=0f(c) = 0. ∎

Remark 21.14

The dichotomy proof is an algorithm: it yields arbitrarily precise approximations of a solution, halving the error at each step. This is how a computer can solve f(x)=0f(x) = 0 knowing only how to evaluate ff.

Theorem 21.15 (Bijection theorem)

Let ff be continuous and strictly monotonic on an interval II. Then for every kk strictly between the limits of ff at the endpoints of II, the equation f(x)=kf(x) = k has a unique solution in II.

Proof. Existence: choose a,b∈Ia, b \in I with kk between f(a)f(a) and f(b)f(b) (possible since the values of ff approach its endpoint limits), and apply the intermediate value theorem on [a, b]\intcc{a}{b}. Uniqueness: if x<yx < y, strict monotonicity gives f(x)≠f(y)f(x) \neq f(y), so two distinct points cannot both be solutions. ∎

Method 21.16 (Solving f(x)=kf(x) = k with the bijection theorem)

To prove that f(x)=kf(x) = k has exactly one solution in an interval:

  1. establish a variation table of ff (sign of f′f', see Chapter 22);
  2. on each interval where ff is continuous and strictly monotonic, compare kk with the endpoint values or limits;
  3. apply the bijection theorem on each such interval and count the solutions.

A calculator or dichotomy then localizes each solution as finely as desired.

Example 21.17

The equation x3+x=1x^3 + x = 1 has a unique real solution. Indeed f(x)=x3+xf(x) = x^3 + x is continuous and strictly increasing on R\R (as a sum of strictly increasing functions), lim⁡−∞f=−∞\lim_{-\infty} f = -\infty and lim⁡+∞f=+∞\lim_{+\infty} f = +\infty, so the bijection theorem applies with k=1k = 1. Since f(0.6)=0.816<1f(0.6) = 0.816 < 1 and f(0.7)=1.043>1f(0.7) = 1.043 > 1, the solution lies in (0.6, 0.7)\intoo{0.6}{0.7}.

21.4 Exercises

Exercise 21.1 ★

Compute the following limits:

lim⁡x→+∞2x3−x+15x3+x2,lim⁡x→−∞(x2+3x−1),lim⁡x→2+x+1x−2,lim⁡x→+∞cos⁡xx.\lim_{x\to+\infty} \frac{2x^3 - x + 1}{5x^3 + x^2}, \qquad \lim_{x\to-\infty} \bigl(x^2 + 3x - 1\bigr), \qquad \lim_{x\to 2^+} \frac{x+1}{x-2}, \qquad \lim_{x\to+\infty} \frac{\cos x}{x}.
Solution

Solution of Exercise 21.1.

Dividing by x3x^3: 2x3−x+15x3+x2=2−1/x2+1/x35+1/x→25\dfrac{2x^3 - x + 1}{5x^3 + x^2} = \dfrac{2 - 1/x^2 + 1/x^3}{5 + 1/x} \to \dfrac{2}{5}.

x2+3x−1=x2(1+3/x−1/x2)→+∞x^2 + 3x - 1 = x^2(1 + 3/x - 1/x^2) \to +\infty as x→−∞x \to -\infty, since x2→+∞x^2 \to +\infty and the bracket tends to 11.

As x→2+x \to 2^+, the numerator tends to 3>03 > 0 and the denominator to 0+0^+, so x+1x−2→+∞\dfrac{x+1}{x-2} \to +\infty.

For x>0x > 0, −1x≤cos⁡xx≤1x-\dfrac1x \leq \dfrac{\cos x}{x} \leq \dfrac1x, so the limit is 00 by the squeeze theorem.

Exercise 21.2 ★

Let f(x)=2x2−3x+1x−1f(x) = \dfrac{2x^2 - 3x + 1}{x - 1}, defined for x≠1x \neq 1.

  1. Show that f(x)=2x−1f(x) = 2x - 1 for all x≠1x \neq 1.
  2. Deduce lim⁡x→1f(x)\lim\limits_{x \to 1} f(x). Can ff be extended to a function continuous at 11?
Solution

Solution of Exercise 21.2.

1. 2x2−3x+1=(x−1)(2x−1)2x^2 - 3x + 1 = (x-1)(2x-1) (the root x=1x=1 is apparent from 2−3+1=02 - 3 + 1 = 0). For x≠1x \neq 1, cancel x−1x - 1: f(x)=2x−1f(x) = 2x - 1.

2. Hence lim⁡x→1f(x)=1\lim_{x\to1} f(x) = 1. Setting f(1)=1f(1) = 1 extends ff to the polynomial function x↦2x−1x \mapsto 2x-1 on R\R, which is continuous at 11.

Exercise 21.3 ★

Determine the asymptotes of the curve of f(x)=3x−1x+2f(x) = \dfrac{3x - 1}{x + 2} and sketch the curve.

Solution

Solution of Exercise 21.3.

Write f(x)=3x−1x+2=3(x+2)−7x+2=3−7x+2f(x) = \dfrac{3x - 1}{x + 2} = \dfrac{3(x+2) - 7}{x+2} = 3 - \dfrac{7}{x+2}. As x→±∞x \to \pm\infty, f(x)→3f(x) \to 3: the line y=3y = 3 is a horizontal asymptote at both infinities. As x→(−2)±x \to (-2)^\pm, f(x)→∓∞f(x) \to \mp\infty: the line x=−2x = -2 is a vertical asymptote. The curve is a hyperbola, below y=3y=3 for x>−2x > -2 and above it for x<−2x < -2.

Exercise 21.4 ★★

Compute

lim⁡x→+∞(x2+x−x)andlim⁡x→01+x−1x.\lim_{x\to+\infty} \bigl(\sqrt{x^2 + x} - x\bigr) \qquad\text{and}\qquad \lim_{x\to 0} \frac{\sqrt{1+x} - 1}{x}.
Solution

Solution of Exercise 21.4.

Multiply by the conjugate:

x2+x−x=x2+x−x2x2+x+x=xx(1+1/x+1)=11+1/x+1→x→+∞12.\sqrt{x^2 + x} - x = \frac{x^2 + x - x^2}{\sqrt{x^2+x} + x} = \frac{x}{x\left(\sqrt{1 + 1/x} + 1\right)} = \frac{1}{\sqrt{1 + 1/x} + 1} \xrightarrow[x\to+\infty]{} \frac{1}{2}.

Similarly,

1+x−1x=(1+x)−1x(1+x+1)=11+x+1→x→012.\frac{\sqrt{1+x} - 1}{x} = \frac{(1+x) - 1}{x\left(\sqrt{1+x} + 1\right)} = \frac{1}{\sqrt{1+x} + 1} \xrightarrow[x\to0]{} \frac{1}{2}.

Exercise 21.5 ★★

Let f(x)=x+sin⁡xf(x) = x + \sin x.

  1. Show that f(x)→+∞f(x) \to +\infty as x→+∞x \to +\infty, although ff is not monotonic on any interval [A, +∞)\intco{A}{+\infty}.
  2. Show that g(x)=x+sin⁡xx−sin⁡xg(x) = \dfrac{x + \sin x}{x - \sin x} tends to 11 at +∞+\infty.
Solution

Solution of Exercise 21.5.

1. Since sin⁡x≥−1\sin x \geq -1, f(x)≥x−1→+∞f(x) \geq x - 1 \to +\infty, and we conclude by comparison. Yet f′(x)=1+cos⁡xf'(x) = 1 + \cos x vanishes at every odd multiple of π\pi, and on every interval [A, +∞)\intco{A}{+\infty} the function alternates between intervals of strict increase; it is increasing but not strictly, and more importantly its growth is not needed: comparison suffices.

2. For x>1x > 1, divide by xx:

g(x)=1+sin⁡xx1−sin⁡xx,g(x) = \frac{1 + \frac{\sin x}{x}}{1 - \frac{\sin x}{x}},

and sin⁡xx→0\frac{\sin x}{x} \to 0 by the squeeze theorem (∣sin⁡x∣≤1\abs{\sin x} \leq 1). Hence g(x)→1+01−0=1g(x) \to \frac{1+0}{1-0} = 1.

Exercise 21.6 ★★

Show that the equation x3−3x+1=0x^3 - 3x + 1 = 0 has exactly three real solutions, and give for each an interval of length 11 containing it. (Hint: study the variations of f(x)=x3−3x+1f(x) = x^3 - 3x + 1; its derivative is 3x2−33x^2 - 3.)

Solution

Solution of Exercise 21.6.

f(x)=x3−3x+1f(x) = x^3 - 3x + 1 is continuous, with f′(x)=3x2−3=3(x−1)(x+1)f'(x) = 3x^2 - 3 = 3(x-1)(x+1): ff increases on (−∞, −1]\intoc{-\infty}{-1}, decreases on [−1, 1]\intcc{-1}{1}, increases on [1, +∞)\intco{1}{+\infty}, with local maximum f(−1)=3>0f(-1) = 3 > 0 and local minimum f(1)=−1<0f(1) = -1 < 0, lim⁡−∞f=−∞\lim_{-\infty} f = -\infty, lim⁡+∞f=+∞\lim_{+\infty} f = +\infty.

On each of the three monotonicity intervals, ff is continuous, strictly monotonic, and 00 lies strictly between the endpoint values/limits, so the bijection theorem gives exactly one zero per interval: three zeros in total. Sign checks: f(−2)=−1<0<f(−1)=3f(-2) = -1 < 0 < f(-1) = 3, so one zero in (−2, −1)\intoo{-2}{-1}; f(0)=1>0>f(1)=−1f(0) = 1 > 0 > f(1) = -1, one zero in (0, 1)\intoo{0}{1}; f(1)=−1<0<f(2)=3f(1) = -1 < 0 < f(2) = 3, one zero in (1, 2)\intoo{1}{2}.

Exercise 21.7 ★★

Let f ⁣:[0, 1]→[0, 1]f \colon \intcc{0}{1} \to \intcc{0}{1} be continuous. Show that ff has a fixed point: there exists c∈[0, 1]c \in \intcc{0}{1} with f(c)=cf(c) = c. (Hint: apply the intermediate value theorem to g(x)=f(x)−xg(x) = f(x) - x.)

Solution

Solution of Exercise 21.7.

Let g(x)=f(x)−xg(x) = f(x) - x, continuous on [0, 1]\intcc{0}{1}. Since f(0)∈[0, 1]f(0) \in \intcc{0}{1}, g(0)=f(0)≥0g(0) = f(0) \geq 0; since f(1)∈[0, 1]f(1) \in \intcc{0}{1}, g(1)=f(1)−1≤0g(1) = f(1) - 1 \leq 0. By the intermediate value theorem, gg vanishes at some c∈[0, 1]c \in \intcc{0}{1}, i.e. f(c)=cf(c) = c.

Exercise 21.8 ★★★

A hiker climbs a mountain trail, starting at 8:00 and arriving at 20:00. The next day she descends the same trail, again starting at 8:00 and arriving at 20:00. Show that there is a time of day at which she is at exactly the same point of the trail on both days. (Hint: introduce the difference of the two position functions.)

Solution

Solution of Exercise 21.8.

Let u(t)u(t) and d(t)d(t) be the positions (measured as distance from the bottom of the trail) at time t∈[8, 20]t \in \intcc{8}{20} on the way up and on the way down. Both are continuous, u(8)=0u(8) = 0, u(20)=Lu(20) = L (the length of the trail), d(8)=Ld(8) = L, d(20)=0d(20) = 0. The function g=u−dg = u - d is continuous with g(8)=−L≤0g(8) = -L \leq 0 and g(20)=L≥0g(20) = L \geq 0, so g(c)=0g(c) = 0 for some time cc by the intermediate value theorem: at time cc, both days’ positions coincide.

Exercise 21.9 ★★★

Let f(x)=x5+x3+x−1f(x) = x^5 + x^3 + x - 1.

  1. Show that ff has a unique real zero α\alpha, and that α∈(0, 1)\alpha \in \intoo{0}{1}.
  2. Describe a dichotomy procedure computing α\alpha to within 10−610^{-6}, and give the number of iterations required starting from [0, 1]\intcc{0}{1}.
Solution

Solution of Exercise 21.9.

1. f′(x)=5x4+3x2+1>0f'(x) = 5x^4 + 3x^2 + 1 > 0, so ff is strictly increasing on R\R; with lim⁡±∞f=±∞\lim_{\pm\infty} f = \pm\infty and continuity, the bijection theorem gives a unique real zero α\alpha. Since f(0)=−1<0f(0) = -1 < 0 and f(1)=2>0f(1) = 2 > 0, α∈(0, 1)\alpha \in \intoo{0}{1}.

2. Maintain an interval [an, bn]\intcc{a_n}{b_n} with f(an)<0<f(bn)f(a_n) < 0 < f(b_n), starting from [0, 1]\intcc{0}{1}; at each step evaluate ff at the midpoint mm and keep the half-interval on which the sign change persists. After nn steps the interval has length 2−n2^{-n}, so the midpoint approximates α\alpha to within 2−(n+1)2^{-(n+1)}. We need 2−(n+1)≤10−62^{-(n+1)} \leq 10^{-6}, i.e. n+1≥6log⁡102≈19.93n + 1 \geq \frac{6}{\log_{10} 2} \approx 19.93: n=20n = 20 iterations suffice.

21.5 Problem: You cannot cross a river without getting wet

Problem 21.1

Weekend problem — the intermediate value theorem forces fixed points, equal-temperature antipodes and steady tables: three impossible-sounding theorems from one idea

Crumple a map of France and drop it anywhere on French soil: some point of the map lies exactly above the place it represents. At every instant, two diametrically opposite points of the equator have exactly the same temperature. And a wobbly square table on bumpy ground can always be steadied by rotating it. Three party tricks, one theorem: a continuous quantity cannot pass from negative to positive without vanishing (Theorem 21.13). This problem trains limits, then builds all three wonders — and knows exactly what the theorem does not promise.

Part I — Limit fluency.

  1. Compute lim⁡x→+∞3x2−xx2+5\lim_{x \to +\infty} \dfrac{3x^2 - x}{x^2 + 5}, lim⁡x→+∞2x+1x2+1\lim_{x \to +\infty} \dfrac{2x + 1}{x^2 + 1}, and lim⁡x→+∞(x3−x2)\lim_{x \to +\infty} (x^3 - x^2) (Method 21.8).
  2. Give the asymptotes of f(x)=3x−1x+2f(x) = \dfrac{3x - 1}{x + 2} (Definition 21.4), computing the relevant limits.
  3. Compute lim⁡x→3x2−9x−3\lim_{x \to 3} \dfrac{x^2 - 9}{x - 3} (factor) and lim⁡x→0x+1−1x\lim_{x \to 0} \dfrac{\sqrt{x + 1} - 1}{x} (conjugate).
  4. By the squeeze theorem (Theorem 21.7): compute lim⁡x→0xsin⁡1x\lim_{x \to 0} x \sin\frac1x and lim⁡x→+∞sin⁡xx\lim_{x \to +\infty} \frac{\sin x}{x}.
  5. By composition and dominant terms: lim⁡x→+∞4x2+xx\lim_{x \to +\infty} \dfrac{\sqrt{4x^2 + x}}{x}.

Part II — Roots, certified.

  1. Show that the equation x3+x=5x^3 + x = 5 has at least one solution in [1, 2]\intcc{1}{2}.
  2. Show the solution is unique on R\R (Theorem 21.15).
  3. Prove the classic: every polynomial of odd degree has at least one real root. (Write out the argument for p(x)=x3+ax2+bx+cp(x) = x^3 + a x^2 + b x + c: compute the two infinite limits by dominant term, then apply the IVT on a large interval.)
  4. Locating the root of question 6 by dichotomy: how many halvings of [1, 2]\intcc{1}{2} guarantee an error below 10−610^{-6} (Exercise 21.9)? Compare with the digit-doubling of Newton’s method (Problem 12.1): roughly how many steps would it need?
  5. The counterexample that guards the theorem: g(x)=1xg(x) = \frac1x satisfies g(−1)=−1<0g(-1) = -1 < 0 and g(1)=1>0g(1) = 1 > 0, yet never vanishes. Which hypothesis of the IVT fails — and what does the example teach about checking hypotheses?

Part III — Three impossible-sounding theorems.

  1. The fixed-point theorem of the segment: if f:[0, 1]→[0, 1]f : \intcc{0}{1} \to \intcc{0}{1} is continuous, prove that some cc satisfies f(c)=cf(c) = c. (Study g(x)=f(x)−xg(x) = f(x) - x at the two ends.)
  2. Translate question 11 into the crumpled map: what plays the role of ff, why does it land in [0, 1]\intcc{0}{1} (figuratively: within France), and what is the point lying exactly above its own location? (One dimension is admitted silently — the honest two-dimensional statement is Brouwer’s theorem, university volumes.)
  3. The equator: let TT be a continuous temperature on a circle, seen as a 2π2\pi-periodic function with T(0)=T(2π)T(0) = T(2\pi). Set g(t)=T(t)−T(t+π)g(t) = T(t) - T(t + \pi). Compute g(0)+g(π)g(0) + g(\pi), deduce that gg vanishes somewhere on [0, π]\intcc{0}{\pi}, and state the theorem about antipodal points.
  4. The wobbly table: a perfectly rigid square table stands on continuous (no steps!) bumpy ground; three legs always touch, one hovers by a height h(θ)h(\theta) that depends continuously on the table’s rotation angle θ\theta. Explain why rotating by a quarter turn forces the hovering gap to change sign — and conclude that some angle θ∗\theta^* steadies all four legs. (This argument was published as a genuine theorem in 2005; café owners knew the trick first.)
  5. The hiker of Exercise 21.8 used the same scheme. State the template shared by questions 11, 13, 14 and the hiker — build which function, check what at the ends, invoke what — in three lines.
  6. What the IVT does not give: existence came free, but which two questions does it leave open, and which tools of this problem answer them (questions 7 and 9)?

Part IV — Portraits with asymptotes.

  1. Rewrite f(x)=3x−1x+2f(x) = \dfrac{3x - 1}{x + 2} as 3−7x+23 - \dfrac{7}{x + 2} and use it to describe the curve completely: asymptotes, variations on each side, sketch. (A shifted hyperbola — the average-cost curve of Problem 4.1 was one too.)
  2. The function f(x)=x2−1x−1f(x) = \dfrac{x^2 - 1}{x - 1} is undefined at 11. Which value assigned to f(1)f(1) makes it continuous there — and why do analysts call such a point a removable discontinuity?
  3. The floor function x↦⌊x⌋x \mapsto \lfloor x \rfloor (greatest integer ≤x\leq x): where is it continuous, where does it jump, and why does the IVT’s conclusion fail for it (find a<ba < b with ⌊a⌋<12<⌊b⌋\lfloor a \rfloor < \frac12 < \lfloor b \rfloor yet no solution of ⌊x⌋=12\lfloor x \rfloor = \frac12)?
  4. Finale — continuity’s two faces: the local promise (value == limit: no teleporting) and the global power (IVT: every intermediate value visited). File the four wonders of Part III under the right face, and give the river-crossing slogan its precise mathematical name.
Solution

Solution of Problem 21.1.

1. Dominant terms: 3x2x2→3\frac{3x^2}{x^2} \to 3; 2xx2=2x→0\frac{2x}{x^2} = \frac2x \to 0; x3−x2=x3(1−1x)→+∞x^3 - x^2 = x^3\left(1 - \frac1x\right) \to +\infty.

2. lim⁡x→±∞f=3\lim_{x \to \pm\infty} f = 3: horizontal asymptote y=3y = 3; lim⁡x→(−2)±f=∓∞\lim_{x \to (-2)^\pm} f = \mp\infty: vertical asymptote x=−2x = -2.

3. (x−3)(x+3)x−3=x+3→6\frac{(x-3)(x+3)}{x - 3} = x + 3 \to 6. And x+1−1x=xx(x+1+1)=1x+1+1→12\frac{\sqrt{x+1} - 1}{x} = \frac{x}{x(\sqrt{x+1} + 1)} = \frac{1}{\sqrt{x+1} + 1} \to \frac12.

4. ∣xsin⁡1x∣≤∣x∣→0\abs{x \sin\frac1x} \leq \abs x \to 0, so the limit is 00. And ∣sin⁡xx∣≤1x→0\abs{\frac{\sin x}{x}} \leq \frac1x \to 0: limit 00.

5. 4x2+xx=4+1x→4=2\frac{\sqrt{4x^2 + x}}{x} = \sqrt{4 + \frac1x} \to \sqrt4 = 2 (continuity of the square root, composition).

6. f(x)=x3+xf(x) = x^3 + x is continuous with f(1)=2<5<10=f(2)f(1) = 2 < 5 < 10 = f(2): by the IVT, f(c)=5f(c) = 5 for some c∈(1, 2)c \in \intoo{1}{2}.

7. f′(x)=3x2+1>0f'(x) = 3x^2 + 1 > 0: strictly increasing on R\R, continuous, with limits ∓∞\mp\infty: by the bijection theorem, every value — in particular 55 — is attained exactly once.

8. p(x)=x3(1+ax+bx2+cx3)p(x) = x^3\left(1 + \frac ax + \frac{b}{x^2} + \frac{c}{x^3}\right): as x→+∞x \to +\infty, p→+∞p \to +\infty; as x→−∞x \to -\infty, p→−∞p \to -\infty. So on some huge interval [−M, M]\intcc{-M}{M}, p(−M)<0<p(M)p(-M) < 0 < p(M): the IVT delivers a root. The same dominant-term argument works verbatim for any odd degree — odd powers keep opposite signs at the two infinities.

9. Halving nn times leaves an interval of length 2−n2^{-n}; 2−20≈9.5×10−7<10−62^{-20} \approx 9.5 \times 10^{-7} < 10^{-6}: twenty steps. Newton doubles correct digits each step: from one correct digit, about 33–44 steps reach six — the tortoise and the greyhound of root-finding.

10. gg is not continuous on [−1, 1]\intcc{-1}{1}: it explodes at 00, which the interval contains. The IVT’s conclusion evaporates with its hypothesis — always check continuity on the whole interval, not just at the endpoints.

11. g(x)=f(x)−xg(x) = f(x) - x is continuous; g(0)=f(0)≥0g(0) = f(0) \geq 0 (values lie in [0, 1]\intcc{0}{1}) and g(1)=f(1)−1≤0g(1) = f(1) - 1 \leq 0. By the IVT, g(c)=0g(c) = 0 for some cc: f(c)=cf(c) = c.

12. Idealizing the country as the segment [0, 1]\intcc{0}{1}: ff sends each place to the place shown directly beneath it on the crumpled map; crumpling keeps the map over the country, so ff lands in [0, 1]\intcc{0}{1}, and it is continuous (paper does not tear). The fixed point cc is the spot lying precisely above its own image — Brouwer’s theorem handles the honest two-dimensional map.

13. g(0)+g(π)=(T(0)−T(π))+(T(π)−T(2π))=T(0)−T(2π)=0g(0) + g(\pi) = \left(T(0) - T(\pi)\right) + \left(T(\pi) - T(2\pi)\right) = T(0) - T(2\pi) = 0. So g(0)g(0) and g(π)g(\pi) are opposite (or both zero): either way gg, continuous, vanishes at some t∗∈[0, π]t^* \in \intcc{0}{\pi}: T(t∗)=T(t∗+π)T(t^*) = T(t^* + \pi) — somewhere on the equator, two antipodal points agree on the temperature, at every single moment.

14. Rotating the table by a quarter turn exchanges the roles of the two diagonals: the pair of legs that pressed the ground and the pair that (one of them) hovered swap situations, so the hovering height — counted with its sign as “gap of the distinguished diagonal” — takes opposite signs at θ\theta and θ+π2\theta + \frac\pi2. Continuous ground makes hh continuous, and the IVT hands over an angle θ∗\theta^* with h(θ∗)=0h(\theta^*) = 0: four legs down. (No such luck with a rectangular table or stepped ground.)

15. Template: build the difference of the two quantities you want to coincide (f(x)−xf(x) - x; T(t)−T(t+π)T(t) - T(t + \pi); up-position minus down-position for the hiker; the signed gap for the table); check it takes values of both signs (often via a symmetry of the ends); invoke the IVT on a continuous function. Coincidence forced.

16. Open questions: how many solutions (answered by strict monotonicity and the bijection theorem, question 7) and where they are (answered by dichotomy or Newton, question 9). The IVT is a pure existence oracle.

17. 3−7x+23 - \frac{7}{x + 2}: vertical asymptote x=−2x = -2, horizontal y=3y = 3; on each side of −2-2 the function is increasing (−7x+2-\frac{7}{x+2} increases where defined); the curve is the reference hyperbola −7x-\frac7x shifted left 22 and up 33 — two branches hugging the asymptote cross.

18. For x≠1x \neq 1: f(x)=x+1f(x) = x + 1, so lim⁡x→1f=2\lim_{x \to 1} f = 2: setting f(1)=2f(1) = 2 restores continuity. The discontinuity was a puncture, not a jump — fill the single missing point and the curve heals: removable.

19. Continuous on every interval between consecutive integers; at each integer nn it jumps from n−1n - 1 to nn. With a=0.9a = 0.9, b=1.1b = 1.1: ⌊a⌋=0<12<1=⌊b⌋\lfloor a \rfloor = 0 < \frac12 < 1 = \lfloor b \rfloor, yet ⌊x⌋=12\lfloor x \rfloor = \frac12 has no solution — the jump teleports over 12\frac12, which is precisely what the IVT forbids continuous functions to do.

20. Local face: value == limit at each point — the removable puncture (question 18) violated it curably, the floor’s jumps (question 19) incurably. Global face: on an interval, all intermediate values are visited — the root certificates (6–8), the fixed point, the equator, the table and the hiker all live here. The slogan’s official name: the intermediate value theorem.

Terms defined in this chapter

See all 395 terms in the glossary