Unit 1: Limits and Continuity

The Big Idea of a Limit (What It Means and Why You Need It)

Limits as “approaching” rather than “being”

A limit is the value a function approaches as the input gets nearer to a particular number. The key idea is that we don’t really care what happens at the point; we care about what happens around the point—how the function behaves near that input.

When you write

lim⁡x→af(x)=L\lim_{x \to a} f(x) = L

you are saying: as x gets closer and closer to a (using values near a), the function values get closer and closer to L.

This matters because calculus is built on describing change and accumulation in situations where you can’t (or shouldn’t) just plug in a number. Two major reasons limits show up immediately are that functions can be undefined at a point (a hole) but still have predictable nearby behavior, and that the derivative (instantaneous rate of change) is defined using a limit.

A common early misconception is to treat the limit as the same thing as the function value. They can match, but they don’t have to.

Reading limit notation carefully

You’ll see several closely related notations:

  • Two-sided limit:

lim⁡x→af(x)\lim_{x \to a} f(x)

  • Left-hand limit:

lim⁡x→a−f(x)\lim_{x \to a^-} f(x)

  • Right-hand limit:

lim⁡x→a+f(x)\lim_{x \to a^+} f(x)

The “minus” and “plus” tell you where x comes from (less than a or greater than a), not whether the limit value is negative or positive.

When a two-sided limit exists

A two-sided limit exists exactly when both one-sided limits exist and match:

lim⁡x→af(x)=L  ⟺  lim⁡x→a−f(x)=L and lim⁡x→a+f(x)=L\lim_{x \to a} f(x) = L \iff \lim_{x \to a^-} f(x) = L \text{ and } \lim_{x \to a^+} f(x) = L

If the left-hand and right-hand limits approach different values, the two-sided limit does not exist (DNE).

Example: limit can exist even if the function is “broken”

Suppose

f(x)=x2−1x−1f(x) = \frac{x^2 - 1}{x - 1}

This is undefined at x = 1, but factoring gives

x2−1=(x−1)(x+1)x^2 - 1 = (x - 1)(x + 1)

So for x not equal to 1,

f(x)=x+1f(x) = x + 1

and the limit is

lim⁡x→1x2−1x−1=2\lim_{x \to 1} \frac{x^2 - 1}{x - 1} = 2

What can make a limit fail to exist

In AP Calculus AB, the most common DNE situations are:

  • Jump behavior: left and right approach different finite values.

  • Infinite behavior: values blow up toward infinity or negative infinity.

  • Oscillation near a point: values don’t settle to a single number.

Exam Focus
  • Typical question patterns:

    • Determine a two-sided limit from a graph by tracing from both sides.

    • Decide whether a limit exists by comparing left-hand and right-hand limits.

    • Distinguish between the function value and the limit using a table or graph.

  • Common mistakes:

    • Plugging in x = a automatically even when the function is undefined or discontinuous.

    • Forgetting that a two-sided limit requires agreement from both sides.

    • Mixing up one-sided notation (approaching from the left means using values less than a).

Estimating Limits from Graphs, Tables, and Context

Why estimation matters

Not every limit is meant to be evaluated purely by algebra. In real data, complicated formulas, and calculator-active questions, you often approximate behavior. AP Calculus expects you to be fluent in reading limits from multiple representations:

  • Graphical: follow the curve as x approaches a value.

  • Numerical: use a table of values near the input.

  • Contextual: interpret a process described “as time approaches…”

The skill isn’t just getting a number; it’s justifying what the function is doing near the point.

Reading limits from a graph

To estimate a two-sided limit from a graph, trace as x approaches a from the left and from the right and see what y-value the graph heads toward. If the graph approaches two different values from the left and right at the same input, then the limit does not exist.

An open circle at x = a may indicate the function value is missing (or defined elsewhere), but the limit can still equal the open-circle height.

Example (graph interpretation without a picture)

Imagine a graph where as x approaches 2, the curve approaches y = 5 from both sides, but the filled point at x = 2 is at y = 1. Then:

lim⁡x→2f(x)=5\lim_{x \to 2} f(x) = 5

f(2)=1f(2) = 1

Estimating limits from tables

