Limits & Continuity | Free AP Calculus AB Course

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>AP Calculus AB: Limits and Continuity | The School of Mathematics</title>

<meta name="description" content="Learn limits and continuity for AP Calculus AB with this free, complete lesson: one-sided limits, infinite limits and end behavior, limit theorems and algebraic techniques, continuity and types of discontinuities, and the Extreme Value and Intermediate Value Theorems. Includes 25 free original practice problems with instant feedback and full step-by-step explanations.">

<style>

 :root {

  --blue: #4285f4;

  --green: #34a853;

  --red: #ea4335;

  --gray-bg: #f8f9fa;

  --border: #e0e0e0;

 }

 * { box-sizing: border-box; }

 body {

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  background: #ffffff;

  color: #202124;

  line-height: 1.65;

  margin: 0;

  padding: 0;

 }

 .wrap { max-width: 820px; margin: 0 auto; padding: 32px 20px 80px; }

 h1 { font-size: 2rem; line-height: 1.25; margin-bottom: 10px; }

 h2 {

  font-size: 1.5rem;

  margin-top: 48px;

  padding-top: 8px;

  border-top: 2px solid var(--border);

 }

 h3 { font-size: 1.15rem; margin-bottom: 6px; }

 .intro { font-size: 1.05rem; color: #3c4043; }

 .cta-group {

  display: flex;

  gap: 12px;

  flex-wrap: wrap;

  margin: 22px 0 32px;

 }

 .cta-btn {

  flex: 1 1 220px;

  text-align: center;

  text-decoration: none;

  font-weight: 700;

  font-size: 1rem;

  padding: 15px 18px;

  border-radius: 10px;

 }

 .cta-primary { background: var(--blue); color: #fff; }

 .cta-primary:hover { background: #3367d6; }

 .cta-secondary { background: #fff; color: var(--blue); border: 2px solid var(--blue); }

 .cta-secondary:hover { background: #eef3fd; }

 nav.toc {

  background: var(--gray-bg);

  border: 1px solid var(--border);

  border-radius: 10px;

  padding: 18px 22px;

  margin-bottom: 36px;

 }

 nav.toc h2 { margin-top: 0; border-top: none; font-size: 1.1rem; }

 nav.toc ol { margin: 0; padding-left: 22px; }

 nav.toc a { color: var(--blue); text-decoration: none; }

 nav.toc a:hover { text-decoration: underline; }


 .note-box {

  background: #fff8e1;

  border-left: 4px solid #f9a825;

  border-radius: 6px;

  padding: 14px 18px;

  margin: 18px 0;

  font-size: 0.95rem;

 }


 table.ref {

  width: 100%;

  border-collapse: collapse;

  margin: 18px 0 26px;

  font-size: 0.95rem;

 }

 table.ref th, table.ref td {

  border: 1px solid var(--border);

  padding: 10px 12px;

  text-align: left;

  vertical-align: top;

 }

 table.ref th { background: var(--gray-bg); }


 .example {

  background: var(--gray-bg);

  border-left: 4px solid var(--blue);

  border-radius: 6px;

  padding: 16px 20px;

  margin: 18px 0;

 }

 .example p { margin: 6px 0; }

 .step-math { font-family: "Cambria Math", Georgia, serif; }


 .frac {

  display: inline-flex;

  flex-direction: column;

  vertical-align: middle;

  text-align: center;

  font-size: 0.85em;

  line-height: 1;

  margin: 0 2px;

  position: relative;

  top: 0.1em;

 }

 .frac .num { border-bottom: 1.3px solid #202124; padding: 0 4px 1px; }

 .frac .den { padding: 1px 4px 0; }


 .problem {

  border: 1px solid var(--border);

  border-radius: 10px;

  padding: 18px 22px 20px;

  margin: 18px 0;

 }

 .problem .prompt { font-weight: 600; margin-bottom: 12px; }

 .options { display: flex; flex-direction: column; gap: 8px; margin: 0 0 4px; }

 .option-btn {

  text-align: left;

  padding: 10px 14px;

  border: 1px solid #ccc;

  border-radius: 6px;

  background: #fff;

  cursor: pointer;

  font-size: 0.98rem;

  font-family: inherit;

 }

 .option-btn:hover:not(:disabled) { background: #f1f3f4; }

 .option-btn.correct { background: #e6f4ea; border-color: var(--green); font-weight: 600; }

 .option-btn.incorrect { background: #fce8e6; border-color: var(--red); }

 .option-btn:disabled { cursor: default; }

 .explanation {

  margin-top: 0;

  padding: 0 16px;

  background: var(--gray-bg);

  border-left: 4px solid var(--blue);

  border-radius: 4px;

  max-height: 0;

  opacity: 0;

  overflow: hidden;

  transition: max-height 0.35s ease, opacity 0.35s ease, margin-top 0.35s ease, padding 0.35s ease;

 }

 .explanation.show {

  max-height: 600px;

  opacity: 1;

  margin-top: 14px;

  padding: 14px 16px;

 }

 .explanation p { margin: 6px 0; }

 .explanation .label { font-weight: 700; }


 .mistake-list li { margin-bottom: 10px; }

 .faq-item { margin-bottom: 18px; }

 .faq-item h3 { margin-bottom: 4px; }

 footer.cta-final { margin-top: 56px; }

</style>

</head>

<body>

<div class="wrap">


<h1>AP Calculus AB: Limits and Continuity</h1>


<p class="intro">

Limits are the foundation everything else in calculus is built on, derivatives, integrals, and continuity itself are all defined in terms of them. This free, complete lesson covers one-sided limits, infinite limits and end behavior, limit theorems and algebraic techniques, continuity and the types of discontinuities, and the Extreme Value and Intermediate Value Theorems. Each idea is followed by a fully worked example, and then a set of original practice problems with instant feedback and full explanations. Everything here is free, and you can keep practicing afterward with the full AP Calculus AB Question Bank linked below.

</p>


<div class="cta-group">

<a class="cta-btn cta-primary" href="https://theschoolofmathematics.com/quiz/Limits%26Continuity-Quiz%201">Practice Limits &amp; Continuity Free</a>

<a class="cta-btn cta-secondary" href="https://theschoolofmathematics.com/quiz/course/AP-Calculus-AB-QBank">Explore the Full AP Calculus AB Qbank</a>

</div>


<nav class="toc" aria-label="Table of contents">

<h2>What's covered in this lesson</h2>

<ol>

<li><a href="#one-sided">One-Sided Limits and the Existence of a Limit</a></li>

<li><a href="#infinite-limits">Infinite Limits and End Behavior</a></li>

<li><a href="#techniques">Limit Theorems and Algebraic Techniques</a></li>

<li><a href="#continuity">Continuity and Types of Discontinuities</a></li>

<li><a href="#evt-ivt">The Extreme Value and Intermediate Value Theorems</a></li>

<li><a href="#mistakes">Common Mistakes to Avoid</a></li>

<li><a href="#faq">Frequently Asked Questions</a></li>

</ol>

</nav>


<!-- ============ SECTION A ============ -->

<h2 id="one-sided">1. One-Sided Limits and the Existence of a Limit</h2>

<p>The number L is the <strong>limit</strong> of f(x) as x approaches c if, as x gets arbitrarily close to c (without equaling c), f(x) gets arbitrarily close to L. We write lim<sub>x&rarr;c</sub> f(x) = L. The <strong>left-hand limit</strong>, lim<sub>x&rarr;c&#8315;</sub> f(x), only considers x-values less than c; the <strong>right-hand limit</strong>, lim<sub>x&rarr;c&#8314;</sub> f(x), only considers x-values greater than c. The two-sided limit exists only when both one-sided limits exist and agree.</p>


<div class="example">

<p><strong>Worked Example:</strong> For the greatest integer function g(x) = &lfloor;x&rfloor;, find lim<sub>x&rarr;5&#8315;</sub> g(x) and lim<sub>x&rarr;5&#8314;</sub> g(x). Does lim<sub>x&rarr;5</sub> g(x) exist?</p>

<p>Approaching 5 from the left (values like 4.9, 4.99), &lfloor;x&rfloor; = 4. Approaching from the right (values like 5.01, 5.1), &lfloor;x&rfloor; = 5.</p>

<p>Since the one-sided limits (4 and 5) disagree, lim<sub>x&rarr;5</sub> g(x) does not exist.</p>

</div>


<div class="problem" id="pa-1">

<p class="prompt">1. For the greatest integer function g(x) = &lfloor;x&rfloor;, what is lim<sub>x&rarr;2&#8315;</sub> g(x)?</p>

<div class="options">

<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'pa-1',true)">A) 1</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pa-1',false)">B) 2</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pa-1',false)">C) 0</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pa-1',false)">D) Does not exist</button>

</div>

<div class="explanation">

<p><span class="label">Explanation:</span> Approaching 2 from the left (like 1.9, 1.99), &lfloor;x&rfloor; = 1.</p>

</div>

</div>


<div class="problem" id="pa-2">

<p class="prompt">2. For the same function, what is lim<sub>x&rarr;2&#8314;</sub> g(x)?</p>

<div class="options">

<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'pa-2',true)">A) 2</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pa-2',false)">B) 1</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pa-2',false)">C) 3</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pa-2',false)">D) Does not exist</button>

</div>

<div class="explanation">

<p><span class="label">Explanation:</span> Approaching 2 from the right (like 2.01, 2.1), &lfloor;x&rfloor; = 2.</p>

</div>

</div>


<div class="problem" id="pa-3">

<p class="prompt">3. Based on the previous two results, does lim<sub>x&rarr;2</sub> g(x) exist?</p>

<div class="options">

<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'pa-3',true)">A) No, since the left- and right-hand limits differ</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pa-3',false)">B) Yes, it equals 1</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pa-3',false)">C) Yes, it equals 2</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pa-3',false)">D) Yes, it equals 1.5</button>

