Calculus

Limits & continuity

Approach a point from both sides. Compare a hole, a jump and an asymptote.

f(x) = (x² − 4)/(x − 2), x ≠ 2

00.511.522.533.54-6-4-20246xf(x)
From left: 3.9 · From right: 4.1 · f(2) = undefined

Both sides approach 4, so the limit is 4. The hole remains: f(2) is undefined. The coloured points may overlap visually as h gets small; compare the table.

Approaching from both sides
Distance hx from leftf(x) from leftx from rightf(x) from right
11335
0.11.93.92.14.1

InvestigateCan a limit exist where the function is undefined?

Explore and compare

Choose the investigation above. Predict what will change before you move a control.

Try it in the simulation. Change one thing at a time.

Notes and saved values stay in this tab. They disappear when you reload.

Hints, self-check and connections
Try a self-check

Fixed values, separate from the diagram controls.

A function equals −1 for x < 0 and 1 for x > 0. Does its two-sided limit at 0 exist?

Hint

Compare the left-hand and right-hand limits.

Reveal answer

No. The left-hand limit is −1 and the right-hand limit is 1.

Build an explanation

Hint 1

A limit describes what f(x) approaches as x gets close to a point.

Hint 2

Compare values just to the left and just to the right.

Hint 3

A finite two-sided limit exists only when both sides approach the same finite value.

Worked example

This example uses fixed values, separate from the diagram controls.

Find the limit of (x² − 4)/(x − 2) as x approaches 2.

  1. For x ≠ 2, factor the numerator: (x − 2)(x + 2).
  2. Cancel x − 2 only when x ≠ 2, giving x + 2.
  3. Values from both sides approach 4, although the original expression is undefined at x = 2.

Answer: The limit is 4. The function value at 2 remains undefined.

Connect this idea

Watch out: Substituting 0/0 does not give zero. It tells you direct substitution has not determined the limit.