Limit Calculator

Evaluate limits for polynomial, rational, and trig functions. See the complete solution with step-by-step working and formula explanations.

x

Enter your values above to see the results.

Tips & Notes

  • Try direct substitution first. If f(a) is defined and finite, lim(x→a)f(x)=f(a).
  • If 0/0 or ∞/∞: factor, simplify, rationalize, or use L Hopital rule.
  • lim(x→0) sin(x)/x = 1 exactly. Memorize this — appears in many calculus problems.
  • One-sided limits: if left ≠ right, the overall limit does not exist (DNE).
  • Limits at infinity: highest degree term dominates. lim(x→∞)(3x²+x)/(x²+5) = 3.

Common Mistakes

  • Plugging in the limit value before simplifying when the result is 0/0. lim(x→2)(x²−4)/(x−2): direct substitution gives 0/0 — indeterminate. Factor first: (x+2)(x−2)/(x−2) = x+2 → limit = 4. Always simplify before substituting.
  • Confusing the value of a function at a point with its limit there. lim(x→2)f(x) asks what f(x) approaches as x gets close to 2 — not f(2) itself. A function can have a limit at a point where it is undefined or has a different value.
  • Concluding a limit does not exist when only one-sided limits exist. If lim(x→0⁺)f(x) = 3 and lim(x→0⁻)f(x) = −3, the two-sided limit DNE. But if both one-sided limits equal 3, the two-sided limit exists and equals 3.
  • Misapplying L'Hôpital's rule to forms that are not 0/0 or ∞/∞. L'Hôpital only applies to these two indeterminate forms. For 1/0, the limit is ±∞, not an indeterminate form — L'Hôpital does not apply.
  • Forgetting that lim(x→0) sin(x)/x = 1 requires x in radians. This standard limit holds only when x is measured in radians. In degrees, sin(x°)/x → π/180 ≈ 0.01745, not 1. Always use radians in calculus.

Limit Calculator Overview

A limit describes the value a function approaches as its input gets arbitrarily close to a given point — without necessarily reaching that point. Limits are the foundational concept of calculus: derivatives are defined as limits of difference quotients, integrals are defined as limits of Riemann sums, and continuity is defined in terms of limits. Without limits, modern mathematics as we know it would not exist. The concept resolves paradoxes that puzzled mathematicians for two millennia, including Zeno's paradox of motion and the foundations of infinitesimal calculus.

The formal definition:

lim(x→a) f(x) = L means f(x) gets arbitrarily close to L as x approaches a (but x ≠ a)
Direct substitution — the first method to try. If f(a) is defined and finite, the limit equals the function value:
EX: lim(x→3) (x²+1) = 3²+1 = 10 — substitution works directly when no division by zero or 0/0 occurs
Indeterminate forms — when substitution gives 0/0 or ∞/∞, more work is needed:
EX: lim(x→2) (x²−4)/(x−2) → substitution gives 0/0 → factor: (x+2)(x−2)/(x−2) = x+2 → lim = 2+2 = 4
L'Hôpital's Rule — for 0/0 or ∞/∞, differentiate numerator and denominator separately:
If lim f(x)/g(x) = 0/0 or ∞/∞, then lim f(x)/g(x) = lim f'(x)/g'(x)
EX: lim(x→0) sin(x)/x → 0/0 → apply L'Hôpital: lim cos(x)/1 = cos(0)/1 = 1
Critical limit values to memorize: lim(x→0) sin(x)/x = 1 | lim(x→∞) (1+1/n)ⁿ = e | lim(x→0) (1+x)^(1/x) = e | lim(x→∞) xⁿ/eˣ = 0 One-sided limits: lim(x→a⁺) approaches from the right (x > a). lim(x→a⁻) approaches from the left (x < a). The two-sided limit exists only when both one-sided limits exist and are equal. When they differ, the limit Does Not Exist (DNE). Limits at infinity — determining end behavior of functions:
EX: lim(x→∞) (3x²+x)/(x²+5) → highest degree terms dominate → lim = 3x²/x² = 3
Connection to continuity: f is continuous at x=a if and only if three conditions hold: (1) f(a) is defined, (2) the limit exists, and (3) they are equal. A removable discontinuity has a limit but f(a) is either undefined or defined differently — the limit and function value disagree. Limits are the mathematical foundation that makes calculus logically rigorous. Before limits were formalized by Cauchy and Weierstrass in the 19th century, calculus worked correctly in practice but lacked a precise justification for why dividing by infinitely small quantities was valid. The limit definition resolved this by never actually dividing by zero — it describes what value a function approaches, making the argument about the journey rather than the destination. Indeterminate forms arise when direct substitution produces 0/0, ∞/∞, 0×∞, or similar expressions that do not have a determined value from the form alone.

Frequently Asked Questions

A limit describes the value a function approaches as its input gets arbitrarily close to a given point, without the function necessarily being defined there. Written as lim(x to a) f(x) = L, it means f(x) gets as close to L as desired by making x close enough to a. Limits are the foundation of all calculus: derivatives are defined as limits of difference quotients, definite integrals are limits of sums, and continuity is defined in terms of limits. Without them, there is no rigorous way to handle instantaneous rates of change or infinite accumulation.

A limit fails to exist in four main situations: (1) The left-hand limit and right-hand limit disagree — lim(x to 0+) of 1/x equals positive infinity but lim(x to 0-) equals negative infinity, so the two-sided limit does not exist. (2) The function oscillates without settling — lim(x to 0) of sin(1/x) has no limit because the function oscillates between -1 and 1 infinitely as x approaches 0. (3) The function grows without bound — lim(x to 0) of 1/x squared diverges. (4) There is a jump discontinuity at the point.

The limit asks what value f(x) approaches near a point. The function value is what f actually equals at that point. They can differ. For f(x) = (x squared minus 1)/(x minus 1), the function is undefined at x = 1 because division by zero occurs. But the limit as x approaches 1 equals 2, found by factoring: (x minus 1)(x plus 1)/(x minus 1) simplifies to x plus 1, giving 1 + 1 = 2. A function is continuous at a point exactly when the limit and the function value both exist and are equal.

An indeterminate form like 0/0 or infinity/infinity means direct substitution gives an expression that could equal any value — the result is genuinely ambiguous without more analysis. It does not mean the limit fails to exist. Resolve 0/0 by factoring and cancelling: lim(x to 2) of (x squared minus 4)/(x minus 2) = lim(x+2) = 4. For rational functions at infinity, divide by the highest power: lim(x to infinity) of (3x squared + x)/(x squared + 5) = 3. When factoring fails, L'Hopital's rule is the standard tool.

L'Hopital's rule states that if lim f(x)/g(x) gives 0/0 or infinity/infinity, then this limit equals lim f'(x)/g'(x) — differentiate the numerator and denominator separately, then evaluate. Example: lim(x to 0) sin(x)/x gives 0/0. Differentiate: lim cos(x)/1 = cos(0) = 1. Important restriction: L'Hopital applies only to the 0/0 and infinity/infinity forms. For other indeterminate forms such as 0 times infinity or infinity minus infinity, rearrange into a fraction first.

The derivative is defined entirely through a limit: f'(x) = lim(h to 0) of [f(x+h) minus f(x)] divided by h. This limit of a difference quotient converts the average rate of change over interval h into the instantaneous rate as h shrinks to zero. The definite integral is also a limit: the area under a curve equals the limit of Riemann sums as the rectangle width approaches zero. Every rule of differentiation and integration is ultimately derived from these two limit definitions.