- Foundation
- About 13 min
- 5 practice questions
Left-hand and right-hand limits
Find the left-hand and right-hand limits of a function at a point, decide whether the limit exists, and work with piecewise, modulus and greatest integer functions.
If something looks wrong, please tell us.
In the first lesson, x approached a from both sides at once. Some functions behave differently on the two sides of a point: the graph jumps. To handle such functions we look at each side separately. This gives the left-hand limit and the right-hand limit, and comparing them tells us whether the ordinary limit exists.
The two one-sided limits
The left-hand limit, written lim(x→a⁻) f(x), is the value f(x) approaches as x comes towards a through values less than a, such as a − 0.1, a − 0.01 and so on. The right-hand limit, lim(x→a⁺) f(x), uses values greater than a. Short forms are LHL and RHL.
lim(x→a) f(x) exists if and only if the left-hand limit and the right-hand limit both exist and are equal. Their common value is the limit.
Two special functions
The modulus function |x| gives the distance of x from 0: |x| = x when x ≥ 0 and |x| = −x when x < 0. So |3| = 3 and |−3| = 3. The greatest integer function [x] (also called the floor function) gives the greatest integer less than or equal to x. So [2.7] = 2, [2] = 2 and [−1.3] = −2, because −2 is the greatest integer that is not more than −1.3. Students often write −1 here; remember that −1 is larger than −1.3.
| x | 1.5 | 1.9 | 1.99 | 2 | 2.01 | 2.5 |
|---|---|---|---|---|---|---|
| [x] | 1 | 1 | 1 | 2 | 2 | 2 |
Worked example 1: the sign function |x|/x
Let f(x) = |x|/x for x ≠ 0. For x > 0, |x| = x, so f(x) = 1. For x < 0, |x| = −x, so f(x) = −1. Hence the RHL at 0 is 1 and the LHL at 0 is −1. The two one-sided limits are different, so lim(x→0) |x|/x does not exist. The graph jumps from −1 to 1 at x = 0.
Worked example 2: a piecewise function that joins up
Let f(x) = x + 2 for x < 1 and f(x) = 4x − 1 for x ≥ 1. For the LHL use the rule for x < 1: x + 2 approaches 1 + 2 = 3. For the RHL use the rule for x ≥ 1: 4x − 1 approaches 4 − 1 = 3. Both equal 3, so lim(x→1) f(x) = 3. The key skill is choosing the correct piece of the formula for each side.
Worked example 3: the greatest integer function at an integer
Find the limit of [x] as x → 2. Just to the left of 2, for example at 1.99, [x] = 1, so the LHL is 1. Just to the right, at 2.01, [x] = 2, so the RHL is 2. Since 1 ≠ 2, lim(x→2) [x] does not exist. The same happens at every integer: the graph of [x] is a staircase that jumps up by 1 at each integer.
Worked example 4: the greatest integer function between integers
Find lim(x→2.5) [x]. For every x between 2 and 3, [x] = 2. Values a little below and a little above 2.5 all give 2, so LHL = RHL = 2 and the limit is 2. At a point that is not an integer, [x] is constant nearby, so its limit is easy.
Key takeaways: work out each side separately, using the part of the formula that applies on that side. The limit exists only when LHL = RHL. The function |x|/x and the function [x] at an integer are standard examples where the two sides disagree. At a non-integer point, [x] behaves like a constant.
Check your understanding
-
1. What is lim(x→3⁻) [x], where [x] is the greatest integer function?
- 3
- 4
- 2
- The limit does not exist
Show answer
Answer: C. For x slightly less than 3, such as 2.99, [x] = 2. So the left-hand limit is 2.
-
2. Let f(x) = 2x + 1 for x < 2 and f(x) = x² + 1 for x ≥ 2. What is lim(x→2) f(x)?
- 4
- 5
- 3
- The limit does not exist
Show answer
Answer: B. LHL: 2(2) + 1 = 5. RHL: 2² + 1 = 5. They are equal, so the limit is 5.
-
3. Let f(x) = x + 1 for x < 0 and f(x) = x − 1 for x ≥ 0. What can you say about lim(x→0) f(x)?
- It equals 1
- The limit does not exist
- It equals −1
- It equals 0
Show answer
Answer: B. LHL = 0 + 1 = 1 and RHL = 0 − 1 = −1. They differ, so the limit does not exist.
-
4. What is [−1.5], where [x] is the greatest integer function?
- −2
- −1
- 1
- −1.5
Show answer
Answer: A. [x] is the greatest integer less than or equal to x. The integers not exceeding −1.5 are −2, −3, ...; the greatest is −2.
-
5. What is lim(x→0⁺) |x|/x?
- −1
- 1
- 0
- The limit does not exist
Show answer
Answer: B. For x > 0, |x| = x, so |x|/x = 1. The right-hand limit is 1.
Sign in to keep track of the lessons you finish.