With a table, you look at values of f(x) for x close to a, using inputs from both sides (for example, 1.9, 1.99, 2.01, 2.1 when approaching 2). You then check whether the outputs stabilize toward a single value.

Two subtle issues are important. First, rounding can hide the target value (outputs like 0.9998 and 1.0002 strongly suggest a limit of 1). Second, hidden vertical asymptotes may appear as outputs growing rapidly in magnitude, indicating an infinite limit rather than a finite number.

Worked example: table-based estimation

Suppose you are given values suggesting:

  • at x = 2.1, f(x) = 10.0

  • at x = 2.01, f(x) = 100.0

  • at x = 2.001, f(x) = 1000.0

and from the left:

  • at x = 1.9, f(x) = -10.0

  • at x = 1.99, f(x) = -100.0

This suggests

lim⁡x→2+f(x)=∞\lim_{x \to 2^+} f(x) = \infty

and

lim⁡x→2−f(x)=−∞\lim_{x \to 2^-} f(x) = -\infty

So the two-sided limit does not exist.

One-sided limits in context

One-sided limits model real situations where you can only approach from one side, such as time approaching 0 from the right (negative time may be meaningless) or a quantity approaching a maximum capacity from below. If the domain naturally restricts values, the meaningful limit might be one-sided.

Exam Focus
  • Typical question patterns:

    • Given a graph with open/closed circles, find one-sided and two-sided limits and compare to the function value.

    • Use a table to decide whether a limit is finite, infinite, or does not exist.

    • Interpret one-sided limits in a word problem (for example, as time approaches 0 seconds).

  • Common mistakes:

    • Using only one side of a table and claiming a two-sided limit.

    • Confusing “limit does not exist” with “function is undefined.”

    • Over-trusting calculator tables without checking both sides and values sufficiently close to a.

Evaluating Limits Algebraically (Laws, Techniques, and Tricky Cases)

Why algebraic evaluation is a separate skill

Graphs and tables are great for intuition, but algebra gives exact answers and justifications. Many limits are found by direct substitution, but when substitution produces an indeterminate form, you must rewrite the expression.

Direct substitution (when it works)

For “nice” functions (especially polynomials), you can evaluate a limit by plugging in the number being approached.

If f(x) is continuous at x = a, then

lim⁡x→af(x)=f(a)\lim_{x \to a} f(x) = f(a)

Example: polynomial

For

f(x)=x3−4x+1f(x) = x^3 - 4x + 1

the limit is

lim⁡x→2(x3−4x+1)=1\lim_{x \to 2} (x^3 - 4x + 1) = 1

Limit laws (algebraic properties)

Limit laws let you break complicated expressions into simpler ones, provided the relevant limits exist (and for quotients, the denominator’s limit is not zero).

If

lim⁡x→af(x)=L\lim_{x \to a} f(x) = L

and

lim⁡x→ag(x)=M\lim_{x \to a} g(x) = M

then common laws include:

  • Sum and difference:

lim⁡x→a(f(x)±g(x))=L±M\lim_{x \to a} (f(x) \pm g(x)) = L \pm M

  • Constant multiple:

lim⁡x→a(cf(x))=cL\lim_{x \to a} (c f(x)) = cL

  • Product:

lim⁡x→a(f(x)g(x))=LM\lim_{x \to a} (f(x)g(x)) = LM

  • Quotient (when M is not 0):

lim⁡x→af(x)g(x)=LM\lim_{x \to a} \frac{f(x)}{g(x)} = \frac{L}{M}

  • Powers and roots (when defined):

lim⁡x→a(f(x))n=Ln\lim_{x \to a} (f(x))^n = L^n

These laws explain why direct substitution works so often for continuous functions.

Indeterminate forms and why they happen

An indeterminate form is not an answer; it’s a signal to rewrite. The most common one in Unit 1 is

00\frac{0}{0}

Getting this form does not mean the limit is 0 and does not automatically mean DNE. It means “use a different strategy.”

Technique 1: factoring and canceling (removable discontinuities)

If substitution gives 0/0, factoring is often the fastest fix. When a common factor cancels, the original function may have a removable discontinuity (a hole) at the canceled factor’s zero.

