Skip to content

Unit 2 of 8

Limits and Continuity

7% of the exam175 reviewed questions10 key terms18 min read

Limits and Continuity is worth about 7% of the AP Calculus AB exam. Our bank tests it with 175 reviewed questions across 10 distinct ideas — 27 easier, 102 medium and 46 harder.

On this page · 12 sections

A limit answers one question: as x gets closer and closer to some number, what value is f(x) heading toward? The answer depends only on the values of f near that number, never on the value at it, and that single idea explains most of this unit. It is why a hole in a graph does not destroy a limit, why 0/0 is a signal to keep working rather than an answer, and why a function can have a limit at a point where it is not even defined.

Continuity is built directly on top of limits. A function is continuous at x = a when the value it approaches and the value it actually has are the same number. When those two disagree, or one of them is missing, you get a discontinuity, and the type of break tells you which part failed. Limits at infinity and infinite limits use the same tools to describe the far ends of a graph and the behavior near its vertical asymptotes.

The unit closes with two theorems that turn limits into guarantees. The Squeeze Theorem finds a limit you cannot compute directly by trapping the function between two simpler ones. The Intermediate Value Theorem uses continuity to promise that a function hits every value between its endpoint values. An average rate of change needs two points, and trying it at a single instant gives 0/0, so calculus finds the instantaneous rate as the limit of average rates over shrinking intervals. The derivative is defined as exactly that limit, so every skill here comes straight back the moment you start finding slopes.

The unit in a minute

One line per topic. Tap any line for the full notes.

  1. What a limit means, and reading it from a graph or tableFind both one-sided limits; the two-sided limit exists only if they match, and the dot at x = a is irrelevant.
  2. Evaluating limits with algebraSubstitute first; on 0/0, factor, rationalize, or rewrite into sin u / u, then substitute again.
  3. Limits at infinity and horizontal asymptotesCompare degrees: equal gives the coefficient ratio, bigger bottom gives 0, bigger top gives ±∞; check signs on the left end.
  4. Infinite limits and vertical asymptotesCancel common factors first: canceled factors are holes, surviving zeros of the denominator are asymptotes, and signs set ±∞.
  5. Continuity and piecewise functionsAt a piecewise boundary, set left limit = right limit = f(a), solve for the constant, and check by substituting back.
  6. Classifying and removing discontinuitiesHole = limit exists (removable, fix by setting f(a) to the limit); jump = sides differ; infinite = asymptote.
  7. The Squeeze TheoremTrap f between two functions with the same limit at a; if the bounds disagree, the theorem gives no answer.
  8. The Intermediate Value TheoremContinuous on [a, b] plus N between f(a) and f(b) guarantees some c with f(c) = N, but not where or how many.
Grind Limits and Continuity questionsAlready know this? Skip the notes and prove it.

The big ideas

Near the point, not at the point

A limit describes where f(x) is heading as x approaches a, and f(a) has no say in it. If a graph approaches a height of 3 from both sides of x = 2 but has an open circle there, the limit is still 3, and it stays 3 whether f(2) is undefined, equals 7, or equals 3. The value f(a) only matters later, when you ask whether the function is continuous, so keep the two questions separate. The limit is about the path, and continuity checks whether the path lands where the point sits.

0/0 means keep going

When you substitute and get 0/0, you have learned that the top and bottom both shrink toward zero, but not how fast. That race can end at a finite number, at ±∞, or with no limit at all, so 0/0 is called indeterminate. It is never the answer, and it does not tell you by itself that the limit fails to exist. It usually means the top and bottom share a factor that equals zero at that point, or the expression hides a known trig limit, so you simplify and substitute again. A nonzero number over 0 is different, because it guarantees that f(x) blows up near a vertical asymptote.

Continuity is a three-part test

A function is continuous at x = a only if f(a) is defined, the limit as x approaches a exists, and that limit equals f(a). Each type of discontinuity has its own signature failure. At a hole, the limit exists but f(a) is missing or does not equal it. At a jump, the one-sided limits disagree. At a vertical asymptote, f(x) grows without bound, so the limit does not exist, and f(a) is usually undefined too. More than one condition can fail at the same point. On the exam you will be asked to check all three, so write each one down rather than eyeballing the graph.

