Back to the on-screen lesson ·

The limit of a function, and one-sided limits

What a limit says, why the value at the point is irrelevant, and when the two sides fail to agree.

Paper packet. Every task here also exists on screen, where it is checked automatically; answers written on paper are not assessed by Nydus. When you are back at a device, enter your answers there.

1. What you will learn

By the end of this lesson you will be able to say what $\lim_{x \to a} f(x) = L$ claims and what it deliberately says nothing about, compute a limit that needs one algebraic step — factoring, rationalising or combining a compound fraction — compute one-sided limits at a junction or an absolute value and decide from them whether the two-sided limit exists, and distinguish the limit at a point from the value at that point in every combination the two can occur in.

2. What a limit says

$\lim_{x \to a} f(x) = L$ means: the values of $f$ can be made as close to $L$ as you like by taking $x$ close enough to $a$, without ever taking $x = a$.

That last clause is the whole idea. A limit says what the outputs approach, not what the function does at the point. $f(a)$ may differ from $\lim_{x \to a} f(x)$, and it may not exist at all, without the limit being affected. A limit is a statement about a punctured neighbourhood of $a$ — the interval round $a$ with $a$ itself lifted out — and the function's behaviour at the missing point is not part of the question.

This is not a technicality. The central object of the next unit is $$\lim_{h \to 0} \frac{f(a + h) - f(a)}{h},$$ and at $h = 0$ that quotient is $0/0$: it has no value at the point, ever. A notion of limit that consulted the value would be useless for it.

One-sided limits. $\lim_{x \to a^-}$ approaches from below, $\lim_{x \to a^+}$ from above, and $$\lim_{x \to a} f(x) = L \iff \lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x) = L.$$ Both must exist and agree. Existing separately is not enough, and this is where most "the limit does not exist" answers come from.

Another way: picture

Cover the point $a$ with your thumb and look at the graph either side of it. If the two edges of what you can see head for the same height, that height is the limit; if they head for different heights, there is none. Now lift your thumb: whatever is underneath — a dot in the right place, a dot in the wrong place, or no dot at all — changes nothing you just decided.

Another way: steps

  1. Substitute $x = a$. If it gives a number and the function is built from continuous pieces, that is the limit.
  2. If it gives $0/0$, do algebra: factor and cancel, rationalise a root, or combine a compound fraction.
  3. If the function is piecewise or has an absolute value, compute the two one-sided limits separately.
  4. If it gives a non-zero number over zero, the limit is infinite or one-sided-infinite, and in either case does not exist as a real number.

3. The three things $0/0$ can mean

Substituting and getting $0/0$ tells you exactly one thing: the limit is not being decided by substitution. It is called an indeterminate form because every possible outcome is still on the table.

LimitValue
$\lim_{x \to 0} \dfrac{x^2}{x}$$0$
$\lim_{x \to 0} \dfrac{3x}{x}$$3$
$\lim_{x \to 0} \dfrac{x}{x^2}$does not exist (unbounded)
$\lim_{x \to 0} \dfrac{\|x\|}{x}$does not exist (the sides disagree)

All four substitute to $0/0$. The form is the same and the answers are different, so the form cannot be the answer. What settles it is how fast the two vanishings happen relative to each other, and the algebra — factoring, rationalising, combining — is how that is made visible.

By contrast, a non-zero number over zero is not indeterminate: $\frac{3}{0^+} \to +\infty$ and $\frac{3}{0^-} \to -\infty$. The size is settled; only the sign needs a one-sided look.

4. Where this goes wrong

Writing $\lim_{x \to a} f(x) = f(a)$ by habit. That equation is the definition of continuity, not a fact about limits, and the interesting limits are exactly the ones where it fails or is not even well posed.

Treating $0/0$ as $0$, or as $1$. It is neither. It is a signal.

Cancelling and then forgetting the cancellation. $\frac{x^2 - 4}{x-2}$ and $x + 2$ are different functions; they agree off $x = 2$, which is all a limit needs, but the original still has no value at $2$.

Taking existence of both one-sided limits as existence of the limit. $\frac{|x|}{x}$ has both, $-1$ and $1$, and no two-sided limit. Agreement is the condition.

Writing $= \infty$ and calling it a limit. In this course a limit is a real number. $\lim_{x\to 0} 1/x^2 = \infty$ is a statement about how the limit fails, and it is worth saying, but it is not a limit existing.

5. "The limit is what you get when you plug in"

This works often enough to become a habit, and the habit is what fails on every limit worth computing. Substitution gives the limit only for functions that are continuous at the point — which is the theorem of a later lesson, with hypotheses. At a point where the function is not defined, substitution has nothing to substitute into; at a jump it gives one side's answer and hides the other; at a removable discontinuity it gives an answer the neighbouring values contradict. The reliable order of operations is: try substitution, and when it gives $0/0$ or nothing at all, that is the beginning of the problem, not the end of it.

