Math Core

Lesson 11.1 · Introduction to Limits

Limits intuitively

Calculus is built on one question: what value does a function head toward as its input gets closer and closer to some number? That question is called a limit. It lets you talk sensibly about a function near a point where plugging in fails, and it is the key that unlocks slopes of curves, instantaneous speed and much more.

Getting close without arriving

Look at the function

f(x)=x2−4x−2.f(x) = \frac{x^2 - 4}{x - 2}.

You can't evaluate f(2)f(2): it gives 00\dfrac{0}{0}, which is undefined. But nothing stops you from plugging in numbers near 22. Here is a table of values from both sides.

xx1.91.91.991.991.9991.999222.0012.0012.012.012.12.1
f(x)f(x)3.93.93.993.993.9993.999undefined4.0014.0014.014.014.14.1

As xx closes in on 22 from the left and from the right, f(x)f(x) closes in on 44. That's a limit, and you write

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

The graph tells the same story. For every x≠2x \ne 2, the fraction simplifies to x+2x + 2, so the graph is the line y=x+2y = x + 2 with a single point punched out: a hole at (2,4)(2, 4).

y = (x² − 4)/(x − 2) is a line with a hole at (2, 4). The limit as x → 2 is 4.Open in grapher →

Definition

Limit

We write lim⁡x→af(x)=L\displaystyle \lim_{x \to a} f(x) = L and say "the limit of f(x)f(x) as xx approaches aa is LL" if f(x)f(x) can be made as close to LL as you like by taking xx close enough to aa, on both sides, but not equal to aa.

The phrase "not equal to aa" matters. A limit describes the function's behavior near aa. What happens at aa (whether f(a)f(a) exists, or what its value is) has no effect on the limit.

Limits from graphs

Graphs make the difference between a limit and a function value easy to see. Consider the function gg below. It follows the line y=x+1y = x + 1, except that the point at x=1x = 1 has been moved up to (1,4)(1, 4).

g(x) = x + 1 for x ≠ 1, and g(1) = 4.Open in grapher →

Trace the graph toward x=1x = 1 from either side: the heights approach 22. So lim⁡x→1g(x)=2\displaystyle \lim_{x \to 1} g(x) = 2, even though g(1)=4g(1) = 4. The solid dot is a distraction. The limit only cares about the path leading to x=1x = 1.

Common mistake

Don't read the limit off the solid dot. lim⁡x→af(x)\displaystyle \lim_{x \to a} f(x) and f(a)f(a) are different questions. They can be equal, different, or one can exist without the other.

One-sided limits

Sometimes a function approaches one height from the left and a different height from the right. To describe each side separately, use one-sided limits:

  • lim⁡x→a−f(x)\displaystyle \lim_{x \to a^-} f(x): the limit as xx approaches aa from the left (through values less than aa).
  • lim⁡x→a+f(x)\displaystyle \lim_{x \to a^+} f(x): the limit as xx approaches aa from the right (through values greater than aa).

Here is a piecewise function:

h(x)={x+1,x<2x2−3,x≥2h(x) = \begin{cases} x + 1, & x < 2 \\ x^2 - 3, & x \ge 2 \end{cases}
Left of 2 the graph heads to height 3; right of 2 it starts at height 1.Open in grapher →

From the left, h(x)=x+1h(x) = x + 1 approaches 2+1=32 + 1 = 3. From the right, h(x)=x2−3h(x) = x^2 - 3 approaches 4−3=14 - 3 = 1. So

lim⁡x→2−h(x)=3andlim⁡x→2+h(x)=1.\lim_{x \to 2^-} h(x) = 3 \quad \text{and} \quad \lim_{x \to 2^+} h(x) = 1.

The two sides disagree, so there is no single number that h(x)h(x) approaches. The two-sided limit does not exist.

When a two-sided limit exists

lim⁡x→af(x)=L\displaystyle \lim_{x \to a} f(x) = L exactly when both one-sided limits exist and equal LL:

lim⁡x→a−f(x)=lim⁡x→a+f(x)=L.\lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x) = L.