Worked example

Evaluate

lim⁡x→3x2−9x−3\lim_{x \to 3} \frac{x^2 - 9}{x - 3}

Substitution gives 0/0. Factor:

x2−9=(x−3)(x+3)x^2 - 9 = (x - 3)(x + 3)

For x not equal to 3,

x2−9x−3=x+3\frac{x^2 - 9}{x - 3} = x + 3

So the limit is

66

Example: canceling a factor (and identifying the removable discontinuity)

Consider the rational expression

(x+3)(x+2)(x+3)(x−3)\frac{(x+3)(x+2)}{(x+3)(x-3)}

For x not equal to negative 3, the factor x + 3 cancels and the expression simplifies to

x+2x−3\frac{x+2}{x-3}

This means x = -3 is a removable discontinuity (a hole) in the original expression. Note that x = 3 still makes the denominator zero after simplification, so x = 3 corresponds to a vertical asymptote (an infinite discontinuity), not a removable one.

Technique 2: rationalizing (using conjugates)

Rationalizing is useful when square roots cause 0/0.

Worked example

Evaluate

lim⁡x→4x−2x−4\lim_{x \to 4} \frac{\sqrt{x} - 2}{x - 4}

Multiply by the conjugate:

x−2x−4⋅x+2x+2=x−4(x−4)(x+2)\frac{\sqrt{x} - 2}{x - 4} \cdot \frac{\sqrt{x} + 2}{\sqrt{x} + 2} = \frac{x - 4}{(x - 4)(\sqrt{x} + 2)}

Cancel and substitute:

lim⁡x→41x+2=14\lim_{x \to 4} \frac{1}{\sqrt{x} + 2} = \frac{1}{4}

Technique 3: simplifying complex fractions

If you have a fraction inside a fraction, rewrite division as multiplication:

ABCD=AB⋅DC\frac{\frac{A}{B}}{\frac{C}{D}} = \frac{A}{B} \cdot \frac{D}{C}

Then simplify and apply limit laws.

Piecewise-defined functions and matching behavior from both sides

Piecewise functions test whether you truly understand “approach from left/right.” To evaluate a limit at x = a, compute the left-hand limit using the rule for x less than a and the right-hand limit using the rule for x greater than a, then compare.

Worked example

Let f(x) = x + 1 for x < 2 and f(x) = 2x - 3 for x greater than or equal to 2.

Left-hand limit:

lim⁡x→2−f(x)=3\lim_{x \to 2^-} f(x) = 3

Right-hand limit:

lim⁡x→2+f(x)=1\lim_{x \to 2^+} f(x) = 1

Since they differ,

lim⁡x→2f(x) DNE\lim_{x \to 2} f(x) \text{ DNE}

Even though the function value exists,

f(2)=1f(2) = 1

that does not make the two-sided limit exist.

The Squeeze Theorem (pinning a limit between two simpler ones)

The Squeeze Theorem formalizes the idea that if you trap a function between two functions with the same limit, the trapped function must share that limit.

If for x near a (possibly excluding x = a) you have

g(x)≤f(x)≤h(x)g(x) \le f(x) \le h(x)

and

lim⁡x→ag(x)=L\lim_{x \to a} g(x) = L

and

lim⁡x→ah(x)=L\lim_{x \to a} h(x) = L

then

lim⁡x→af(x)=L\lim_{x \to a} f(x) = L

Special trigonometric limits

A foundational limit used throughout calculus is

lim⁡x→0sin⁡xx=1\lim_{x \to 0} \frac{\sin x}{x} = 1

A related result is

lim⁡x→0tan⁡xx=1\lim_{x \to 0} \frac{\tan x}{x} = 1

Additional trig limits you should know how to use (often by rewriting to involve the basic sine limit) include:

lim⁡x→0cos⁡x−1x=0\lim_{x \to 0} \frac{\cos x - 1}{x} = 0

lim⁡x→0sin⁡(ax)x=a\lim_{x \to 0} \frac{\sin(ax)}{x} = a

lim⁡x→0sin⁡(ax)sin⁡(bx)=ab\lim_{x \to 0} \frac{\sin(ax)}{\sin(bx)} = \frac{a}{b}

