Limits: an introduction

Print the chapter

Every lesson of the chapter, ready for paper. Exercise sets are lettered A, B, C… and answered at the end.

To save a PDF, choose “Save as PDF” in the print dialog.

1. The idea of a limit

Warm-up

Three quick questions from earlier lessons.

Discover

f(x)=x2−4x−2f(x) = \dfrac{x^2 - 4}{x - 2} cannot be computed at x=2x = 2. Here are some values near 2: f(1.9)=3.9f(1.9) = 3.9, f(1.99)=3.99f(1.99) = 3.99, f(2.01)=4.01f(2.01) = 4.01, f(2.1)=4.1f(2.1) = 4.1. What is f(x)f(x) getting close to?

  1. 4
  2. 0
  3. Nothing, since f(2)f(2) does not exist

Key idea

A limit describes where f(x)f(x) is heading as xx gets close to aa, not what happens at aa.

lim⁡x→af(x)=L\displaystyle\lim_{x \to a} f(x) = L means: f(x)f(x) gets as close to LL as we like when xx is close enough to aa (but not equal to aa). The value f(a)f(a), if it exists, plays no role.

Worked example

Find lim⁡x→3x2−9x−3\displaystyle\lim_{x \to 3} \dfrac{x^2 - 9}{x - 3}.

Substitution gives 00\dfrac{0}{0}
At x = 3 we get 0/0: no value, but maybe a limit.
(x−3)(x+3)x−3=x+3\dfrac{(x - 3)(x + 3)}{x - 3} = x + 3
Factor and cancel, for x ≠ 3.
lim⁡x→3x2−9x−3=6\displaystyle\lim_{x \to 3} \dfrac{x^2 - 9}{x - 3} = 6
x + 3 approaches 6.

Your turn, guided

Your turn: lim⁡x→5x2−25x−5\displaystyle\lim_{x \to 5} \dfrac{x^2 - 25}{x - 5}.

(x−5)(x+5)x−5=x+5\dfrac{(x - 5)(x + 5)}{x - 5} = x + 5
For x ≠ 5.
The limit is 1010
5 + 5.

Practice ★

  1. f(x)=x2−36x−6f(x) = \dfrac{x^2 - 36}{x - 6} is not defined at x=6x = 6. What value does f(x)f(x) approach as x→6x \to 6?
  2. f(x)=x2−1x−1f(x) = \dfrac{x^2 - 1}{x - 1} is not defined at x=1x = 1. What value does f(x)f(x) approach as x→1x \to 1?
  3. f(x)=x2−9x−3f(x) = \dfrac{x^2 - 9}{x - 3} is not defined at x=3x = 3. What value does f(x)f(x) approach as x→3x \to 3?

Watch out!

Practice ★★

  1. f(x)=(x−p)(x+4)x−pf(x) = \dfrac{(x - p)(x + 4)}{x - p} for p=0p = 0: its graph is the line y=x+4y = x + 4 with a hole. Tap the point the graph approaches as x→0x \to 0.
  2. f(x)=(x−p)(x+1)x−pf(x) = \dfrac{(x - p)(x + 1)}{x - p} for p=−2p = -2: its graph is the line y=x+1y = x + 1 with a hole. Tap the point the graph approaches as x→−2x \to -2.
  1. f(x)=x2f(x) = x^2 for x≠4x \ne 4, and f(4)=33f(4) = 33. What is lim⁡x→4f(x)\displaystyle\lim_{x \to 4} f(x)?
    1. 1616
    2. 3333
    3. It does not exist
  2. f(x)=x2f(x) = x^2 for x≠3x \ne 3, and f(3)=21f(3) = 21. What is lim⁡x→3f(x)\displaystyle\lim_{x \to 3} f(x)?
    1. 99
    2. 2121
    3. It does not exist

Exit ticket

Three questions to check you have got it.

  1. f(x)=x2−36x−6f(x) = \dfrac{x^2 - 36}{x - 6} is not defined at x=6x = 6. What value does f(x)f(x) approach as x→6x \to 6?
  2. f(x)=x2−1x−1f(x) = \dfrac{x^2 - 1}{x - 1} is not defined at x=1x = 1. What value does f(x)f(x) approach as x→1x \to 1?
  3. f(x)=x2−9x−3f(x) = \dfrac{x^2 - 9}{x - 3} is not defined at x=3x = 3. What value does f(x)f(x) approach as x→3x \to 3?

Summary card

The idea of a limit

  • lim⁡x→af(x)\displaystyle\lim_{x \to a} f(x): where f(x)f(x) heads as xx approaches aa.
  • f(a)f(a) itself does not matter (it may not even exist).
  • 00\dfrac{0}{0} means: simplify, then look again.

Watch out: the limit is not always f(a)f(a).

2. Compute limits with algebra

Warm-up

Three quick questions from earlier lessons.

Discover

To find lim⁡x→1(x2+3x)\displaystyle\lim_{x \to 1} (x^2 + 3x), what can you do?

  1. Substitute x=1x = 1: the limit is 4
  2. You can never substitute in a limit

Key idea

First try substituting. If you get 00\dfrac{0}{0}, simplify and try again.

If substituting gives a number, that is the limit (for polynomials, and rational functions where the denominator is not 0). If it gives 00\dfrac{0}{0}: factor and cancel, or expand, or use (x−s)(x+s)=x−s2(\sqrt{x} - s)(\sqrt{x} + s) = x - s^2; then substitute.

Worked example

Find lim⁡h→0(3+h)2−9h\displaystyle\lim_{h \to 0} \dfrac{(3 + h)^2 - 9}{h}.

(3+h)2−9=6h+h2(3 + h)^2 - 9 = 6h + h^2
Substitution gives 0/0: expand instead.
6h+h2h=6+h\dfrac{6h + h^2}{h} = 6 + h
Divide by h (h ≠ 0).
The limit is 66
h → 0.

Your turn, guided

Your turn: lim⁡x→4x2−5x+4x−4\displaystyle\lim_{x \to 4} \dfrac{x^2 - 5x + 4}{x - 4}.

=lim⁡x→4(x−1)= \displaystyle\lim_{x \to 4} (x - 1)
Factor: (x − 4)(x − 1).
=3= 3
4 − 1.

Practice ★

  1. Find lim⁡x→7x2−15x+56x−7\displaystyle\lim_{x \to 7} \dfrac{x^2 - 15x + 56}{x - 7}.
  2. Find lim⁡x→1x2−4x+3x−1\displaystyle\lim_{x \to 1} \dfrac{x^2 - 4x + 3}{x - 1}.
  3. Find lim⁡x→2x2−9x+14x−2\displaystyle\lim_{x \to 2} \dfrac{x^2 - 9x + 14}{x - 2}.
  4. Find lim⁡x→4x2−11x+28x−4\displaystyle\lim_{x \to 4} \dfrac{x^2 - 11x + 28}{x - 4}.

Watch out!

Practice ★★

  1. Find lim⁡h→0(8+h)2−64h\displaystyle\lim_{h \to 0} \dfrac{(8 + h)^2 - 64}{h}.
  2. Find lim⁡h→0(7+h)2−49h\displaystyle\lim_{h \to 0} \dfrac{(7 + h)^2 - 49}{h}.
  3. Find lim⁡h→0(4+h)2−16h\displaystyle\lim_{h \to 0} \dfrac{(4 + h)^2 - 16}{h}.
  1. Find lim⁡x→9x−3x−9\displaystyle\lim_{x \to 9} \dfrac{\sqrt{x} - 3}{x - 9}.
  2. Find lim⁡x→4x−2x−4\displaystyle\lim_{x \to 4} \dfrac{\sqrt{x} - 2}{x - 4}.

Exit ticket

Three questions to check you have got it.

  1. Find lim⁡x→7x2−15x+56x−7\displaystyle\lim_{x \to 7} \dfrac{x^2 - 15x + 56}{x - 7}.
  2. Find lim⁡x→1x2−4x+3x−1\displaystyle\lim_{x \to 1} \dfrac{x^2 - 4x + 3}{x - 1}.
  3. Find lim⁡x→2x2−9x+14x−2\displaystyle\lim_{x \to 2} \dfrac{x^2 - 9x + 14}{x - 2}.

Summary card

Limits with algebra

  1. Substitute. A number? That is the limit.
  2. 00\dfrac{0}{0}? Factor and cancel, expand, or use conjugates.
  3. Substitute again.

Watch out: 00\dfrac{0}{0} is never the answer.

3. One-sided limits

Warm-up

Three quick questions from earlier lessons.

Discover

A parking garage charges 5 dollars for up to 1 hour and 9 dollars for more. As the time approaches 1 hour from below, the price is 5; from above, it is 9. Does the price approach one single number near 1 hour?

  1. No: 5 from the left, 9 from the right
  2. Yes: 5

Key idea

We can approach aa from one side only.

lim⁡x→a−f(x)\displaystyle\lim_{x \to a^-} f(x) uses x<ax < a; lim⁡x→a+f(x)\displaystyle\lim_{x \to a^+} f(x) uses x>ax > a. The two-sided limit exists exactly when both one-sided limits exist and are equal.

Worked example

f(x)={x2if x<13−xif x≥1f(x) = \begin{cases} x^2 & \text{if } x < 1 \\ 3 - x & \text{if } x \ge 1 \end{cases}. Find lim⁡x→1f(x)\displaystyle\lim_{x \to 1} f(x).

lim⁡x→1−f(x)=1\displaystyle\lim_{x \to 1^-} f(x) = 1
x < 1: use x².
lim⁡x→1+f(x)=2\displaystyle\lim_{x \to 1^+} f(x) = 2
x > 1: use 3 − x.
The limit does not exist
1 ≠ 2.

Your turn, guided

Your turn: same idea with g(x)={x+4if x<23xif x≥2g(x) = \begin{cases} x + 4 & \text{if } x < 2 \\ 3x & \text{if } x \ge 2 \end{cases}.

lim⁡x→2−g(x)=6\displaystyle\lim_{x \to 2^-} g(x) = 6
Left: 2 + 4.
lim⁡x→2+g(x)=6\displaystyle\lim_{x \to 2^+} g(x) = 6, so the limit exists and is 6
Right: 3 · 2.

Practice ★

  1. f(x)={x+3if x<22xif x≥2f(x) = \begin{cases} x + 3 & \text{if } x < 2 \\ 2x & \text{if } x \ge 2 \end{cases}
  2. f(x)={x+7if x<42xif x≥4f(x) = \begin{cases} x + 7 & \text{if } x < 4 \\ 2x & \text{if } x \ge 4 \end{cases}
  3. f(x)={x+1if x<53xif x≥5f(x) = \begin{cases} x + 1 & \text{if } x < 5 \\ 3x & \text{if } x \ge 5 \end{cases}

Watch out!

Practice ★★

  1. f(x)={x+6if x<52xif x≥5f(x) = \begin{cases} x + 6 & \text{if } x < 5 \\ 2x & \text{if } x \ge 5 \end{cases}. What is lim⁡x→5f(x)\displaystyle\lim_{x \to 5} f(x)?
    1. It does not exist: the left and right limits differ
    2. 1111
    3. 1010
  2. f(x)={x+7if x<34xif x≥3f(x) = \begin{cases} x + 7 & \text{if } x < 3 \\ 4x & \text{if } x \ge 3 \end{cases}. What is lim⁡x→3f(x)\displaystyle\lim_{x \to 3} f(x)?
    1. It does not exist: the left and right limits differ
    2. 1010
    3. 1212
  1. Find lim⁡x→0−∣3x∣x\displaystyle\lim_{x \to 0^-} \dfrac{|3x|}{x}.
  2. Find lim⁡x→0−∣5x∣x\displaystyle\lim_{x \to 0^-} \dfrac{|5x|}{x}.
  3. Find lim⁡x→0−∣8x∣x\displaystyle\lim_{x \to 0^-} \dfrac{|8x|}{x}.

Exit ticket

Three questions to check you have got it.

  1. Find lim⁡x→0−∣3x∣x\displaystyle\lim_{x \to 0^-} \dfrac{|3x|}{x}.
  2. Find lim⁡x→0−∣5x∣x\displaystyle\lim_{x \to 0^-} \dfrac{|5x|}{x}.
  3. Find lim⁡x→0−∣8x∣x\displaystyle\lim_{x \to 0^-} \dfrac{|8x|}{x}.

Summary card

One-sided limits

  • x→a−x \to a^-: from the left; x→a+x \to a^+: from the right.
  • The limit exists only if both sides agree.

Watch out: one side alone is not the two-sided limit.

4. Limits at infinity

Warm-up

Three quick questions from earlier lessons.

Discover

What happens to 1x\dfrac{1}{x} as xx grows: 110,1100,11000,…\dfrac{1}{10}, \dfrac{1}{100}, \dfrac{1}{1000}, \dots?

  1. It approaches 0
  2. It has no limit, since it never reaches 0

Key idea

lim⁡x→∞f(x)=L\displaystyle\lim_{x \to \infty} f(x) = L means f(x)f(x) gets close to LL as xx grows; then y=Ly = L is a horizontal asymptote.

For a rational function, divide every term by the highest power of xx in the denominator. Top degree smaller: limit 0. Equal degrees: ratio of the leading coefficients. Top degree larger: no finite limit (±∞\pm\infty).

Worked example

Find lim⁡x→∞6x2−x2x2+5\displaystyle\lim_{x \to \infty} \dfrac{6x^2 - x}{2x^2 + 5}.

6−1x2+5x2\dfrac{6 - \frac{1}{x}}{2 + \frac{5}{x^2}}
Divide every term by x².
→62\to \dfrac{6}{2}
1/x and 5/x² go to 0.
The limit is 33
Simplify.

Your turn, guided

Your turn: lim⁡x→∞4x+12x−7\displaystyle\lim_{x \to \infty} \dfrac{4x + 1}{2x - 7}.

Ratio of leading coefficients: 42\dfrac{4}{2}
Same degree.
The limit is 22
4 ÷ 2.

Practice ★

  1. Find lim⁡x→∞4x2+15x2+4\displaystyle\lim_{x \to \infty} \dfrac{ 4x^2 + 1}{ 5x^2 + 4}.
  2. Find lim⁡x→∞3x2+42x2+1\displaystyle\lim_{x \to \infty} \dfrac{ 3x^2 + 4}{ 2x^2 + 1}.
  3. Find lim⁡x→∞3x2+45x2+4\displaystyle\lim_{x \to \infty} \dfrac{ 3x^2 + 4}{ 5x^2 + 4}.

Watch out!

Practice ★★

  1. Find lim⁡x→∞6x+3x2+2\displaystyle\lim_{x \to \infty} \dfrac{ 6x + 3}{x^2 + 2}.
  2. Find lim⁡x→∞9x+6x2+6\displaystyle\lim_{x \to \infty} \dfrac{ 9x + 6}{x^2 + 6}.
  3. Find lim⁡x→∞7x+6x2+1\displaystyle\lim_{x \to \infty} \dfrac{ 7x + 6}{x^2 + 1}.
  1. What is lim⁡x→∞5x3x2+5\displaystyle\lim_{x \to \infty} \dfrac{ 5x^3}{x^2 + 5}?
    1. It is ∞\infty: the fraction grows without bound
    2. 55
    3. 00
  2. What is lim⁡x→∞2x3x2+2\displaystyle\lim_{x \to \infty} \dfrac{ 2x^3}{x^2 + 2}?
    1. It is ∞\infty: the fraction grows without bound
    2. 22
    3. 00

Exit ticket

Three questions to check you have got it.

  1. Find lim⁡x→∞4x2+15x2+4\displaystyle\lim_{x \to \infty} \dfrac{ 4x^2 + 1}{ 5x^2 + 4}.
  2. Find lim⁡x→∞3x2+42x2+1\displaystyle\lim_{x \to \infty} \dfrac{ 3x^2 + 4}{ 2x^2 + 1}.
  3. Find lim⁡x→∞3x2+45x2+4\displaystyle\lim_{x \to \infty} \dfrac{ 3x^2 + 4}{ 5x^2 + 4}.

Summary card

Limits at infinity

  • Divide by the highest power in the denominator.
  • Top degree smaller: 0. Equal: ratio of leading coefficients. Larger: ±∞\pm\infty.
  • A finite limit LL gives the asymptote y=Ly = L.

Watch out: constants do not decide the limit at infinity.

5. Infinite limits and vertical asymptotes

Warm-up

Three quick questions from earlier lessons.

Discover

What happens to 1x\dfrac{1}{x} as xx approaches 0 from the right: 10.1,10.01,…\dfrac{1}{0.1}, \dfrac{1}{0.01}, \dots?

  1. It grows without bound
  2. It approaches 0

Key idea

Near a zero of the denominator, a fraction can blow up.

If f(x)f(x) grows without bound as x→a+x \to a^+ (or a−a^-), we write lim⁡f(x)=+∞\lim f(x) = +\infty (or −∞-\infty): the line x=ax = a is a vertical asymptote. Find the sign by testing a value just to the left or right of aa.

Worked example

Find lim⁡x→3−2x−3\displaystyle\lim_{x \to 3^-} \dfrac{2}{x - 3}.

x−3x - 3 is a small negative number
Just left of 3, for example x = 2.99.
The quotient is large and negative
2 divided by it.
lim⁡x→3−2x−3=−∞\displaystyle\lim_{x \to 3^-} \dfrac{2}{x - 3} = -\infty
Write the infinite limit.

Your turn, guided

Your turn: f(x)=x+1x2−16f(x) = \dfrac{x + 1}{x^2 - 16}. Where are the vertical asymptotes?

x=4x = 4 or x=−4x = -4
x² − 16 = 0.
Asymptotes x=4x = 4 and x=−4x = -4
The numerator is not 0 there. Type the negative one.

Practice ★

  1. What is lim⁡x→6+7x−6\displaystyle\lim_{x \to 6^+} \dfrac{ 7 }{x - 6}?
    1. +∞+\infty
    2. −∞-\infty
    3. 00
  2. What is lim⁡x→3+4x−3\displaystyle\lim_{x \to 3^+} \dfrac{ 4 }{x - 3}?
    1. +∞+\infty
    2. −∞-\infty
    3. 00
  3. What is lim⁡x→7+6x−7\displaystyle\lim_{x \to 7^+} \dfrac{ 6 }{x - 7}?
    1. +∞+\infty
    2. −∞-\infty
    3. 00

Watch out!

Practice ★★

  1. What is lim⁡x→8−6x−8\displaystyle\lim_{x \to 8^-} \dfrac{ 6 }{x - 8}?
    1. +∞+\infty
    2. −∞-\infty
    3. 00
  2. What is lim⁡x→2−7x−2\displaystyle\lim_{x \to 2^-} \dfrac{ 7 }{x - 2}?
    1. +∞+\infty
    2. −∞-\infty
    3. 00
  3. What is lim⁡x→5−9x−5\displaystyle\lim_{x \to 5^-} \dfrac{ 9 }{x - 5}?
    1. +∞+\infty
    2. −∞-\infty
    3. 00
  1. f(x)=x+8x2−9f(x) = \dfrac{x + 8}{x^2 - 9} has vertical asymptotes. What is the positive one, x=cx = c?
  2. f(x)=x+4x2−4f(x) = \dfrac{x + 4}{x^2 - 4} has vertical asymptotes. What is the positive one, x=cx = c?

Exit ticket

Three questions to check you have got it.

  1. What is lim⁡x→8−6x−8\displaystyle\lim_{x \to 8^-} \dfrac{ 6 }{x - 8}?
    1. +∞+\infty
    2. −∞-\infty
    3. 00
  2. What is lim⁡x→2−7x−2\displaystyle\lim_{x \to 2^-} \dfrac{ 7 }{x - 2}?
    1. +∞+\infty
    2. −∞-\infty
    3. 00
  3. What is lim⁡x→5−9x−5\displaystyle\lim_{x \to 5^-} \dfrac{ 9 }{x - 5}?
    1. +∞+\infty
    2. −∞-\infty
    3. 00

Summary card

Infinite limits

  • Denominator → 0, numerator not: ±∞\pm\infty, a vertical asymptote.
  • Test a value just beside aa for the sign.

Watch out: left and right of the asymptote, the signs can differ.

6. Continuity

Warm-up

Three quick questions from earlier lessons.

Discover

You can draw the graph of a continuous function without lifting your pencil. Which one can you draw that way near x=0x = 0?

  1. y=∣x∣y = |x|
  2. y=1xy = \dfrac{1}{x}

Key idea

Continuity at a point means: no hole, no jump, no asymptote there.

ff is continuous at aa when f(a)f(a) exists, lim⁡x→af(x)\displaystyle\lim_{x \to a} f(x) exists, and they are equal. Polynomials, sin⁡\sin, cos⁡\cos, exe^x and ∣x∣|x| are continuous everywhere; rational functions are continuous wherever they are defined.

Worked example

For which kk is f(x)={x+kif x<2x2if x≥2f(x) = \begin{cases} x + k & \text{if } x < 2 \\ x^2 & \text{if } x \ge 2 \end{cases} continuous?

f(2)=4f(2) = 4
f(2) uses the second piece.
lim⁡x→2−f(x)=2+k\displaystyle\lim_{x \to 2^-} f(x) = 2 + k
The left limit uses the first piece.
2+k=42 + k = 4, so k=2k = 2
They must be equal.

Your turn, guided

Your turn: g(x)={3xif x<1x+mif x≥1g(x) = \begin{cases} 3x & \text{if } x < 1 \\ x + m & \text{if } x \ge 1 \end{cases}.

3=1+m3 = 1 + m
Left limit 3, value 1 + m.
m=2m = 2
Solve for m.

Practice ★

  1. For which kk is f(x)={x2+kif x<34xif x≥3f(x) = \begin{cases} x^2 + k & \text{if } x < 3 \\ 4x & \text{if } x \ge 3 \end{cases} continuous everywhere?
  2. For which kk is f(x)={x2+kif x<38xif x≥3f(x) = \begin{cases} x^2 + k & \text{if } x < 3 \\ 8x & \text{if } x \ge 3 \end{cases} continuous everywhere?
  3. For which kk is f(x)={x2+kif x<37xif x≥3f(x) = \begin{cases} x^2 + k & \text{if } x < 3 \\ 7x & \text{if } x \ge 3 \end{cases} continuous everywhere?

Watch out!

Practice ★★

  1. Is f(x)=x2−25x−5f(x) = \dfrac{x^2 - 25}{x - 5} continuous at x=5x = 5?
    1. No: f(5)f(5) is not defined
    2. Yes: the limit exists, it is 1010
    3. No: the limit does not exist
  2. Is f(x)=x2−81x−9f(x) = \dfrac{x^2 - 81}{x - 9} continuous at x=9x = 9?
    1. No: f(9)f(9) is not defined
    2. Yes: the limit exists, it is 1818
    3. No: the limit does not exist
  1. Which functions are continuous for every real xx? Tick all of them.
    1. x3−2x+1x^3 - 2x + 1
    2. sin⁡x\sin x
    3. ∣x∣|x|
    4. 1x\dfrac{1}{x}
    5. tan⁡x\tan x

Exit ticket

Three questions to check you have got it.

  1. For which kk is f(x)={x2+kif x<34xif x≥3f(x) = \begin{cases} x^2 + k & \text{if } x < 3 \\ 4x & \text{if } x \ge 3 \end{cases} continuous everywhere?
  2. For which kk is f(x)={x2+kif x<38xif x≥3f(x) = \begin{cases} x^2 + k & \text{if } x < 3 \\ 8x & \text{if } x \ge 3 \end{cases} continuous everywhere?
  3. For which kk is f(x)={x2+kif x<37xif x≥3f(x) = \begin{cases} x^2 + k & \text{if } x < 3 \\ 7x & \text{if } x \ge 3 \end{cases} continuous everywhere?

Summary card

Continuity

  1. f(a)f(a) exists.
  2. lim⁡x→af(x)\displaystyle\lim_{x \to a} f(x) exists.
  3. They are equal.

Watch out: a limit that exists is not enough; f(a)f(a) must match it.