One-Sided Limits: Left-Hand and Right-Hand Limits

#Calculus
TL;DR
A one-sided limit tracks f(x) from one side only, and the full limit exists exactly when the left and right values match. This guide covers one-sided limits notation, piecewise, absolute value and floor cases.
BT
Bhanzu TeamLast updated on October 11, 202616 min read

What Are One-Sided Limits?

One-sided limits describe the value a function approaches as xx moves toward a point aa from just one side. The left-hand limit (LHL) uses only values x<ax < a, and the right-hand limit (RHL) uses only values x>ax > a. Neither one looks at f(a)f(a) itself.

A Quora reader asks the definition question directly: "What is the definition of a one-sided limit?" In symbols, the two are written

lim⁡x→a−f(x)=Landlim⁡x→a+f(x)=R\lim_{x \to a^{-}} f(x) = L \qquad \text{and} \qquad \lim_{x \to a^{+}} f(x) = R

  • x→a−x \to a^{-} means xx approaches aa through values smaller than aa (from the left on the number line).

  • x→a+x \to a^{+} means xx approaches aa through values larger than aa (from the right).

  • LL is the left-hand limit and RR is the right-hand limit. Both must be real numbers for the one-sided limit to exist.

The precise version uses the same ε\varepsilon-δ\delta idea as the ordinary limit of a function, with one change. For the right-hand limit, lim⁡x→a+f(x)=R\lim_{x \to a^{+}} f(x) = R means: for every ε>0\varepsilon > 0 there is a δ>0\delta > 0 such that

0<x−a<δ⟹∣f(x)−R∣<ε0 < x - a < \delta \quad \Longrightarrow \quad \lvert f(x) - R \rvert < \varepsilon

For the left-hand limit, the condition becomes 0<a−x<δ0 < a - x < \delta. The only difference from the two-sided definition is that ∣x−a∣\lvert x - a \rvert is replaced by a one-directional gap, so xx is never allowed onto the other side.

What Is The Difference Between Left-Hand And Right-Hand Limits And A Two-Sided Limit?

A two-sided limit asks one question about both sides at once, while left-hand and right-hand limits split that question in two. The Quora version of this, "What is the difference between one sided and two sided limits?", has a short answer: a two-sided limit is a promise that both one-sided limits exist and agree.

Left-hand limit

Right-hand limit

Two-sided limit

Notation

lim⁡x→a−f(x)\lim_{x \to a^{-}} f(x)

lim⁡x→a+f(x)\lim_{x \to a^{+}} f(x)

lim⁡x→af(x)\lim_{x \to a} f(x)

Other notations

f(a−)f(a^{-}), f(a−0)f(a - 0)

f(a+)f(a^{+}), f(a+0)f(a + 0)

none

Values of xx used

x<ax < a, close to aa

x>ax > a, close to aa

x≠ax \neq a on both sides

Needs ff defined on

an interval (b,a)(b, a)

an interval (a,c)(a, c)

both intervals

One notation trap deserves its own line. The minus in a−a^{-} is a direction, not a sign. So x→2−x \to 2^{-} means "toward 22 from below", with values like 1.91.9, 1.991.99, 1.9991.999, and it has nothing to do with −2-2. The same holds for x→0−x \to 0^{-}, which uses small negative numbers simply because those are the numbers to the left of 00.

When Does A Limit Exist? The Left-Hand And Right-Hand Limit Test

The two-sided limit exists exactly when both one-sided limits exist and are equal. This is the existence criterion every course uses (OpenStax states it as Theorem 2.2 in Calculus Volume 1, Section 2.2):

lim⁡x→af(x)=L⟺lim⁡x→a−f(x)=L  and  lim⁡x→a+f(x)=L\lim_{x \to a} f(x) = L \quad \Longleftrightarrow \quad \lim_{x \to a^{-}} f(x) = L \ \text{ and } \ \lim_{x \to a^{+}} f(x) = L

The test runs in both directions. If the limit exists, both sides share its value. If both sides share a value, the limit exists and equals it.

