A.6 One-Sided Limits

On this screen we consider one-sided limits, of course including practice problems for you to try with complete solutions available -- all for free to support your learning.

Revisiting the function that "jumps" from the preceding screen

Recall one of the functions we considered on the previous screen for which the limit does not exist: 𝑓(𝑥)={3for 𝑥<05for 𝑥0

Graph of piecewise function f(x) to illustrate one-sided limits: The function equals -5 for x less than zero, and +5 for x greater than or equal to 0.

As you'll remember, lim𝑥0𝑓(𝑥) does not exist because the function "jumps" at 𝑥 =0 from 5 to 5, and so there is no single number L that we can be as close to as we'd like for values of x both less than and greater than 𝑥 =0. That is, there is no single place on the graph you can point to that represents the limit at 𝑥 =0.

You probably have the thought, though, that if we could consider only values of 𝑥 <0, and remain always on the left-side of the vertical axis, then the limit does exist, and equals 3. If so, you're right! Similarly, if we consider values of 𝑥 >0 and stay to the right of the vertical axis, then the limit again exists, and equals 5.

"Limit from the left" and "limit from the right"

By examining the behavior of a function on either one side or the other of a point of interest, we are considering one-sided limits. The only real thing to remember is what the notation means:

DEFINITION
One-sided Limits
  • "-" means "from the left," and is the left-hand limit, while
  • "+" means "from the right" and is the right-hand limit.

So for the function 𝑓(𝑥) above:

Left-hand limit: lim𝑥0𝑓(𝑥)=3, meaning "the limit as 𝑥 0 from the left is 3."

That is, we can get as close to the function's output value of 3 as we'd like
by being sufficiently close to 𝑥 =0 from the left.

And [indent]Right-hand limit: lim𝑥0+𝑓(𝑥)=5, meaning "the limit as 𝑥 0 from the right is 5."

That is, we can get as close to the function's output value of 5 as we'd like
by being sufficiently close to 𝑥 =0 from the right.

The general limit and one-sided limits at 𝑥 =𝑎

Still thinking about the function above, we can now write (very mathily!) using the one-sided limit notation: Because lim𝑥0𝑓(𝑥)lim𝑥0+𝑓(𝑥), lim𝑥0𝑓(𝑥)=DNE In words: because the limit from the left does not equal the limit from the right, the (general) limit does not exist at 𝑥 =0. (We include the word "general" there in parentheses only to indicate that we do not mean either one-sided limit. Typically you wouldn't write that word; instead the word "limit" alone means you have to consider what happens as you approach the point of interest from both directions.)

Indeed, it is always true that the (general) limit exists and equals L only if the limit from both sides equals the same value L:

For the limit to exist, the one-sided limits must be equal: lim𝑥𝑎𝑓(𝑥)=𝐿

if and only if

lim𝑥𝑎𝑓(𝑥)=𝐿 and lim𝑥𝑎+𝑓(𝑥)=𝐿
Graph of piecewise function f(x) to illustrate one-sided limits: The function equals -5 for x less than zero, and +5 for x greater than or equal to 0.

Continuing to think about our example piecewise function above, 𝑓(𝑥), if we consider any point other than 𝑥 =0, then the (general) limit exists because the one-sided limits are equal. For instance, at 𝑥 = 2, lim𝑥2𝑓(𝑥)=3andlim𝑥2+𝑓(𝑥)=3 and hence lim𝑥2𝑓(𝑥)=3. And at 𝑥 =4, lim𝑥4𝑓(𝑥)=5andlim𝑥4+𝑓(𝑥)=5 and hence lim𝑥4𝑓(𝑥)=5.

Revisiting 𝑔(𝑥) =sin(𝑥)𝑥

As a different example, let's consider another function we looked at earlier, 𝑔(𝑥)=sin(𝑥)𝑥

Graph of g(x) = sin of x over x, showing that the limit at x=0 is 1 because the one-sided limits from both sides are equal.

For this function we have lim𝑥0𝑔(𝑥)=1andlim𝑥0+𝑔(𝑥)=1 and hence lim𝑥0𝑔(𝑥)=1. This is of course the same conclusion we reached earlier; we're merely using the function to illustrate that when the one-sided limits are the same, the (general) limit exists, and equals the value of both one-sided limits.

Nothing more to discuss here; practice problems for you to try are below!

Practice Problems

Question 1: Examining a piecewise function

The graph below shows the function 𝑓(𝑥) for the interval [ 5,4].

Graph of piecewise function to find one-sided limits. The relevant parts for this question: on the open interval (-2, 2) y = -2. The next interval is closed at x = 2 but open at x = 3, so on [2, 3), y = 1.

The first Practice Problem below combines all of the parts of the preceding Question into one answer choice, using a single row of the table shown to display the different quantities. Your job is to choose the row [(a), (b), (c), ...] with the correct values. While this first problem follows directly from the Question above, the problems after that will simply ask you to determine each correct value and then the correct answer row.

Practice Problem 1
Graph of piecewise function. Relevant part for this question: on the open interval (-2, 2) the graph is a horizontal line at y = -2. There is a closed circle at (2, 1), and then a horizontal line away from that point ending on an open circle at (3, 1). Given 𝑦 =𝑓(𝑥) for the interval [ 5, 4] is shown, find the following values at 𝑎 =2:
lim𝑥𝑎𝑓(𝑥),lim𝑥𝑎+𝑓(𝑥),lim𝑥𝑎𝑓(𝑥),and 𝑓(𝑎).
Answer
Choice:
lim𝑥𝑎𝑓(𝑥) lim𝑥𝑎+𝑓(𝑥) lim𝑥𝑎𝑓(𝑥) 𝑓(𝑎)
(A) 1 -2 Undefined -1
(B) 1 -2 0 Undefined
(C) -2 1 Undefined 1
(D) -2 1 Undefined Undefined
Practice Problem 2
Graph of piecewise function. The relevant parts for this question: on the closed interval (-4, -2) the graph is an upward straight line toward (-2, 2.5), and there is a filled-in circle at that point. Then one the open interval (-2, 2) the graph is a horizontal line at y=-2. Given 𝑦 =𝑓(𝑥) for the interval [ 5, 4] is shown, find the following values at 𝑎 = 2: lim𝑥𝑎𝑓(𝑥),lim𝑥𝑎+𝑓(𝑥),lim𝑥𝑎𝑓(𝑥),and 𝑓(𝑎).
Answer
Choice:
lim𝑥𝑎𝑓(𝑥) lim𝑥𝑎+𝑓(𝑥) lim𝑥𝑎𝑓(𝑥) 𝑓(𝑎)
(A) 2.5 -2 Undefined 2.5
(B) -2 2.5 2.5 -2
(C) 2.5 -2 Undefined Undefined
(D) -2 2.5 Undefined Undefined
Practice Problem 3
Graph of piecewise function. Relevant part for this question: near $x=-4$ the quote-unquote curve is essentially a vee with its base at (-4, 0). Given 𝑦 =𝑓(𝑥) for the interval [ 5, 4] is shown, find the following values at 𝑎 = 4:
lim𝑥𝑎𝑓(𝑥),lim𝑥𝑎+𝑓(𝑥),lim𝑥𝑎𝑓(𝑥),and 𝑓(𝑎).
Answer
Choice:
lim𝑥𝑎𝑓(𝑥) lim𝑥𝑎+𝑓(𝑥) lim𝑥𝑎𝑓(𝑥) 𝑓(𝑎)
(A) 0 0 0 Undefined
(B) -5 -2 Undefined Undefined
(C) 1.5 2.5 Undefined 0
(D) 0 0 0 0
Practice Problem 4
Graph of y=f(x), which shows essentially a hyperbola near x=0. Consider the function 𝑓(𝑥) =1𝑥, graphed above. Which of the following statements are true?
I. lim𝑥0𝑓(𝑥)=
II. lim𝑥0+𝑓(𝑥)=
III. lim𝑥0𝑓(𝑥)=
IV. 𝑓(0) =undefined
(A) I, II, III, and IV(B) I, II, and IV(C) IV only (D) I and II(E) III and IV

On the next screen, we'll consider some functions that grow without bound, heading to or at a particular value of x.

Questions or comments about anything on this screen? Please let us know on the Forum!


The Upshot

  1. When writing a one-sided limit,
    • "-" means "from the left," and is the left-hand limit, while
    • "+" means "from the right" and is the right-hand limit.
  2. For the limit at a point to exist, the one-sided limits at that point must be equal: lim𝑥𝑎𝑓(𝑥)=𝐿 if and only if lim𝑥𝑎𝑓(𝑥)=𝐿 and lim𝑥𝑎+𝑓(𝑥)=𝐿