These are typically justified using geometry and/or the Squeeze Theorem; you are expected to use them correctly.

Worked example using the special limit

Evaluate

lim⁡x→0sin⁡(5x)x\lim_{x \to 0} \frac{\sin(5x)}{x}

Rewrite to match the known pattern:

sin⁡(5x)x=sin⁡(5x)5x⋅5\frac{\sin(5x)}{x} = \frac{\sin(5x)}{5x} \cdot 5

Then

lim⁡x→0sin⁡(5x)5x=1\lim_{x \to 0} \frac{\sin(5x)}{5x} = 1

so the limit is

55

Exam Focus
  • Typical question patterns:

    • Evaluate a limit that gives 0/0 by factoring, rationalizing, or simplifying complex fractions.

    • Compute one-sided limits of a piecewise function, then decide if the two-sided limit exists.

    • Use special trig limits (especially sine-over-angle) to evaluate trigonometric limits.

  • Common mistakes:

    • Canceling terms that are not factors (canceling across addition).

    • Forgetting the conjugate method multiplies by a form of 1.

    • Using trig “shortcuts” without rewriting into an exact known-limit pattern.

Infinite Limits and Limits at Infinity (Vertical and Horizontal Asymptotes)

Two different “infinity” ideas

It helps to keep these distinct:

  1. Infinite limit: f(x) grows without bound as x approaches a finite number a.

  2. Limit at infinity: f(x) approaches a value (or fails to settle) as x becomes very large (positive or negative).

These ideas connect directly to asymptotes.

Infinite limits and vertical asymptotes

If

lim⁡x→af(x)=∞\lim_{x \to a} f(x) = \infty

then f(x) increases without bound near x = a (and similarly for negative infinity). When one-sided infinite limits occur at x = a, the graph typically has a vertical asymptote at

x=ax = a

A vertical asymptote is a vertical line the function cannot cross in the sense that the function is not defined there.

Example: a classic vertical asymptote

Consider

f(x)=1x−2f(x) = \frac{1}{x - 2}

Then

lim⁡x→2+1x−2=∞\lim_{x \to 2^+} \frac{1}{x - 2} = \infty

and

lim⁡x→2−1x−2=−∞\lim_{x \to 2^-} \frac{1}{x - 2} = -\infty

So the two-sided limit is DNE, but there is a vertical asymptote at x = 2.

Limits at infinity and horizontal asymptotes

Limits at infinity have the forms

lim⁡x→∞f(x)\lim_{x \to \infty} f(x)

and

lim⁡x→−∞f(x)\lim_{x \to -\infty} f(x)

If such a limit equals a finite number L, the graph approaches the horizontal line

y=Ly = L

This is a horizontal asymptote. A horizontal asymptote describes end behavior, and it can be crossed.

Rational functions: comparing degrees (horizontal asymptote rules)

For

f(x)=p(x)q(x)f(x) = \frac{p(x)}{q(x)}

where p and q are polynomials of degrees n and m:

  • If n < m, then

lim⁡x→∞p(x)q(x)=0\lim_{x \to \infty} \frac{p(x)}{q(x)} = 0

so y = 0 is a horizontal asymptote.

  • If n = m, the limit at infinity is the ratio of leading coefficients.

  • If n > m, the function does not have a horizontal asymptote. In many such cases the function’s magnitude grows without bound as x approaches infinity (often described informally as “the limit goes to infinity”), or it may follow slant/oblique behavior.

Worked example (degree comparison)

Evaluate

lim⁡x→∞3x2−15x2+7\lim_{x \to \infty} \frac{3x^2 - 1}{5x^2 + 7}

Divide by x squared:

3−1/x25+7/x2\frac{3 - 1/x^2}{5 + 7/x^2}

As x approaches infinity, the fractions go to 0, so the limit is

35\frac{3}{5}

Thus the horizontal asymptote is y = 3/5.

Worked example (numerator degree smaller)

Evaluate

lim⁡x→∞2x+1x2\lim_{x \to \infty} \frac{2x + 1}{x^2}

Divide by x squared:

2/x+1/x21\frac{2/x + 1/x^2}{1}

