Skip to content
Mathematics

Limits

A limit asks where a function is heading as its input gets close to a point. Start by watching nearby values, not by substituting the point.

What does approaching mean?

Pick a target on the horizontal axis. Move toward it from the left and right, and watch the function’s height. For a limit to exist from both sides, those heights must head toward the same value.

lim⁡x→af(x)=L⟺lim⁡x→a−f(x)=lim⁡x→a+f(x)=L\lim_{x\to a}f(x)=L\quad\Longleftrightarrow\quad\lim_{x\to a^-}f(x)=\lim_{x\to a^+}f(x)=L

The function can have a hole or a different value at the target. A limit describes nearby inputs, so that single point does not decide the answer.

Approach a point

Choose a function, then bring the sample point closer from either side.

Blue shows the function; amber marks the approaching sample. Open circles mark a missing endpoint. The horizontal axis is x∈[−1,3]x\in[-1,3].
f(x)=x2,a=2f(x)=x^2,\quad a=2
h=0.316h=0.316
x=1.684,f(x)=2.835x=1.684,\quad f(x)=2.835
f(2)=4f(2)=4
lim⁡x→2f(x)=4\lim_{x\to 2}f(x)=4

Look from both sides

Nearby function values from the left and right
hhf(a−h)f(a-h)f(a+h)f(a+h)
111199
0.10.13.613.614.414.41
0.010.013.963.964.044.04
0.0010.0013.9963.9964.0044.004

Both sides approach the same height, and the point on the curve has that height too.

Try a limit by hand

Consider the fraction below. Substitution at the target gives an undefined fraction, but factoring shows what happens nearby.

x2−1x−1=(x−1)(x+1)x−1=x+1(x≠1)\frac{x^2-1}{x-1}=\frac{(x-1)(x+1)}{x-1}=x+1\quad(x\ne1)

The simplified expression has a height approaching 22 from either side. The original fraction is still undefined at the target, yet its limit exists:

lim⁡x→1x2−1x−1=2\lim_{x\to1}\frac{x^2-1}{x-1}=2

Check your understanding

Choose an answer to see why it works. You can change your choice.

  1. Question 1

    What value does the curve approach?

    lim⁡x→3x2\lim_{x\to 3}x^2
  2. Question 2

    The expression is undefined at the target. What is its limit?

    lim⁡x→2x2−4x−2\lim_{x\to 2}\frac{x^2-4}{x-2}
  3. Question 3

    The left side approaches one height and the right side another. What is the two-sided limit?

    lim⁡x→1f(x),f(x)={2x<13x≥1\lim_{x\to1}f(x),\quad f(x)=\begin{cases}2&x<1\\3&x\ge1\end{cases}