In calculus, a limit is the value a function approaches as the input approaches a point. The defining notation,

limxaf(x)=L,\lim_{x \to a} f(x) = L,

means that as xx moves near aa, the values of f(x)f(x) move near LL. The crucial idea is approach, not arrival: a limit cares about nearby behavior, not the exact value at x=ax = a. The function can equal a different number there, or be undefined there, and the limit can still exist.

When you need limits

You reach for limits when direct substitution is unhelpful — near holes, jumps, or expressions that produce 0/00/0. If

limx2f(x)=5,\lim_{x \to 2} f(x) = 5,

that does not force f(2)=5f(2) = 5; it only says f(x)f(x) gets close to 55 as xx gets close to 22 from both sides. This is exactly why limits matter for piecewise functions, rational expressions, and graphs with holes: they describe what a function does near a troublesome point.

When the function is continuous at the point, direct substitution simply works — that covers polynomials and many familiar functions.

The procedure, step by step

  1. Try direct substitution. Replace xx with aa and see what you get.
  2. Accept an ordinary number. If substitution yields a real number, that is the limit.
  3. Simplify an indeterminate form. If you get 0/00/0, factor or rewrite, then substitute again.
  4. Compare one-sided limits when needed. If the function may behave differently on each side, check both.

One-sided notation looks like

limxaf(x)andlimxa+f(x),\lim_{x \to a^-} f(x) \qquad \text{and} \qquad \lim_{x \to a^+} f(x),

and the full limit exists only when both one-sided limits exist and are equal.

When simpler limits exist, the limit laws let you combine them. If limxaf(x)=L\lim_{x \to a} f(x) = L and limxag(x)=M\lim_{x \to a} g(x) = M, then

limxa(f(x)+g(x))=L+M,limxa(cf(x))=cL,\lim_{x \to a} \left(f(x) + g(x)\right) = L + M, \qquad \lim_{x \to a} \left(c f(x)\right) = cL, limxa(f(x)g(x))=LM,limxaf(x)g(x)=LM  if M0.\lim_{x \to a} \left(f(x)g(x)\right) = LM, \qquad \lim_{x \to a} \frac{f(x)}{g(x)} = \frac{L}{M}\ \text{ if } M \ne 0.

The condition M0M \ne 0 matters: when the denominator limit is 00, the quotient law no longer justifies the step.

Full worked example: a 0/00/0 limit

Evaluate

limx1x21x1\lim_{x \to 1} \frac{x^2 - 1}{x - 1}

Direct substitution gives

12111=00,\frac{1^2 - 1}{1 - 1} = \frac{0}{0},

which is a warning sign, not an answer. Factor the numerator:

x21=(x1)(x+1)x^2 - 1 = (x - 1)(x + 1)

For x1x \ne 1,

x21x1=(x1)(x+1)x1=x+1,\frac{x^2 - 1}{x - 1} = \frac{(x - 1)(x + 1)}{x - 1} = x + 1,

so

limx1(x+1)=2limx1x21x1=2\lim_{x \to 1} (x + 1) = 2 \quad\Rightarrow\quad \lim_{x \to 1} \frac{x^2 - 1}{x - 1} = 2

The function is undefined at x=1x = 1, yet the limit exists because nearby values approach 22. That is the standard pattern for a removable discontinuity.

Where each step traps people, plus a self-check

Step one traps those who treat 0/00/0 as a final value — it is only a flag. Step two traps those who assume the limit must equal f(a)f(a), which holds only under continuity. The quotient law traps people who apply it when the denominator limit is 00. The one-sided step traps anyone who ignores left- and right-hand behavior: if the two sides head to different values, the limit does not exist. And canceling factors is valid only with its condition — in the example, canceling x1x - 1 is legitimate only for x1x \ne 1, which is enough because limits use nearby points.

After any limit, run one self-check: do nearby values really head toward your answer from both sides? That single question catches most mistakes in piecewise functions and rational expressions.

For your own pass, try

limx3x29x3\lim_{x \to 3} \frac{x^2 - 9}{x - 3}

using the same rhythm — substitute, notice the 0/00/0, factor, simplify, substitute again. Limits are the foundation beneath derivatives, continuity, asymptotic behavior, and the justifications behind simplifications where a formula is not directly defined, so the habit pays off well past this one problem.

Frequently Asked Questions

Can a limit exist if the function is undefined at that point?
Yes. A limit depends on the values of the function near the point, not only on the value exactly at that point.
Does $0/0$ mean the limit is zero?
No. The form $0/0$ is indeterminate. It tells you direct substitution did not finish the problem.

Need help with a problem?

Upload your question and get a verified, step-by-step solution in seconds.

Open GPAI Solver →