Learning goals and preparation
Introductory calculus defines a finite limit and distinguishes limits from function values. Here we develop one-sided behavior, unbounded limits, limits at infinity, asymptotes, and the special trigonometric, exponential and logarithmic limits that support differentiation. Real algebra and finite progressions, functions and inverses and polynomial factorization provide rationalization, domains and factorization. Infinite symbols describe behavior, not real numbers available for arithmetic.
9.1 One-sided limits and continuity
Throughout one-sided limit statements, the domain must contain points arbitrarily close to on the specified side. Precisely, for a right-hand approach every must admit a domain point with ; for a left-hand approach use . These requirements apply equally to finite and infinite limits below. Without the corresponding approach points, we do not assign a one-sided limit.
The statement tests only allowed inputs with . A left-hand limit uses .
When the domain contains points approaching from both sides, a two-sided finite limit exists if and only if both one-sided finite limits exist and agree.
Their common value need not be .
Example 1 — three independent questions. Let
The left limit is and the right limit is , so the limit at is . The function value is , so it is not continuous there. Replacing only that value by gives a continuous extension. In contrast, changing the right branch to would give a right limit of ; no choice of could repair the unequal sides.
At an endpoint of a domain interval, continuity uses approaches within the domain. For example is continuous at on , without requiring any negative input. When discussing two-sided derivatives, we will separately require an interior point.
Sums and products of continuous functions are continuous. A quotient is continuous where its denominator is nonzero, and a composition is continuous where the intermediate values stay in its domain. Thus a piecewise join must be tested rather than inferred from the continuity of the individual branch formulas.
9.2 Infinite limits at a finite input
The statement as means that for every real threshold , there is a such that in the domain forces . Requiring defines a limit of . Left and two-sided versions use the corresponding input neighborhoods. There is no finite limiting value in these cases.
Example 2 — signs matter. As , ; take to make it exceed . From the left, it tends to . Thus it has no common two-sided infinite limit. On the other hand, from both sides; suffices.
A line is a vertical asymptote here if at least one of the one-sided limits is or . A zero denominator is only a candidate: canceled factors may instead produce a removable hole. For instance for has a hole at , not a vertical asymptote.
Worked example 9.1.1
(Vertical asymptotes with their one-sided signs)
Analyze , defined for . Both excluded inputs are zeros of the denominator at which the numerator is nonzero, so neither is a removable hole.
- Near : the numerator tends to and tends to , so the sign of is the sign of while the denominator tends to . Hence as and as .
- Near : the numerator tends to , the factor tends to , and is positive on both sides while tending to . Hence as from either side.
So and are vertical asymptotes, with opposite one-sided signs at and the same sign at , matching the odd and even powers of the corresponding factors. At either end the numerator has degree and the denominator degree , so and is a horizontal asymptote at both ends. The graph meets that asymptote at , where .
Quick check
(Find both one-sided limits of at .)
Find the sign and limit of the numerator, then the sign of the denominator on each side.
Solution · Answer
The numerator tends to . For the denominator is negative and tends to , so the quotient tends to ; for it is positive and tends to , so the quotient tends to . Hence is a vertical asymptote and there is no common two-sided infinite limit.
9.3 Limits as the input becomes unbounded
For an approach to , assume the domain is unbounded above; for an approach to , assume it is unbounded below. Thus each tail condition has domain points to test.
The statement means that for every there is a real such that in the domain implies . A limit as uses with . For example in either direction: choose .
For rational functions, divide numerator and denominator by a suitable highest power of . For instance
If numerator degree is smaller than denominator degree, the limit is zero. If degrees are equal, it is the ratio of leading coefficients. If numerator degree is larger, factor out the remaining power of and track its sign; “the limit is infinity” without direction or sign is not a complete answer.
For integer inputs the definition above becomes the – definition of a sequence limit: when for every there is an such that for every . The explorer below tests this tail condition for ; for , whose limit is the ratio of leading coefficients exactly as in the rule just stated; and for , whose tail never stays in a narrow band around . Each threshold it reports comes from an algebraic bound valid for all later terms, not from the finitely many terms drawn.
An epsilon band and a whole tail
Choose a sequence and ε, then move N. The verdict concerns every index n > N, not only plotted points.
Open circles precede the tail; arrows mark errors beyond the plotted scale.
- ε
- 0.2
- Selected N
- 5
- Sufficient N
- 5
- |x_6 − L|
- ≈ 0.167
.
Holds: all n > N satisfy |xₙ − L| < ε
The algebraic bound gives the exact sufficient threshold N=5.
NoticeThe plot shows the signed error , so the open band is . Terms with form the selected tail. A finite picture illustrates the condition; the algebraic bound establishes it for every later index. Here the convention is (strictly after ).
Quick check
(Find .)
Divide numerator and denominator by .
Solution · Answer
For ,
The degrees are equal, so the limit is the ratio of leading coefficients , and the same value is obtained as .
Example 3 — a radical at opposite ends. Rationalizing gives
As , the denominator grows without bound, so the limit is zero. To analyze the other direction, use . For ,
Extracting instead of from the square root would give the wrong left tail.
9.4 Horizontal and oblique asymptotes
A line is a horizontal asymptote at an end where . The two ends can have different horizontal asymptotes. An oblique asymptote , with , satisfies
at the specified end. The definition compares vertical difference, not ratio. Merely having is too weak: for has ratio to tending to one, but its difference from grows without bound.
Example 4 — long division reveals a line. For ,
Thus is an oblique asymptote at both ends. At the remainder term tends to from the left and from the right, giving the vertical asymptote . There is no horizontal asymptote because the linear part is unbounded.
An asymptote is not necessarily a barrier. For example for has horizontal asymptote as , because its absolute value is at most . Yet it crosses that line at every nonzero integer multiple of .
In Example 3, the right horizontal asymptote is . At the left end the oblique asymptote is , because
as rationalization now shows. The same function can have different types of asymptote at its two ends.
Worked example 9.1.2
(Different horizontal asymptotes at the two ends)
Let , defined for every real . Since for , the sign of must be tracked.
For , and
For , and
So is the horizontal asymptote at the right end and at the left end. Replacing by in the second case would wrongly give at both ends. There is no vertical asymptote, because the denominator is at least everywhere.
Sector area and radians
Use these elementary geometric facts: the unit circle has circumference and enclosed area , with the same in both formulas; planar area is invariant under rotations, finitely additive for regions with disjoint interiors, and monotone under inclusion.
Let be measured in radians and put . On the unit circle, is the arc length, so is the fraction of the full circumference subtended by the angle. Divide the circle into equal-angle sectors. Rotations carry each sector onto the next, so all have equal area. Their interiors are disjoint and together they fill the disk; finite additivity gives area for each. Thus a sector with rational fraction of a turn has area .
For arbitrary in this range, choose rational numbers with . Taking all sectors from the same initial ray, the corresponding sectors are nested by inclusion, so area monotonicity and the rational case give
Taking yields . This establishes the sector-area formula used in the geometric comparison.
9.5 The fundamental trigonometric limit
All limits in this section use radians. For , compare the areas of the inner triangle, unit-circle sector, and outer tangent triangle:
The sector area is specifically because is in radians. Divide through and use positive cosine to obtain
For , the area comparison above also gives and . Using ,
Thus as . Since cosine is even, the same limit holds from the left.
As , cosine tends to one, so the squeeze principle gives . The quotient is an even function of , giving the same left limit. The squeeze principle itself follows from the finite-limit definition: if lower and upper functions are both within any prescribed tolerance of , every number between them is too.
Two consequences are
For the first, divide by . For the second, use to get one half times . In particular .
Counterexample mode
A limit of one needs radians
Claim: whatever unit measures the angle. If counts degrees, the sine of degrees is , and scaling the argument gives , not . The value holds for radians only.
Example 5 — scale the argument deliberately. With ,
Likewise . A numerical table may suggest these answers, but the argument scaling and special limit justify them.
Worked example 9.1.3
(A limit that needs both trigonometric special limits)
Evaluate . For , cosine is positive and
Hence
using , and the continuity of cosine at . As a numerical check, at the quotient is about . Splitting the numerator into would not help: each part is unbounded near , and the cancellation between them is exactly what the factorization makes visible.
9.6 Natural logarithm and exponential limits without circular differentiation
The natural logarithm admits an area construction
with signed orientation when . This construction and the continuous inverse exponential give a proof of the special limits that does not assume their derivative formulas. Readers may revisit the integral bounds after integration and the fundamental theorem; only comparison of a positive area with rectangles is needed here.
For , the integrand on lies between and , so
For , apply the same area comparison on , then reverse both the integral orientation and the sign of the divisor. It gives
Both sides therefore yield
This also fixes the natural base: is the positive number with in this normalization. Since the exponential is its continuous inverse, put . Then and , giving
There is no use of l'Hôpital's rule here; that would presume the differentiation facts we are about to establish. For a fixed base , , so ; if , the quotient is identically zero.
Proof X-ray
Two rectangles carry the logarithm limit
The proof uses one fact about : it is the area under over an interval of length , on which the integrand lies between and . Comparing that area with the two rectangles of heights and squeezes the quotient between and , and both bounds tend to . No derivative of is used, which is the point: Chapter 10 obtains from this limit. Had been defined only as the inverse of , the same limit would have required the derivative of first.
Example 6 — a compound special limit. For sufficiently close to zero, , and
This calculation uses punctured inputs; the original quotient is undefined at zero, which does not prevent its limit.
One further consequence, for , , is
The expression is not an arithmetic answer; the logarithm reveals the limiting balance.
Quick check
(Evaluate .)
Write and use the exponential special limit.
Solution · Answer
With , which tends to with and is nonzero when ,
This is the case of the rule stated above.
9.7 Graded exercises
Foundation
- Find both one-sided limits of at .
- Find so that for and for is continuous at .
- Find .
Core
- Classify all holes and vertical asymptotes of .
- Find an oblique asymptote of and state at which ends it applies.
- Calculate .
- Evaluate and .
- Evaluate and .
Synthesis
- Evaluate and state a neighborhood where the logarithm is defined.
- Show from the threshold definition that as .
- Find using logarithms, not a decimal table.
- A graph has a horizontal asymptote . Does this imply it never equals ? Give a function that disproves that implication.
9.8 Full solutions
- The quotient is for and for . The left and right limits differ, so no two-sided limit exists.
- The left limit is ; the right limit and value are . Thus is necessary and sufficient for continuity.
- Divide by : at each end.
- Factor to get with original exclusions . At the simplified quotient approaches , giving a hole. At , the remaining numerator is positive near the point while the denominator changes sign, so the left limit is and the right limit ; is vertical.
- Division gives . Thus is oblique at both positive and negative infinity.
- For sufficiently large positive , rationalize and divide by : the expression is .
- The first is . The second is .
- The first is . The second is ; its logarithm is defined for .
- For example ensures . For nonzero inputs in this neighborhood, the quotient factors as .
- Given , take . If , then , hence its reciprocal exceeds . This is exactly the two-sided infinite-limit requirement.
- The logarithm is . By continuity of the exponential, the original positive sequence tends to .
- No. The function on has that horizontal asymptote at both ends and equals at every nonzero integer multiple of . Its deviation is bounded by .
Summary and transfer
One-sided limits detect mismatched branches and opposite unbounded signs. A finite-input infinite limit can define a vertical asymptote; a finite limit at an unbounded input defines a horizontal one. Polynomial division identifies oblique asymptotes through a vanishing difference. Rationalization must retain absolute values at a negative tail. Radian geometry proves the sine limit; area bounds prove the natural logarithm limit, and inversion gives the exponential limit. These results support first-principles derivatives rather than being inferred from them.
Proofs supporting the methods used in this note
The following sections give full proofs of the results used above.
Finite real limit laws and geometric sequences: proofs
Work over the ordered real numbers, with the Archimedean property, positive-integer induction and the usual absolute-value triangle inequality. A sequence converges to a finite real when every admits an that works for every .
Uniqueness, boundedness and subsequences. If and , require both errors below at the same sufficiently large index. The triangle inequality gives , a contradiction. For boundedness, require in the tail, and take a maximum of and the finitely many initial absolute values. For a subsequence , induction gives ; hence every tail threshold for the original sequence also works eventually for the subsequence.
Sum, scalar and product. If , , choose both input errors below ; then
For a fixed scalar use input tolerance ; is immediate. Choose bounding all . Require
The common later threshold gives .
Reciprocal and quotient. If , first require , ensuring and nonzero denominators. Then
Requiring also proves reciprocal convergence. The product law now proves . Any undefined initial quotients may be omitted; convergence is a tail assertion.
Order and squeeze. If eventually and , , then : otherwise errors below would force . If eventually and both outer limits are , require both errors below . Then , proving . This proof does not require a previously known limit of .
For the corresponding function-limit laws, fix a common allowed approach domain and an accumulation point of : every punctured neighborhood of contains a point of . Let have the stated finite relative-domain limits at . Replace each tail threshold in the displayed estimates by a punctured-domain radius, and take the minimum of finitely many positive radii. For the product proof only local boundedness is needed: gives on a sufficiently small punctured -neighborhood, even if is unbounded elsewhere on . The same estimates prove sum, scalar, product, reciprocal and quotient laws with their stated nonzero limiting-denominator condition; the same order and squeeze estimates apply on the common approach domain. Accumulation supplies actual points when proving uniqueness or excluding an incompatible order of limiting values.
For composition let , let , and let be continuous at relative to . Suppose tends to and throughout some sufficiently small punctured -neighborhood of . Given , continuity supplies such that and imply . The limit of and the composition-domain condition supply a common positive radius forcing both conditions for every allowed approaching . Thus . This includes inputs with and does not divide by an inner increment.
Geometric classification. Bernoulli's bound for follows by induction: multiply the case by the positive and retain the nonnegative remainder . If , set . Thus
For any requested tolerance, the Archimedean property supplies making the right side smaller. Hence for by ; gives zero for every positive index. At the sequence is constantly one. At , the even and odd subsequences are one and minus one, so uniqueness and subsequence inheritance exclude convergence. If , Bernoulli with gives . If , by the same argument, contradicting boundedness of any convergent real sequence. These cases exhaust all real ratios.
Subsequences
Definition 9.1.4
(Subsequence)
A subsequence of is where are positive integers. If , then every subsequence converges to because and therefore eventually lies beyond any prescribed index.
Theorem 9.1.5
(Bolzano–Weierstrass)
Every bounded real sequence has a convergent subsequence.
Proof
(Nested-interval proof)
Place every term in a closed bounded interval . Bisect it. At least one half contains infinitely many terms; choose that half as . Continue, obtaining nested closed intervals of lengths tending to zero, each containing infinitely many terms. Choose indices strictly increasing with ; this is possible because each interval contains infinitely many terms. Completeness gives a common point in all intervals: the supremum of their left endpoints lies in each interval because every left endpoint is at most every right endpoint. Since , their distance is at most the interval length and tends to zero.
The conclusion is about a subsequence, not necessarily the whole sequence. For example, has constant subsequences converging to and , but does not converge.
Real closed sets: the sequence criterion and the open complement
Work on the real line in the usual classical set-theoretic setting, with countable witness selections available. A set is open when every in has some with contained in . We use the Archimedean consequence that tends to zero. For every subset of the real line, the following conditions are equivalent:
- Every sequence of points of that converges in the real line has its limit in .
- The complement of is open.
Proof of 2 implies 1. Suppose belongs to and tends to . If were outside , openness would give with disjoint from . Convergence gives a threshold after which , contradicting in . Therefore belongs to .
Proof of 1 implies 2. Fix outside . If no positive-radius interval around avoided , then for every positive integer there would be a point in with . Choose these witnesses as a sequence. Given , choose with . For , , so tends to . Condition 1 would force into , a contradiction. Hence some interval around avoids . This holds for every point of the complement, proving it open. The witness-sequence step uses the stated classical setting; this proof is not offered as a theorem about choice-free foundations. If is empty there is no sequence in , and its complement is the whole open line. If is the whole line, its empty complement is open vacuously. Both edge cases also satisfy the equivalence.
Compactness on the real line
A set is compact if every family of open sets whose union contains has a finite subfamily still covering . A set is closed if it contains all limits of convergent sequences of its points, equivalently if its complement is open. Sequential compactness means every sequence in has a subsequence converging to a member of .
The empty set is compact, closed and bounded, and sequentially compact vacuously. In proofs using a selected point or an infinite sequence, treat that case separately. We may assume the real completeness property and its nested-interval and Bolzano–Weierstrass consequences from the sequence results above.
Theorem: Heine–Borel in the real line
For , the following are equivalent: compactness by open covers; closedness and boundedness; sequential compactness.
Compact implies closed and bounded. The intervals , , cover , hence . A finite subcover gives a bound. To show closedness, take . For each , the interval avoids . A finite subfamily covers . Let be the minimum of their positive half-distances to . Every point in the chosen interval centered at has distance from strictly greater than . Thus misses , showing its complement open. If is empty this is immediate.
Closed and bounded implies compact. Enclose nonempty in a closed bounded interval . Suppose an open cover of has no finite subcover. Bisect . At least one closed half meets in a set not finitely coverable; otherwise two finite collections would cover . Choose such a half and repeat. We obtain nested closed intervals with lengths tending to zero, and not finitely coverable. Each intersection is nonempty; choose . The nested-interval property gives a unique common point , and because both lie in . Closedness gives . Some member of the cover contains , and openness gives a ball around inside . For large , the whole interval lies in that ball, so alone covers , a contradiction.
Closed and bounded implies sequentially compact. Every sequence in is bounded, so Bolzano–Weierstrass supplies a convergent subsequence. Closedness retains its limit in .
Sequentially compact implies closed and bounded. If unbounded, choose with ; no subsequence can converge to a finite real number, a contradiction. If is a limit of points in , choose with . A subsequence converges to a point of by sequential compactness, but it also converges to ; uniqueness of real limits gives . Thus is closed. This completes all implications.
The following sections extend compactness from the real line to (the Heine–Borel theorem) and prove that a continuous real function on a nonempty compact set attains its maximum and minimum; this is the extreme-value part of the theorem on intermediate and extreme values below.
Fix an integer and the Euclidean norm on . A set is bounded if it lies in some finite-radius ball, closed if its complement is open, and compact if every cover by open subsets of has a finite subcover. We use real completeness, including the nested closed interval property.
Heine–Borel in finite-dimensional Euclidean space
Theorem. A set is compact if and only if it is closed and bounded. The empty set satisfies all three properties.
Compact implies bounded. The open balls , an integer, cover . A finite subcover puts inside the largest of these balls.
Compact implies closed. Suppose and . The balls , , cover . Choose a finite subcover with centers and set . If lies in the ball centered at , the triangle inequality gives . Hence misses , so the complement is open.
Closed and bounded implies compact. Let nonempty be closed and bounded. Enclose it in a closed cube with . Suppose an open cover of has no finite subcover. Divide each coordinate interval into two closed halves. The resulting closed subcubes cover . At least one subcube has intersection with that is not finitely coverable by the given family; otherwise the finite union of the finite subcovers would cover . Select such a subcube and repeat. This produces nested closed cubes with side length and not finitely coverable, hence nonempty.
For each coordinate, the nested interval property gives a common coordinate value. Together these give . Every pair of points in has distance at most , so the intersection contains only . Choose . Then . A closed set contains such a limit: if were in its open complement, a ball around would eventually contain outside , a contradiction. Thus .
One member of the cover contains , and openness gives for some . For sufficiently large , every point of is within of , so alone covers . This contradicts the selection of . Therefore every open cover has a finite subcover. The number is finite; replacing it by infinitely many subpieces would invalidate this argument.
Continuous images and extreme values
Theorem. If is compact and is continuous relative to , then is compact. In particular, a continuous on nonempty compact is bounded and attains its maximum and minimum.
Proof. An open cover of pulls back to relatively open sets , with open in . These cover , so finitely many suffice. Their corresponding cover , proving compactness. For scalar , the image is nonempty, closed and bounded by the theorem already proved in dimension one. Let . For each , the definition of supremum supplies with . Then , and closedness places in the image. Thus the maximum is attained. Applying the same argument to gives the minimum. This proves existence, not a formula for the maximizing input.
The remaining supporting results are proved where they are first used. The integration chapter proves uniform continuity on compact sets, sets up Darboux sums and the integrability criterion, and establishes the mesh form and elementary properties of proper Riemann integrals.
Definition 9.1.6
(Function limit and continuity)
Suppose is defined at points arbitrarily close to other than . We write if for every there is such that and in the domain imply . The function is continuous at when it is defined there and this limit equals . For endpoints use the corresponding one-sided limit.
When the domain contains points arbitrarily close to on both sides, the two-sided limit exists exactly when the left- and right-hand limits both exist and agree. Polynomial functions are continuous everywhere, rational functions where the denominator is nonzero, and sums, products, quotients with nonzero denominator, and compositions of continuous functions are continuous where defined. In radian measure the standard limit is ; it supports the derivative of sine later. Limits at and describe the two directions separately; neither infinity is a real input.
Theorem 9.1.7
(Intermediate and extreme values)
If is continuous on , it attains a maximum and a minimum there. If lies between and , then for some . Closedness, boundedness and continuity matter for the extrema assertion; continuity on an open interval alone need not give extrema.
Proof
(Proof idea for the intermediate value theorem)
Assume and let . The set is nonempty and bounded above, so exists. Continuity rules out because then nearby points to the right would also be in ; it rules out because points of arbitrarily close to would then have values above . Therefore . Endpoint equality is immediate, and reversing the inequalities handles the other order.
Chapter 10 states differentiability as linear approximation and gives the chain-rule proof that allows zero inner increments.
From a proper area logarithm to the natural exponential
Use proper integrals of continuous functions on finite closed intervals, their proved additivity/order/linearity, the completeness and Archimedean properties, and the intermediate value theorem. Define
with oriented bounds. Every integral here is proper: its interval stays a positive distance from zero.
Continuity and strict increase. For , additivity and order give . Near any fixed , restrict . Then , proving continuity without using a logarithmic derivative.
The product law from actual sums. Fix . Scaling a tagged partition of the interval between and by scales its mesh by and its widths by . The corresponding sums satisfy
Both are sums of continuous proper integrands, so their all-mesh limits are equal. For reverse orientation; is zero directly. Hence and
In particular , and . As , the latter values are unbounded above by the Archimedean property; the reciprocal values are unbounded below. For any real , choose positive arguments with below and above . Continuity and the intermediate value theorem give an with . Strict increase makes that unique.
Construct and control the inverse. Define as this inverse. It is strictly increasing and continuous. To prove continuity at , choose . The numbers have positive gaps. If is smaller than both gaps, monotonicity forces , so . The product law and uniqueness yield , and . Define and for . It follows that and , since . For integer exponents these equal repeated products; for rational , , the definition is the unique positive th root of . Thus it agrees with the elementary positive rational powers and gives their continuous real extension. In particular , and the area logarithm is its inverse .
Derivatives without a cycle. For , the average of on the interval between and , with the sign of and orientation both retained, lies between its smallest and largest values on that interval. Both bounds tend to . Thus
For and , put . Inverse continuity gives , and
The denominator limit is nonzero, so the reciprocal is justified. This proves and from proper area and inverse continuity, with neither L'Hôpital's rule nor a previously assumed exponential derivative. The chain rule then gives on by , and for . The case is the constant one. This supplies the normalization and identity bridge between the area logarithm, the inverse exponential and the real-power notation.