Limits and Continuity

Master limit laws, algebraic evaluation techniques, one-sided limits, and the formal definition of continuity for AP Calculus AB.

Limits are the foundation of all calculus. Every major concept you will encounter — derivatives, integrals, and infinite series — is built on the idea of a limit. In AP Calculus AB, roughly 10–12% of the exam focuses directly on limits and continuity, but your ability to evaluate limits will affect your performance on nearly every other topic.

In this guide, you will learn the core limit laws that let you break complicated expressions into manageable pieces, master algebraic techniques for evaluating limits (including factoring, rationalizing, and simplifying complex fractions), understand one-sided limits and how they connect to two-sided limits, and apply the formal definition of continuity to determine whether a function is continuous at a point.

By the end, you should be able to confidently handle any limit problem that appears on the AP exam.

Core Concepts

What Is a Limit?

The limit of f(x)f(x) as xx approaches aa is the value that f(x)f(x) gets arbitrarily close to as xx gets arbitrarily close to aa (from both sides), regardless of what happens at x=ax = a itself.

We write:

limxaf(x)=L\lim_{x \to a} f(x) = L

This means: for every ϵ>0\epsilon > 0, there exists a δ>0\delta > 0 such that if 0<xa<δ0 < |x - a| < \delta, then f(x)L<ϵ|f(x) - L| < \epsilon. You won't need to write epsilon-delta proofs on the AP exam, but understanding this definition helps you reason about limits correctly.

Limit Laws

If limxaf(x)=L\lim_{x \to a} f(x) = L and limxag(x)=M\lim_{x \to a} g(x) = M, then:

  • Sum/Difference Law: limxa[f(x)±g(x)]=L±M\lim_{x \to a} [f(x) \pm g(x)] = L \pm M
  • Constant Multiple Law: limxa[cf(x)]=cL\lim_{x \to a} [c \cdot f(x)] = c \cdot L
  • Product Law: limxa[f(x)g(x)]=LM\lim_{x \to a} [f(x) \cdot g(x)] = L \cdot M
  • Quotient Law: limxaf(x)g(x)=LM\lim_{x \to a} \frac{f(x)}{g(x)} = \frac{L}{M}, provided M0M \neq 0
  • Power Law: limxa[f(x)]n=Ln\lim_{x \to a} [f(x)]^n = L^n for any positive integer nn
  • Root Law: limxaf(x)n=Ln\lim_{x \to a} \sqrt[n]{f(x)} = \sqrt[n]{L}, provided L>0L > 0 when nn is even

These laws allow you to evaluate most limits by direct substitution when the function is continuous at aa.

Direct Substitution

The simplest way to evaluate a limit: plug in x=ax = a. This works whenever ff is continuous at aa. For example:

limx3(2x25x+1)=2(9)15+1=4\lim_{x \to 3} (2x^2 - 5x + 1) = 2(9) - 15 + 1 = 4

Direct substitution works for all polynomials, rational functions (where the denominator is nonzero), trigonometric functions at points in their domain, exponential and logarithmic functions at points in their domain, and any composition or combination of the above (by the limit laws).

Indeterminate Forms and Algebraic Techniques

When direct substitution gives 00\frac{0}{0}, the limit may still exist — you just need to do more work. Common techniques include:

Factoring: Factor numerator and denominator, then cancel the common factor.

limx2x24x2=limx2(x2)(x+2)x2=limx2(x+2)=4\lim_{x \to 2} \frac{x^2 - 4}{x - 2} = \lim_{x \to 2} \frac{(x-2)(x+2)}{x-2} = \lim_{x \to 2} (x + 2) = 4

Rationalizing: Multiply by the conjugate when you see square roots.

limx0x+42x=limx0(x+42)(x+4+2)x(x+4+2)=limx0xx(x+4+2)=14\lim_{x \to 0} \frac{\sqrt{x+4} - 2}{x} = \lim_{x \to 0} \frac{(\sqrt{x+4}-2)(\sqrt{x+4}+2)}{x(\sqrt{x+4}+2)} = \lim_{x \to 0} \frac{x}{x(\sqrt{x+4}+2)} = \frac{1}{4}

Simplifying complex fractions: Combine fractions in the numerator or denominator into a single fraction, then simplify.