Theorems only work when their conditions hold

The Intermediate Value Theorem and the Squeeze Theorem both give you a conclusion for free, but only if you meet the conditions first. IVT needs f to be continuous on a closed interval, and the Squeeze Theorem needs two bounding functions that approach the same limit. On free-response questions, graders give the justification point for naming those conditions, not for the conclusion alone. A correct answer with no mention of continuity will often lose the point.

Study notes

8 topics. Each one opens with its key idea, then the detail you need to use it.

1. What a limit means, and reading it from a graph or table

Key idea: Find both one-sided limits; the two-sided limit exists only if they match, and the dot at x = a is irrelevant.

The notation lim f(x) as x → a = L means that f(x) gets as close to L as you like when x is close enough to a, but not equal to a, from either side. The left-hand limit, written with x → a⁻, uses only x-values less than a, and the right-hand limit, written x → a⁺, uses only x-values greater than a. The two-sided limit exists only when both one-sided limits exist and are equal. If the left side heads to 3 and the right side heads to 4, there is no single value the function approaches, so the limit does not exist.

On a graph, trace along the curve toward x = a from the left, then from the right, and read the heights you approach. Ignore any filled or open dot sitting exactly at x = a, because that dot is f(a), not the limit. A hole at (2, 3) with the curve closing in on height 3 from both sides gives a limit of 3.

In a table, read the f(x) column as x gets closer to a from each direction. For example, values like 2.9, 2.99, 2.999 on the left and 3.1, 3.01, 3.001 on the right suggest a limit of 3. The answer is always the y-value the outputs approach, never the x-value that x approaches, and confusing the two is a common wrong choice.

2. Evaluating limits with algebra

Key idea: Substitute first; on 0/0, factor, rationalize, or rewrite into sin u / u, then substitute again.

Always try direct substitution first, because polynomials, and rational functions where the denominator is not zero, are continuous, so the limit is just the function value. For 2x² − 5x + 1 as x → 3, remember to square before you multiply: 2(9) − 15 + 1 = 4. Most wrong answers on these come from order of operations or a dropped sign.

If substitution gives 0/0, factor. For (x² − 25)/(x − 5), the top is (x − 5)(x + 5), so the expression equals x + 5 everywhere except x = 5. The limit only cares about nearby points, so it equals 5 + 5 = 10. The same move works when both top and bottom factor, such as (x² + x − 6)/(x² − 4) = (x + 3)/(x + 2) after canceling x − 2, which gives 5/4 at x = 2.

For square roots, multiply by the conjugate. (√(x + 4) − 2)/x becomes 1/(√(x + 4) + 2) after the x cancels, so the limit as x → 0 is 1/4.

For trig limits, memorize two facts, with x measured in radians: sin x / x → 1 and (1 − cos x)/x → 0 as x → 0. To use the first one, make the inside of the sine match the denominator, so sin(3x)/x equals 3 · sin(3x)/(3x). The second factor goes to 1, so the limit is 3. A ratio of two sines works the same way: sin(5x)/sin(2x) equals (5/2) · [sin(5x)/(5x)] / [sin(2x)/(2x)], and both brackets go to 1, so the limit is 5/2.

3. Limits at infinity and horizontal asymptotes

Key idea: Compare degrees: equal gives the coefficient ratio, bigger bottom gives 0, bigger top gives ±∞; check signs on the left end.

A limit as x → ∞ asks what happens to f(x) far to the right. For rational functions, the highest powers decide everything because they grow so much faster than the other terms, so divide every term by the highest power of x in the denominator, and watch each term like 3/x or 7/x² fade to 0.