A Quora question asks why the second direction forces "does not exist": "Why is it that when both sides of the limit is not equal making the limit 'do not exist'?" The reason sits in the definition. A limit must be a single number LL that f(x)f(x) stays close to for every xx near aa. If values just left of aa crowd around 11 and values just right crowd around 33, no single number can be close to both crowds at once, so no LL works.

There are three outcomes worth naming:

  1. Both sides exist and agree. The limit exists. Example: f(x)=x2f(x) = x^2 at a=1a = 1, where both sides give 11.

  2. Both sides exist but disagree. The limit does not exist, and the graph has a jump discontinuity there.

  3. At least one side fails. The limit does not exist. A side can fail by oscillating, by growing without bound, or because the function is not defined on that side at all.

The value f(a)f(a) never enters this test. A function can have equal one-sided limits at aa and still have f(a)f(a) undefined, or defined as something else. That gap between "the limit exists" and "the function behaves well at aa" is exactly what continuity of a function checks.

How Do You Find One-Sided Limits Algebraically?

To find one-sided limits algebraically, keep only the formula or sign pattern that holds on the chosen side, then evaluate its limit as usual. That answers the Quora question "How to find one-sided limits algebraically" in one line, but the details depend on what kind of expression you have.

  • Piece selection. If ff is defined by different formulas on each side, use only the formula for x<ax < a (left) or x>ax > a (right), then substitute or simplify.

  • Sign resolution. If ∣⋅∣\lvert \cdot \rvert, ⋅\sqrt{\cdot} or an even power hides a sign, replace it with the version that is true on that side. For x<0x < 0, ∣x∣=−x\lvert x \rvert = -x, and for x>0x > 0, ∣x∣=x\lvert x \rvert = x.

  • Integer part. For the floor function, decide which integer ⌊x⌋\lfloor x \rfloor equals on a small interval beside aa. That value is constant there, so it is the one-sided limit.

  • Direction of a small denominator. When a denominator tends to 00, its sign on each side decides whether the expression heads to +∞+\infty or −∞-\infty. For example, x−2>0x - 2 > 0 when x>2x > 2, so lim⁡x→2+1x−2=+∞\lim_{x \to 2^{+}} \frac{1}{x - 2} = +\infty.

A table of values is a useful check, not a proof. For f(x)=∣x−2∣x−2f(x) = \frac{\lvert x - 2 \rvert}{x - 2}:

xx (left of 2)

f(x)f(x)

xx (right of 2)

f(x)f(x)

1.91.9

−1-1

2.12.1

11

1.991.99

−1-1

2.012.01

11

The left column settles on −1-1 and the right column on 11. The algebra agrees: for x<2x < 2 the numerator is −(x−2)-(x - 2), so the quotient is −1-1, and for x>2x > 2 it is +1+1.

How Do One-Sided Limits Work For Piecewise, Absolute Value And Greatest Integer Functions?

These three families are where one-sided limits earn their keep, because each one is built from different rules on the two sides of a point. The method is the same in every case: rewrite the function so each side has one plain formula, then take the limit of that formula.

Piecewise Functions

A function defined in pieces switches formula at a break point. The left-hand limit at the break uses the piece that covers values just below it, and the right-hand limit uses the piece just above it, regardless of which piece "owns" the point itself. If you need a refresher on reading the notation, see piecewise functions.

Absolute Value Functions

The absolute value is piecewise in disguise: ∣x−a∣=−(x−a)\lvert x - a \rvert = -(x - a) for x<ax < a and x−ax - a for x≥ax \geq a. The classic case is the sign quotient

lim⁡x→0−∣x∣x=−1lim⁡x→0+∣x∣x=1\lim_{x \to 0^{-}} \frac{\lvert x \rvert}{x} = -1 \qquad \lim_{x \to 0^{+}} \frac{\lvert x \rvert}{x} = 1