limx01x+313x=limx03(x+3)3(x+3)x=limx0x3x(x+3)=limx013(x+3)=19\lim_{x \to 0} \frac{\frac{1}{x+3} - \frac{1}{3}}{x} = \lim_{x \to 0} \frac{\frac{3 - (x+3)}{3(x+3)}}{x} = \lim_{x \to 0} \frac{-x}{3x(x+3)} = \lim_{x \to 0} \frac{-1}{3(x+3)} = -\frac{1}{9}

Special Trigonometric Limits

Two limits you must memorize:

limx0sinxx=1andlimx01cosxx=0\lim_{x \to 0} \frac{\sin x}{x} = 1 \qquad \text{and} \qquad \lim_{x \to 0} \frac{1 - \cos x}{x} = 0

These are used constantly. For example:

limx0sin(5x)x=limx05sin(5x)5x=51=5\lim_{x \to 0} \frac{\sin(5x)}{x} = \lim_{x \to 0} 5 \cdot \frac{\sin(5x)}{5x} = 5 \cdot 1 = 5

One-Sided Limits

The left-hand limit limxaf(x)\lim_{x \to a^-} f(x) considers only values of xx less than aa. The right-hand limit limxa+f(x)\lim_{x \to a^+} f(x) considers only values greater than aa.

The two-sided limit limxaf(x)=L\lim_{x \to a} f(x) = L exists if and only if both one-sided limits exist and are equal:

limxaf(x)=limxa+f(x)=L\lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x) = L

One-sided limits are especially important for piecewise functions. For example, if:

