One-Sided Limits

One-sided limits let you examine how a function behaves as you approach a point from just the left or right, determining whether a two-sided limit exists.

limxaf(x)=limxa+f(x)    limxaf(x) exists\lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x) \iff \lim_{x \to a} f(x) \text{ exists}

Solve a problem with One-Sided Limits

Type the problem. The solver will use One-Sided Limits where One-Sided Limits is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What One-Sided Limits takes
ff
xx
aa
One-Sided Limits
SymbolMeaning
ffThe function being analyzed; it takes input xx and produces an output value. Misreading ff as a number rather than a rule breaks limit notation.
xxThe input variable approaching aa; the superscript - in aa^- means from the left, and ++ means from the right. Reversing the superscript reverses which limit you compute.
aaThe point toward which xx approaches; a specific real number. Confusing aa with f(a)f(a) is a common error—the limit can exist even if f(a)f(a) is undefined.

When to use it

Use one-sided limits when testing whether a regular limit exists or when a function behaves differently approaching from different directions.

Level

Usually taught in: Calculus I

Worked examples

1. Finding a two-sided limit from equal one-sided limits

Problem

Determine if limx3f(x)\lim_{x \to 3} f(x) exists for the piecewise function where f(x)=2xf(x) = 2x when x<3x < 3 and f(x)=2xf(x) = 2x when x>3x > 3.
  1. limx3f(x)=23=6\lim_{x \to 3^-} f(x) = 2 \cdot 3 = 6

    When approaching 3 from the left where f(x)=2xf(x) = 2x, substitute x=3x = 3 to get 23=62 \cdot 3 = 6.

  2. limx3+f(x)=23=6\lim_{x \to 3^+} f(x) = 2 \cdot 3 = 6

    When approaching from the right where f(x)=2xf(x) = 2x, substitute x=3x = 3 to get 23=62 \cdot 3 = 6.

  3. 6=6 so limx3f(x)=66 = 6 \text{ so } \lim_{x \to 3} f(x) = 6

    Since both one-sided limits equal 6, the two-sided limit exists and equals 6.

Answer: limx3f(x)=6\lim_{x \to 3} f(x) = 6

This problem shows the key principle: when the left and right one-sided limits are equal, the two-sided limit exists. Both pieces of the function approach the same value, so we confidently conclude the limit is 6.

2. Detecting a jump discontinuity with unequal one-sided limits

Problem

Determine if limx2f(x)\lim_{x \to 2} f(x) exists for the piecewise function where f(x)=x+1f(x) = x + 1 when x<2x < 2 and f(x)=2x+1f(x) = 2x + 1 when x>2x > 2.
  1. limx2f(x)=2+1=3\lim_{x \to 2^-} f(x) = 2 + 1 = 3

    Using the left piece f(x)=x+1f(x) = x + 1 for x<2x < 2, substitute x=2x = 2 to get 2+1=32 + 1 = 3.

  2. limx2+f(x)=22+1=5\lim_{x \to 2^+} f(x) = 2 \cdot 2 + 1 = 5

    Using the right piece f(x)=2x+1f(x) = 2x + 1 for x>2x > 2, substitute x=2x = 2 to get 22+1=52 \cdot 2 + 1 = 5.

  3. 35 so limx2f(x) does not exist3 \neq 5 \text{ so } \lim_{x \to 2} f(x) \text{ does not exist}

    Because the one-sided limits are unequal, the two-sided limit does not exist at x=2x = 2.

Answer: limx2f(x) does not exist\lim_{x \to 2} f(x) \text{ does not exist}

This example demonstrates that when a function approaches different values from the left and right, a jump discontinuity occurs and the two-sided limit fails to exist. One-sided limits are essential for detecting such behavior in piecewise functions.

3. Analyzing a real-world discontinuity in a phone plan cost model

Problem

A phone plan charges $20 monthly plus $5 per gigabyte. If data usage exceeds 5 gigabytes, a $10 overage fee is added. Find if limd5C(d)\lim_{d \to 5} C(d) exists, where C(d)C(d) is the total monthly cost for dd gigabytes used.
  1. limd5C(d)=20+55=45\lim_{d \to 5^-} C(d) = 20 + 5 \cdot 5 = 45

    For data usage just below 5 GB, the cost is 20+55=4520 + 5 \cdot 5 = 45 dollars.

  2. limd5+C(d)=30+55=55\lim_{d \to 5^+} C(d) = 30 + 5 \cdot 5 = 55

    For data usage just above 5 GB, the overage fee applies, so the cost is 30+55=5530 + 5 \cdot 5 = 55 dollars.

  3. 4555 so limd5C(d) does not exist45 \neq 55 \text{ so } \lim_{d \to 5} C(d) \text{ does not exist}

    Since the one-sided limits differ by $10, the cost has a jump discontinuity at 5 GB and the limit does not exist.