6. Three ways of clearing a $0/0$

  1. Factor. $\lim_{x \to 3} \dfrac{x^2 - 9}{x - 3} = \lim_{x \to 3} \dfrac{(x-3)(x+3)}{x-3} = \lim_{x \to 3}(x + 3) = 6$.

    The vanishing factor cancels.

  2. Rationalise. $\lim_{x \to 4} \dfrac{\sqrt{x} - 2}{x - 4}$: multiply above and below by $\sqrt{x} + 2$ to get $\dfrac{x - 4}{(x-4)(\sqrt x + 2)} = \dfrac{1}{\sqrt x + 2} \to \dfrac14$.

    The conjugate turns the root into the vanishing factor.

  3. Combine. $\lim_{x \to 3} \dfrac{1/x - 1/3}{x - 3}$: the numerator is $\dfrac{3 - x}{3x}$, so the quotient is $\dfrac{-(x-3)}{3x(x-3)} = \dfrac{-1}{3x} \to -\dfrac19$.

    A compound fraction hides its own vanishing factor.

7. A limit that exists where the function does not, and a value that lies

  1. $f(x) = \dfrac{\sin x}{x}$ is undefined at $x = 0$ — the formula genuinely gives $0/0$ there — and $\lim_{x \to 0} f(x) = 1$, as the next lessons will prove.

    No value, and a perfectly good limit.

  2. Now define $g(x) = 1$ for $x \ne 0$ and $g(0) = 5$. Then $\lim_{x \to 0} g(x) = 1$ while $g(0) = 5$.

    A value, a limit, and they disagree.

  3. And $\lfloor x \rfloor$ at $x = 2$ has value $2$, right limit $2$, left limit $1$: a value, one side agreeing with it, and no limit at all.

    Every combination occurs, which is why they are separate questions.

8. Your turn: $\lim_{x \to 2} \dfrac{x^3 - 8}{x - 2}$

  1. Substituting gives $0/0$, so factor: $x^3 - 8 = (x - 2)(x^2 + 2x + 4)$.

    The difference of cubes.

  2. Cancelling the $x - 2$ leaves $x^2 + 2x + 4$, which is continuous at $2$.

  3. Your turn: work this step out. Its working is at the end of the packet.

    So the limit is $4 + 4 + 4 = 12$.

9. Guided practice

Match each local graph behavior to the appropriate limit conclusion.

$\lim_{x\to2^-}f(x)=7$$\lim_{x\to2^+}f(x)=7$$\lim_{x\to2}f(x)=7$The two-sided limit does not exist
As $x$ approaches 2 from below, $f(x)$ approaches 7
As $x$ approaches 2 from above, $f(x)$ approaches 7
Both directional limits equal 7
Directional limits are 1 and 4

10. Guided practice

Match each limit situation to the evidence needed for its conclusion.

Substitute directly to get 5Factor and cancel before substitutingCompare left and right limitsThe limit is 4, independently of the assigned value
$\lim_{x\to2}(x^2+1)$
$\lim_{x\to3}\frac{x^2-9}{x-3}$
A piecewise formula changes at $x=1$
$f(2)=99$ but nearby values approach 4

11. Practice

Match each description near $x=2$ to the correct conclusion.

Limit exists and equals 5, but there is no function valueLimit is 5 although the function value is 9The two-sided limit does not existThe limit and function value agree; this is continuous there
Both sides approach 5; $f(2)$ is undefined
Both sides approach 5; $f(2)=9$
Left side approaches 1; right side approaches 4
Both sides approach 3 and $f(2)=3$

12. Practice

Find $\displaystyle\lim_{x \to 7} \frac{x^2 - 49}{x - 7}$.

Answer:

13. Practice

Find $\displaystyle\lim_{x \to 3} \dfrac{1/x - 1/3}{x - 3}$, to four decimal places where it is not a whole number.

Answer:

14. Somewhere new

$h(x) = 2x$ for $x \le 1$ and $h(x) = 6x + k$ for $x > 1$. For which $k$ does $\displaystyle\lim_{x \to 1} h(x)$ exist?

Answer:

15. Lesson test

Lesson test: one question per skill, one attempt each, no hints. Your answers are checked when you submit.

16. Test question

For $f(x) = \dfrac{|x - 2|}{x - 2}$ at $x = 2$, does $\displaystyle\lim_{x \to 2} f(x)$ exist?

17. What you can do now

You can clear a $0/0$ by algebra, compute one-sided limits, and say whether a two-sided limit exists. Say in your own words why a limit must ignore the value at the point, and what would break if it did not. Next: the epsilon-delta definition, which makes "as close as you like" precise.

Working for the steps left to you

8. Your turn: $\lim_{x \to 2} \dfrac{x^3 - 8}{x - 2}$, step 3