so lim⁡x→0∣x∣x\lim_{x \to 0} \frac{\lvert x \rvert}{x} does not exist. Graphically, the V-shape of absolute value functions has slope −1-1 on the left of its corner and +1+1 on the right, and this quotient records those two slopes.

Greatest Integer Function

The greatest integer function ⌊x⌋\lfloor x \rfloor gives the largest integer less than or equal to xx. It is constant between consecutive integers and jumps up by 11 at each integer. For any integer nn:

lim⁡x→n−⌊x⌋=n−1lim⁡x→n+⌊x⌋=n\lim_{x \to n^{-}} \lfloor x \rfloor = n - 1 \qquad \lim_{x \to n^{+}} \lfloor x \rfloor = n

So the two-sided limit fails at every integer. At a non-integer such as 2.52.5, both sides sit on the same step and the limit is simply ⌊2.5⌋=2\lfloor 2.5 \rfloor = 2.

Examples Of One-Sided Limits

Example 1

Let f(x)=2x+1f(x) = 2x + 1 for x<3x < 3 and f(x)=10−xf(x) = 10 - x for x≥3x \geq 3. Find both one-sided limits at x=3x = 3 and decide whether lim⁡x→3f(x)\lim_{x \to 3} f(x) exists.

Left piece:

lim⁡x→3−(2x+1)=2(3)+1=7\lim_{x \to 3^{-}} (2x + 1) = 2(3) + 1 = 7

Right piece:

lim⁡x→3+(10−x)=10−3=7\lim_{x \to 3^{+}} (10 - x) = 10 - 3 = 7

Both one-sided limits equal 7.

Final answer: lim⁡x→3f(x)=7\lim_{x \to 3} f(x) = 7.

Example 2

Find lim⁡x→3⌊x⌋\lim_{x \to 3} \lfloor x \rfloor.

The tempting move is direct substitution, because ⌊3⌋\lfloor 3 \rfloor is easy to compute:

⌊3⌋=3so the limit is 3?\lfloor 3 \rfloor = 3 \quad \text{so the limit is } 3\text{?}

Test it with a value just to the left. At x=2.99x = 2.99, ⌊2.99⌋=2\lfloor 2.99 \rfloor = 2, not 3, and every xx in (2,3)(2, 3) gives the same 2. The substitution only described the right side and the point itself.

Take each side separately instead. On (2,3)(2, 3) the function equals 2, and on (3,4)(3, 4) it equals 3:

lim⁡x→3−⌊x⌋=2\lim_{x \to 3^{-}} \lfloor x \rfloor = 2

lim⁡x→3+⌊x⌋=3\lim_{x \to 3^{+}} \lfloor x \rfloor = 3

Final answer: the limit does not exist, because the left-hand limit 2 differs from the right-hand limit 3.

Example 3

Find lim⁡x→0+x2+3∣x∣x\lim_{x \to 0^{+}} \frac{x^2 + 3\lvert x \rvert}{x} and lim⁡x→0−x2+3∣x∣x\lim_{x \to 0^{-}} \frac{x^2 + 3\lvert x \rvert}{x}.

For x>0x > 0, ∣x∣=x\lvert x \rvert = x:

x2+3xx=x+3\frac{x^2 + 3x}{x} = x + 3

lim⁡x→0+(x+3)=3\lim_{x \to 0^{+}} (x + 3) = 3

For x<0x < 0, ∣x∣=−x\lvert x \rvert = -x:

x2−3xx=x−3\frac{x^2 - 3x}{x} = x - 3

lim⁡x→0−(x−3)=−3\lim_{x \to 0^{-}} (x - 3) = -3

Final answer: the right-hand limit is 3 and the left-hand limit is −3-3, so the two-sided limit does not exist.

Example 4

Find lim⁡x→1+(x−1+x2)\lim_{x \to 1^{+}} \left(\sqrt{x - 1} + x^2\right).

The square root needs x−1≥0x - 1 \geq 0, so the function only lives on x≥1x \geq 1. The right-hand limit is the natural question:

lim⁡x→1+x−1=0\lim_{x \to 1^{+}} \sqrt{x - 1} = 0