As x approaches infinity, the terms go to 0, so the limit is

00

Connecting asymptotes to limits
  • A vertical asymptote at x = a corresponds to an infinite one-sided limit as x approaches a from the left and/or right.

  • If

lim⁡x→∞f(x)=L\lim_{x \to \infty} f(x) = L

then the graph levels off toward y = L.

A frequent error is treating infinity as a number you can substitute. It isn’t; an infinite limit means “grows without bound,” not “equals infinity.”

Exam Focus
  • Typical question patterns:

    • Determine whether one-sided limits near a vertical asymptote are infinity, negative infinity, or finite (often from a graph).

    • Evaluate limits at infinity for rational functions using degree comparison or dividing by the highest power.

    • Identify vertical or horizontal asymptotes from limit statements (and vice versa).

  • Common mistakes:

    • Saying “the limit is infinity so it exists.” Unbounded behavior means the (finite) limit does not exist, and a two-sided limit may still be DNE if sides differ.

    • Forgetting to check left-hand vs right-hand behavior near a vertical asymptote.

    • Dividing by the wrong power of x when computing a limit at infinity.

Continuity (Definition, Discontinuities, and How Limits Control Them)

What it means for a function to be continuous

Intuitively, continuity at x = a means there is no break in the graph at that input. Calculus uses a precise limit-based definition.

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

  1. f(a) is defined.

  2. The limit exists.

  3. The limit equals the function value.

In symbols, the last condition is

lim⁡x→af(x)=f(a)\lim_{x \to a} f(x) = f(a)

Continuity matters because it justifies direct substitution and supports theorems like the Intermediate Value Theorem.

Continuity on an interval

A function is continuous on an interval if it is continuous at every point in that interval. On a closed interval, endpoints are handled with appropriate one-sided behavior.

Types of discontinuities you should recognize
Removable discontinuity (a “hole”)

A removable discontinuity occurs when the limit exists but the function value is missing or defined differently than the limit. It’s “removable” because you can remove the discontinuity by filling the hole with the limit value.

Example pattern:

f(x)=(x−1)(x+2)x−1f(x) = \frac{(x - 1)(x + 2)}{x - 1}

The graph matches y = x + 2 except it has a hole at x = 1.

Jump discontinuity

A jump discontinuity occurs when the left-hand and right-hand limits both exist (and are finite) but do not match:

lim⁡x→a−f(x)≠lim⁡x→a+f(x)\lim_{x \to a^-} f(x) \ne \lim_{x \to a^+} f(x)

This is the kind of “break” where the curve stops and starts at a different height.

Infinite (essential) discontinuity

An infinite discontinuity occurs when the function has a vertical asymptote and grows without bound near the point.

Continuity of common function types (what you can assume)

In AP Calculus AB, you can generally use these facts:

  • Polynomials are continuous for all real numbers.

  • Rational functions are continuous wherever the denominator is not zero.

  • Trigonometric functions like sine and cosine are continuous where defined.

  • Sums, products, and compositions of continuous functions are continuous where defined.

Removing discontinuities (redefining the function)

You can remove a removable discontinuity by redefining the function’s value at the hole to equal the limit. In rational expressions, this is frequently done by factoring out a common factor in the numerator and denominator (a common root), simplifying, and then defining the missing point to match the simplified expression’s value.

Solving for parameters to make a function continuous

A common task is: “Find k so that f is continuous at x = a.” The strategy is consistent: compute the limit at a using the nearby rule, then set f(a) (often containing k) equal to that limit.

Worked example

Define f(x) by

  • for x not equal to 2:

f(x)=x2−4x−2f(x) = \frac{x^2 - 4}{x - 2}

  • and

f(2)=kf(2) = k

Continuity at x = 2 requires

k=lim⁡x→2x2−4x−2k = \lim_{x \to 2} \frac{x^2 - 4}{x - 2}

Factor:

x2−4=(x−2)(x+2)x^2 - 4 = (x - 2)(x + 2)

So for x not equal to 2,

x2−4x−2=x+2\frac{x^2 - 4}{x - 2} = x + 2

Thus the limit is 4, so

k=4k = 4