This gives three rules that cover every rational function. If the degrees of top and bottom are equal, the limit is the ratio of the leading coefficients, so (3x² + 1)/(5x² − 2) → 3/5. If the bottom has the higher degree, the limit is 0, so (7x + 1)/(x² + 3) → 0. If the top has the higher degree, the function grows without bound, so (2x³ + x)/(5x² − 1) → ∞. The constant terms never decide the answer at infinity.

A finite limit L at infinity means y = L is a horizontal asymptote. A graph can cross its horizontal asymptote in the middle, because the asymptote only describes the ends.

Watch square roots as x → −∞. Since √(x²) = |x|, which equals −x for negative x, the expression √(9x² + 1)/(2x + 3) goes to 3/2 on the right but −3/2 on the left. Two other end-behavior facts are worth knowing: e^x → 0 as x → −∞, and arctan x → π/2 as x → ∞.

4. Infinite limits and vertical asymptotes

Key idea: Cancel common factors first: canceled factors are holes, surviving zeros of the denominator are asymptotes, and signs set ±∞.

An infinite limit describes f(x) growing without bound as x approaches a finite number. A denominator going to 0 while the numerator heads to a nonzero number guarantees this. A 0/0 form can also turn out infinite once you simplify, because x/x³ reduces to 1/x², which goes to ∞ as x → 0. Writing lim = ∞ correctly describes how the function behaves, but the limit still does not exist as a real number.

To find vertical asymptotes, factor first, cancel any common factors, and then look at the zeros of whatever is left in the denominator. Take g(x) = (x² − 4)/(x² + x − 6) = (x − 2)(x + 2)/((x − 2)(x + 3)). The factor x − 2 cancels, so x = 2 is a hole rather than an asymptote, and the simplified function (x + 2)/(x + 3) gives the hole's height, 4/5. The factor x + 3 survives, so x = −3 is a vertical asymptote. Skipping the cancel step is how students mark a hole as an asymptote.

To decide between +∞ and −∞, check signs on each side. Near x = −3, the top x + 2 is close to −1. Just to the right of −3, x + 3 is a tiny positive number, so g(x) → −∞. Just to the left of −3, x + 3 is a tiny negative number, so g(x) → +∞. Because the two sides disagree, the two-sided limit does not exist even in the infinite sense. Compare this with 1/x², which goes to +∞ from both sides of 0.

5. Continuity and piecewise functions

Key idea: At a piecewise boundary, set left limit = right limit = f(a), solve for the constant, and check by substituting back.

Continuity at a point means three things hold at once: f(a) exists, the limit as x → a exists, and the two are equal. Continuity on an interval means this holds at every point inside it. Polynomials, sin x, cos x and e^x are continuous everywhere, while rational functions, √x and ln x are continuous at every point of their domains. So for these familiar functions, you only need to check the points where the formula changes or breaks.

Piecewise functions are where the exam tests continuity most. At the boundary, find the left-hand limit with the left piece, the right-hand limit with the right piece, and f(a) from whichever piece includes the equals sign. All three must match.

Suppose f(x) = 3x + k for x < 1 and f(x) = x² + 4 for x ≥ 1. The left limit is 3 + k, while the right limit and f(1) are both 1 + 4 = 5. Set 3 + k = 5, so k = 2, and then plug that value back in to confirm the pieces meet.

Continuity at one boundary gives you one equation. A question with two unknowns needs a second condition, such as continuity at a second boundary or a given function value. When a free-response question asks whether f is continuous, write the limit and the value as separate statements and say that they are equal.

6. Classifying and removing discontinuities

Key idea: Hole = limit exists (removable, fix by setting f(a) to the limit); jump = sides differ; infinite = asymptote.

Classifying a discontinuity means identifying how continuity breaks, and the AP exam uses three types.

A removable discontinuity is a hole, where the limit exists but f(a) is either undefined or set to the wrong value. (x² − 1)/(x − 1) has one at x = 1, because the limit is 2 but the function is undefined there. A function equal to x² everywhere except for a single point placed at (1, 5) also has one, because the limit is 1 but f(1) = 5.

