Limits of functions — type them as in the textbook, get a step-by-step solution and the full written working

Limit of a function

lim

x approaches:
Insert into the formula:
Try:
📚 Theory: how to find limits

Substitution first. If the function is defined and continuous at the point (a polynomial, a fraction with a nonzero denominator, a root, sine, a logarithm within its domain), the limit equals its value: lim (x² + 3x) as x → 2 equals 2² + 3·2 = 10.

The indeterminate form 0/0 for a fraction of polynomials means that the numerator and the denominator are divisible by x − a. Factor them (a common factor, the difference of squares, the roots of a quadratic, the difference of cubes, division by x − a using synthetic division), cancel and substitute again. If there is a root in the expression, multiply the numerator and the denominator by the conjugate: (√a − b)(√a + b) = a − b².

c/0 where c ≠ 0: the limit is infinite, and the sign of the denominator to the left and to the right of the point matters. If the signs differ, the one-sided limits −∞ and +∞ are different: in Russia they write that the limit is ∞ (infinity without a sign), in most countries that the limit does not exist.

At infinity divide the fraction by the highest power of x: as x → ∞ the fractions 1/x, 1/x²… tend to zero. The result depends on the degrees: if the numerator has the lower degree, the limit is 0; if the degrees are equal, it is the ratio of the leading coefficients; if the numerator has the higher degree, it is infinite. A difference of roots (∞ − ∞) is multiplied and divided by the conjugate; a difference of fractions is brought to a common denominator.

Special limits. As x → 0: sin x/x → 1, (1 − cos x)/x² → 1/2, (eˣ − 1)/x → 1, ln(1 + x)/x → 1; as x → ∞: (1 + 1/x)ˣ → e. To use them, multiply and divide: sin 3x/(5x) = (sin 3x/(3x))·(3x/(5x)) → 1·3/5 = 3/5. In Russia and China they replace infinitesimals with equivalent ones instead: sin 3x ~ 3x. The indeterminate form 1^∞ is resolved by lim Bᴱ = e^(lim (B − 1)·E).

L’Hôpital’s rule. If, as x → a, the numerator and the denominator both tend to zero or both tend to infinity, then lim f/g = lim f′/g′ whenever the limit on the right exists. Differentiate the numerator and the denominator separately, not with the quotient rule. The form 0·∞ is first written as a fraction (x ln x = ln x/(1/x)), ∞ − ∞ is brought to a common denominator, and 0⁰ and ∞⁰ are written using e: Bᴱ = e^(E·ln B). The calculator uses L’Hôpital’s rule only when factoring and the special limits do not help, and tries them again after each step.

A one-sided limit is when x approaches the point from one side only. In Russia and Japan they write x → 2 − 0 (from the left) and x → 2 + 0 (from the right), in most countries x → 2⁻ and x → 2⁺. The limit at a point exists if both one-sided limits are equal.

Free input: (x^2-4)/(x-2), sqrt(x+2) or √; the point is a number, a fraction (1/2), pi/2, inf, +∞ or −∞. You can paste the whole thing: lim x->2 (x^2-4)/(x-2).

Frequently asked questions

Is it free to use?

Yes, this calculator is free and needs no sign-up. Everything is calculated right in your browser, not on a server.