What the limit actually claims
The loop points at an answer. Here is the statement that answer is, and why it is never 'plug in zero'.
The column pointed at 6, and then the machine ran out of digits before it got there. Neither the column nor the machine is where the 6 comes from. It comes from a claim about the function, and the claim is more careful than it first looks.
The tempting reading of is that when h is zero, q is 6. It cannot be that. At the expression is , which is zero over zero, and there is no number there to be equal to anything. A limit is a statement about every h near zero, with zero itself deliberately excluded.
A function with a hole in it
A smaller example makes the exclusion obvious. Take and leave it exactly as written, with no tidying up. Evaluate it either side of 3, closer each time, and then at 3 itself.
Add 2.99999 and 3.00001 to the list. The printed values close in on 6 from both sides, and the value at 3 itself never joins in. Read each one beside the number x + 3 while you are there.
What the language does at exactly 3 varies. Some refuse the division and report it; some hand back a special value meaning not a number. What does not vary is that there is no number to hand back. The formula has nothing to say there.
Now set the five printed values beside . At the loop printed 5.899999999999993 and is 5.9; at it printed 6.00100000000014 and is 6.001. They agree to twelve digits and more, and the tails are the noise of the last lesson, since the top of this fraction is once again a subtraction of two nearly equal numbers.
The agreement is not a coincidence. For every other than 3 the top factors as , and that cancels with the bottom, leaving exactly. At the cancelling is not allowed, because it divides by zero, and the formula asks for zero over zero instead.
So is the straight line with exactly one point picked out of it. Everywhere else it is that line, exactly, with no approximation. At it is nothing at all.
And yet 6 is clearly the right answer to the question what is doing near 3. That gap, between what a function does near a point and what it does at it, is the entire content of the word limit.
The promise, stated exactly
A limit is a promise about tolerances, and it is stated as a challenge and a response. Writing asserts this: for every tolerance you name, however small, there is a window around such that every in that window, except itself, has within your tolerance of .
The tolerance is traditionally called , the Greek letter epsilon, and the window's half width is called , delta. Written out, the promise is one line.
The order is what makes it work. Your opponent names first and may make it as small as they like, and only then do you have to produce . If you can always answer, the limit is . If there is even one tolerance that defeats every window you could offer, it is not.
Try it on the quotient. for every , so . Given , answer with . Then any with has , and there is nothing further to check. Name a millionth, get a millionth back.
- A window that answers it
- 0.4
- Top of the band
- 6.4
- Bottom of the band
- 5.6
Shrink the tolerance and watch the two dashed levels close on 6. The solid stretch is the window that answers you: it is drawn only for the steps with , and every one of them lands between the levels. Band and window close together, and the window never has to reach zero, which is the whole trick. One thing the picture cannot show: is not on the graph, even though the line is drawn straight through it.
One side at a time
A point can be approached from below or from above, and the two need not agree. Approaching from below is written and is called the left-hand limit; from above it is , the right-hand limit. Each is the same promise as before, restricted to one side of the window.
That gives two clean ways for a limit not to exist. The two sides can head for different numbers, or a side can head for no number at all. Here is the second kind: near zero grows without bound on the right and falls without bound on the left, so neither side settles on anything.
Add 0.000001 to the list. Neither column is settling, so 1/x has no limit at 0, and it has no one-sided limit there either.
When plugging in is right after all
Most limits you will meet are not dramatic. is 2, obtained by substituting 1 and doing the arithmetic, and that is legitimate: the bottom is not zero at , the expression is perfectly well behaved there, and its value and its limit agree.
The interesting cases are the ones where substitution gives , because that form tells you nothing on its own. It can hide any answer at all: the same shape gave 6 for one function and for another. The work is always to rewrite the expression so the offending factor cancels, and only then substitute.
Evaluate by hand, without running anything.
Substituting gives , so factor first: . For every the expression equals , and the limit only cares about . So the answer is . Note that the function still has no value at ; the limit does not repair that, it just reports what the neighbourhood is doing.