A jump discontinuity happens when both one-sided limits exist but differ. The function |x|/x equals −1 for x < 0 and 1 for x > 0, so it jumps at 0. A piecewise function has a jump at a boundary when both one-sided limits there are finite but not equal. If one piece is unbounded near the boundary, the break is infinite instead.

An infinite discontinuity happens at a vertical asymptote, such as 1/(x − 4) at x = 4, where the function is unbounded.

Only removable discontinuities can be removed, and you remove one by redefining a single point so that f(a) equals the limit. For (x² − 1)/(x − 1), defining f(1) = 2 makes the function continuous at 1. A jump or an asymptote cannot be fixed by changing one value, because the limit itself does not exist. When a question asks what value of f(a) makes f continuous, it is asking you to compute the limit.

7. The Squeeze Theorem

Key idea: Trap f between two functions with the same limit at a; if the bounds disagree, the theorem gives no answer.

Some limits cannot be found by substitution or algebra. The classic case is x² sin(1/x) as x → 0, where sin(1/x) swings between −1 and 1 faster and faster and never settles, so the Squeeze Theorem handles it by trapping.

The theorem says that if g(x) ≤ f(x) ≤ h(x) for all x near a, and both g and h approach the same limit L at a, then f must approach L too. The function is stuck between two walls that meet at one point, so it has nowhere else to go.

For x² sin(1/x), start from −1 ≤ sin(1/x) ≤ 1. Multiply through by x², which is never negative, so the inequality signs stay the same and you get −x² ≤ x² sin(1/x) ≤ x². Both −x² and x² go to 0 as x → 0, so the limit is 0.

The exam also gives the bounds to you directly. If 4x − 9 ≤ f(x) ≤ x² − 4x + 7 near x = 4, substitute 4 into each bound. Both give 7, so the limit of f is 7, but if the two bounds gave different numbers, the theorem would tell you nothing. The fact sin x / x → 1 is proved this way too, by squeezing it between cos x and 1.

8. The Intermediate Value Theorem

Key idea: Continuous on [a, b] plus N between f(a) and f(b) guarantees some c with f(c) = N, but not where or how many.

The Intermediate Value Theorem says that if f is continuous on the closed interval [a, b] and N is any number between f(a) and f(b), then f(c) = N for at least one c in (a, b). A continuous graph cannot get from one height to another without passing through every height in between.

The most common use is showing that a zero exists. Take f(x) = x³ + x − 1 on [0, 1], where f(0) = −1 and f(1) = 1. The value 0 lies between them, so f has a root somewhere in (0, 1).

Table questions push this further. If a continuous f has f(0) = 3, f(2) = −1 and f(5) = 4, the sign changes twice, so f has at least two zeros on (0, 5): one in (0, 2) and one in (2, 5).

Know the limits of the theorem, too. It proves that some c exists, but it does not tell you where c is or how many there are, and it fails without continuity: 1/x goes from −1 at x = −1 to 1 at x = 1 but never equals 0, because it breaks at x = 0. If a stem says f is differentiable, that also makes it continuous, so IVT still applies.

A full justification names continuity on the closed interval, states that N is between f(a) and f(b), and then concludes that some c exists.

Common mistakes

Drawn from the wrong answers students actually pick on these questions.

Giving 0, 'does not exist' or ∞ as the answer after substitution produces 0/0, or deciding sin x / x must be 0 because sin 0 = 0.

0/0 only tells you the top and bottom both approach zero, and the result of that race is still unknown. Factor, rationalize or use sin u / u → 1, then substitute again. After simplifying, the limit can be a finite number, ±∞, or may not exist, so decide only once the 0/0 is gone. A nonzero number over 0, by contrast, guarantees the function blows up.

Answering with the x-value being approached, or with f(a), or saying a hole means the limit does not exist.

The limit is the y-value the outputs approach. A hole only affects f(a), and the limit ignores f(a), so a hole at (2, 3) still gives a limit of 3. The limit equals f(a) only when f is continuous there.

Checking only one side of a piecewise function, then reporting the left value or the right value as the two-sided limit.