</div>

<div class="explanation">

<p><span class="label">Explanation:</span> A two-sided limit exists only when both one-sided limits agree. Here they're 1 and 2, so the limit does not exist.</p>

</div>

</div>


<div class="problem" id="pa-4">

<p class="prompt">4. A function f is defined by f(x) = x + 2 for x &lt; 1, and f(x) = 5 &minus; 2x for x &ge; 1. Does lim<sub>x&rarr;1</sub> f(x) exist?</p>

<div class="options">

<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'pa-4',true)">A) Yes, it equals 3</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pa-4',false)">B) No, it does not exist</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pa-4',false)">C) Yes, it equals 1</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pa-4',false)">D) Yes, it equals 5</button>

</div>

<div class="explanation">

<p><span class="label">Explanation:</span> Left-hand: lim<sub>x&rarr;1&#8315;</sub>(x + 2) = 3. Right-hand: lim<sub>x&rarr;1&#8314;</sub>(5 &minus; 2x) = 3. Since both agree, the limit exists and equals 3, even though this is a piecewise boundary point.</p>

</div>

</div>


<!-- ============ SECTION B ============ -->

<h2 id="infinite-limits">2. Infinite Limits and End Behavior</h2>

<p>A function <strong>becomes infinite</strong> as x approaches c if f(x) can be made arbitrarily large (positive or negative) by taking x sufficiently close to c. Writing lim<sub>x&rarr;c</sub> f(x) = +&infin; or &minus;&infin; describes this behavior, it does not mean the limit exists, since a limit must be a finite number. For end behavior, every polynomial of degree &ge; 1 becomes infinite as x does, with the sign determined by the leading coefficient and whether the degree is even or odd.</p>