f(x)={x2x<12x1x1f(x) = \begin{cases} x^2 & x < 1 \\ 2x - 1 & x \geq 1 \end{cases}

Then limx1f(x)=1\lim_{x \to 1^-} f(x) = 1 and limx1+f(x)=1\lim_{x \to 1^+} f(x) = 1, so limx1f(x)=1\lim_{x \to 1} f(x) = 1.

Continuity

A function ff is continuous at x=ax = a if all three conditions hold:

  1. f(a)f(a) is defined
  2. limxaf(x)\lim_{x \to a} f(x) exists
  3. limxaf(x)=f(a)\lim_{x \to a} f(x) = f(a)

If any condition fails, ff has a discontinuity at aa. Types of discontinuities:

  • Removable (hole): The limit exists but either f(a)f(a) is undefined or f(a)limxaf(x)f(a) \neq \lim_{x \to a} f(x). Example: f(x)=x21x1f(x) = \frac{x^2 - 1}{x - 1} at x=1x = 1.
  • Jump: Both one-sided limits exist but are not equal. Example: the greatest integer function x\lfloor x \rfloor at any integer.
  • Infinite (vertical asymptote): At least one one-sided limit is ±\pm \infty. Example: f(x)=1xf(x) = \frac{1}{x} at x=0x = 0.

The Intermediate Value Theorem (IVT)

If ff is continuous on [a,b][a, b] and NN is any number between f(a)f(a) and f(b)f(b), then there exists at least one cc in (a,b)(a, b) such that f(c)=Nf(c) = N.

The IVT is commonly used to show that an equation has a solution. If f(1)=2f(1) = -2 and f(3)=5f(3) = 5 and ff is continuous, then there must be some c(1,3)c \in (1, 3) where f(c)=0f(c) = 0.

The Squeeze Theorem

If g(x)f(x)h(x)g(x) \leq f(x) \leq h(x) near aa (except possibly at aa) and limxag(x)=limxah(x)=L\lim_{x \to a} g(x) = \lim_{x \to a} h(x) = L, then limxaf(x)=L\lim_{x \to a} f(x) = L.

Classic example: limx0x2sin(1x)=0\lim_{x \to 0} x^2 \sin\left(\frac{1}{x}\right) = 0, since x2x2sin(1/x)x2-x^2 \leq x^2 \sin(1/x) \leq x^2 and both bounds approach 0.

Strategy Tips

Tip 1: Always Try Direct Substitution First

Plug in the value. If you get a real number, that's your answer. Only if you get 00\frac{0}{0} (or another indeterminate form) do you need algebraic manipulation.

Tip 2: Recognize the Form Before Choosing a Technique

If you get 00\frac{0}{0} from a rational expression, try factoring. If the expression involves a square root, try rationalizing (multiply by the conjugate). If you see sin(something)something\frac{\sin(\text{something})}{\text{something}}, aim to use the special trig limit.

Tip 3: For Piecewise Functions, Check Both Sides

Always compute left-hand and right-hand limits separately at the boundary. If they match, the two-sided limit exists. Then check all three continuity conditions.

Tip 4: Don't Confuse "Limit Exists" with "Function Is Continuous"

A limit can exist at a point even if the function is undefined there (that's a removable discontinuity). Continuity requires the limit to exist AND equal the function value.

Tip 5: Use the Squeeze Theorem When Oscillation Is Involved

Whenever you see sin(1/x)\sin(1/x) or cos(1/x)\cos(1/x) multiplied by something going to zero, the Squeeze Theorem is usually the right approach.

Worked Example: Example 1

Problem

Evaluate limx1x2+3x+2x21\lim_{x \to -1} \frac{x^2 + 3x + 2}{x^2 - 1}.

Solution

Direct substitution gives 13+211=00\frac{1 - 3 + 2}{1 - 1} = \frac{0}{0}, an indeterminate form. Factor both numerator and denominator:

x2+3x+2x21=(x+1)(x+2)(x+1)(x1)\frac{x^2 + 3x + 2}{x^2 - 1} = \frac{(x+1)(x+2)}{(x+1)(x-1)}

Cancel (x+1)(x+1) (valid since x1x \neq -1 in a limit):

limx1x+2x1=1+211=12=12\lim_{x \to -1} \frac{x+2}{x-1} = \frac{-1+2}{-1-1} = \frac{1}{-2} = -\frac{1}{2}

Worked Example: Example 2

Problem

Evaluate limx0tan(3x)sin(5x)\lim_{x \to 0} \frac{\tan(3x)}{\sin(5x)}.

Solution

Rewrite tan(3x)=sin(3x)cos(3x)\tan(3x) = \frac{\sin(3x)}{\cos(3x)}:

limx0sin(3x)cos(3x)sin(5x)\lim_{x \to 0} \frac{\sin(3x)}{\cos(3x) \cdot \sin(5x)}

Multiply and divide strategically:

=limx0sin(3x)3x5xsin(5x)3x5x1cos(3x)= \lim_{x \to 0} \frac{\sin(3x)}{3x} \cdot \frac{5x}{\sin(5x)} \cdot \frac{3x}{5x} \cdot \frac{1}{\cos(3x)}

=113511=35= 1 \cdot 1 \cdot \frac{3}{5} \cdot \frac{1}{1} = \frac{3}{5}

Worked Example: Example 3

Problem

Let f(x)={x2+1x<2ax3x2f(x) = \begin{cases} x^2 + 1 & x < 2 \\ ax - 3 & x \geq 2 \end{cases}. Find the value of aa that makes ff continuous at x=2x = 2.

Solution

For continuity, we need limx2f(x)=limx2+f(x)=f(2)\lim_{x \to 2^-} f(x) = \lim_{x \to 2^+} f(x) = f(2).

Left-hand limit: limx2(x2+1)=4+1=5\lim_{x \to 2^-} (x^2 + 1) = 4 + 1 = 5.

Right-hand limit (and function value): limx2+(ax3)=2a3\lim_{x \to 2^+} (ax - 3) = 2a - 3.

Set them equal: 2a3=52a - 3 = 5, so a=4a = 4.

Worked Example: Example 4

Problem

Show that x3+x1=0x^3 + x - 1 = 0 has a solution on (0,1)(0, 1).

Solution

Let f(x)=x3+x1f(x) = x^3 + x - 1. This is a polynomial, so it is continuous everywhere. Evaluate at the endpoints:

f(0)=0+01=1<0f(0) = 0 + 0 - 1 = -1 < 0

f(1)=1+11=1>0f(1) = 1 + 1 - 1 = 1 > 0

Since ff is continuous on [0,1][0, 1] and f(0)<0<f(1)f(0) < 0 < f(1), the Intermediate Value Theorem guarantees at least one c(0,1)c \in (0, 1) where f(c)=0f(c) = 0.

Practice Problems

  1. Problem 1

    Evaluate limx4x2x4\lim_{x \to 4} \frac{\sqrt{x} - 2}{x - 4}.

    Hint: Rationalize the numerator.

    Answer: 14\frac{1}{4}

    Problem 2

    Evaluate limx0sin(2x)3x\lim_{x \to 0} \frac{\sin(2x)}{3x}.

    Answer: 23\frac{2}{3}

    Problem 3

    Determine whether f(x)={x29x3x35x=3f(x) = \begin{cases} \frac{x^2 - 9}{x - 3} & x \neq 3 \\ 5 & x = 3 \end{cases} is continuous at x=3x = 3. If not, classify the discontinuity.

    Answer: Not continuous — removable discontinuity. The limit equals 6 but f(3)=5f(3) = 5.

    Problem 4

    Evaluate limx0xx+11\lim_{x \to 0} \frac{x}{\sqrt{x + 1} - 1}.

    Answer: 22

    Problem 5

    Use the Squeeze Theorem to evaluate limx0xcos(1x2)\lim_{x \to 0} x \cos\left(\frac{1}{x^2}\right).

    Answer: 00

Want to check your answers and get step-by-step solutions?

Get it on Google PlayDownload on the App Store

Common Mistakes

  • Assuming 00\frac{0}{0} means the limit does not exist. The form 00\frac{0}{0} is indeterminate — the limit might be any number, or might not exist. You must do further work to find out.
  • Canceling without factoring properly. When canceling common factors, make sure you have factored correctly. A sign error in factoring is one of the most common mistakes.
  • Forgetting to check all three continuity conditions. Students often check only that the limit exists, forgetting to verify f(a)f(a) is defined and equals the limit.
  • Misapplying the special trig limit. Remember: limx0sinxx=1\lim_{x \to 0} \frac{\sin x}{x} = 1 requires the argument of sine and the denominator to be the same expression. If they differ, you need to adjust with multiplication.
  • Confusing "limit does not exist" with "limit equals infinity." If a limit approaches \infty, we sometimes write lim=\lim = \infty, but technically the limit does not exist as a finite number. The AP exam may ask you to distinguish these.

Frequently Asked Questions

When can I just plug in the number?

You can use direct substitution whenever the function is continuous at that point. Polynomials, exponentials, and trig functions are continuous on their domains, so direct substitution works for them. If substitution gives 00\frac{0}{0}, you need algebraic manipulation first.

What's the difference between a removable and a non-removable discontinuity?

A removable discontinuity is a "hole" — the limit exists, but the function either isn't defined there or has the wrong value. You could fix it by redefining the function at that one point. A non-removable discontinuity (jump or infinite) cannot be fixed by changing just one point.

Do I need to know the epsilon-delta definition for the AP exam?

No. The AP Calculus AB exam does not require epsilon-delta proofs. However, understanding the intuitive meaning of the definition helps you reason about limits and answer conceptual multiple-choice questions.

How do I handle limits at infinity?

For rational functions, divide every term by the highest power of xx in the denominator. Terms like 1x\frac{1}{x}, 1x2\frac{1}{x^2}, etc., all approach 0 as xx \to \infty. Compare the degrees of numerator and denominator: same degree gives the ratio of leading coefficients; numerator larger gives ±\pm \infty; denominator larger gives 0.

Is the Squeeze Theorem frequently tested on the AP exam?

It appears occasionally, usually in a multiple-choice conceptual question. Knowing it well can earn you easy points. The most common setup involves sin\sin or cos\cos of 1x\frac{1}{x} multiplied by a function approaching zero.

Key Takeaways

  • Direct substitution is your first move. Always try plugging in the value before attempting any algebraic manipulation.

  • Indeterminate forms require further work. The form 00\frac{0}{0} is a signal to factor, rationalize, or simplify — not to give up.

  • One-sided limits determine the two-sided limit. The two-sided limit exists only when both one-sided limits agree.

  • Continuity has three conditions. The function must be defined, the limit must exist, and they must be equal — check all three.

  • The IVT guarantees existence, not exact values. It tells you a solution exists on an interval but doesn't tell you what it is.

  • Memorize the key trig limits. limx0sinxx=1\lim_{x \to 0} \frac{\sin x}{x} = 1 and limx01cosxx=0\lim_{x \to 0} \frac{1 - \cos x}{x} = 0 show up repeatedly on the AP exam.

Ready to Ace Your AP Calculus AB math?

Get instant step-by-step solutions to any problem. Snap a photo and learn with Tutor AI — your personal exam prep companion.

Get it on Google PlayDownload on the App Store