Skip to content
Family Table Math
Auto

Introduction to Limits

How fast is a falling stone moving at exactly t=2t = 2 seconds? Speed is distance divided by time, but “at an instant” no time passes, so the formula gives 00\tfrac{0}{0}. Calculus gets around this with limits: instead of asking what happens at a point, you ask what happens as you get closer and closer to it. Every big idea in calculus (derivatives, integrals, continuity) is built on limits.

A stone dropped from a bridge falls d(t)=4.9t2d(t) = 4.9t^2 metres in tt seconds. Its average speed from t=2t = 2 to t=2+ht = 2 + h is

d(2+h)−d(2)h\frac{d(2 + h) - d(2)}{h}

You can’t put h=0h = 0 (that divides by zero), but you can make hh tiny:

hh (s)0.10.10.010.010.0010.001
average speed (m/s)20.0920.0919.64919.64919.604919.6049

The averages close in on 19.619.6 m/s. That number, the value the averages approach, is the stone’s speed at the instant t=2t = 2. It’s a limit.

lim⁡x→af(x)=L\lim_{x \to a} f(x) = L

is read “the limit of f(x)f(x) as xx approaches aa is LL.” It means you can make f(x)f(x) as close to LL as you like by taking xx close enough to aa, from both sides, but not equal to aa.

The key word is approaches. A limit describes what ff does near aa, not at aa. The value f(a)f(a) might equal LL, might be something else, or might not exist at all. None of that changes the limit.

Sometimes a function does different things on each side of aa, so we look at one side at a time.

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

The two-sided limit exists only when both one-sided limits exist and are equal:

lim⁡x→af(x)=Lexactly whenlim⁡x→a−f(x)=L  and  lim⁡x→a+f(x)=L\lim_{x \to a} f(x) = L \quad\text{exactly when}\quad \lim_{x \to a^-} f(x) = L \ \text{ and } \ \lim_{x \to a^+} f(x) = L
Graph of f with a hole at (1, 2) and a filled dot at (1, 4), and a jump at x = 3 from an open dot at (3, 3) to a filled dot at (3, 1) f(1) = 4 hole at (1, 2) (3, 3) (3, 1) y = f(x) −1 1 2 3 4 5 6 −1 1 2 3 4
An open dot means “not included”; a filled dot shows the actual value of ff.

A two-sided limit fails to exist (DNE) in three typical ways:

  1. Jump: the left and right limits are different numbers (like x=3x = 3 in the graph).
  2. Unbounded: f(x)f(x) grows without bound near aa, as near a vertical asymptote. We write lim⁡x→af(x)=∞\displaystyle\lim_{x \to a} f(x) = \infty to describe how the limit fails, but ∞\infty is not a number, so the limit still does not exist. (See infinite limits.)
  3. Oscillation: f(x)f(x) keeps bouncing between values and never settles down, like sin⁡(1x)\sin\left(\dfrac{1}{x}\right) near 00.

Use the graph above to find lim⁡x→1f(x)\displaystyle\lim_{x \to 1} f(x) and f(1)f(1).

Solution. Trace the curve toward x=1x = 1 from the left and from the right. From both sides, the yy-values head toward the hole at height 22:

lim⁡x→1−f(x)=2,lim⁡x→1+f(x)=2⇒lim⁡x→1f(x)=2\lim_{x \to 1^-} f(x) = 2, \qquad \lim_{x \to 1^+} f(x) = 2 \quad\Rightarrow\quad \lim_{x \to 1} f(x) = 2

The filled dot shows the actual value: f(1)=4f(1) = 4. The limit and the function value are different, and that’s allowed.

Use the same graph to find the one-sided limits at x=3x = 3, the two-sided limit, and f(3)f(3).

Solution. Coming from the left, the curve rises toward the open dot at height 33. Coming from the right, the line comes down toward the filled dot at height 11:

lim⁡x→3−f(x)=3,lim⁡x→3+f(x)=1\lim_{x \to 3^-} f(x) = 3, \qquad \lim_{x \to 3^+} f(x) = 1

The one-sided limits are different, so lim⁡x→3f(x)\displaystyle\lim_{x \to 3} f(x) does not exist. The filled dot gives f(3)=1f(3) = 1.

Let