<div class="example">

<p><strong>Worked Example:</strong> Describe the behavior of f(x) = <span class="frac"><span class="num">1</span><span class="den">x &minus; 3</span></span> near x = 3.</p>

<p>As x &rarr; 3&#8315; (like x = 2.9), the denominator is a small negative number, so f(x) &rarr; &minus;&infin;.</p>

<p>As x &rarr; 3&#8314; (like x = 3.1), the denominator is a small positive number, so f(x) &rarr; +&infin;.</p>

<p class="step-math">Since the one-sided behaviors disagree, lim<sub>x&rarr;3</sub> f(x) does not exist.</p>

</div>


<div class="problem" id="pb-1">

<p class="prompt">1. Describe the behavior of f(x) = <span class="frac"><span class="num">1</span><span class="den">x + 2</span></span> as x &rarr; &minus;2&#8315;.</p>

<div class="options">

<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'pb-1',true)">A) &minus;&infin;</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pb-1',false)">B) +&infin;</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pb-1',false)">C) 0</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pb-1',false)">D) 1</button>

</div>

<div class="explanation">

<p><span class="label">Explanation:</span> As x &rarr; &minus;2 from the left (like &minus;2.1), the denominator is a small negative number, so f(x) &rarr; &minus;&infin;.</p>

</div>

</div>


<div class="problem" id="pb-2">

<p class="prompt">2. Describe the behavior of the same function as x &rarr; &minus;2&#8314;.</p>

<div class="options">

<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'pb-2',true)">A) +&infin;</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pb-2',false)">B) &minus;&infin;</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pb-2',false)">C) 0</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pb-2',false)">D) &minus;1</button>

</div>

<div class="explanation">

<p><span class="label">Explanation:</span> As x &rarr; &minus;2 from the right (like &minus;1.9), the denominator is a small positive number, so f(x) &rarr; +&infin;.</p>

