Skip to content
Tutorials Center
My learning

Topics

Lesson 7 of 39 ยท Limits and Continuity

One-Sided Limits and When a Limit Exists

Learn left-hand and right-hand limits, how jumps and piecewise functions behave, and the rule that a two-sided limit exists only when both sides agree.

Sometimes a function behaves differently depending on which side you approach from. A one-sided limit looks at just one side.

  • lim(xโ†’aโป) f(x) is the left-hand limit: x approaches a from values smaller than a.
  • lim(xโ†’aโบ) f(x) is the right-hand limit: x approaches from values larger than a.

The existence rule

The two-sided limit lim(xโ†’a) f(x) exists and equals L if and only if both one-sided limits exist and both equal L.

If the sides disagree, the two-sided limit does not exist.

A piecewise example

Let f(x) = x + 1 for x < 2 and f(x) = 5 - x for x โ‰ฅ 2.

  • Left-hand limit at 2: use x + 1, giving 3.
  • Right-hand limit at 2: use 5 - x, giving 3.
  • Both are 3, so lim(xโ†’2) f(x) = 3, and f(2) = 3 as well.

Now change the second rule to 6 - x. The right-hand limit becomes 4, which differs from 3. The graph jumps, and the limit at 2 does not exist.

Python One-sided limits of a piecewise function

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

With c = 5 both lists approach 3. With c = 6 the left list approaches 3 and the right list approaches 4.

The absolute value example

Let g(x) = |x| / x. For x > 0 it equals 1; for x < 0 it equals -1. At x = 0 it is undefined. The left limit is -1, the right limit is 1, so lim(xโ†’0) g(x) does not exist.

Python Plot |x|/x

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Why this matters later

The derivative at a point is a limit, so it only exists if both one-sided slopes agree. Corners like |x| at 0 fail this test, as you will see in chapter 3.

Do not confuse aโป with a negative number. The small minus means "from below a", whatever the sign of a.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. If the left-hand limit is 4 and the right-hand limit is 7 at x = 1, then lim(xโ†’1) f(x)

    The two sides disagree, so the two-sided limit does not exist.
  2. 2. What does lim(xโ†’3โบ) f(x) describe?

    The plus sign means from the right, through values larger than 3.
  3. 3. For f(x) = x + 1 when x < 2 and 5 - x when x โ‰ฅ 2, lim(xโ†’2) f(x) is

    Both one-sided limits equal 3.
  4. 4. For |x|/x, the left-hand limit at 0 is

    For negative x, |x| = -x, so |x|/x = -1.

Summary

  • Left limit xโ†’aโป and right limit xโ†’aโบ look at one side each.
  • A two-sided limit exists only if both one-sided limits exist and are equal.
  • Jumps in piecewise functions make limits fail to exist.

Next: Limit Laws and Algebraic Techniques