Three ways a limit can fail to exist

  1. Jump. The left and right limits are different numbers, as with hh above.
  2. Unbounded behavior. The values grow without bound. Near x=0x = 0, 1x2\dfrac{1}{x^2} takes values like 100100, 10,00010{,}000 and 1,000,0001{,}000{,}000. Since it approaches no real number, the limit does not exist. (You may see this written lim⁡x→01x2=∞\displaystyle \lim_{x \to 0} \frac{1}{x^2} = \infty, which describes how it fails: the values rise without bound.)
  3. Oscillation. The values keep bouncing between different heights no matter how close you get. The classic example is sin⁡(1x)\sin\left(\dfrac{1}{x}\right) near 00: it swings between −1-1 and 11 infinitely often.

Worked example: Estimating a limit with a table

Estimate lim⁡x→0sin⁡xx\displaystyle \lim_{x \to 0} \frac{\sin x}{x}, with xx in radians.

Solution. You can't plug in x=0x = 0, so build a table from both sides (values rounded).

xx−0.1-0.1−0.01-0.01−0.001-0.0010.0010.0010.010.010.10.1
sin⁡xx\dfrac{\sin x}{x}0.998330.998330.999980.999980.99999980.99999980.99999980.99999980.999980.999980.998330.99833

The outputs creep toward 11 from both sides, so lim⁡x→0sin⁡xx=1\displaystyle \lim_{x \to 0} \frac{\sin x}{x} = 1. This limit turns out to be one of the most important in calculus.

Worked example: Limits and values from a graph

Use the graph of gg in the section "Limits from graphs" to find lim⁡x→3g(x)\displaystyle \lim_{x \to 3} g(x), g(3)g(3), lim⁡x→1g(x)\displaystyle \lim_{x \to 1} g(x) and g(1)g(1).

Solution. At x=3x = 3 nothing unusual happens: the line reaches height 44 and the point is filled in, so lim⁡x→3g(x)=4\displaystyle \lim_{x \to 3} g(x) = 4 and g(3)=4g(3) = 4. At x=1x = 1 the line heads to height 22, so the limit is 22, while the solid dot says g(1)=4g(1) = 4.

Worked example: One-sided limits of a piecewise function

Let p(x)={3−x,x<12x,x≥1.p(x) = \begin{cases} 3 - x, & x < 1 \\ 2x, & x \ge 1. \end{cases} Find lim⁡x→1−p(x)\displaystyle \lim_{x \to 1^-} p(x), lim⁡x→1+p(x)\displaystyle \lim_{x \to 1^+} p(x) and lim⁡x→1p(x)\displaystyle \lim_{x \to 1} p(x).

Solution. From the left, use 3−x3 - x: it approaches 3−1=23 - 1 = 2. From the right, use 2x2x: it approaches 2(1)=22(1) = 2. Both sides agree, so lim⁡x→1p(x)=2\displaystyle \lim_{x \to 1} p(x) = 2. The formula changes at x=1x = 1, but the two pieces meet, so the limit exists.

Tip

When you build a table, use inputs from both sides and let them get closer to aa by factors of 1010. If the two rows settle on the same number, that number is a strong estimate of the limit.

Practice

Practice 1

The table shows values of a function ff near x=3x = 3.

xx2.92.92.992.992.9992.9993.0013.0013.013.013.13.1
f(x)f(x)6.86.86.986.986.9986.9987.0027.0027.027.027.27.2

Estimate lim⁡x→3f(x)\displaystyle \lim_{x \to 3} f(x).

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 2

Make a table of values to estimate lim⁡x→−1x2−1x+1\displaystyle \lim_{x \to -1} \frac{x^2 - 1}{x + 1}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 3

A function ff is graphed below. Find lim⁡x→2f(x)\displaystyle \lim_{x \to 2} f(x).

The graph of f.Open in grapher →

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 4

For the same function ff in the previous problem, what is f(2)f(2)?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 5

Let f(x)={2x−1,x<3x+2,x≥3.f(x) = \begin{cases} 2x - 1, & x < 3 \\ x + 2, & x \ge 3. \end{cases} Find lim⁡x→3f(x)\displaystyle \lim_{x \to 3} f(x).

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 6

What is lim⁡x→0∣x∣x\displaystyle \lim_{x \to 0} \frac{|x|}{x}?

Practice 7

Let q(x)={x2,x<14−x,x≥1.q(x) = \begin{cases} x^2, & x < 1 \\ 4 - x, & x \ge 1. \end{cases} Which statement is true?

Practice 8

Use a calculator and a table of values to estimate lim⁡x→02x−1x\displaystyle \lim_{x \to 0} \frac{2^x - 1}{x}. Round to the nearest hundredth.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.