</div>

</div>


<div class="problem" id="pb-3">

<p class="prompt">3. What is lim<sub>x&rarr;+&infin;</sub> (&minus;3x&#8309; + 2x&sup2; &minus; 7)?</p>

<div class="options">

<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'pb-3',true)">A) &minus;&infin;</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pb-3',false)">B) +&infin;</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pb-3',false)">C) 0</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pb-3',false)">D) &minus;7</button>

</div>

<div class="explanation">

<p><span class="label">Explanation:</span> The leading term &minus;3x&#8309; dominates. Since the degree is odd and the coefficient is negative, as x &rarr; +&infin;, the function &rarr; &minus;&infin;.</p>

</div>

</div>


<div class="problem" id="pb-4">

<p class="prompt">4. What is lim<sub>x&rarr;&minus;&infin;</sub> (&minus;3x&#8309; + 2x&sup2; &minus; 7)?</p>

<div class="options">

<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'pb-4',true)">A) +&infin;</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pb-4',false)">B) &minus;&infin;</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pb-4',false)">C) 0</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pb-4',false)">D) &minus;7</button>

</div>

<div class="explanation">

<p><span class="label">Explanation:</span> As x &rarr; &minus;&infin;, x&#8309; &rarr; &minus;&infin; (an odd power of a very negative number is very negative). Multiplying by &minus;3 flips the sign, giving +&infin;.</p>

</div>

</div>


<div class="problem" id="pb-5">

<p class="prompt">5. The graph of h(x) = <span class="frac"><span class="num">x + 3</span><span class="den">x &minus; 5</span></span> has a horizontal asymptote at what line?</p>

<div class="options">

<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'pb-5',true)">A) y = 1</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pb-5',false)">B) y = <span class="frac"><span class="num">&minus;3</span><span class="den">5</span></span></button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pb-5',false)">C) y = 5</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pb-5',false)">D) There is no horizontal asymptote</button>

</div>

<div class="explanation">

<p><span class="label">Explanation:</span> The numerator and denominator have the same degree (both 1), so the horizontal asymptote is the ratio of their leading coefficients: <span class="frac"><span class="num">1</span><span class="den">1</span></span> = 1.</p>

</div>

</div>


<!-- ============ SECTION C ============ -->

<h2 id="techniques">3. Limit Theorems and Algebraic Techniques</h2>

<p>Limits distribute over sums, differences, products, and quotients (provided the denominator's limit isn't 0), which justifies substituting directly whenever a function is continuous at the point in question. When direct substitution gives <span class="frac"><span class="num">0</span><span class="den">0</span></span>, factor and cancel first. The <strong>Squeeze (Sandwich) Theorem</strong> says that if f(x) &le; g(x) &le; h(x) and f and h share the same limit L at some point, then g must share that limit too. The basic trigonometric limit lim<sub>&theta;&rarr;0</sub> <span class="frac"><span class="num">sin &theta;</span><span class="den">&theta;</span></span> = 1 (&theta; in radians) is a direct consequence of the Squeeze Theorem.</p>


<div class="example">

<p><strong>Worked Example:</strong> Find lim<sub>x&rarr;4</sub> <span class="frac"><span class="num">x&sup2; &minus; 16</span><span class="den">x &minus; 4</span></span>.</p>

<p class="step-math">lim<sub>x&rarr;4</sub> <span class="frac"><span class="num">(x &minus; 4)(x + 4)</span><span class="den">x &minus; 4</span></span> = lim<sub>x&rarr;4</sub> (x + 4) = 8</p>

</div>


<div class="problem" id="pc-1">

<p class="prompt">1. Find lim<sub>x&rarr;2</sub> <span class="frac"><span class="num">x&sup2; &minus; 4</span><span class="den">x &minus; 2</span></span>.</p>

<div class="options">

<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'pc-1',true)">A) 4</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pc-1',false)">B) 0</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pc-1',false)">C) 2</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pc-1',false)">D) Does not exist</button>

</div>

<div class="explanation">

<p><span class="label">Explanation:</span> <span class="frac"><span class="num">(x &minus; 2)(x + 2)</span><span class="den">x &minus; 2</span></span> = x + 2, so the limit as x &rarr; 2 is 4.</p>

</div>

</div>


<div class="problem" id="pc-2">

<p class="prompt">2. Find lim<sub>x&rarr;&minus;3</sub> <span class="frac"><span class="num">x&sup2; + 2x &minus; 3</span><span class="den">x + 3</span></span>.</p>

<div class="options">