lim⁡x→1+x2=1\lim_{x \to 1^{+}} x^2 = 1

lim⁡x→1+(x−1+x2)=0+1=1\lim_{x \to 1^{+}} \left(\sqrt{x - 1} + x^2\right) = 0 + 1 = 1

Final answer: 1. The left-hand limit is not defined, because the function has no values to the left of 1. Textbooks differ on how to report the two-sided limit at such an endpoint: many say it does not exist, while others treat the right-hand limit as the limit when aa is an endpoint of the domain and range of a function. Follow your course's convention.

Example 5

Let f(x)=x2−9x−3f(x) = \frac{x^2 - 9}{x - 3} for x<3x < 3 and f(x)=kxf(x) = kx for x>3x > 3. Find kk so that lim⁡x→3f(x)\lim_{x \to 3} f(x) exists.

The left piece gives 00\frac{0}{0} at x=3x = 3, so factor first:

x2−9x−3=(x−3)(x+3)x−3=x+3\frac{x^2 - 9}{x - 3} = \frac{(x - 3)(x + 3)}{x - 3} = x + 3

lim⁡x→3−(x+3)=6\lim_{x \to 3^{-}} (x + 3) = 6

Right piece:

lim⁡x→3+kx=3k\lim_{x \to 3^{+}} kx = 3k

Set the one-sided limits equal:

3k=63k = 6

k=2k = 2

Final answer: k=2k = 2, and then lim⁡x→3f(x)=6\lim_{x \to 3} f(x) = 6.

Example 6

Find lim⁡x→0+11+e1/x\lim_{x \to 0^{+}} \frac{1}{1 + e^{1/x}} and lim⁡x→0−11+e1/x\lim_{x \to 0^{-}} \frac{1}{1 + e^{1/x}}.

From the right, xx is small and positive, so 1x→+∞\frac{1}{x} \to +\infty and e1/x→+∞e^{1/x} \to +\infty:

lim⁡x→0+11+e1/x=0\lim_{x \to 0^{+}} \frac{1}{1 + e^{1/x}} = 0

From the left, xx is small and negative, so 1x→−∞\frac{1}{x} \to -\infty and e1/x→0e^{1/x} \to 0:

lim⁡x→0−11+e1/x=11+0=1\lim_{x \to 0^{-}} \frac{1}{1 + e^{1/x}} = \frac{1}{1 + 0} = 1

A quick numerical check agrees: at x=0.1x = 0.1 the value is about 0.00004540.0000454, and at x=−0.1x = -0.1 it is about 0.9999550.999955.

Final answer: the right-hand limit is 0 and the left-hand limit is 1, so the two-sided limit does not exist. This function has no visible break in its formula, which is why it catches people who only look for pieces.

Why Do One-Sided Limits Matter? "A Jump Has Two Honest Values"

One-sided limits matter because many real quantities switch abruptly, and a single "nearby value" cannot describe a switch. At a jump, the left and right limits are the two facts that describe it. Every major use of the idea comes back to that.

  • Signals that switch. A circuit switch, a digital bit or a sharp edge in an image changes value at an instant. Engineers describe the state "just before" and "just after" the switch with exactly these two limits, written f(t−)f(t^{-}) and f(t+)f(t^{+}).

  • Fourier series at a jump. In the late 1820s, Peter Gustav Lejeune Dirichlet proved conditions under which a Fourier series represents a function. At a jump, the series converges to the average f(a−)+f(a+)2\frac{f(a^{-}) + f(a^{+})}{2} of the two one-sided limits, not to f(a)f(a). For a square wave jumping from 0 to 1, that midpoint is 12\frac{1}{2}.

  • Slopes at corners. Whether a graph has a tangent line at a corner is decided by comparing the left-hand and right-hand limits of the difference quotient, the route into differentiability of a function. At the corner of ∣x∣\lvert x \rvert, those one-sided slopes are −1-1 and 11.

  • Endpoints of an interval. Continuity on a closed interval [a,b][a, b] only asks for the right-hand limit at aa and the left-hand limit at bb, because the function has no values beyond its ends.

