Limit Calculator
Evaluate one-sided and two-sided limits with live numerical analysis.
Number
Counts
About this topic
Limit Definition The value a function approaches as input approaches a point.
A limit describes what value f(x) approaches as x gets arbitrarily close to a point a — even if f(a) itself is undefined.
Key formulas & rules
- •lim(x→a) f(x) = L means f(x) → L as x → a
- •Left limit: lim(x→a⁻) — approach from below
- •Right limit: lim(x→a⁺) — approach from above
- •Limit exists ⇔ left limit = right limit
- •Function need not be defined at a
- •Infinity is a valid limit value
Examples
| Input | Output | Note |
|---|---|---|
| lim(x→2) (x²−4)/(x−2) | 4 | Removable hole |
| lim(x→0) 1/x | DNE | Left ≠ Right |
| lim(x→∞) 1/x | 0 | Approaches 0 |
| lim(x→3) x² | 9 | Continuous |
Real-world uses
One-Sided Limits Approach the point from only one direction.
One-sided limits are essential when the function behaves differently on each side of the point, or is only defined on one side.
Key formulas & rules
- •Left: x approaches a from below (x < a)
- •Right: x approaches a from above (x > a)
- •Notation: lim(x→a⁻) and lim(x→a⁺)
- •Both equal → two-sided limit exists
- •Jump discontinuity: left ≠ right
- •√x has only a right limit at x = 0
Examples
| Input | Output | Note |
|---|---|---|
| lim(x→0⁻) 1/x | −∞ | From below |
| lim(x→0⁺) 1/x | +∞ | From above |
| lim(x→0⁺) √x | 0 | One-sided only |
| lim(x→0) |x|/x | DNE | Jump |
Real-world uses
L'Hôpital's Rule Differentiate top and bottom for 0/0 or ∞/∞ forms.
When a limit is an indeterminate form (0/0 or ∞/∞), differentiate the numerator and denominator separately and take the limit again.
Key formulas & rules
- •Applies to 0/0 and ∞/∞ forms
- •lim f/g = lim f'/g'
- •Can be applied repeatedly
- •Not valid for other indeterminate forms directly
- •Other forms (0·∞, ∞−∞, 1^∞) need rewriting
- •Example: lim sin(x)/x → lim cos(x)/1 = 1
Examples
| Input | Output | Note |
|---|---|---|
| lim(x→0) sin(x)/x | 1 | Apply L'Hôpital |
| lim(x→∞) (eˣ)/(x²) | ∞ | Exponential wins |
| lim(x→0) (1−cos x)/x² | ½ | Apply twice |
| lim(x→∞) ln(x)/x | 0 | Log loses to polynomial |
Real-world uses
Squeeze Theorem Bound a tricky function between two known ones.
If g(x) ≤ f(x) ≤ h(x) near a, and lim g = lim h = L, then lim f = L too. Powerful for oscillating functions.
Key formulas & rules
- •Need g(x) ≤ f(x) ≤ h(x) near a
- •lim g(x) = lim h(x) = L
- •Then lim f(x) = L
- •Common with sin(1/x), x·sin(1/x)
- •Works for one-sided and infinite limits
- •Also called Sandwich Theorem
Examples
| Input | Output | Note |
|---|---|---|
| lim(x→0) x·sin(1/x) | 0 | Squeeze with ±x |
| lim(x→0) x²·cos(1/x) | 0 | Squeeze with ±x² |
| lim(x→∞) sin(x)/x | 0 | Squeeze with ±1/x |
| lim(x→0) x·cos(1/x²) | 0 | Oscillating |
Real-world uses
Modes & formulas
Numeric Limit Evaluation
If both the left limit and right limit converge to the same value L, the two-sided limit exists and equals L. If they differ, the limit does not exist (DNE).
Left / Right / Both
If L₁ = L₂, the two-sided limit equals that value. If L₁ ≠ L₂, the limit does not exist. This is common in piecewise functions.