<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'pc-2',true)">A) &minus;4</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pc-2',false)">B) 0</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pc-2',false)">C) &minus;3</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pc-2',false)">D) Does not exist</button>

</div>

<div class="explanation">

<p><span class="label">Explanation:</span> x&sup2; + 2x &minus; 3 factors as (x + 3)(x &minus; 1), so <span class="frac"><span class="num">(x + 3)(x &minus; 1)</span><span class="den">x + 3</span></span> = x &minus; 1. At x = &minus;3: &minus;3 &minus; 1 = &minus;4.</p>

</div>

</div>


<div class="problem" id="pc-3">

<p class="prompt">3. Find lim<sub>x&rarr;0</sub> <span class="frac"><span class="num">4x&sup2; &minus; 3x</span><span class="den">x&sup2;</span></span>.</p>

<div class="options">

<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'pc-3',true)">A) Does not exist</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pc-3',false)">B) 4</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pc-3',false)">C) 0</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pc-3',false)">D) &minus;3</button>

</div>

<div class="explanation">

<p><span class="label">Explanation:</span> Simplify: <span class="frac"><span class="num">4x&sup2; &minus; 3x</span><span class="den">x&sup2;</span></span> = 4 &minus; <span class="frac"><span class="num">3</span><span class="den">x</span></span>. As x &rarr; 0, <span class="frac"><span class="num">3</span><span class="den">x</span></span> becomes infinite with opposite signs from each side, so the limit does not exist.</p>

</div>

</div>


<div class="problem" id="pc-4">

<p class="prompt">4. If &minus;x&sup2; &le; g(x) &le; x&sup2; for all x, and lim<sub>x&rarr;0</sub>(&minus;x&sup2;) = lim<sub>x&rarr;0</sub>(x&sup2;) = 0, what is lim<sub>x&rarr;0</sub> g(x)?</p>

<div class="options">

<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'pc-4',true)">A) 0</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pc-4',false)">B) Cannot be determined</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pc-4',false)">C) &minus;&infin;</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pc-4',false)">D) It depends on the specific function g</button>

</div>

<div class="explanation">

<p><span class="label">Explanation:</span> By the Squeeze Theorem, since g is trapped between two functions that both approach 0, g must also approach 0.</p>

</div>

</div>


<div class="problem" id="pc-5">

<p class="prompt">5. Find lim<sub>x&rarr;0</sub> <span class="frac"><span class="num">sin(5x)</span><span class="den">x</span></span>.</p>

<div class="options">

<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'pc-5',true)">A) 5</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pc-5',false)">B) 1</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pc-5',false)">C) <span class="frac"><span class="num">1</span><span class="den">5</span></span></button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pc-5',false)">D) 0</button>

</div>

<div class="explanation">

<p><span class="label">Explanation:</span> Rewrite as 5 &middot; <span class="frac"><span class="num">sin(5x)</span><span class="den">5x</span></span>. Since 5x &rarr; 0 as x &rarr; 0, the fraction approaches 1, leaving 5 &middot; 1 = 5.</p>

</div>

</div>


<div class="problem" id="pc-6">

<p class="prompt">6. Find lim<sub>x&rarr;&infin;</sub> <span class="frac"><span class="num">sin x</span><span class="den">x</span></span>.</p>

<div class="options">

<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'pc-6',true)">A) 0</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pc-6',false)">B) 1</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pc-6',false)">C) Does not exist</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pc-6',false)">D) &infin;</button>

</div>

<div class="explanation">

<p><span class="label">Explanation:</span> Since &minus;1 &le; sin x &le; 1 for all x, we have <span class="frac"><span class="num">&minus;1</span><span class="den">x</span></span> &le; <span class="frac"><span class="num">sin x</span><span class="den">x</span></span> &le; <span class="frac"><span class="num">1</span><span class="den">x</span></span>. Both outer bounds approach 0 as x &rarr; &infin;, so by the Squeeze Theorem, the limit is 0.</p>

</div>

</div>


<!-- ============ SECTION D ============ -->

<h2 id="continuity">4. Continuity and Types of Discontinuities</h2>

<p>A function y = f(x) is <strong>continuous</strong> at x = c if (1) f(c) exists, (2) lim<sub>x&rarr;c</sub> f(x) exists, and (3) lim<sub>x&rarr;c</sub> f(x) = f(c). Polynomials are continuous everywhere; rational functions are continuous everywhere except where the denominator is 0.</p>


<table class="ref">

<tr><th>Discontinuity type</th><th>What's happening</th><th>Removable?</th></tr>

