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 (“ is continuous and changes sign”) into the existence of solutions of equations.
21.1 Limits of functions
Throughout, is a function defined on an interval or a union of intervals .
Definition 21.1 (Limit at infinity)
Let be defined on an interval and . We say that tends to at , written , if every open interval containing contains all values for large enough: for every there exists such that for all , .
We say tends to at if for every there exists such that for all . Limits at and limits equal to are defined analogously.
Definition 21.2 (Limit at a point)
Let and let be defined near (except possibly at ). We say that tends to at , written , if for every there exists such that for all with , .
We say tends to at if for every there is such that whenever and . One-sided limits (, ) restrict to or .
Example 21.3
, , . The function has no (two-sided) limit at .
Definition 21.4 (Asymptotes)
The line is a horizontal asymptote of the curve of at (resp. ) if (resp. at ). The line is a vertical asymptote if has an infinite one-sided limit at .
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 , , , .
Proof. The proofs are identical to the sequence case, replacing “for ” by “for ” or “for ”. ∎
Theorem 21.6 (Limit of a composition)
Let be functions and be real numbers or . If and , then
The same statement holds with a sequence in place of : if and , then .
Proof. Take finite (the other cases are analogous). Let . There is such that implies ; and there is such that implies . Chaining the two gives for . ∎
Theorem 21.7 (Comparison and squeeze)
Let be functions and .
- If near and as , then .
- If near and tend to the same finite limit at , then as .
Proof. Same argument as for sequences (Theorem 20.16). ∎
Method 21.8 (Computing limits in practice)
- Polynomials and rational functions at : factor out the highest power of ; the limit is that of the ratio of leading terms.
- at a point : factor out of numerator and denominator, or recognize a derivative (Chapter 22).
- Square roots: multiply by the conjugate expression.
- Oscillating factors (, ): use the squeeze theorem.
21.2 Continuity
Definition 21.9 (Continuity)
Let be defined on an interval and . The function is continuous at if . It is continuous on if it is continuous at every point of .
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, , , , , and 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 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 (the greatest integer ) is not continuous at any integer : its left limit there is while .
Proposition 21.12 (Sequences and continuity)
If and is continuous at , then . In particular, if a sequence defined by converges to and is continuous at , then .
Proof. The first claim is Theorem 21.6 applied with the sequence . For the second, pass to the limit on both sides of : the left side tends to , the right side to , and limits are unique. ∎
21.3 The intermediate value theorem
Theorem 21.13 (Intermediate value theorem)
Let be continuous on and let be any number between and . Then there exists such that .
Proof. Replacing by (and by if needed), we may assume and look for a zero of . We construct two sequences by dichotomy: set , ; given with , let and define
In both cases , the sequence is increasing, is decreasing, and : the sequences are adjacent (see Exercise 20.10) and converge to a common limit . By continuity, and ; passing to the limit in and gives , so . ∎
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 knowing only how to evaluate .
Theorem 21.15 (Bijection theorem)
Let be continuous and strictly monotonic on an interval . Then for every strictly between the limits of at the endpoints of , the equation has a unique solution in .
Proof. Existence: choose with between and (possible since the values of approach its endpoint limits), and apply the intermediate value theorem on . Uniqueness: if , strict monotonicity gives , so two distinct points cannot both be solutions. ∎
Method 21.16 (Solving with the bijection theorem)
To prove that has exactly one solution in an interval:
- establish a variation table of (sign of , see Chapter 22);
- on each interval where is continuous and strictly monotonic, compare with the endpoint values or limits;
- 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 has a unique real solution. Indeed is continuous and strictly increasing on (as a sum of strictly increasing functions), and , so the bijection theorem applies with . Since and , the solution lies in .
21.4 Exercises
Exercise 21.1 ★
Compute the following limits:
Solution
Solution of Exercise 21.1.
Dividing by : .
as , since and the bracket tends to .
As , the numerator tends to and the denominator to , so .
For , , so the limit is by the squeeze theorem.
Exercise 21.2 ★
Let , defined for .
- Show that for all .
- Deduce . Can be extended to a function continuous at ?
Solution
Solution of Exercise 21.2.
1. (the root is apparent from ). For , cancel : .
2. Hence . Setting extends to the polynomial function on , which is continuous at .
Exercise 21.3 ★
Determine the asymptotes of the curve of and sketch the curve.
Solution
Solution of Exercise 21.3.
Write . As , : the line is a horizontal asymptote at both infinities. As , : the line is a vertical asymptote. The curve is a hyperbola, below for and above it for .
Exercise 21.4 ★★
Compute
Solution
Solution of Exercise 21.4.
Multiply by the conjugate:
Similarly,
Exercise 21.5 ★★
Let .
Solution
Solution of Exercise 21.5.
1. Since , , and we conclude by comparison. Yet vanishes at every odd multiple of , and on every interval 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 , divide by :
and by the squeeze theorem (). Hence .
Exercise 21.6 ★★
Show that the equation has exactly three real solutions, and give for each an interval of length containing it. (Hint: study the variations of ; its derivative is .)
Solution
Solution of Exercise 21.6.
is continuous, with : increases on , decreases on , increases on , with local maximum and local minimum , , .
On each of the three monotonicity intervals, is continuous, strictly monotonic, and lies strictly between the endpoint values/limits, so the bijection theorem gives exactly one zero per interval: three zeros in total. Sign checks: , so one zero in ; , one zero in ; , one zero in .
Exercise 21.7 ★★
Let be continuous. Show that has a fixed point: there exists with . (Hint: apply the intermediate value theorem to .)
Solution
Solution of Exercise 21.7.
Let , continuous on . Since , ; since , . By the intermediate value theorem, vanishes at some , i.e. .
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 and be the positions (measured as distance from the bottom of the trail) at time on the way up and on the way down. Both are continuous, , (the length of the trail), , . The function is continuous with and , so for some time by the intermediate value theorem: at time , both days’ positions coincide.
Exercise 21.9 ★★★
Let .
- Show that has a unique real zero , and that .
- Describe a dichotomy procedure computing to within , and give the number of iterations required starting from .
Solution
Solution of Exercise 21.9.
1. , so is strictly increasing on ; with and continuity, the bijection theorem gives a unique real zero . Since and , .
2. Maintain an interval with , starting from ; at each step evaluate at the midpoint and keep the half-interval on which the sign change persists. After steps the interval has length , so the midpoint approximates to within . We need , i.e. : 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.
- Compute , , and (Method 21.8).
- Give the asymptotes of (Definition 21.4), computing the relevant limits.
- Compute (factor) and (conjugate).
- By the squeeze theorem (Theorem 21.7): compute and .
- By composition and dominant terms: .
Part II — Roots, certified.
- Show that the equation has at least one solution in .
- Show the solution is unique on (Theorem 21.15).
- Prove the classic: every polynomial of odd degree has at least one real root. (Write out the argument for : compute the two infinite limits by dominant term, then apply the IVT on a large interval.)
- Locating the root of question 6 by dichotomy: how many halvings of guarantee an error below (Exercise 21.9)? Compare with the digit-doubling of Newton’s method (Problem 12.1): roughly how many steps would it need?
- The counterexample that guards the theorem: satisfies and , yet never vanishes. Which hypothesis of the IVT fails — and what does the example teach about checking hypotheses?
Part III — Three impossible-sounding theorems.
- The fixed-point theorem of the segment: if is continuous, prove that some satisfies . (Study at the two ends.)
- Translate question 11 into the crumpled map: what plays the role of , why does it land in (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.)
- The equator: let be a continuous temperature on a circle, seen as a -periodic function with . Set . Compute , deduce that vanishes somewhere on , and state the theorem about antipodal points.
- The wobbly table: a perfectly rigid square table stands on continuous (no steps!) bumpy ground; three legs always touch, one hovers by a height that depends continuously on the table’s rotation angle . Explain why rotating by a quarter turn forces the hovering gap to change sign — and conclude that some angle steadies all four legs. (This argument was published as a genuine theorem in 2005; café owners knew the trick first.)
- 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.
- 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.
- Rewrite as 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.)
- The function is undefined at . Which value assigned to makes it continuous there — and why do analysts call such a point a removable discontinuity?
- The floor function (greatest integer ): where is it continuous, where does it jump, and why does the IVT’s conclusion fail for it (find with yet no solution of )?
- 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: ; ; .
2. : horizontal asymptote ; : vertical asymptote .
3. . And .
4. , so the limit is . And : limit .
5. (continuity of the square root, composition).
6. is continuous with : by the IVT, for some .
7. : strictly increasing on , continuous, with limits : by the bijection theorem, every value — in particular — is attained exactly once.
8. : as , ; as , . So on some huge interval , : 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 times leaves an interval of length ; : twenty steps. Newton doubles correct digits each step: from one correct digit, about – steps reach six — the tortoise and the greyhound of root-finding.
10. is not continuous on : it explodes at , 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. is continuous; (values lie in ) and . By the IVT, for some : .
12. Idealizing the country as the segment : sends each place to the place shown directly beneath it on the crumpled map; crumpling keeps the map over the country, so lands in , and it is continuous (paper does not tear). The fixed point is the spot lying precisely above its own image — Brouwer’s theorem handles the honest two-dimensional map.
13. . So and are opposite (or both zero): either way , continuous, vanishes at some : — 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 and . Continuous ground makes continuous, and the IVT hands over an angle with : 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 (; ; 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. : vertical asymptote , horizontal ; on each side of the function is increasing ( increases where defined); the curve is the reference hyperbola shifted left and up — two branches hugging the asymptote cross.
18. For : , so : setting 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 it jumps from to . With , : , yet has no solution — the jump teleports over , 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.