AP Calculus AB · Limits and continuity
Defining and estimating limits
1What a limit means
A limit describes the value a function approaches as the input gets close to some number. It does not depend on the function's value at that number, only on its values near it.
$$\lim_{x \to c} f(x) = L$$
is read "the limit of $f(x)$ as $x$ approaches $c$ is $L$." It means $f(x)$ can be made as close to $L$ as we like by taking $x$ close enough to $c$ (but not equal to $c$).
$f(x) = \frac{x^2 - 4}{x - 2}$ is undefined at $x = 2$. But for every other $x$ it equals $x + 2$, so as $x \to 2$, $f(x) \to 4$. The graph is the line $y = x + 2$ with a hole at $(2, 4)$, and $\lim_{x \to 2} f(x) = 4$.
The graph has a hole at x = 2, but the limit there is still 4
Check yourself
What does lim (x→c) f(x) = L depend on?
Show the answer
The values of f(x) for x near c, not at c
A function can have a limit at a point where it is undefined.
2One-sided limits
Sometimes a function approaches different values from the two sides.
- $\lim_{x \to c^-} f(x)$ is the left-hand limit: $x$ approaches $c$ from values less than $c$.
- $\lim_{x \to c^+} f(x)$ is the right-hand limit: $x$ approaches $c$ from values greater than $c$.
The two-sided limit exists only if both one-sided limits exist and are equal:
$$\lim_{x \to c} f(x) = L \iff \lim_{x \to c^-} f(x) = L = \lim_{x \to c^+} f(x)$$
for $f(x) = \frac{|x|}{x}$, the function is $-1$ for $x < 0$ and $1$ for $x > 0$. The left-hand limit at 0 is $-1$ and the right-hand limit is $1$, so $\lim_{x \to 0} f(x)$ does not exist (DNE). This is a jump.
Check yourself
If the left-hand limit at c is 3 and the right-hand limit is 5, what is the two-sided limit?
Show the answer
It does not exist
Both one-sided limits must be equal.
3When limits do not exist
A two-sided limit fails to exist in three common situations:
- Jump: the one-sided limits are different numbers.
- Unbounded behaviour: $f(x)$ grows without bound near $c$, as with $\frac{1}{x^2}$ near $0$. We may write $\lim_{x \to 0} \frac{1}{x^2} = \infty$ to describe how it fails, but the limit is still not a real number.
- Oscillation: $f(x)$ keeps swinging between values, as with $\sin\left(\frac{1}{x}\right)$ near $0$.
Notice also that the limit and the function value can disagree. If $f(2) = 7$ but $f(x) \to 4$ near 2, then $\lim_{x \to 2} f(x) = 4$, not 7.
Check yourself
Which function has no limit at x = 0 because it oscillates?
Show the answer
sin(1/x)
It swings between −1 and 1 infinitely often near 0.
4Estimating limits from graphs and tables
On AP questions you often estimate a limit from a graph or a table.
From a graph: trace the curve toward $x = c$ from each side and read the $y$-value it heads for. Ignore any filled dot that sits away from the curve: that is $f(c)$, not the limit.
From a table: choose $x$-values closer and closer to $c$ from both sides and watch the outputs.
Estimating $\lim_{x \to 0} \frac{\sin x}{x}$ from a table
- $x = 0.1$: $\frac{\sin 0.1}{0.1} \approx 0.9983$.
- $x = 0.01$: $\approx 0.99998$.
- $x = -0.1$ and $x = -0.01$ give the same values, because the function is even.
- The outputs approach $1$ from both sides, so the limit is about $1$.
In fact $\lim_{x \to 0} \frac{\sin x}{x} = 1$ exactly (with $x$ in radians), an important result you should memorise.
A table only suggests a limit; it cannot prove it. Algebra or theorems (next lesson) give exact values.
Check yourself
A table shows f(1.9) = 5.8, f(1.99) = 5.98, f(2.01) = 6.02 and f(2.1) = 6.2. What is the best estimate of the limit at 2?
Show the answer
6
Outputs approach 6 from both sides.
5Going deeper: one-sided limits, piecewise functions and when a limit fails to exist
The statement $\lim_{x \to a} f(x) = L$ means that f(x) can be made as close to L as we like by taking x close enough to a, from both sides, with x ≠ a. The value f(a) is irrelevant: it may equal L, differ from it, or not exist.
One-sided limits: $\lim_{x \to a^-} f(x)$ (from the left) and $\lim_{x \to a^+} f(x)$ (from the right). The two-sided limit exists only if both exist and are equal.
Worked example (piecewise, limit exists): $f(x) = x + 1$ for x < 2 and $f(x) = x^2 - 1$ for x ≥ 2.
- Left: $\lim_{x \to 2^-}(x + 1) = 3$.
- Right: $\lim_{x \to 2^+}(x^2 - 1) = 3$.
- Equal: $\lim_{x \to 2} f(x) = 3$.
Worked example (jump): $g(x) = 2x$ for x < 1 and $g(x) = 5 - x$ for x ≥ 1.
- Left limit 2; right limit 4.
- $\lim_{x \to 1} g(x)$ does not exist, though g(1) = 4 is defined.
Worked example (limit differs from value): a graph has an open circle at (3, 5) and a filled dot at (3, 1).
- $\lim_{x \to 3} f(x) = 5$.
- f(3) = 1.
Three ways a limit can fail to exist
- Jump: the one-sided limits differ.
- Unbounded behavior: the function grows without bound (as $\frac{1}{x^2}$ near 0). We write $\lim = \infty$ to describe the behavior, but the limit does not exist as a number.
- Oscillation: $\sin\left(\frac{1}{x}\right)$ near 0 swings between −1 and 1 without settling.
Estimating from a table: choose x-values approaching a from both sides.
estimate $\lim_{x \to 0}\frac{\sin x}{x}$ (radians).
- x = 0.1: 0.99833. x = 0.01: 0.99998. x = −0.01: 0.99998.
- The values approach 1.
- A table suggests a limit; it does not prove it. Values too far from a, or too few of them, can mislead.
Estimating from a graph: trace along the curve toward x = a from each side and read the height being approached, ignoring any dot at x = a.
Notation matters on the exam: write "$\lim_{x \to a}$" at every step until the limit is actually evaluated, and do not write "f(a) = L" when you mean the limit.
Limits of compositions: if $\lim_{x \to a} g(x) = L$ and f is continuous at L, then $\lim_{x \to a} f(g(x)) = f(L)$. From graphs, when the inner function approaches a value from one side only, use the matching one-sided limit of the outer function.
Common mistakes
- Giving f(a) as the limit.
- Saying a limit does not exist because the function is undefined at a.
- Checking only one side.
- Writing "= ∞" and also claiming the limit exists.
- Dropping the limit symbol mid-calculation.
Check yourself
For a function f, the limit from the left at x = 4 is 7 and the limit from the right is 7, but f(4) = 2. What is the limit of f(x) as x approaches 4?
Show the answer
7
The two one-sided limits agree; the value of the function at the point does not affect the limit.
6For top marks
- Write limit notation correctly: always include "$\lim_{x \to c}$" before the expression in every line until you substitute.
- The limit concerns values near $c$; $f(c)$ may differ or not exist.
- Check both sides. If they disagree, the limit DNE.
- State the reason when a limit DNE: jump, unbounded or oscillating.
- Memorise $\lim_{x \to 0} \frac{\sin x}{x} = 1$ and $\lim_{x \to 0} \frac{1 - \cos x}{x} = 0$.
For "explain why $\lim_{x \to 3} g(x)$ does not exist" when the graph jumps, write: "$\lim_{x \to 3^-} g(x) = 2$ but $\lim_{x \to 3^+} g(x) = 5$; since the one-sided limits are not equal, the limit does not exist."
Check yourself
f(3) = 10, but f(x) approaches 4 from both sides as x → 3. What is lim (x→3) f(x)?
Show the answer
4
The limit ignores the value at the point itself.
Now test yourself
This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.
Practise in Impera