<tr><td>Removable</td><td>The limit exists, but either f(c) doesn't exist or doesn't match the limit</td><td>Yes, by redefining f(c)</td></tr>

<tr><td>Jump</td><td>The left- and right-hand limits both exist but disagree</td><td>No</td></tr>

<tr><td>Infinite</td><td>The function has a vertical asymptote at x = c</td><td>No</td></tr>

</table>


<div class="example">

<p><strong>Worked Example:</strong> Is f(x) = <span class="frac"><span class="num">x&sup2; &minus; 9</span><span class="den">x &minus; 3</span></span> (x &ne; 3) continuous at x = 3? If not, is the discontinuity removable?</p>

<p>f is not defined at x = 3, so it fails condition (1) and is not continuous there.</p>

<p>However, lim<sub>x&rarr;3</sub> <span class="frac"><span class="num">(x &minus; 3)(x + 3)</span><span class="den">x &minus; 3</span></span> = lim<sub>x&rarr;3</sub> (x + 3) = 6 does exist.</p>

<p>Since the limit exists but f(3) doesn't, this discontinuity is removable: redefining f(3) = 6 would make f continuous there.</p>

</div>


<div class="problem" id="pd-1">

<p class="prompt">1. Is f(x) = 3x&sup2; &minus; 2x + 5 continuous at x = &minus;1?</p>

<div class="options">

<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'pd-1',true)">A) Yes</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pd-1',false)">B) No</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pd-1',false)">C) Cannot be determined</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pd-1',false)">D) Only if evaluated numerically</button>

</div>

<div class="explanation">

<p><span class="label">Explanation:</span> Polynomials are continuous at every real number, including x = &minus;1.</p>

</div>

</div>


<div class="problem" id="pd-2">

<p class="prompt">2. Is g(x) = <span class="frac"><span class="num">1</span><span class="den">x + 4</span></span> continuous at x = &minus;4?</p>

<div class="options">

<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'pd-2',true)">A) No</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pd-2',false)">B) Yes</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pd-2',false)">C) Cannot be determined</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pd-2',false)">D) Yes, but only removably</button>

</div>

<div class="explanation">

<p><span class="label">Explanation:</span> The denominator is 0 at x = &minus;4, so g is undefined there. This is an infinite discontinuity, not continuous.</p>

</div>

</div>


<div class="problem" id="pd-3">

<p class="prompt">3. Is k(x) = <span class="frac"><span class="num">x&sup2; &minus; 4</span><span class="den">x &minus; 2</span></span> (x &ne; 2) continuous at x = 2, and if not, is the discontinuity removable?</p>

<div class="options">

<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'pd-3',true)">A) Not continuous, but the discontinuity is removable</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pd-3',false)">B) Continuous at x = 2</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pd-3',false)">C) Not continuous, and the discontinuity is not removable</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pd-3',false)">D) Cannot be determined</button>

</div>

<div class="explanation">

<p><span class="label">Explanation:</span> k is undefined at x = 2, but lim<sub>x&rarr;2</sub> k(x) = lim<sub>x&rarr;2</sub>(x + 2) = 4 exists. Since the limit exists, this discontinuity is removable.</p>

</div>

</div>


<div class="problem" id="pd-4">

<p class="prompt">4. A function f is defined by f(x) = x&sup2; + 1 for x &le; 2, and f(x) = 6 for x &gt; 2. Is f continuous at x = 2?</p>

<div class="options">

<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'pd-4',true)">A) No, it has a jump discontinuity</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pd-4',false)">B) Yes, it is continuous</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pd-4',false)">C) No, but the discontinuity is removable</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pd-4',false)">D) Cannot be determined</button>

</div>

<div class="explanation">

<p><span class="label">Explanation:</span> Left-hand limit: lim<sub>x&rarr;2&#8315;</sub>(x&sup2; + 1) = 5. Right-hand limit: lim<sub>x&rarr;2&#8314;</sub>(6) = 6. Since these disagree, f has a jump discontinuity, which cannot be removed.</p>

</div>

</div>


<div class="problem" id="pd-5">

<p class="prompt">5. A function g is defined by g(x) = x&sup2; for x &ne; 3, and g(3) = 20. Is g continuous at x = 3?</p>

<div class="options">

<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'pd-5',true)">A) No, but the discontinuity is removable</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pd-5',false)">B) Yes, it is continuous</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pd-5',false)">C) No, and the discontinuity is not removable</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pd-5',false)">D) Cannot be determined</button>

</div>

<div class="explanation">