The Dirichlet result is worth a second look. The square wave is a perfectly ordinary signal, yet the formula that builds it from sine waves lands on a value the signal never actually takes. Only the one-sided limits explain why.

Where Do Students Trip Up On One-Sided Limits?

Most lost marks on one-sided limits come from treating the point aa as if it decided everything, or from carrying the right-side formula over to the left. These three errors cover nearly all of it.

Mistake 1: Reading The Minus In The Notation As A Negative Number

Where it slips in:

Any limit written x→a−x \to a^{-}, especially x→3−x \to 3^{-} or x→0−x \to 0^{-}.

Don't do this:

Do not substitute −3-3 for 3−3^{-}, or treat 0−0^{-} as "negative zero" in a calculation.

The correct way:

Read a−a^{-} as "toward aa from below". For 3−3^{-}, test numbers such as 2.92.9 and 2.992.99.

The first instinct on seeing x→3−x \to 3^{-} for the first time is to look for a −3-3 somewhere in the problem. Saying the notation aloud as "from the left" for the first few problems removes that habit quickly.

Mistake 2: Substituting The Point Instead Of Approaching It

Where it slips in:

Floor functions and piecewise functions where one formula owns x=ax = a, as in Example 2.

Don't do this:

Do not compute f(a)f(a) and report it as the left-hand or right-hand limit.

The correct way:

Pick a small interval on the chosen side, find the formula that holds on that whole interval, and take its limit.

The rusher makes this one most often: the point is right there, substitution is fast, and the left side never gets checked. Writing both one-sided limits on separate lines before computing either is the habit that stops it.

Mistake 3: Dropping The Sign When Removing An Absolute Value

Where it slips in:

Left-hand limits of expressions such as ∣x∣x\frac{\lvert x \rvert}{x} or x2+3∣x∣x\frac{x^2 + 3\lvert x \rvert}{x}.

Don't do this:

Do not replace ∣x∣\lvert x \rvert with xx on the left of 0. That gives the right-side answer twice.

The correct way:

On x<0x < 0, write ∣x∣=−x\lvert x \rvert = -x, then simplify. Example 3 shows the two sides giving 33 and −3-3.

The memorizer tends to carry "absolute value makes it positive" into this step and writes ∣x∣=x\lvert x \rvert = x everywhere. I'll admit the notation does not help: −x-x looks negative even though, for x<0x < 0, it is a positive number. Checking with one concrete value, such as x=−0.1x = -0.1, settles it.

Mistake 2 has a real-world twin in imaging. When an MRI reconstruction treats a sharp tissue edge as if one value described both sides, the Gibbs phenomenon produces ringing lines next to the edge, an overshoot of about 9% of the jump that does not shrink as more terms are added. In spinal scans, those lines can mimic a real condition called syringomyelia.

Practice Problems On One-Sided Limits

  1. Let f(x)=x2−1f(x) = x^2 - 1 for x<4x < 4 and f(x)=3x+3f(x) = 3x + 3 for x≥4x \geq 4. Find both one-sided limits at x=4x = 4. Does lim⁡x→4f(x)\lim_{x \to 4} f(x) exist?

  2. Find lim⁡x→−2−∣x+2∣x+2\lim_{x \to -2^{-}} \frac{\lvert x + 2 \rvert}{x + 2} and lim⁡x→−2+∣x+2∣x+2\lim_{x \to -2^{+}} \frac{\lvert x + 2 \rvert}{x + 2}.

  3. Find lim⁡x→2.5−⌊2x⌋\lim_{x \to 2.5^{-}} \lfloor 2x \rfloor and lim⁡x→2.5+⌊2x⌋\lim_{x \to 2.5^{+}} \lfloor 2x \rfloor.

  4. Find lim⁡x→9−(9−x+2)\lim_{x \to 9^{-}} \left(\sqrt{9 - x} + 2\right). Can you take the right-hand limit?

  5. Let f(x)=cx+4f(x) = cx + 4 for x<1x < 1 and f(x)=2x2−cf(x) = 2x^2 - c for x>1x > 1. Find cc so that lim⁡x→1f(x)\lim_{x \to 1} f(x) exists, and give the limit.

