Free AP Calculus AB Limits and Continuity

AP Calculus AB · Limits and Continuity · free lesson

Introducing Calculus; Defining Limits and Limit Notation

The idea, then worked examples solved step by step, then practice questions whose numbers change every time you try them.

The idea

What calculus is about

Calculus studies change. Its first question is how fast something is changing at one instant: the speed of a car at the moment it passes a sign, the rate at which a tank is filling at noon. Its second question, later in the course, is how much has built up when the rate keeps changing. Both questions are answered with one idea, the limit.

An average rate over a shorter and shorter time

A stone is dropped from a high bridge. After tt seconds it has fallen s(t)=16t2s(t) = 16t^2 feet. Over a time interval, its average speed is the distance fallen divided by the time taken. From t=2t = 2 to t=2+ht = 2 + h the average speed, in feet per second, is

s(2+h)−s(2)h=16(2+h)2−16⋅22h\begin{aligned} \frac{s(2 + h) - s(2)}{h} &= \frac{16(2 + h)^2 - 16 \cdot 2^2}{h} \end{aligned}

The engine works it out for intervals that get shorter and shorter, after the moment t=2t = 2 (positive hh) and before it (negative hh):

IntervalhhAverage speed (ft/s)
[2,3][2, 3]118080
[2,2.1][2, 2.1]0.10.165.665.6
[2,2.01][2, 2.01]0.010.0164.1664.16
[2,2.001][2, 2.001]0.0010.00164.01664.016
[1.999,2][1.999, 2]−0.001-0.00163.98463.984
[1.99,2][1.99, 2]−0.01-0.0163.8463.84
[1.9,2][1.9, 2]−0.1-0.162.462.4

From both sides the averages close in on one number, 6464. That number is the stone's speed at the instant t=2t = 2: 6464 feet per second. In the picture each average speed is the slope of a secant line through two points of the graph. As hh shrinks, the second point slides toward the first and the secant line turns toward the line that just touches the curve at t=2t = 2.

Warning.

You cannot simply put h=0h = 0. An interval of length 0 gives s(2)−s(2)0=00\frac{s(2) - s(2)}{0} = \frac{0}{0}, which has no value: no distance is fallen and no time passes. The speed at an instant is not an average; it is the number the averages approach.

The limit and its notation

Definition.

If the values f(x)f(x) can be made as close to a number LL as we like by taking xx close enough to cc (on both sides, but not equal to cc), then LL is the limit of f(x)f(x) as xx approaches cc. It is written

lim⁡x→cf(x)=L\begin{aligned} \lim_{x \to c} f(x) &= L \end{aligned}

Read it aloud as "the limit of ff of xx, as xx approaches cc, is LL". The arrow and the word "lim" are part of the statement: on the AP exam, writing only f(x)=Lf(x) = L says something else. (The exact form of "as close as we like", with ε\varepsilon and δ\delta, is not asked on the AP exam.)

The function f(x)=sin⁡xxf(x) = \frac{\sin x}{x} has no value at x=0x = 0, since there it is sin⁡00=00\frac{\sin 0}{0} = \frac{0}{0}. Its graph has a hole there. Drag the slider to bring the two red points toward 0 from both sides, and watch their height.

At distance 11 from 0 the height is 0.8414710.841471; at 0.10.1 it is 0.9983340.998334; at 0.010.01 it is 0.9999830.999983. The heights close in on 11, so lim⁡x→0sin⁡xx=1\lim_{x \to 0} \frac{\sin x}{x} = {1}, although f(0)f(0) does not exist.

The limit is not the value

A limit is about the values near cc, never the value at cc. Below, g(x)=x+1g(x) = x + 1 except at x=2x = 2, where g(2)=1g(2) = 1 (the filled dot). Near 2 the graph runs toward the hole.

So lim⁡x→2g(x)=3\lim_{x \to 2} g(x) = {3} while g(2)=1g(2) = 1. A limit may equal the value, may differ from it, or may exist where there is no value at all.

One-sided limits

Sometimes the two sides disagree. lim⁡x→c−f(x)\lim_{x \to c^-} f(x) is the limit from the left (values of xx less than cc); lim⁡x→c+f(x)\lim_{x \to c^+} f(x) is the limit from the right (values greater than cc). Here p(x)=3−xp(x) = 3 - x for x<1x < 1 and p(x)=x+2p(x) = x + 2 for x≥1x \ge 1:

From the left the graph runs to height 22, so lim⁡x→1−p(x)=2\lim_{x \to 1^-} p(x) = {2}. From the right it runs to 33, so lim⁡x→1+p(x)=3\lim_{x \to 1^+} p(x) = {3}. The two sides differ, so lim⁡x→1p(x)\lim_{x \to 1} p(x) does not exist.

Rule.

lim⁡x→cf(x)=L\lim_{x \to c} f(x) = L exactly when both one-sided limits exist and both equal LL.

When the values grow without bound

Near x=2x = 2 the values of 1(x−2)2\frac{1}{(x - 2)^2} grow past every number, from both sides. There is no number they approach, so the limit does not exist; but the way it fails is written

lim⁡x→21(x−2)2=∞\begin{aligned} \lim_{x \to 2} \frac{1}{(x - 2)^2} &= \infty \end{aligned}
Note.

On the AP exam, use =∞= \infty (or =−∞= -\infty) when the values grow without bound in one direction, and say "does not exist" when the two sides disagree or the values never settle. The usual slips: taking f(c)f(c) for the limit, mixing up c−c^- and c+c^+, and leaving out "lim" or the arrow.