<p><span class="label">Explanation:</span> lim<sub>x&rarr;3</sub> g(x) = lim<sub>x&rarr;3</sub> x&sup2; = 9 (the limit only cares about values near 3, not the defined value at 3 itself). Since g(3) = 20 &ne; 9, g is not continuous, but redefining g(3) = 9 would remove the discontinuity.</p>

</div>

</div>


<div class="problem" id="pd-6">

<p class="prompt">6. What kind of discontinuity does the greatest integer function f(x) = &lfloor;x&rfloor; have at each integer?</p>

<div class="options">

<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'pd-6',true)">A) Jump discontinuity</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pd-6',false)">B) Removable discontinuity</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pd-6',false)">C) Infinite discontinuity</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pd-6',false)">D) No discontinuity</button>

</div>

<div class="explanation">

<p><span class="label">Explanation:</span> At every integer, the left- and right-hand limits both exist but differ by exactly 1, the signature of a jump discontinuity, which cannot be removed by redefinition.</p>

</div>

</div>


<!-- ============ SECTION E ============ -->

<h2 id="evt-ivt">5. The Extreme Value and Intermediate Value Theorems</h2>

<p>The <strong>Extreme Value Theorem</strong>: if f is continuous on the closed interval [a, b], then f attains both a minimum and a maximum value somewhere in that interval. The <strong>Intermediate Value Theorem</strong> (IVT): if f is continuous on [a, b] and M is any number between f(a) and f(b), then there is at least one c in [a, b] where f(c) = M. A key special case: if f(a) and f(b) have opposite signs, f must have a zero somewhere in [a, b].</p>


<div class="example">

<p><strong>Worked Example:</strong> Show that f(x) = x&sup3; &minus; 4x &minus; 1 has a root between x = 2 and x = 3.</p>

<p>f(2) = 8 &minus; 8 &minus; 1 = &minus;1. f(3) = 27 &minus; 12 &minus; 1 = 14.</p>

<p>f is continuous everywhere (it's a polynomial), and f(2) and f(3) have opposite signs. By the Intermediate Value Theorem, there must be a value c in (2, 3) where f(c) = 0.</p>

</div>


<div class="problem" id="pe-1">

<p class="prompt">1. The Extreme Value Theorem guarantees a function attains a minimum and maximum value on an interval, provided the function is&hellip;</p>

<div class="options">

<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'pe-1',true)">A) Continuous on a closed interval</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pe-1',false)">B) Continuous on an open interval</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pe-1',false)">C) Differentiable everywhere</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pe-1',false)">D) A polynomial</button>

</div>

<div class="explanation">

<p><span class="label">Explanation:</span> The Extreme Value Theorem specifically requires continuity on a closed interval [a, b]. On an open interval, a function could approach but never actually attain its extreme values.</p>

</div>

</div>


<div class="problem" id="pe-2">

<p class="prompt">2. A continuous function f satisfies f(1) = &minus;4 and f(5) = 6. By the Intermediate Value Theorem, must there be a value c in [1, 5] where f(c) = 0?</p>

<div class="options">

<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'pe-2',true)">A) Yes, since 0 is between f(1) and f(5)</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pe-2',false)">B) No, the IVT doesn't guarantee this</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pe-2',false)">C) Only if f is a polynomial</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pe-2',false)">D) Cannot be determined without more information</button>

</div>

<div class="explanation">

<p><span class="label">Explanation:</span> Since f is continuous on [1, 5] and 0 lies between f(1) = &minus;4 and f(5) = 6, the IVT guarantees some c in [1, 5] where f(c) = 0.</p>

</div>

</div>


<div class="problem" id="pe-3">

<p class="prompt">3. For f(x) = x&sup3; &minus; 2x &minus; 5, what are f(2) and f(3)?</p>

<div class="options">

<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'pe-3',true)">A) f(2) = &minus;1, f(3) = 16</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pe-3',false)">B) f(2) = &minus;1, f(3) = 6</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pe-3',false)">C) f(2) = 1, f(3) = 16</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pe-3',false)">D) f(2) = &minus;9, f(3) = 16</button>

</div>

<div class="explanation">

<p><span class="label">Explanation:</span> f(2) = 8 &minus; 4 &minus; 5 = &minus;1. f(3) = 27 &minus; 6 &minus; 5 = 16.</p>

</div>

</div>


<div class="problem" id="pe-4">

<p class="prompt">4. Using the previous result, why does the Intermediate Value Theorem guarantee a root of f(x) = x&sup3; &minus; 2x &minus; 5 between x = 2 and x = 3?</p>

