Limit of a function
A limit says where the values of a function are heading as the argument closes in on a number — even when the function has no value at that number at all. It is the first idea of analysis and the ground the derivative stands on.
Before you start
This topic builds on earlier ideas. Before you start, it's worth working through the lessons below — they'll make everything click:
- Reading properties from a graphA graph shows the whole function at once: domain and range, zeros, sign, intervals of monotonicity and the extremum. Learn to read them off the drawing before you compute anything.
- Quadratic equationsA quadratic equation has the unknown in the second power. Learn the general form, the discriminant, the formulas for the roots, the shortcuts for incomplete equations, Vieta formulas and how to read the solutions off a parabola.
- Rational functions and asymptotesA quotient of two polynomials, a few points thrown out of the domain, and three kinds of line the curve heads for. See when a zero of the denominator makes an asymptote and when it only makes a hole, how comparing degrees gives the horizontal asymptote, and where the oblique one comes from.
Where this is used
Real situations where you count exactly the way this lesson teaches:
- A coffee machine instead of the caféThe machine costs 1,200 and a cup made on it costs 1.10, so the cost per cup after n cups is f(n) = (1200 + 1.1n)/n = 1.1 + 1200/n. After a hundred cups that is 13.10, after a thousand 2.30, and the limit as n grows without bound is 1.10 — a floor you will never get under, not if you drink coffee daily for twenty years. The limit is what answers "how little can this possibly cost", and set against a café at 14 it puts the break-even at the 93rd cup.
- Adding processor coresIf 10% of the work cannot be parallelised, the speed-up on n cores is 1/(0.1 + 0.9/n). Eight cores give 4.7 times, eighty give 9.0 times, eight hundred give 9.9 times, and the limit as n grows without bound is exactly 10. An architect reads from it what no single benchmark shows: past a hundred cores you are buying hardware for fractions of a percent, and the only way forward is back to that 10% of the code.
- A courier price listA courier charges 22 for a parcel up to 30 kg, and from 30.01 kg the pallet tariff of 68 applies. The left-hand limit of the price at 30 kg is 22, the right-hand limit is 68, so no limit exists there and the price function is discontinuous. The practical reading of that discontinuity: 100 g of excess weight costs 46, so it pays to repack rather than to squeeze one more item in.
All formulas
Limit of a function
the values f(x) close in on g as x closes in on x₀
Continuous function
a polynomial is continuous, so the limit is plain substitution
The 0/0 indeterminate form
cancel the common factor first, substitute afterwards
Equal degrees
the ratio of the leading coefficients
Numerator of lower degree
the denominator grows faster, so the quotient dies away
One-sided limits
a limit exists only when both sides agree
Continuity at a point
the value exists, the limit exists and the two agree
The intermediate value property
a continuous function with opposite signs at the ends has a root
Quantities rarely interest us at a single point; what matters is the approach to it. That is what a limit describes: which number the values are heading for as the argument closes in on — while the point itself is never taken into account.
Read it as "the limit of as tends to equals ". Notice that the sentence never says "value" — and that is no accident.
When substitution is enough
For a continuous function — and a polynomial is continuous at every point — the limit simply is the value:
So , with no trickery involved: the graph has neither a hole nor a jump there, so "heading towards" and "being at" agree. Most limits you will meet work this way, which is why the first move is always to try substituting. The word "continuous" itself is defined later in this lesson, because the definition needs one-sided limits we do not have yet.
The trouble starts only when substitution returns nonsense.
The 0/0 indeterminate form
Look at the function
At the denominator is zero, so the function has no value there — its domain is every number except two. Substituting gives , which is nothing at all. And yet the graph looks like this:
Because for every the shared factor may be cancelled:
A limit never looks inside the point , so the cancelling is entirely legitimate:
The symbol is called indeterminate for exactly this reason: on its own it means nothing. Two other functions landing on at a point may have limit , limit , or none. It is not a result but a note that the computation has to go another way.
Limits at infinity
The second question we put to a function is what happens to it as the argument grows without end. For a rational function the answer is decided by comparing degrees.
Asymptotes — vertical, horizontal and oblique — are taught in rational functions; here we look at one from the side of the limit, because a horizontal asymptote is nothing other than the limit of a function at infinity.
With equal degrees only the ratio of the leading coefficients counts — the remaining terms grow too slowly to change anything:
When the numerator's degree is lower, the denominator grows faster and the quotient dies away:
Formally both cases are one move: divide the numerator and the denominator by the highest power of the denominator and use the fact that .
One-sided limits
A point can be approached from two sides — and sometimes that makes a difference. The left-hand limit takes only arguments smaller than , the right-hand limit only larger ones:
The ordinary limit exists exactly when both one-sided limits exist and agree:
When there is no limit
The cleanest example is at zero:
From the right the values grow without bound, from the left they fall without bound:
Limits like these are called improper. Writing does not claim that the limit is some number — it is shorthand for "grows without bound". And since the two sides escape in opposite directions, the limit does not exist.
Three typical situations in which there is no limit:
- different one-sided limits — the function jumps, the way a tariff changes at midnight;
- escape to opposite infinities — the case of above;
- oscillation — the values keep swinging and never settle on a direction.
Continuity at a point
At the start of the lesson a sentence went past: "for a continuous function, substitution is enough". We now have everything needed to say what it means — because continuity is defined through the limit, not the other way round.
A function is continuous at a point when it meets three conditions at once:
- it has a value at , that is, is in the domain;
- it has a limit at , that is, both one-sided limits exist and agree;
- that limit equals the value.
In one line:
There are three conditions because each can fail on its own — and every one of those failures has already appeared in this lesson:
- at breaks the first: the limit is , but there is no value at all;
- the courier's price list at kg breaks the second: there is a value, but the one-sided limits differ;
- a function equal to everywhere except at , where it stubbornly returns , breaks the third only: limit and value both exist, they simply disagree.
A function is continuous on an interval when it is continuous at each of its points. Polynomials are continuous on the whole of , rational functions everywhere except the zeros of the denominator, sine and cosine everywhere. And that is the entire content of the sentence we started from: for such functions the limit is substitution, because the third condition says exactly that.
Kinds of discontinuity
Since the conditions can fail in three ways, discontinuities are not all alike either. In each case the name says what can be done about it.
A removable discontinuity — the limit at the point exists, only the value is missing or different. Writing in or correcting a single number makes the function continuous, which is where the name comes from. The graph shows a hole: one missing point, as in at .
A jump discontinuity — both one-sided limits exist but differ. No value written in at the point repairs that, because two sides would have to be repaired at once. The graph jumps, the way the courier's tariff does at thirty kilograms.
A discontinuity of the second kind — at least one one-sided limit fails to exist at all: the values escape to infinity, as does at zero, or oscillate without settling on a direction.
The first and third cases are exactly the pair that rational functions tells apart as a hole and a pole: when a common factor of numerator and denominator cancels, what is left is a removable discontinuity; when there is nothing to cancel, a vertical asymptote stands there.
The intermediate value property
Continuity is not merely a label that makes arithmetic easier — it carries a theorem no single substitution could reveal.
The intermediate value property (Darboux). If is continuous on the closed interval , then it takes every value between and .
The intuition is literally about the picture: the graph of a continuous function is drawn without lifting the pencil, so in travelling from height to height no height along the way can be skipped.
What we use most often is the consequence about one intermediate value — zero:
The product is negative exactly when the values at the ends have opposite signs — and then zero lies between them.
Notice what the theorem does not say. It names no , it does not say how many such there are — there may be many — and it does not hold without continuity: the courier's price list jumps from 22 to 68 and takes no value in between.
What limits are for
They are the only tool that answers the question "how big is the change at a point". The difference quotient — the expression the derivative is about to be built from — heads towards as the gap shrinks, so without a limit it cannot be evaluated at all.
The same mechanism lets the region under a curve be sliced into ever thinner strips and pushed to a limit, at which moment the sum of rectangle areas becomes an integral. Both of the lessons that follow rest on this one idea.
Exercises
The exercises cover the three situations of this lesson: the limit of a polynomial (plain substitution), the form that needs cancelling, and a limit at infinity. All of them are finite, so the answer is always a number — the cases with and "no limit" are settled by reasoning, not by typing.
Practice
Work through a set of exercises — they get harder as you go. At the end you'll see your score and the mistakes worth reviewing.
Common mistakes
- Treating 0/0 as a result — it is an indeterminate form, an instruction to compute differently, not a number.
- Confusing the limit with the value — a function may have no value at a point and still have a limit there.
- Substituting ∞ into the formula — infinity is not a number; compare degrees or divide by the highest power.
- Declaring a limit to exist after checking one side — both one-sided limits must agree.
- Cancelling without factoring — in you may not cancel the bare "x"; factor first, cancel second.
- Writing an improper limit as a number — describes a behaviour, it is not an answer to type in.
- Confusing the existence of a limit with continuity — a limit may exist where the function has no value; continuity needs both, and needs them equal.
- Applying the intermediate value property to a discontinuous function — the theorem assumes continuity across the interval; without it the graph may jump the axis and have no root at all.
Formula card
Topic: Limit of a function
Limit of a function
the values f(x) close in on g as x closes in on x₀
Continuous function
a polynomial is continuous, so the limit is plain substitution
The 0/0 indeterminate form
cancel the common factor first, substitute afterwards
Equal degrees
the ratio of the leading coefficients
Numerator of lower degree
the denominator grows faster, so the quotient dies away
One-sided limits
a limit exists only when both sides agree
Continuity at a point
the value exists, the limit exists and the two agree
The intermediate value property
a continuous function with opposite signs at the ends has a root