Compute both one-sided limits, using the left piece for x → a⁻ and the right piece for x → a⁺. If they give 3 and 4, the two-sided limit does not exist.

Using the constant terms in a limit at infinity, or misremembering the degree rules and answering 0 or ∞ when the degrees are equal.

The leading terms control the end behavior. With equal degrees, take the ratio of the leading coefficients, so (3x² + 1)/(5x² − 2) → 3/5, not a ratio built from the constants 1 and −2. The answer is 0 only when the bottom has the higher degree, and ±∞ only when the top does.

Picking a constant for a piecewise continuity question that makes the pieces look close but not equal.

Write the equation left limit = f(a) and solve it. Then substitute your constant back into both pieces and confirm they give the same number at the boundary. Any other value leaves a jump.

Slipping on direct substitution, such as multiplying before squaring, dropping the constant term, or flipping the sign of the middle term.

Work in order: powers first, then products, then sums, and keep every term. For 2x² − 5x + 1 at x = 3, that is 18 − 15 + 1 = 4. Distractors are built from exactly these slips.

How this unit shows up on the exam

Limits and continuity show up in both the no-calculator and calculator parts of the multiple-choice section. The quick items ask you to evaluate a limit by factoring, by a trig limit or by comparing degrees, and their wrong choices are built from the mistakes listed above. Graph items show a piecewise curve with open and closed dots and ask for a one-sided limit, a two-sided limit, or the value of f at a point, often all in one set of choices. Table items list x-values closing in on a number from both sides and ask what the limit appears to be.

Other common stems ask which condition of continuity fails, what value of k makes a piecewise function continuous, or where a rational function has a hole versus a vertical asymptote. IVT appears as "which of the following must be true," where the correct choice guarantees that some c exists without saying where. Wrong choices claim a specific location, an exact count, or a conclusion that ignores continuity.

On free-response questions, this unit rarely gets a question of its own, but it supplies justification points. A table of values for a continuous or differentiable function often leads to a part asking whether f(c) must equal some value, and the point goes to students who cite IVT and name continuity on the closed interval. Piecewise questions ask whether f is continuous at the boundary, and the point needs the limit and the function value written out and compared. Write limit notation correctly every time. Never write "= 0/0" as a step, since 0/0 is not a number and that equation is false.

How the exam actually asks it

Real items from the AP Calculus AB bank, easier first. The answer is marked, and every wrong choice is explained — because knowing why a distractor is tempting is most of the work.

Worked example 1Easier
  1. A
  2. B
  3. CCorrect
  4. Ddoes not exist

Why C is right

Factor the numerator: . Substituting gives . The result follows from simplifying the expression, using continuity, or applying the stated limit law. The raw indeterminate form is only a starting point; the simplified expression determines the answer.
Why the other 3 choices miss
A
You may have substituted and gotten , but that's an indeterminate form — not the answer. Factor first. This distractor comes from stopping at the unsimplified form or using the raw result as if it were the answer. The correct limit is found after the algebra is cleaned up.
B
You may have confused the -value with the limit value. The limit asks what -value the function approaches. This distractor comes from stopping at the unsimplified form or using the raw result as if it were the answer. The correct limit is found after the algebra is cleaned up.
D
The limit does exist. The form just means you need to simplify before substituting. This distractor comes from stopping at the unsimplified form or using the raw result as if it were the answer. The correct limit is found after the algebra is cleaned up.
Worked example 2Easier
  1. A
  2. BCorrect
  3. C
  4. Ddoes not exist

Why B is right

This is one of the fundamental trig limits. . Memorize it. The result follows from simplifying the expression, using continuity, or applying the stated limit law. The raw indeterminate form is only a starting point; the simplified expression determines the answer.
Why the other 3 choices miss
A
, but dividing by (also approaching 0) creates a race. The limit is not 0. This distractor comes from stopping at the unsimplified form or using the raw result as if it were the answer. The correct limit is found after the algebra is cleaned up.
C
Both numerator and denominator approach 0, so this is , not something. This distractor comes from stopping at the unsimplified form or using the raw result as if it were the answer. The correct limit is found after the algebra is cleaned up.
D
The limit absolutely exists — it equals 1. Check the table values from both sides. This distractor comes from stopping at the unsimplified form or using the raw result as if it were the answer. The correct limit is found after the algebra is cleaned up.
Worked example 3Easier
The graph of is shown. What is if has a hole at and the graph approaches from both sides?
  1. AThe limit does not exist
  2. B
  3. CCorrect
  4. D