<div class="options">

<button class="option-btn" data-correct="true" onclick="checkAnswer(this,'pe-4',true)">A) f is continuous on [2, 3] and f(2), f(3) have opposite signs</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pe-4',false)">B) f is differentiable everywhere</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pe-4',false)">C) f(2) and f(3) are both positive</button>

<button class="option-btn" data-correct="false" onclick="checkAnswer(this,'pe-4',false)">D) f has a horizontal asymptote</button>

</div>

<div class="explanation">

<p><span class="label">Explanation:</span> f, as a polynomial, is continuous everywhere. Since f(2) = &minus;1 and f(3) = 16 have opposite signs, the IVT's zero-finding special case guarantees a root somewhere in between.</p>

</div>

</div>


<!-- ============ MISTAKES ============ -->

<h2 id="mistakes">Common Mistakes to Avoid</h2>

<ul class="mistake-list">

<li><strong>Writing lim f(x) = &infin; as if the limit exists.</strong> This notation describes unbounded behavior, but a limit must be a finite number. Whenever a limit is &plusmn;&infin;, that limit technically does not exist.</li>

<li><strong>Forgetting to check both one-sided limits before concluding a two-sided limit exists.</strong> If the left- and right-hand limits disagree, even if both are finite, the two-sided limit does not exist.</li>

<li><strong>Trying to cancel a factor before confirming it's actually a common factor.</strong> Always factor completely first, then cancel identical factors from numerator and denominator, canceling too early leads to algebra errors.</li>

<li><strong>Confusing a removable discontinuity with a jump discontinuity.</strong> A removable discontinuity has one well-defined limit that just doesn't match (or exist as) the function's value there. A jump discontinuity has two different one-sided limits, there's no single value that could ever fix it.</li>

<li><strong>Applying the Intermediate Value Theorem without first confirming continuity.</strong> The IVT's guarantee depends entirely on the function being continuous over the interval in question, skipping this check can lead to false conclusions for a discontinuous function.</li>

</ul>


<!-- ============ FAQ ============ -->

<h2 id="faq">Frequently Asked Questions</h2>


<div class="faq-item">

<h3>Why does calculus care so much about one-sided limits?</h3>

<p>Many functions worth studying, piecewise definitions, rational functions near a vertical asymptote, step functions, behave differently depending on which direction you approach from. Checking both sides separately is often the only way to correctly determine whether a limit exists at all.</p>

</div>


<div class="faq-item">

<h3>How is continuity different from just having a limit at a point?</h3>

<p>A function can have a perfectly well-defined limit at a point without being continuous there, if the function's actual value at that point either doesn't exist or doesn't match the limit. Continuity requires all three conditions to hold: the value exists, the limit exists, and they're equal to each other.</p>

</div>


<div class="faq-item">

<h3>Do I need to memorize the exact statement of the Intermediate Value Theorem for the AP exam?</h3>

<p>Yes, and just as importantly, you need to recognize when its hypotheses (continuity on a closed interval) are satisfied before invoking it, simply having a graph that "looks smooth" is not the same as a justified continuity argument.</p>

</div>


<div class="faq-item">

<h3>Where can I practice more problems like these?</h3>

<p>The <a href="https://theschoolofmathematics.com/quiz/Limits%26Continuity-Quiz%201">Limits &amp; Continuity quizzes</a> in the AP Calculus AB Question Bank include additional original problems on this topic, along with quizzes covering every other topic tested throughout the course.</p>

</div>


<footer class="cta-final">

<div class="cta-group">

<a class="cta-btn cta-primary" href="https://theschoolofmathematics.com/quiz/Limits%26Continuity-Quiz%201">Practice Limits &amp; Continuity Free</a>

<a class="cta-btn cta-secondary" href="https://theschoolofmathematics.com/quiz/course/AP-Calculus-AB-QBank">Explore the Full AP Calculus AB Qbank</a>

</div>

</footer>


</div>


<script>

function checkAnswer(btn, problemId, isCorrect) {

 var problem = document.getElementById(problemId);

 var buttons = problem.querySelectorAll('.option-btn');

 buttons.forEach(function(b) { b.disabled = true; });

 if (isCorrect) {

  btn.classList.add('correct');

 } else {

  btn.classList.add('incorrect');

  var correctBtn = problem.querySelector('.option-btn[data-correct="true"]');

  if (correctBtn) { correctBtn.classList.add('correct'); }

 }

 var exp = problem.querySelector('.explanation');

 if (exp) { exp.classList.add('show'); }

}

</script>


</body>

</html>