Worked examples

Worked examples

Each example is one kind of question the AP exam asks about rates over shrinking intervals and about the notation of limits. Every number in the working is found by the engine.

Example.

1. Average rates that close in on a rate at an instant. A tank is filling with water. After tt minutes it holds V(t)=t3V(t) = t^{3} gallons. Find the average rate at which the water comes in over [2,2+h][2, 2 + h] for h=0.1h = 0.1, 0.010.01, 0.0010.001 and h=−0.001h = -0.001, −0.01-0.01, −0.1-0.1. What value do the rates approach?

The average rate over [2,2+h][2, 2 + h] is the change in volume divided by the change in time, V(2+h)−V(2)h\frac{V(2 + h) - V(2)}{h} gallons per minute. A negative hh is an interval just before t=2t = 2.

hh0.10.10.010.010.0010.001−0.001-0.001−0.01-0.01−0.1-0.1
Average rate (gal/min)12.6112.6112.060112.060112.00600112.00600111.99400111.99400111.940111.940111.4111.41

From both sides the rates close in on 1212. So at the instant t=2t = 2 the water is coming in at 1212 gallons per minute. In symbols,

lim⁡h→0V(2+h)−V(2)h=12\begin{aligned} \lim_{h \to 0} \frac{V(2 + h) - V(2)}{h} &= 12 \end{aligned}

The picture shows the secant lines for h=1h = 1 and h=12h = \frac{1}{2}; their slopes are the average rates, and they get closer to the slope of the curve at t=2t = 2.

Check: the secant slopes are 1919 for h=1h = 1 and 15.2515.25 for h=12h = \frac{1}{2}. With the rates in the table they fall toward 1212 as hh shrinks.

Example.

2. Why an interval of length 0 does not work. A student wants the rate at the instant t=2t = 2 for the tank and writes V(2)−V(2)2−2\frac{V(2) - V(2)}{2 - 2}. What is wrong?

The top is V(2)−V(2)=0V(2) - V(2) = 0 and the bottom is 2−2=02 - 2 = 0. A quotient of zero by zero has no value, so the average rate is undefined for an interval of length 0. The rate at an instant is not found by putting the two times together; it is the limit of the average rates as the interval shrinks, as in Example 1.

Example.

3. From words to notation and back. Write each sentence as a limit statement.

  1. As xx approaches 4 from the left, f(x)f(x) approaches 7.
  2. As xx approaches −1-1 from the right, g(x)g(x) approaches 0.
  3. As tt approaches 3, from either side, h(t)h(t) approaches −2-2.
  4. As xx approaches 5, k(x)k(x) grows without bound.

"From the left" means through values less than the number, written with a minus sign up high; "from the right" means through greater values, with a plus sign. No sign means both sides. Growing without bound is written =∞= \infty.

  1. lim⁡x→4−f(x)=7\lim_{x \to 4^-} f(x) = 7
  2. lim⁡x→−1+g(x)=0\lim_{x \to -1^+} g(x) = 0
  3. lim⁡t→3h(t)=−2\lim_{t \to 3} h(t) = -2
  4. lim⁡x→5k(x)=∞\lim_{x \to 5} k(x) = \infty

Read backwards, lim⁡x→4−f(x)=7\lim_{x \to 4^-} f(x) = 7 says nothing about xx greater than 4 and nothing about f(4)f(4) itself.

Example.

4. What a limit statement does and does not tell you. It is known that lim⁡x→3f(x)=5\lim_{x \to 3} f(x) = 5. Must f(3)f(3) be 5? Must f(3)f(3) exist?

No to both. The statement is about values of ff near 3. Here are three functions, each with limit 5 at 3: the first has f(3)=5f(3) = 5, the second has a hole at 3 and no value there, the third has a hole and the value 2 at 3.

In all three pictures the graph runs toward height 55 as xx approaches 3, so in all three lim⁡x→3f(x)=5\lim_{x \to 3} f(x) = {5}. Only the first has f(3)=5f(3) = 5. A limit statement alone never tells you f(c)f(c).

Example.

5. One side up, one side down. Describe the behavior of q(x)=1x−1q(x) = \frac{1}{x - 1} near x=1x = 1 with limit notation.

Just left of 1, x−1x - 1 is a small negative number, so q(x)q(x) is a large negative number; just right of 1 it is a large positive number. The engine finds the two one-sided limits:

xx0.90.90.990.991.011.011.11.1
q(x)q(x)−10-10−100-1001001001010

On the left the values fall without bound and on the right they rise without bound; the engine's one-sided limits say the same. So

lim⁡x→1−1x−1=−∞lim⁡x→1+1x−1=∞\begin{aligned} \lim_{x \to 1^-} \frac{1}{x - 1} &= -\infty \\ \lim_{x \to 1^+} \frac{1}{x - 1} &= \infty \end{aligned}

The two-sided limit lim⁡x→11x−1\lim_{x \to 1} \frac{1}{x - 1} does not exist, and it cannot be written =∞= \infty either: the two sides go in opposite directions. Compare 1(x−1)2\frac{1}{(x - 1)^2}, which grows without bound on both sides, so its two-sided limit is written =∞= \infty.

Practice

Answer AP-style questions on introducing calculus; defining limits and limit notation. Each answer is checked, with the full solution, and every try brings new numbers. Practice needs a free account: it keeps your progress.

Practise introducing calculus; defining limits and limit notation with new numbers