g(x)={x2+1,x<21,x=27−x,x>2g(x) = \begin{cases} x^2 + 1, & x \lt 2 \\ 1, & x = 2 \\ 7 - x, & x \gt 2 \end{cases}

Find lim⁡x→2g(x)\displaystyle\lim_{x \to 2} g(x).

Solution. For the left-hand limit, use the piece for x<2x \lt 2. For the right-hand limit, use the piece for x>2x \gt 2:

lim⁡x→2−(x2+1)=4+1=5,lim⁡x→2+(7−x)=7−2=5\lim_{x \to 2^-} (x^2 + 1) = 4 + 1 = 5, \qquad \lim_{x \to 2^+} (7 - x) = 7 - 2 = 5

Both sides agree, so lim⁡x→2g(x)=5\displaystyle\lim_{x \to 2} g(x) = 5. The value g(2)=1g(2) = 1 plays no part in the limit.

Find lim⁡x→0∣x∣x\displaystyle\lim_{x \to 0} \frac{|x|}{x}.

Solution. The expression isn’t defined at 00, so look at each side.

For x>0x \gt 0, ∣x∣=x|x| = x, so ∣x∣x=1\dfrac{|x|}{x} = 1. For x<0x \lt 0, ∣x∣=−x|x| = -x, so ∣x∣x=−1\dfrac{|x|}{x} = -1.

lim⁡x→0−∣x∣x=−1,lim⁡x→0+∣x∣x=1\lim_{x \to 0^-} \frac{|x|}{x} = -1, \qquad \lim_{x \to 0^+} \frac{|x|}{x} = 1

The one-sided limits differ, so the limit does not exist.

Using f(a) as the limit. The limit is about values near aa. In Example 1, the limit is 22 even though f(1)=4f(1) = 4. Always trace the graph toward the point instead of reading the dot at the point.

Saying the limit doesn’t exist just because f(a) is undefined. A hole in the graph doesn’t stop a limit from existing. If both sides approach the same height, that height is the limit.

Checking only one side. For a piecewise function or an absolute value, you must find both one-sided limits. If they disagree, the two-sided limit does not exist.

Using the wrong piece for a one-sided limit. For x→2−x \to 2^-, use the piece whose condition includes values just less than 22. The piece written for x=2x = 2 itself is never used for a limit.

Treating infinity as a number. Writing lim⁡x→af(x)=∞\displaystyle\lim_{x \to a} f(x) = \infty is a useful description, but the limit does not exist. On a test, if a question asks “does the limit exist?”, the answer is no.

1. (Warm-up) Use the graph of ff above to find lim⁡x→1−f(x)\displaystyle\lim_{x \to 1^-} f(x) and lim⁡x→1+f(x)\displaystyle\lim_{x \to 1^+} f(x).

Solution

From both sides, the curve heads toward the hole at (1,2)(1, 2):

lim⁡x→1−f(x)=2,lim⁡x→1+f(x)=2\lim_{x \to 1^-} f(x) = 2, \qquad \lim_{x \to 1^+} f(x) = 2

2. (Warm-up) Write this sentence in limit notation: “As xx approaches 44 from the left, f(x)f(x) approaches −2-2.”

Solutionlim⁡x→4−f(x)=−2\lim_{x \to 4^-} f(x) = -2

3. (Warm-up) Suppose lim⁡x→5−f(x)=7\displaystyle\lim_{x \to 5^-} f(x) = 7, lim⁡x→5+f(x)=7\displaystyle\lim_{x \to 5^+} f(x) = 7, and f(5)=2f(5) = 2. What is lim⁡x→5f(x)\displaystyle\lim_{x \to 5} f(x)?

Solution

Both one-sided limits are 77, so lim⁡x→5f(x)=7\displaystyle\lim_{x \to 5} f(x) = 7. The value f(5)=2f(5) = 2 doesn’t matter.

4. (Core) Let p(x)={3x−2,x<1x2,x≥1p(x) = \begin{cases} 3x - 2, & x \lt 1 \\ x^2, & x \ge 1 \end{cases}. Find lim⁡x→1p(x)\displaystyle\lim_{x \to 1} p(x), if it exists.

Solutionlim⁡x→1−(3x−2)=1,lim⁡x→1+x2=1\lim_{x \to 1^-} (3x - 2) = 1, \qquad \lim_{x \to 1^+} x^2 = 1

Both sides agree, so lim⁡x→1p(x)=1\displaystyle\lim_{x \to 1} p(x) = 1.

5. (Core) Let q(x)={x+4,x<−12−x2,x>−1q(x) = \begin{cases} x + 4, & x \lt -1 \\ 2 - x^2, & x \gt -1 \end{cases}. Find both one-sided limits at x=−1x = -1. Does lim⁡x→−1q(x)\displaystyle\lim_{x \to -1} q(x) exist?

Solutionlim⁡x→−1−(x+4)=3,lim⁡x→−1+(2−x2)=2−1=1\lim_{x \to -1^-} (x + 4) = 3, \qquad \lim_{x \to -1^+} (2 - x^2) = 2 - 1 = 1

The one-sided limits are different (3≠13 \ne 1), so the limit does not exist.

6. (Core) Find the value of kk that makes lim⁡x→2r(x)\displaystyle\lim_{x \to 2} r(x) exist, where r(x)={kx+1,x<2x2−k,x≥2r(x) = \begin{cases} kx + 1, & x \lt 2 \\ x^2 - k, & x \ge 2 \end{cases}. What is the limit?

Solution

The left-hand limit is 2k+12k + 1 and the right-hand limit is 4−k4 - k. Set them equal:

2k+1=4−k⇒3k=3⇒k=12k + 1 = 4 - k \quad\Rightarrow\quad 3k = 3 \quad\Rightarrow\quad k = 1

Then both sides approach 2(1)+1=32(1) + 1 = 3, so the limit is 33.

7. (Core) A stone dropped from a cliff falls d(t)=4.9t2d(t) = 4.9t^2 metres in tt seconds. Find its average speed from t=1t = 1 to t=1+ht = 1 + h for h=0.1h = 0.1, 0.010.01, and 0.0010.001. Use the results to estimate its speed at exactly t=1t = 1.

Solution

The average speed is 4.9(1+h)2−4.9h\dfrac{4.9(1 + h)^2 - 4.9}{h}.

hh0.10.10.010.010.0010.001
average speed (m/s)10.2910.299.8499.8499.80499.8049

The values approach 9.89.8, so the speed at t=1t = 1 is about 9.89.8 m/s.

(Expanding shows why: 4.9(1+2h+h2)−4.9h=9.8+4.9h\dfrac{4.9(1 + 2h + h^2) - 4.9}{h} = 9.8 + 4.9h, which approaches 9.89.8 as h→0h \to 0.)

8. (Challenge) Find aa and bb so that lim⁡x→−1f(x)\displaystyle\lim_{x \to -1} f(x) and lim⁡x→1f(x)\displaystyle\lim_{x \to 1} f(x) both exist, where

f(x)={x+2,x<−1ax+b,−1≤x<13x2,x≥1f(x) = \begin{cases} x + 2, & x \lt -1 \\ ax + b, & -1 \le x \lt 1 \\ 3x^2, & x \ge 1 \end{cases}
Solution

At x=−1x = -1: the left side approaches −1+2=1-1 + 2 = 1 and the right side approaches −a+b-a + b. So −a+b=1-a + b = 1.

At x=1x = 1: the left side approaches a+ba + b and the right side approaches 3(1)2=33(1)^2 = 3. So a+b=3a + b = 3.

Adding the equations gives 2b=42b = 4, so b=2b = 2 and then a=1a = 1.

9. (Challenge) Explain why lim⁡x→0sin⁡(πx)\displaystyle\lim_{x \to 0} \sin\left(\frac{\pi}{x}\right) does not exist. (Use radians.)

Solution

Look at two lists of xx-values that both approach 00.

When x=1,12,13,…x = 1, \tfrac{1}{2}, \tfrac{1}{3}, \dots, we get πx=π,2π,3π,…\dfrac{\pi}{x} = \pi, 2\pi, 3\pi, \dots, so sin⁡(πx)=0\sin\left(\dfrac{\pi}{x}\right) = 0 every time.

When x=2,25,29,…x = 2, \tfrac{2}{5}, \tfrac{2}{9}, \dots, we get πx=π2,5π2,9π2,…\dfrac{\pi}{x} = \dfrac{\pi}{2}, \dfrac{5\pi}{2}, \dfrac{9\pi}{2}, \dots, so sin⁡(πx)=1\sin\left(\dfrac{\pi}{x}\right) = 1 every time.

No matter how close you get to 00, the function keeps taking both values 00 and 11 (in fact, every value from −1-1 to 11). It never settles on one number, so the limit does not exist.