What a limit means
A limit describes where a function is heading. As the input gets close to a number , the output may get close to a number , the limit. The limit has the units of the output: if gives a price in dollars, so does its limit.
Take . At the formula reads , which is not a number, so does not exist. But look at inputs close to 1, from below and from above:
| 0.9 | 0.99 | 0.999 | 1.001 | 1.01 | 1.1 | |
|---|---|---|---|---|---|---|
| 1.9 | 1.99 | 1.999 | 2.001 | 2.01 | 2.1 |
From both sides the outputs close in on 2. So the limit of as approaches 1 is 2, even though itself does not exist.
Rule: Limit
Read it as "the limit of as approaches is ". It means gets as close to as you like once is close enough to , on either side. The value at itself plays no part.
The graph of is the line with one point missing. The missing point is drawn as an open circle, called a hole.
The function has a hole at : the outputs head for 2 from both sides. The function is the same except that , and its limit at 1 is still 2.
The second graph makes the rule's last sentence concrete. It shows for every , with .
Near 1 the outputs of still head for 2, so . The single value does not change where the graph is heading.
Try it
The cell builds the table above. round(…, 6) hides tiny rounding errors in the last digits; without it you would see 1.990000000000001.
Calling f(1) would stop the cell with a ZeroDivisionError, which is why the table never uses 1 itself.
Try it with the explorer below. Press smaller and smaller gaps to bring the two points towards 1, and turn on zoom to follow them. Both outputs close in on 2.
Explore
Pick a gap and watch the two points close in on x = 1 from the left and the right. Turn on zoom to follow them in.
- From the left
- f(0.5) = 1.5
- From the right
- f(1.5) = 2.5
- Farthest from 2
- 0.5. Both sides approach 2, though f(1) itself is undefined: the limit is 2.
Finding a limit by substitution
For most functions you meet, the limit is just the value. Substitute into the formula, and if you get a number, that is the limit:
Nearby inputs agree: gives 9.41, gives 9.9401, gives 10.0601 and gives 10.61.
Substitution works for the functions of Level 1 at any input in their domain (lesson 1.1.1). These are polynomials, , , , and , and sums, products and ratios of them. Lesson 2.1.2 gives such functions a name: continuous.
So , and .
When substitution gives
A is a signal, not an answer. It usually means the top and the bottom share a factor that is 0 at . Factor both, cancel the shared factor, then substitute.
For the first example, by the factor theorem (lesson 1.3.1), because 1 and are roots. So for every :
Cancelling is allowed because a limit never uses itself, so is never 0. The answer matches the table.
A second example, with a square root
Take . Substituting gives again. The table points to 4:
| 3.9 | 3.99 | 3.999 | 4.001 | 4.01 | 4.1 | |
|---|---|---|---|---|---|---|
| value | 3.974842 | 3.997498 | 3.99975 | 4.00025 | 4.002498 | 4.024846 |
For the algebra, notice that : multiply it out to check. So the top contains the bottom as a factor:
Now substitute: . The table and the algebra agree.
The letter does not matter
Limits are often taken in a small gap called , as . Lesson 2.2.1 does this all the time. Take , which reads at .
Expand the top first: . Then cancel to get , which tends to 2. The table agrees: gives 2.1, gives 2.01, gives 1.99 and gives 1.9.
Rule: Finding a limit
If substituting gives a number, that is the limit. If it gives , factor or expand, cancel the shared factor, and substitute again.
Try it
The loop rebuilds the square-root table. Then sp.limit(expression, x, a) computes each limit of this section exactly: 2, 4 and 2.
The variable for the third is h, so it is declared as a symbol too.
When substitution gives a number over 0
A nonzero number over 0 is a different case. Take near 1. The top stays at 1 while the bottom shrinks to 0, so the outputs grow without end:
| 0.9 | 0.99 | 0.999 | 1.001 | 1.01 | 1.1 | |
|---|---|---|---|---|---|---|
| value | 100 | 10,000 | 1,000,000 | 1,000,000 | 10,000 | 100 |
No number is approached, so there is no limit. To say how it fails, write , read "it grows without bound".
The symbol is not a number, and no amount of simplifying will produce one. Lesson 2.1.2 looks at blow-ups like this from each side.
Try it
The table of from both sides. SymPy reports the blow-up as oo, its way of typing .
A table suggests; it does not prove
Some limits have no factor to cancel. With in radians (lesson 1.7.1), reads at 0. From both sides the table gives 0.998334 at and 0.999983 at , heading for 1.
SymPy confirms that . A table gives evidence, and an exact method (algebra or SymPy) settles it.
A table can also mislead if you push too close. The computer stores about 16 significant digits, so loses most of when is tiny. For , whose limit is 2:
| computed | 1.99999999 | 2.0001778 | 2.22044605 | 0 |
At the computer stores as exactly 1, so the top is 0. Keep the gaps of a table from 0.1 down to about 0.0001, where rounding stays invisible. The case study, lesson 2.1.5, meets the same trap with money.
Try it
The first loop tabulates from both sides; sp.limit gives the exact answer.
The second loop pushes too far. round(…, 8) shows 8 decimal places.
Common mistakes
- A limit is not the value at the point. , yet . And need not exist at all.
- is not 0, not 1, and not "no limit". It means "simplify and look again".
- A number over 0 is not . Something like means the outputs blow up. There is no limit, and simplifying will not find one.
- Cancel factors, not terms. , because is a factor of the whole top. But is not .
- Look at both sides. A limit needs the same value from the left and from the right. Lesson 2.1.2 shows what happens when they differ.
- Do not push a table too close. At a gap of rounding shows in the fourth decimal place. By it swamps the answer.
Limits
0 of 11 correct
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
How to type answers
- Powers with
^:x^7,2^(1/3),a^-2. - Multiply with
*or by writing side by side:3x^2,2(x+1). ln(x)is the natural log,log(x, 2)is log base 2,eis Euler's number,sqrt(x)is a square root.sin(x),cos(x)andtan(x)take radians; writepifor π andsin(x)^2for sin²x.- Your first answer to each question is saved: it counts towards your score and brings the question back for review.
- Exact answers like
ln(20)/ln(3)are best. Decimals need about 4 significant figures.
Summary card
- : gets as close to as you like for close enough to , from both sides. The value at plays no part. A limit has the units of the output.
- Substitute when you can. If you get , factor or expand, cancel, then substitute.
- A nonzero number over 0 means the outputs blow up: there is no limit, written when they grow without bound.
- A table suggests a limit and
sp.limit(expr, x, a)confirms it. Tables fail when the gap is so small that rounding takes over. - A limit to remember: as .