Answer to Problem 1: Both sides equal 15 (16−116 - 1 and 12+312 + 3), so the limit exists and equals 15.

Answer to Problem 2: The left-hand limit is −1-1 and the right-hand limit is 11.

Answer to Problem 3: Just left of 2.5, 2x2x is just below 5, so ⌊2x⌋=4\lfloor 2x \rfloor = 4. Just right of 2.5, it is 5. The one-sided limits are 4 and 5.

Answer to Problem 4: The left-hand limit is 2. The right-hand limit cannot be taken, because 9−x\sqrt{9 - x} is not real for x>9x > 9.

Answer to Problem 5: c+4=2−cc + 4 = 2 - c gives c=−1c = -1, and the limit is 3.

Bottom Line

  • One-sided limits follow a function toward aa from one side: x→a−x \to a^{-} uses values below aa, and x→a+x \to a^{+} uses values above it.

  • The two-sided limit exists exactly when the left-hand and right-hand limits both exist and are equal.

  • The value f(a)f(a) never decides a limit, so substituting the point is not a method.

  • Piecewise, absolute value and greatest integer functions need each side rewritten with the formula that holds there.

  • At an integer nn, the floor function has left-hand limit n−1n - 1 and right-hand limit nn.

Your Next Move

Work through practice problems 1 to 5; if Problem 3 trips you up, return to the greatest integer function subsection and redo Example 2.

Want a live Bhanzu trainer to walk through more one-sided limit problems with you? Book a free demo class

Read More

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

How to calculate one-sided limits in calculus?
Pick the side, find the formula that is true on a small interval on that side, and take its limit by substitution or simplification. Tables of values and graphs are good checks, as in the table above.
Where can we use the one-sided limit?
At jumps, corners and the endpoints of a domain. They also define the left and right derivatives and the average value a Fourier series takes at a jump.
How does one understand when to use two-sided limits?
Use a two-sided limit when the function is defined on both sides of the point and you care about its behaviour from every direction, such as for continuity at an interior point or for a derivative. Switch to one-sided limits whenever the formula changes at the point, an absolute value or floor sits inside the expression, or the point is an endpoint of the domain.
Why do some one-sided limits get evaluated to a finite value while others infinity?
It depends on whether the expression settles near a number or keeps growing. If a denominator heads to 0 while the numerator heads to a nonzero number, the quotient grows without bound, and the sign of the denominator on that side decides +∞+\infty or −∞-\infty. Such a point is an infinite discontinuity, and writing ∞\infty there describes the growth rather than giving a real-number limit.
Does the squeeze theorem exist for one-sided limits? If so, what does the theorem state?
Yes. If g(x)≤f(x)≤h(x)g(x) \leq f(x) \leq h(x) for all xx in an interval (a,c)(a, c), and lim⁡x→a+g(x)=lim⁡x→a+h(x)=L\lim_{x \to a^{+}} g(x) = \lim_{x \to a^{+}} h(x) = L, then lim⁡x→a+f(x)=L\lim_{x \to a^{+}} f(x) = L. The left-hand version works the same way on (b,a)(b, a). For example, −x≤xsin⁡(1x)≤x-\sqrt{x} \leq \sqrt{x}\sin\left(\frac{1}{x}\right) \leq \sqrt{x} for x>0x > 0, so that product has right-hand limit 0 at 0 by the squeeze theorem.
How can one compute the one-sided limits of function using mathematics? Give me an example.
Take f(x)=x2+3∣x∣xf(x) = \frac{x^2 + 3\lvert x \rvert}{x} at 0, worked in Example 3: rewrite ∣x∣\lvert x \rvert for each side, simplify to x+3x + 3 or x−3x - 3, and substitute to get 3 from the right and −3-3 from the left.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →