Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

Limits and continuity

Print Precalculus only

The lessons of this topic taught in Precalculus, ready for paper.

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.

  1. A candle is 32 cm tall when lit and burns 4 cm per hour. Let yy be its height after xx hours.
    1. Its height after 2 hours, in cm:   ?\;?
    2. An equation for yy: y=  ?y = \;?
    3. After how many hours has it burned down?   ?\;?
    4. Let f(x)f(x) be its height after xx hours. Compute f(1)f(1).
    5. By what percent did its height decrease during the first hour?
    6. For how many hours at most is the candle at least 4 cm tall?
  2. f(x)=2x2+7f(x) = 2x^2 + 7. Find f(−2)f(-2).
  3. f(x)=x2+5f(x) = x^2 + 5. Find f(1+2)f(1 + 2).

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−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?
  2. f(x)=x2−144x−12f(x) = \dfrac{x^2 - 144}{x - 12} is not defined at x=12x = 12. What value does f(x)f(x) approach as x→12x \to 12?
  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−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?
  2. f(x)=x2−144x−12f(x) = \dfrac{x^2 - 144}{x - 12} is not defined at x=12x = 12. What value does f(x)f(x) approach as x→12x \to 12?
  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).

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. What value does x3−8x−2\dfrac{x^3 - 8}{x - 2} approach as x→2x \to 2?

2. Compute limits with algebra

Warm-up

Three quick questions from earlier lessons.

  1. 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?
  2. 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.
  3. 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

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→2x2−3x+2x−2\displaystyle\lim_{x \to 2} \dfrac{x^2 - 3x + 2}{x - 2}.
  2. Find lim⁡x→32x2−52x+640x−32\displaystyle\lim_{x \to 32} \dfrac{x^2 - 52x + 640}{x - 32}.
  3. Find lim⁡x→1x2−3x+2x−1\displaystyle\lim_{x \to 1} \dfrac{x^2 - 3x + 2}{x - 1}.
  4. Find lim⁡x→12x2−25x+156x−12\displaystyle\lim_{x \to 12} \dfrac{x^2 - 25x + 156}{x - 12}.

Watch out!

Practice ★★

  1. Find lim⁡h→0(1+h)2−1h\displaystyle\lim_{h \to 0} \dfrac{(1 + h)^2 - 1}{h}.
  2. Find lim⁡h→0(45+h)2−2025h\displaystyle\lim_{h \to 0} \dfrac{(45 + h)^2 - 2025}{h}.
  3. Find lim⁡h→0(3+h)2−9h\displaystyle\lim_{h \to 0} \dfrac{(3 + h)^2 - 9}{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→2x2−3x+2x−2\displaystyle\lim_{x \to 2} \dfrac{x^2 - 3x + 2}{x - 2}.
  2. Find lim⁡x→32x2−52x+640x−32\displaystyle\lim_{x \to 32} \dfrac{x^2 - 52x + 640}{x - 32}.
  3. Find lim⁡x→1x2−3x+2x−1\displaystyle\lim_{x \to 1} \dfrac{x^2 - 3x + 2}{x - 1}.

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.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Find lim⁡x→0x+1−1x\displaystyle\lim_{x \to 0} \dfrac{\sqrt{x + 1} - 1}{x}.

3. One-sided limits

Warm-up

Three quick questions from earlier lessons.

  1. f(x)={x+2if x<12xif x≥1f(x) = \begin{cases} x + 2 & \text{if } x < 1 \\ 2x & \text{if } x \ge 1 \end{cases}. Find f(1)f(1).
  2. f(x)={x+8if x<62xif x≥6f(x) = \begin{cases} x + 8 & \text{if } x < 6 \\ 2x & \text{if } x \ge 6 \end{cases}. Find f(0)f(0).
  3. For x<7x < 7, which expression is equal to ∣x−7∣|x - 7|?
    1. 7−x7 - x
    2. x−7x - 7
    3. −x−7-x - 7

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}
    1. lim⁡x→2−f(x)=  ?\displaystyle\lim_{x \to 2^-} f(x) = \;?
    2. lim⁡x→2+f(x)=  ?\displaystyle\lim_{x \to 2^+} f(x) = \;?
  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}
    1. lim⁡x→4−f(x)=  ?\displaystyle\lim_{x \to 4^-} f(x) = \;?
    2. lim⁡x→4+f(x)=  ?\displaystyle\lim_{x \to 4^+} f(x) = \;?
  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}
    1. lim⁡x→5−f(x)=  ?\displaystyle\lim_{x \to 5^-} f(x) = \;?
    2. lim⁡x→5+f(x)=  ?\displaystyle\lim_{x \to 5^+} f(x) = \;?

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−∣43x∣x\displaystyle\lim_{x \to 0^-} \dfrac{|43x|}{x}.
  3. Find lim⁡x→0−∣4x∣x\displaystyle\lim_{x \to 0^-} \dfrac{|4x|}{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−∣43x∣x\displaystyle\lim_{x \to 0^-} \dfrac{|43x|}{x}.
  3. Find lim⁡x→0−∣4x∣x\displaystyle\lim_{x \to 0^-} \dfrac{|4x|}{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.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. f(x)={x+1if x<25xif x≥2f(x) = \begin{cases} x + 1 & \text{if } x < 2 \\ 5x & \text{if } x \geq 2 \end{cases}. Find the right-hand limit minus the left-hand limit at x=2x = 2 (the jump).

4. Limits at infinity

Warm-up

Three quick questions from earlier lessons.

  1. f(x)=9x+6x−3f(x) = \dfrac{ 9x + 6 }{x - 3} has a vertical asymptote x=cx = c. What is cc?
  2. f(x)=1x+52x+8f(x) = \dfrac{ 1x + 5 }{ 2x + 8 } has a horizontal asymptote y=ky = k. What is kk?
  3. What is the horizontal asymptote of f(x)=4x+1x2+6f(x) = \dfrac{ 4x + 1}{x^2 + 6}?
    1. y=0y = 0
    2. y=4y = 4
    3. There is none, because the degrees are different

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→∞9x2+42x2+5\displaystyle\lim_{x \to \infty} \dfrac{ 9x^2 + 4}{ 2x^2 + 5}.
  2. Find lim⁡x→∞33x2+1014x2+11\displaystyle\lim_{x \to \infty} \dfrac{ 33x^2 + 10}{ 14x^2 + 11}.
  3. Find lim⁡x→∞4x2+53x2+6\displaystyle\lim_{x \to \infty} \dfrac{ 4x^2 + 5}{ 3x^2 + 6}.

Watch out!

Practice ★★

  1. Find lim⁡x→∞2x+6x2+4\displaystyle\lim_{x \to \infty} \dfrac{ 2x + 6}{x^2 + 4}.
  2. Find lim⁡x→∞22x+46x2+28\displaystyle\lim_{x \to \infty} \dfrac{ 22x + 46}{x^2 + 28}.
  3. Find lim⁡x→∞4x+3x2+4\displaystyle\lim_{x \to \infty} \dfrac{ 4x + 3}{x^2 + 4}.
  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→∞9x2+42x2+5\displaystyle\lim_{x \to \infty} \dfrac{ 9x^2 + 4}{ 2x^2 + 5}.
  2. Find lim⁡x→∞33x2+1014x2+11\displaystyle\lim_{x \to \infty} \dfrac{ 33x^2 + 10}{ 14x^2 + 11}.
  3. Find lim⁡x→∞4x2+53x2+6\displaystyle\lim_{x \to \infty} \dfrac{ 4x^2 + 5}{ 3x^2 + 6}.

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.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Find lim⁡x→+∞(x2+14x−x)\displaystyle\lim_{x \to +\infty} \left(\sqrt{x^2 + 14x} - x\right).

5. Infinite limits and vertical asymptotes

Warm-up

Three quick questions from earlier lessons.

  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}
    1. lim⁡x→2−f(x)=  ?\displaystyle\lim_{x \to 2^-} f(x) = \;?
    2. lim⁡x→2+f(x)=  ?\displaystyle\lim_{x \to 2^+} f(x) = \;?
  2. 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
  3. Find lim⁡x→0−∣3x∣x\displaystyle\lim_{x \to 0^-} \dfrac{|3x|}{x}.

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+5x2−16f(x) = \dfrac{x + 5}{x^2 - 16} has vertical asymptotes. What is the positive one, x=cx = c?
  2. f(x)=x+27x2−2025f(x) = \dfrac{x + 27}{x^2 - 2025} 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.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. How many vertical asymptotes does the graph of f(x)=x+2x2−64f(x) = \dfrac{x + 2}{x^2 - 64} have?

6. Continuity

Warm-up

Three quick questions from earlier lessons.

  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}
    1. lim⁡x→2−f(x)=  ?\displaystyle\lim_{x \to 2^-} f(x) = \;?
    2. lim⁡x→2+f(x)=  ?\displaystyle\lim_{x \to 2^+} f(x) = \;?
  2. 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
  3. Find lim⁡x→0−∣3x∣x\displaystyle\lim_{x \to 0^-} \dfrac{|3x|}{x}.

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<25xif x≥2f(x) = \begin{cases} x^2 + k & \text{if } x < 2 \\ 5x & \text{if } x \ge 2 \end{cases} continuous everywhere?
  2. For which kk is f(x)={x2+kif x<810xif x≥8f(x) = \begin{cases} x^2 + k & \text{if } x < 8 \\ 10x & \text{if } x \ge 8 \end{cases} continuous everywhere?
  3. For which kk is f(x)={x2+kif x<18xif x≥1f(x) = \begin{cases} x^2 + k & \text{if } x < 1 \\ 8x & \text{if } x \ge 1 \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<25xif x≥2f(x) = \begin{cases} x^2 + k & \text{if } x < 2 \\ 5x & \text{if } x \ge 2 \end{cases} continuous everywhere?
  2. For which kk is f(x)={x2+kif x<810xif x≥8f(x) = \begin{cases} x^2 + k & \text{if } x < 8 \\ 10x & \text{if } x \ge 8 \end{cases} continuous everywhere?
  3. For which kk is f(x)={x2+kif x<18xif x≥1f(x) = \begin{cases} x^2 + k & \text{if } x < 1 \\ 8x & \text{if } x \ge 1 \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.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. f(x)=x+49−7xf(x) = \dfrac{\sqrt{x + 49} - 7}{x} for x≠0x \ne 0. What value of f(0)f(0) makes ff continuous at 0?

7. The limit that defines e

Discover

A bank pays 100 % interest a year. Paid once: 1 dollar becomes 2. Paid monthly, (1+112)12≈2.613(1 + \tfrac{1}{12})^{12} \approx 2.613. Paid every second, does it grow without limit?

  1. No: it approaches about 2.718, the number ee
  2. Yes: more payments always add a lot

Key idea

The limit that defines ee.

lim⁡n→∞(1+1n)n=e\displaystyle\lim_{n \to \infty} \left(1 + \dfrac{1}{n}\right)^n = e, and more generally lim⁡n→∞(1+kn)n=ek\displaystyle\lim_{n \to \infty} \left(1 + \dfrac{k}{n}\right)^n = e^k.

Worked example

Interest of 5 % a year, compounded more and more often, on 100 dollars for one year:

100(1+0.05n)n→100e0.05100\left(1 + \dfrac{0.05}{n}\right)^n \to 100e^{0.05}
k=0.05k = 0.05.
≈105.13\approx 105.13 dollars
e0.05≈1.0513e^{0.05} \approx 1.0513.

Your turn, guided

Your turn: find lim⁡n→∞(1+2n)n\displaystyle\lim_{n \to \infty}\left(1 + \dfrac{2}{n}\right)^n.

e2e^2
k=2k = 2.

Practice ★

  1. Find lim⁡n→∞(1+8n)n\displaystyle\lim_{n \to \infty} \left(1 + \dfrac{ 8 }{n}\right)^n.
  2. Find lim⁡n→∞(1+9n)n\displaystyle\lim_{n \to \infty} \left(1 + \dfrac{ 9 }{n}\right)^n.
  3. Find lim⁡n→∞(1+4n)n\displaystyle\lim_{n \to \infty} \left(1 + \dfrac{ 4 }{n}\right)^n.

Practice ★★

  1. Find lim⁡n→∞(1+1n)6n\displaystyle\lim_{n \to \infty} \left(1 + \dfrac{1}{n}\right)^{ 6n}.
  2. Find lim⁡n→∞(1+1n)8n\displaystyle\lim_{n \to \infty} \left(1 + \dfrac{1}{n}\right)^{ 8n}.

Exit ticket

Two questions to check.

  1. Find lim⁡n→∞(1+8n)n\displaystyle\lim_{n \to \infty} \left(1 + \dfrac{ 8 }{n}\right)^n.
  2. Find lim⁡n→∞(1+9n)n\displaystyle\lim_{n \to \infty} \left(1 + \dfrac{ 9 }{n}\right)^n.

Summary card

The number e

  • (1+kn)n→ek\left(1 + \dfrac{k}{n}\right)^n \to e^k.
  • Continuous compounding: PertP e^{rt}.

The same limit appears in growth of bacteria and in probability.

8. History of limits: Bolzano, Cauchy and Weierstrass

Discover

For 150 years after Newton and Leibniz, calculus worked, but nobody could say exactly what a limit was. People spoke of 'infinitely small' quantities. Why was that a problem?

  1. Some arguments gave contradictions, so the foundations were shaky
  2. Calculations were too slow

Key idea

Making limits precise.

18201840186018801817Bolzano1817Bolzano
  1. Step 118201840186018801817Bolzano1817BolzanoBernard Bolzano 1781–1848Unknown artist. Public domain1817: Bolzano proves the intermediate value theorem without 'infinitely small' quantities.
  2. Step 218201840186018801817Bolzano1821Cauchy1817Bolzano1821CauchyAugustin-Louis Cauchy 1789–1857Jean Roller (1798–1866), about 1840. Public domain1821: Cauchy's Cours d'analyse builds calculus as rigorously as possible.
  3. Step 318201840186018801817Bolzano1821Cauchy1872Weierstrass1817Bolzano1821Cauchy1872WeierstrassKarl Weierstraß 1815–1897Unknown artist. Public domain1872: Weierstrass's function: continuous everywhere, differentiable nowhere.

In 1817 Bolzano proved the intermediate value theorem without infinitely small quantities. In 1821 Cauchy's Cours d'analyse developed the basic theorems of calculus as rigorously as possible. In 1872 Weierstrass found a function that is continuous everywhere but has a derivative nowhere.

Source

When the values successively given to the same variable approach a fixed value indefinitely, so as to end by differing from it as little as one wishes, this last value is called the limit of all the others.

Augustin-Louis Cauchy, Course in Analysis, 1821 (our translation from French)

For Cauchy, when is a fixed value the limit?

  1. When the values end up as close to it as one wishes
  2. When the variable ends up equal to it

Worked example

Today's idea: f(x)→Lf(x) \to L as x→ax \to a if f(x)f(x) gets as close to LL as we wish when xx is close enough to aa. Example: f(x)=3xf(x) = 3x, a=2a = 2.

3∣x−2∣<0.033|x - 2| < 0.03
We want ∣3x−6∣<0.03|3x - 6| < 0.03.
∣x−2∣<0.01|x - 2| < 0.01
Close enough means:

Practice ★

  1. What did Weierstrass find in 1872?
    1. A function continuous everywhere but differentiable nowhere
    2. The derivative
    3. The number e
  1. In Cauchy's spirit: for f(x)=6xf(x) = 6x, how close must xx be to 1 so that ∣f(x)−6∣<0.05|f(x) - 6| < 0.05? Give the largest distance δ\delta.
  2. In Cauchy's spirit: for f(x)=9xf(x) = 9x, how close must xx be to 1 so that ∣f(x)−9∣<0.09|f(x) - 9| < 0.09? Give the largest distance δ\delta.
  1. Bolzano proved the intermediate value theorem in 1817. f(x)=x3−64f(x) = x^3 - 64 is continuous with f(0)<0f(0) < 0 and f(5)>0f(5) > 0. Find the zero it guarantees.

Summary card

Limits today

  • Every derivative and integral is defined by a limit.
  • Numerical methods stop when successive results are 'close enough': a limit in practice.
  • Engineers ask how close an approximation is: the same question as Cauchy's.

Sources: MacTutor biographies of Bolzano, Cauchy and Weierstrass (see "Sources and credits").