The Intermediate Value Theorem (IVT)

The Intermediate Value Theorem guarantees that a continuous function cannot skip values.

If f is continuous on the interval [a,b] and C is any number between f(a) and f(b), then there exists at least one number c in [a,b] such that

f(c)=Cf(c) = C

Worked example (existence of a root)

Show that

f(x)=x3+x−1f(x) = x^3 + x - 1

has a root between 0 and 1.

  1. Polynomials are continuous everywhere, so f is continuous on [0,1].

  2. Compute endpoint values:

f(0)=−1f(0) = -1

f(1)=1f(1) = 1

  1. Since 0 lies between -1 and 1, IVT guarantees some c in [0,1] such that

f(c)=0f(c) = 0

IVT guarantees existence, not the exact location.

Exam Focus
  • Typical question patterns:

    • Decide whether a function is continuous at a point by checking the three continuity conditions.

    • Find a parameter value that makes a piecewise or redefined function continuous.

    • Use IVT to justify the existence of a solution to f(x) = N on an interval.

  • Common mistakes:

    • Treating “continuous” as only “no holes” without checking limit existence and equality to f(a).

    • Using IVT without verifying continuity on the entire interval.

    • Claiming IVT finds the solution; it only guarantees existence.

Limits as the Gateway to Derivatives (Secant Slopes and Instantaneous Change)

Why Unit 1 quietly prepares you for derivatives

Even before derivatives are formally introduced, limits train you to understand an “instantaneous” effect by studying what happens as an interval shrinks toward 0. The derivative at a point is defined using a limit, so comfort with limits pays off immediately.

Average rate of change (secant slope)

Between x = a and x = a + h, the average rate of change is the slope of the secant line:

f(a+h)−f(a)(a+h)−a=f(a+h)−f(a)h\frac{f(a+h) - f(a)}{(a+h) - a} = \frac{f(a+h) - f(a)}{h}

Instantaneous rate of change (tangent slope)

To get an instantaneous rate of change at x = a, let h approach 0:

lim⁡h→0f(a+h)−f(a)h\lim_{h \to 0} \frac{f(a+h) - f(a)}{h}

When this limit exists, it is the derivative at a, written f'(a). You cannot set h = 0 directly because that creates 0/0; the meaning comes from the value the secant slope approaches.

Worked example: tangent slope via a limit

Find the instantaneous rate of change of

f(x)=x2f(x) = x^2

at x = 3 using the limit definition.

Start:

lim⁡h→0f(3+h)−f(3)h\lim_{h \to 0} \frac{f(3+h) - f(3)}{h}

Compute:

f(3+h)=(3+h)2=9+6h+h2f(3+h) = (3+h)^2 = 9 + 6h + h^2

f(3)=9f(3) = 9

Substitute and simplify:

lim⁡h→0(9+6h+h2)−9h=lim⁡h→06h+h2h\lim_{h \to 0} \frac{(9 + 6h + h^2) - 9}{h} = \lim_{h \to 0} \frac{6h + h^2}{h}

Cancel h (for h not equal to 0):

lim⁡h→0(6+h)=6\lim_{h \to 0} (6 + h) = 6

So the instantaneous rate of change at x = 3 is 6.

Interpreting rate of change in real contexts

If f(t) represents position, the average rate of change over [t, t+h] is average velocity, and the instantaneous rate of change at t is instantaneous velocity. Limits are what make “instantaneous velocity” mathematically meaningful.

Relating differentiability and continuity (a preview connection)

A key relationship you’ll soon use is: if a function is differentiable at a point, then it is continuous at that point. The converse is not always true; a function can be continuous but not differentiable (for example, at a corner).

Exam Focus
  • Typical question patterns:

    • Use the difference quotient to compute a limit representing slope or rate of change.

    • Interpret the meaning of the difference-quotient limit in context.

    • Explain why direct substitution fails (typically 0/0) and how simplification resolves it.

  • Common mistakes:

    • Plugging in h = 0 too early and concluding the slope is undefined.

    • Mixing up average rate of change (secant slope) with instantaneous rate of change (tangent slope).

    • Algebra errors expanding f(a+h), which derail the limit simplification.