Answer: limd5C(d) does not exist\lim_{d \to 5} C(d) \text{ does not exist}

This real-world example shows how one-sided limits reveal discontinuities in practical functions. The cost function jumps when data crosses 5 GB due to the overage rule. Even though both one-sided limits are finite, they are unequal, so the two-sided limit is undefined.

Common mistakes

Where One-Sided Limits usually goes wrong
Answer came out wrong
If f(a)f(a) is defined, then limxaf(x)\lim_{x \to a} f(x) exists.
Check that limxaf(x)=limxa+f(x)\lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x). If they are equal, the two-sided limit exists regardless of the value of f(a)f(a).
If the left and right one-sided limits are not equal, the function must have a jump discontinuity at aa.
Unequal one-sided limits mean the two-sided limit does not exist; determine the type of discontinuity separately by examining whether the one-sided limits are finite or infinite.
You only need to check one one-sided limit to determine if the two-sided limit exists.
Always compute both limxaf(x)\lim_{x \to a^-} f(x) and limxa+f(x)\lim_{x \to a^+} f(x) and verify that they are equal before concluding the two-sided limit exists.
The mistakeWhy it is wrongThe fix
If f(a)f(a) is defined, then limxaf(x)\lim_{x \to a} f(x) exists.The existence of a two-sided limit depends only on whether the one-sided limits are equal, not on whether f(a)f(a) is defined.Check that limxaf(x)=limxa+f(x)\lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x). If they are equal, the two-sided limit exists regardless of the value of f(a)f(a).
If the left and right one-sided limits are not equal, the function must have a jump discontinuity at aa.Unequal one-sided limits can occur at various types of discontinuities, not just jump discontinuities (for example, at infinite discontinuities or corners with vertical behavior).Unequal one-sided limits mean the two-sided limit does not exist; determine the type of discontinuity separately by examining whether the one-sided limits are finite or infinite.
You only need to check one one-sided limit to determine if the two-sided limit exists.By definition, the two-sided limit exists only when both one-sided limits exist and are equal. Checking just one side is not sufficient.Always compute both limxaf(x)\lim_{x \to a^-} f(x) and limxa+f(x)\lim_{x \to a^+} f(x) and verify that they are equal before concluding the two-sided limit exists.

Tips and when to use something else

  • To find one-sided limits from a graph, look only at the curve approaching from one direction—imagine covering the other side with your hand.
  • If both one-sided limits are finite and equal, they equal the two-sided limit, even if the function is undefined or discontinuous at that point (see Removable Discontinuity for this case).
  • One-sided limits are powerful for detecting jump discontinuities and studying functions with corner points; for smooth functions, direct substitution usually works (see Limit Laws for a faster approach).
  • When a piecewise function changes rules at a point, always use the appropriate piece for each one-sided approach: apply the left piece for xax \to a^- and the right piece for xa+x \to a^+.

Frequently asked questions

Can a function have a two-sided limit if the one-sided limits are different?
No. By definition, limxaf(x)\lim_{x \to a} f(x) exists if and only if limxaf(x)=limxa+f(x)\lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x). If the one-sided limits are unequal, there is no two-sided limit.
What does the - in xax \to a^- mean?
It means xx approaches aa from the left—using only values of xx that are less than aa. Similarly, xa+x \to a^+ means approaching from the right, using values greater than aa. The superscripts indicate the direction of approach.
Can the limit exist if the function is undefined at the point?
Yes. If both one-sided limits exist and are equal, the two-sided limit exists even if f(a)f(a) is undefined or does not equal the limit value. This situation is called a removable discontinuity.
How do I compute a one-sided limit for a piecewise function?
Identify which piece of the function applies as you approach from that direction: for xax \to a^-, use the formula defined for x<ax < a; for xa+x \to a^+, use the formula for x>ax > a. Then substitute to evaluate the limit.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18