calculus

Limits and Continuity Without the Headache

A clear introduction to limits, indeterminate forms, and continuity. Six worked examples — direct substitution, factoring, conjugate, infinity, sin(x)/x, and L'Hôpital — with the standard rules.

本文中文版本即将上线。下方暂以英文原文展示。

AI-Math Editorial Team

作者: AI-Math Editorial Team

发布于 2026-05-02

Limits are the gateway to calculus, and unfortunately also the place where most students give up. The truth is, most limits are easy — direct substitution works. The remaining minority follow a small handful of techniques. This guide walks you through them in increasing difficulty so you can recognise on sight which method to apply.

What a limit really means

The notation limxaf(x)=L\lim_{x \to a} f(x) = L says: as xx gets arbitrarily close to aa (from either side), f(x)f(x) gets arbitrarily close to LL. The function does not need to be defined at aa — and even if it is, f(a)f(a) doesn't have to equal LL.

This last point is what makes limits useful. They let us discuss "approaching" behaviour where the function might be undefined or jump.

Method 1: Direct substitution (works ~70% of the time)

If ff is continuous at aa, limxaf(x)=f(a)\lim_{x \to a} f(x) = f(a). Plug in. Done.

Example: limx3(x2+2x1)=9+61=14\lim_{x \to 3}(x^2 + 2x - 1) = 9 + 6 - 1 = 14.

Polynomials, rational functions (where the denominator is nonzero), exp, sin, cos, ln (in domain) — all continuous, all yield to substitution.

Method 2: Factor and cancel (for 0/0 indeterminate form)

If direct substitution gives 00\frac{0}{0}, try factoring numerator and denominator.

Example: limx2x24x2\lim_{x \to 2} \frac{x^2 - 4}{x - 2}.

  • Direct: 00\frac{0}{0}
  • Factor: (x2)(x+2)x2\frac{(x-2)(x+2)}{x-2}.
  • Cancel: limx2(x+2)=4\lim_{x \to 2} (x + 2) = 4.

The cancelled factor caused the original 0/00/0; once it's gone, substitute.

Method 3: Rationalise (when factoring fails on radicals)

For limits with square roots that give 0/00/0, multiply by the conjugate.

Example: limx0x+11x\lim_{x \to 0} \frac{\sqrt{x + 1} - 1}{x}.

  • Multiply by x+1+1x+1+1\frac{\sqrt{x+1}+1}{\sqrt{x+1}+1}: numerator becomes (x+1)1=x(x+1) - 1 = x.
  • Cancel xx: limx01x+1+1=12\lim_{x \to 0} \frac{1}{\sqrt{x+1}+1} = \frac{1}{2}.

Method 4: Limits at infinity

For rational functions as xx \to \infty, divide every term by the highest power of xx in the denominator.

Example: limx3x2+2x12x25\lim_{x \to \infty} \frac{3x^2 + 2x - 1}{2x^2 - 5}.

  • Divide top and bottom by x2x^2: 3+2/x1/x225/x2\frac{3 + 2/x - 1/x^2}{2 - 5/x^2}.
  • As xx \to \infty, the 1/x1/x and 1/x21/x^2 terms go to 00.
  • Limit: 32\frac{3}{2}.

Rule of thumb: for p(x)q(x)\frac{p(x)}{q(x)} as xx \to \infty:

  • If degp<degq\deg p < \deg q → limit is 00.
  • If degp=degq\deg p = \deg q → limit is ratio of leading coefficients.
  • If degp>degq\deg p > \deg q → limit is ±\pm\infty.

Method 5: The fundamental trig limit

limx0sinxx=1\lim_{x \to 0} \frac{\sin x}{x} = 1

This is the trig version of 00\frac{0}{0}. Combined with limx01cosxx=0\lim_{x \to 0} \frac{1 - \cos x}{x} = 0, it solves most introductory trig limits.

Example: limx0sin(3x)x=limx03sin(3x)3x=31=3\lim_{x \to 0} \frac{\sin(3x)}{x} = \lim_{x \to 0} 3 \cdot \frac{\sin(3x)}{3x} = 3 \cdot 1 = 3.

Method 6: L'Hôpital's rule

When 0/0 or ∞/∞ won't yield to algebra, L'Hôpital's rule lets you differentiate top and bottom independently:

limxaf(x)g(x)=limxaf(x)g(x)(indeterminate forms only)\lim_{x \to a} \frac{f(x)}{g(x)} = \lim_{x \to a} \frac{f'(x)}{g'(x)} \quad (\text{indeterminate forms only})

Example: limx0sinxx=limx0cosx1=1\lim_{x \to 0} \frac{\sin x}{x} = \lim_{x \to 0} \frac{\cos x}{1} = 1. ✓ (Same answer, faster derivation.)

What is continuity?

A function ff is continuous at aa if three conditions hold:

  1. f(a)f(a) is defined.
  2. limxaf(x)\lim_{x \to a} f(x) exists.
  3. The two are equal: limxaf(x)=f(a)\lim_{x \to a} f(x) = f(a).

Common discontinuities:

  • Removable (a hole): can be "fixed" by redefining f(a)f(a).
  • Jump: left and right limits differ.
  • Infinite: vertical asymptote.

Continuity is the prerequisite for calculus's most powerful theorems: Intermediate Value Theorem, Extreme Value Theorem, and the very definition of differentiability.

Common mistakes

  1. Assuming limit equals function value. Limits and values are different concepts; limx0sinxx=1\lim_{x \to 0}\frac{\sin x}{x} = 1 even though the function is undefined at x=0x = 0.
  2. Applying L'Hôpital to non-indeterminate forms. limx0sinx+1x+1\lim_{x \to 0}\frac{\sin x + 1}{x + 1} is not 00\frac{0}{0} — direct substitution gives 11, period.
  3. Splitting limits incorrectly. lim(f+g)=limf+limg\lim (f + g) = \lim f + \lim g only if both individual limits exist.
  4. Forgetting one-sided limits. limx0+1x=+\lim_{x \to 0^+} \frac{1}{x} = +\infty but limx01x=\lim_{x \to 0^-} \frac{1}{x} = -\infty — the two-sided limit doesn't exist.

Try it yourself

Drop any limit into the free Limit Calculator — the AI picks the right method (substitution, factoring, conjugate, L'Hôpital) and shows every step.

Related material:

AI-Math Editorial Team

作者: AI-Math Editorial Team

发布于 2026-05-02

A small team of engineers, mathematicians, and educators behind AI-Math, focused on making step-by-step math help accessible to every student.