Why C is right

The limit as depends only on what the function approaches, not the function's value at . Since both the left-hand and right-hand limits approach , , even though there is a hole ( may be undefined or different).
Why the other 3 choices miss
A
Students incorrectly think a hole means the limit doesn't exist; a hole only affects the function value, not the limit. This distractor comes from stopping at the unsimplified form or using the raw result as if it were the answer. The correct limit is found after the algebra is cleaned up.
B
Students confuse the -value with the limit value. This distractor comes from stopping at the unsimplified form or using the raw result as if it were the answer. The correct limit is found after the algebra is cleaned up.
D
Students confuse the limit with the function value; these are equal only when the function is continuous at that point. This distractor comes from stopping at the unsimplified form or using the raw result as if it were the answer. The correct limit is found after the algebra is cleaned up.
Worked example 4Easier
What is ?
  1. A
  2. BCorrect
  3. C
  4. D

Why B is right

is a polynomial (continuous everywhere), so substitute directly: . The result follows from simplifying the expression, using continuity, or applying the stated limit law. The raw indeterminate form is only a starting point; the simplified expression determines the answer.
Why the other 3 choices miss
A
You forgot to square first: . Square before multiplying: . This distractor comes from stopping at the unsimplified form or using the raw result as if it were the answer. The correct limit is found after the algebra is cleaned up.
C
You dropped the : . Keep the constant term: . This distractor comes from stopping at the unsimplified form or using the raw result as if it were the answer. The correct limit is found after the algebra is cleaned up.
D
Sign error on the middle term: . It's , so . This distractor comes from stopping at the unsimplified form or using the raw result as if it were the answer. The correct limit is found after the algebra is cleaned up.

Can you do all of these?

Tick what you can do without looking. Anything left unticked is where to go back to.

0 of 10 ticked

Ready to test yourself?

Open practice pulls from the 38 free questions in this unit. The other 137 come with the one-time AP purchase, which unlocks every AP course.

Official topic list

The official course framework breaks this unit into 16 numbered topics.

  1. 1.1Introducing Calculus: Can Change Occur at an Instant?
  2. 1.2Defining Limits and Using Limit Notation
  3. 1.3Estimating Limit Values from Graphs
  4. 1.4Estimating Limit Values from Tables
  5. 1.5Determining Limits Using Algebraic Properties of Limits
  6. 1.6Determining Limits Using Algebraic Manipulation
  7. 1.7Selecting Procedures for Determining Limits
  8. 1.8Determining Limits Using the Squeeze Theorem
  9. 1.9Connecting Multiple Representations of Limits
  10. 1.10Exploring Types of Discontinuities
  11. 1.11Defining Continuity at a Point
  12. 1.12Confirming Continuity over an Interval
  13. 1.13Removing Discontinuities
  14. 1.14Connecting Infinite Limits and Vertical Asymptotes
  15. 1.15Connecting Limits at Infinity and Horizontal Asymptotes
  16. 1.16Working with the Intermediate Value Theorem (IVT)

Key terms in Limits and Continuity

Ordered by how often our reviewed questions test them. Open any term to see the questions that use it.

The rest of AP Calculus AB

Every unit with its share of the exam. You are on Unit 2.

  1. 1Pre-AP Foundations9% of exam
  2. 2Limits and Continuity7% of exam
  3. 3Definition of the Derivative15% of exam
  4. 4Differentiation Rules14% of exam
  5. 5Applications of Derivatives18% of exam
  6. 6The Integral20% of exam
  7. 7Applications of Integration8% of exam
  8. 8Differential Equations9% of exam