Skip to content
🎯⭐ INTERACTIVE LESSON

Limits & Continuity (AP Calculus AB Unit 1)

Learn step-by-step with interactive practice!

Limits & Continuity (AP Calculus AB Unit 1) - Complete Interactive Lesson

Part 1: The Foundation of Calculus

∫ Understanding Limits

Part 1 of 7 — The Foundation of Calculus


Topics in This Part

Section
📖 What Is a Limit?
Direct Substitution
📌 The Indeterminate Form 00\frac{0}{0}
Algebraic Techniques: Factor, Rationalize, Expand
When Limits Do Not Exist

🔑 Key Concept: A limit describes the value a function approaches as the input gets closer to a particular value. The function does NOT need to be defined at that point for the limit to exist.

📖 What Is a Limit?

A limit describes the value a function approaches as xx approaches a particular value cc:

lim⁡x→cf(x)=L\boxed{\lim_{x \to c} f(x) = L}

This means: as xx gets arbitrarily close to cc (from both sides), f(x)f(x) gets arbitrarily close to LL.


Key Distinction

StatementWhat It Means
lim⁡x→cf(x)=L\lim_{x \to c} f(x) = Lf(x)f(x) approaches LL as xx approaches cc
f(c)=Lf(c) = LThe function equals LL at x=cx = c

These are different things! A function can have a limit at a point where it's not defined, or where f(c)f(c) differs from LL.


Graphical Intuition

Consider a function with a hole at (3,7)(3, 7) and f(3)=2f(3) = 2.

  • lim⁡x→3f(x)=7\lim_{x \to 3} f(x) = 7 (the function heads toward 7)
  • f(3)=2f(3) = 2 (the actual function value is 2)

AP Tip: About 15% of AP Calculus MC questions involve limits. Mastering this concept is foundational for derivatives and integrals.

📖 Evaluating Limits by Direct Substitution

The simplest method: just plug in the value. If f(c)f(c) produces a real number, then:

lim⁡x→cf(x)=f(c)(if f is continuous at c)\boxed{\lim_{x \to c} f(x) = f(c) \quad \text{(if } f \text{ is continuous at } c\text{)}}


Functions Where Direct Substitution Always Works

Function TypeExample
Polynomialslim⁡x→3(2x2+1)=19\lim_{x \to 3} (2x^2 + 1) = 19
Exponentialslim⁡x→0e2x=1\lim_{x \to 0} e^{2x} = 1
Trig functionslim⁡x→πsin⁡(x)=0\lim_{x \to \pi} \sin(x) = 0
Rational (if denominator ≠0\neq 0)lim⁡x→1x+3x+1=2\lim_{x \to 1} \frac{x+3}{x+1} = 2

Worked Example:

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

Substitute x=2x = 2: 8−8+7=78 - 8 + 7 = 7 ✓

🔑 Key Fact: All polynomial and exponential functions are continuous everywhere, so direct substitution always works for them.

Check Your Understanding 🎯

📌 The Indeterminate Form 00\frac{0}{0}

When direct substitution gives 00\frac{0}{0}, you have an indeterminate form. The limit may still exist — you must apply algebraic techniques to simplify.

00 means "do more algebra" — NOT "does not exist"\boxed{\frac{0}{0} \text{ means "do more algebra" — NOT "does not exist"}}


Technique 1: Factoring

lim⁡x→2x2−4x−2=lim⁡x→2(x−2)(x+2)x−2=lim⁡x→2(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


Technique 2: Rationalizing (Conjugate Multiplication)

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

Multiply numerator and denominator by the conjugate x+4+2\sqrt{x+4} + 2:

=(x+4)−4x(x+4+2)=xx(x+4+2)=1x+4+2= \frac{(x+4) - 4}{x(\sqrt{x+4}+2)} = \frac{x}{x(\sqrt{x+4}+2)} = \frac{1}{\sqrt{x+4}+2}

At x=0x = 0: 12+2=14\frac{1}{2+2} = \frac{1}{4}


Technique 3: Expanding

lim⁡x→0(x+3)2−9x=lim⁡x→0x2+6x+9−9x=lim⁡x→0x2+6xx=lim⁡x→0(x+6)=6\lim_{x \to 0} \frac{(x+3)^2 - 9}{x} = \lim_{x \to 0} \frac{x^2+6x+9-9}{x} = \lim_{x \to 0} \frac{x^2+6x}{x} = \lim_{x \to 0}(x+6) = 6

AP Tip: On free-response questions, always show the algebraic simplification step. Simply writing the final answer without work earns 0 points.

More Practice 🎯

When Limits Do Not Exist (DNE)

A limit does not exist when:

SituationExampleWhy DNE
Left ≠ Right$\lim_{x \to 0} \frac{x
Unboundedlim⁡x→01x2\lim_{x \to 0} \frac{1}{x^2}Grows to +∞+\infty (we say =∞= \infty)
Oscillationlim⁡x→0sin⁡(1x)\lim_{x \to 0} \sin\left(\frac{1}{x}\right)Bounces between −1-1 and 11 forever

nonzero0\frac{\text{nonzero}}{0} — Not Indeterminate!

nonzero0⇒Check ±∞ or DNE\frac{\text{nonzero}}{0} \Rightarrow \text{Check } \pm\infty \text{ or DNE}

Example: lim⁡x→31(x−3)2=+∞\lim_{x \to 3} \frac{1}{(x-3)^2} = +\infty (both sides go to +∞+\infty)

Example: lim⁡x→31x−3\lim_{x \to 3} \frac{1}{x-3} → DNE (left goes to −∞-\infty, right goes to +∞+\infty)

🔑 Key Distinction: 00\frac{0}{0} = indeterminate (do more work). nonzero0\frac{\text{nonzero}}{0} = usually ±∞\pm\infty or DNE.

Key Techniques Summary

SituationStrategyResult Example
Direct sub worksPlug in cclim⁡x→2x3=8\lim_{x \to 2} x^3 = 8
00\frac{0}{0} — polynomialFactor & cancelx2−4x−2→x+2\frac{x^2-4}{x-2} \to x+2
00\frac{0}{0} — radicalMultiply by conjugatex+4−2x→14\frac{\sqrt{x+4}-2}{x} \to \frac{1}{4}
00\frac{0}{0} — binomialExpand & simplify(x+3)2−9x→6\frac{(x+3)^2-9}{x} \to 6
nonzero0\frac{\text{nonzero}}{0}Check ±∞\pm\infty or DNE1(x−3)2→+∞\frac{1}{(x-3)^2} \to +\infty
Left ≠\neq RightCompare one-sided limits$\frac{

AP Tip: On the AP exam, the answer choice "does not exist" is tempting but usually wrong for 00\frac{0}{0} forms. Always try algebra first!

Match the Technique 🔍

For each limit, select the best first step.

Compute the Limit ✍️

Part 2: Mastering Limit Computation

∫ Evaluating Limits Algebraically

Part 2 of 7 — Mastering Limit Computation


Topics in This Part

Section
📖 Special Trig Limits
Limits at Infinity for Rational Functions
📌 Limits Involving ee
Piecewise Function Limits
One-Sided Limits

🔑 Key Concept: Beyond factoring and rationalizing, certain memorized limits and comparison strategies let you evaluate limits quickly on the AP exam.

📖 Special Trig Limits

Two limits you must memorize for the AP exam:

lim⁡x→0sin⁡xx=1lim⁡x→01−cos⁡xx=0\boxed{\lim_{x \to 0} \frac{\sin x}{x} = 1 \qquad \lim_{x \to 0} \frac{1 - \cos x}{x} = 0}


Extending the Pattern

The key insight: you can match the argument of sin⁡\sin with the denominator.

LimitRewritingResult
sin⁡(3x)x\frac{\sin(3x)}{x}3⋅sin⁡(3x)3x3 \cdot \frac{\sin(3x)}{3x}33
sin⁡(ax)bx\frac{\sin(ax)}{bx}ab⋅sin⁡(ax)ax\frac{a}{b} \cdot \frac{\sin(ax)}{ax}ab\frac{a}{b}
sin⁡(5x)sin⁡(2x)\frac{\sin(5x)}{\sin(2x)}5x2x⋅sin⁡(5x)/(5x)sin⁡(2x)/(2x)\frac{5x}{2x} \cdot \frac{\sin(5x)/(5x)}{\sin(2x)/(2x)}52\frac{5}{2}
tan⁡xx\frac{\tan x}{x}sin⁡xx⋅1cos⁡x\frac{\sin x}{x} \cdot \frac{1}{\cos x}11

General Rule

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


Worked Example:

lim⁡x→0sin⁡(7x)sin⁡(3x)=lim⁡x→0sin⁡(7x)7x⋅3xsin⁡(3x)⋅73=1⋅1⋅73=73\lim_{x \to 0} \frac{\sin(7x)}{\sin(3x)} = \lim_{x \to 0} \frac{\sin(7x)}{7x} \cdot \frac{3x}{\sin(3x)} \cdot \frac{7}{3} = 1 \cdot 1 \cdot \frac{7}{3} = \frac{7}{3}

AP Tip: These trig limits appear in disguised forms nearly every year. The secret is always to make the argument of sin⁡\sin match the denominator.

Check Your Understanding 🎯

📖 Limits at Infinity for Rational Functions

For rational functions P(x)Q(x)\frac{P(x)}{Q(x)} as x→±∞x \to \pm\infty, compare the degrees:

lim⁡x→∞anxn+⋯bmxm+⋯={0if n<manbmif n=m±∞if n>m\boxed{\lim_{x \to \infty} \frac{a_n x^n + \cdots}{b_m x^m + \cdots} = \begin{cases} 0 & \text{if } n < m \\ \frac{a_n}{b_m} & \text{if } n = m \\ \pm\infty & \text{if } n > m \end{cases}}


Memory Aid

Degree ComparisonResultMnemonic
deg(top) < deg(bottom)00"Bottom Heavy → squishes to 0"
deg(top) = deg(bottom)leading coeffleading coeff\frac{\text{leading coeff}}{\text{leading coeff}}"Tie → compare captains"
deg(top) > deg(bottom)±∞\pm\infty"Top Heavy → blows up"

Worked Examples

Example 1: lim⁡x→∞3x2+15x2−2=35\lim_{x \to \infty} \frac{3x^2 + 1}{5x^2 - 2} = \frac{3}{5} (same degree: ratio of leading coefficients)

Example 2: lim⁡x→∞2xx2+1=0\lim_{x \to \infty} \frac{2x}{x^2 + 1} = 0 (degree 1 < degree 2: bottom wins)

Example 3: lim⁡x→∞x3x+1=∞\lim_{x \to \infty} \frac{x^3}{x+1} = \infty (degree 3 > degree 1: top wins)

🔑 Key Fact: Horizontal asymptotes come directly from limits at infinity. If lim⁡x→∞f(x)=L\lim_{x \to \infty} f(x) = L, then y=Ly = L is a horizontal asymptote.

Limits at Infinity Practice 🎯

📌 Limits Involving ee

The number ee is defined by:

e=lim⁡n→∞(1+1n)n≈2.71828\boxed{e = \lim_{n \to \infty} \left(1 + \frac{1}{n}\right)^n \approx 2.71828}


Important Variants

LimitResultWhen You See It
lim⁡x→0ex−1x\lim_{x \to 0} \frac{e^x - 1}{x}11Derivative definition of exe^x at x=0x=0
lim⁡x→0eax−1x\lim_{x \to 0} \frac{e^{ax} - 1}{x}aaChain rule extension
lim⁡n→∞(1+rn)n\lim_{n \to \infty} \left(1 + \frac{r}{n}\right)^nere^rCompound interest formula

AP Tip: The limit ex−1x→1\frac{e^x - 1}{x} \to 1 is really f′(0)f'(0) where f(x)=exf(x) = e^x. Recognizing limits as derivatives in disguise is a powerful exam strategy.

Piecewise Function Limits & One-Sided Limits

For piecewise functions, evaluate the limit from each side separately:

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

  • lim⁡x→1−f(x)=12=1\lim_{x \to 1^-} f(x) = 1^2 = 1 (use the "x<1x < 1" rule)
  • lim⁡x→1+f(x)=2(1)−1=1\lim_{x \to 1^+} f(x) = 2(1)-1 = 1 (use the "x≥1x \geq 1" rule)

Since both sides agree: lim⁡x→1f(x)=1\lim_{x \to 1} f(x) = 1 ✓


When a Piecewise Limit Fails

g(x)={x+2x<3x2−4x≥3g(x) = \begin{cases} x + 2 & x < 3 \\ x^2 - 4 & x \geq 3 \end{cases}

  • lim⁡x→3−g(x)=5\lim_{x \to 3^-} g(x) = 5
  • lim⁡x→3+g(x)=5\lim_{x \to 3^+} g(x) = 5

These agree, so lim⁡x→3g(x)=5\lim_{x \to 3} g(x) = 5. But g(3)=5g(3) = 5 too, so gg is also continuous here.


h(x)={2xx<1x+3x≥1h(x) = \begin{cases} 2x & x < 1 \\ x + 3 & x \geq 1 \end{cases}

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

Left ≠\neq right, so lim⁡x→1h(x)\lim_{x \to 1} h(x) does not exist.

🔑 Key Fact: A two-sided limit exists if and only if both one-sided limits exist and are equal.

Evaluate Each Limit 🔍

Compute the Limit ✍️

Part 3: Left-Hand and Right-Hand Limits

∫ One-Sided Limits

Part 3 of 7 — Left-Hand and Right-Hand Limits


Topics in This Part

Section
📖 Definition of One-Sided Limits
Piecewise Functions & Breakpoints
📌 Vertical Asymptotes & One-Sided Behavior
Absolute Value Functions
The Two-Sided Limit Existence Theorem

🔑 Key Concept: A two-sided limit exists if and only if both one-sided limits exist and are equal. Mastering one-sided limits is essential for analyzing piecewise functions and asymptotic behavior.

📖 Left-Hand and Right-Hand Limits

The left-hand limit approaches cc from values less than cc:

lim⁡x→c−f(x)=L1\boxed{\lim_{x \to c^-} f(x) = L_1}

The right-hand limit approaches cc from values greater than cc:

lim⁡x→c+f(x)=L2\boxed{\lim_{x \to c^+} f(x) = L_2}


The Existence Theorem

lim⁡x→cf(x)=L⟺lim⁡x→c−f(x)=L and lim⁡x→c+f(x)=L\boxed{\lim_{x \to c} f(x) = L \quad \Longleftrightarrow \quad \lim_{x \to c^-} f(x) = L \text{ and } \lim_{x \to c^+} f(x) = L}

ScenarioLeft = Right?Two-Sided Limit
Both sides agree (L1=L2L_1 = L_2)✓Exists, equals LL
Sides disagree (L1≠L2L_1 \neq L_2)✗DNE
One side is ±∞\pm\infty✗DNE (as a finite limit)

AP Tip: On the AP exam, if a problem asks "does the limit exist?", always check both one-sided limits — even if one side seems obvious.

📖 Piecewise Functions & Breakpoints

At each breakpoint (where the rule changes), check both sides:


Example 1: Limit Exists

g(x)={x+3x<2x2x≥2g(x) = \begin{cases} x + 3 & x < 2 \\ x^2 & x \geq 2 \end{cases}

  • lim⁡x→2−g(x)=2+3=5\lim_{x \to 2^-} g(x) = 2 + 3 = 5
  • lim⁡x→2+g(x)=22=4\lim_{x \to 2^+} g(x) = 2^2 = 4

Since 5≠45 \neq 4: lim⁡x→2g(x)\lim_{x \to 2} g(x) does not exist.


Example 2: Limit Exists but Function Disagrees

f(x)={x2x<15x=12x−1x>1f(x) = \begin{cases} x^2 & x < 1 \\ 5 & x = 1 \\ 2x - 1 & x > 1 \end{cases}

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

lim⁡x→1f(x)=1\lim_{x \to 1} f(x) = 1, but f(1)=5≠1f(1) = 5 \neq 1. The limit exists but the function is not continuous at x=1x = 1.

🔑 Key Fact: The limit only cares about what happens near the point, not at the point.

Check Your Understanding 🎯

📌 Vertical Asymptotes & One-Sided Behavior

At a vertical asymptote, one-sided limits tell you the direction:


Example: f(x)=1x−3f(x) = \frac{1}{x - 3}

SideValues of xxSign of x−3x-3Limit
x→3+x \to 3^+3.1,3.01,…3.1, 3.01, \ldotsPositive & small+∞+\infty
x→3−x \to 3^-2.9,2.99,…2.9, 2.99, \ldotsNegative & small−∞-\infty

Since one side goes to +∞+\infty and the other to −∞-\infty, the two-sided limit DNE.


Example: g(x)=1(x−3)2g(x) = \frac{1}{(x-3)^2}

Both sides: (x−3)2>0(x-3)^2 > 0 regardless, so:

lim⁡x→3+1(x−3)2=+∞andlim⁡x→3−1(x−3)2=+∞\lim_{x \to 3^+} \frac{1}{(x-3)^2} = +\infty \quad \text{and} \quad \lim_{x \to 3^-} \frac{1}{(x-3)^2} = +\infty

We write lim⁡x→31(x−3)2=+∞\lim_{x \to 3} \frac{1}{(x-3)^2} = +\infty (both sides agree on going to +∞+\infty).

AP Tip: Even though both sides go to +∞+\infty, this is NOT a finite limit. The limit "does not exist" as a real number. However, writing "=∞= \infty" communicates useful information.

Absolute Value Functions

Recall: ∣x∣={xx≥0−xx<0|x| = \begin{cases} x & x \geq 0 \\ -x & x < 0 \end{cases}


Example: lim⁡x→0∣x∣x\lim_{x \to 0} \frac{|x|}{x}

  • From the right (x>0x > 0): ∣x∣x=xx=1\frac{|x|}{x} = \frac{x}{x} = 1
  • From the left (x<0x < 0): ∣x∣x=−xx=−1\frac{|x|}{x} = \frac{-x}{x} = -1

Since 1≠−11 \neq -1, the two-sided limit does not exist.


Example: lim⁡x→2∣x−2∣x−2\lim_{x \to 2} \frac{|x-2|}{x-2}

  • From the right (x>2x > 2): ∣x−2∣=x−2|x-2| = x-2, so x−2x−2=1\frac{x-2}{x-2} = 1
  • From the left (x<2x < 2): ∣x−2∣=−(x−2)|x-2| = -(x-2), so −(x−2)x−2=−1\frac{-(x-2)}{x-2} = -1

DNE — same pattern as ∣x∣x\frac{|x|}{x}, just shifted.

🔑 Key Fact: ∣expression∣expression\frac{|\text{expression}|}{\text{expression}} always produces ±1\pm 1 limits from each side, and the two-sided limit will always be DNE.

Evaluate the One-Sided Limits 🔍

Let f(x)={3x−1x<2x2+1x≥2f(x) = \begin{cases} 3x-1 & x < 2 \\ x^2+1 & x \geq 2 \end{cases}

Compute the One-Sided Limit ✍️

Part 4: Bounding Limits

∫ The Squeeze Theorem

Part 4 of 7 — Bounding Limits


Topics in This Part

Section
📖 Statement of the Squeeze Theorem
Classic Oscillation Examples
📌 Proving sin⁡xx→1\frac{\sin x}{x} \to 1
When to Use (and When Not To)
AP-Style Squeeze Theorem Problems

🔑 Key Concept: The Squeeze Theorem (also called the Sandwich or Pinching Theorem) lets you evaluate limits of functions that are trapped between two other functions — even when algebraic techniques fail.

📖 Statement of the Squeeze Theorem

If g(x)≤f(x)≤h(x)g(x) \leq f(x) \leq h(x) for all xx near cc (except possibly at cc), and:

lim⁡x→cg(x)=lim⁡x→ch(x)=L⇒lim⁡x→cf(x)=L\boxed{\lim_{x \to c} g(x) = \lim_{x \to c} h(x) = L \quad \Rightarrow \quad \lim_{x \to c} f(x) = L}


The Three Requirements

RequirementWhat to Check
1. Lower boundFind g(x)g(x) with g(x)≤f(x)g(x) \leq f(x) near cc
2. Upper boundFind h(x)h(x) with f(x)≤h(x)f(x) \leq h(x) near cc
3. Same limitVerify lim⁡g(x)=lim⁡h(x)=L\lim g(x) = \lim h(x) = L

Intuition: If ff is "squeezed" between two functions that both approach LL, then ff has no escape — it must also approach LL.


Common Bounding Facts

InequalityUse When
−1≤sin⁡(anything)≤1-1 \leq \sin(\text{anything}) \leq 1Oscillating sin⁡\sin factor
−1≤cos⁡(anything)≤1-1 \leq \cos(\text{anything}) \leq 1Oscillating cos⁡\cos factor
$0 \leq\sin(\theta)

AP Tip: The Squeeze Theorem is the only tool for handling limits with oscillating terms like sin⁡(1/x)\sin(1/x) or cos⁡(1/x2)\cos(1/x^2).

Classic Oscillation Examples

Example 1: lim⁡x→0xsin⁡(1x)\lim_{x \to 0} x \sin\left(\frac{1}{x}\right)

sin⁡(1/x)\sin(1/x) oscillates wildly between −1-1 and 11 as x→0x \to 0. But x→0x \to 0:

−∣x∣≤xsin⁡(1x)≤∣x∣-|x| \leq x\sin\left(\frac{1}{x}\right) \leq |x|

Since lim⁡x→0(−∣x∣)=0\lim_{x \to 0} (-|x|) = 0 and lim⁡x→0∣x∣=0\lim_{x \to 0} |x| = 0:

lim⁡x→0xsin⁡(1x)=0\boxed{\lim_{x \to 0} x\sin\left(\frac{1}{x}\right) = 0}


Example 2: lim⁡x→0x2cos⁡(1x)\lim_{x \to 0} x^2 \cos\left(\frac{1}{x}\right)

−x2≤x2cos⁡(1x)≤x2-x^2 \leq x^2 \cos\left(\frac{1}{x}\right) \leq x^2

Both ±x2→0\pm x^2 \to 0, so lim⁡x→0x2cos⁡(1/x)=0\lim_{x \to 0} x^2 \cos(1/x) = 0.


Example 3: lim⁡x→∞cos⁡xx\lim_{x \to \infty} \frac{\cos x}{x}

−1x≤cos⁡xx≤1x-\frac{1}{x} \leq \frac{\cos x}{x} \leq \frac{1}{x}

Both ±1x→0\pm \frac{1}{x} \to 0 as x→∞x \to \infty, so lim⁡x→∞cos⁡xx=0\lim_{x \to \infty} \frac{\cos x}{x} = 0.

🔑 Pattern: Oscillating function × vanishing function → limit is 0 (use Squeeze Theorem).

Check Your Understanding 🎯

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

This fundamental result is proved using the Squeeze Theorem and unit circle geometry.

For 0<x<π20 < x < \frac{\pi}{2}, comparing areas of triangles and sectors on the unit circle:

cos⁡x≤sin⁡xx≤1\boxed{\cos x \leq \frac{\sin x}{x} \leq 1}

Since lim⁡x→0cos⁡x=1\lim_{x \to 0} \cos x = 1 and lim⁡x→01=1\lim_{x \to 0} 1 = 1:

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


Why This Matters

ResultHow It's Used
lim⁡x→0sin⁡xx=1\lim_{x \to 0} \frac{\sin x}{x} = 1Derivative of sin⁡x\sin x at x=0x = 0
lim⁡x→01−cos⁡xx=0\lim_{x \to 0} \frac{1-\cos x}{x} = 0Derived from sin⁡xx\frac{\sin x}{x} result
ddx[sin⁡x]=cos⁡x\frac{d}{dx}[\sin x] = \cos xUses both limits above in limit definition

AP Tip: You don't need to prove this on the AP exam, but understanding why it's true deepens your grasp of the limit → derivative connection.

Apply the Squeeze Theorem 🔍

Determine each limit.

Apply the Squeeze Theorem ✍️

Part 5: When Functions Behave Nicely

∫ Continuity & the Intermediate Value Theorem

Part 5 of 7 — When Functions Behave Nicely


Topics in This Part

Section
📖 The Three Conditions for Continuity
Types of Discontinuities
📌 Continuity on an Interval
Functions That Are Always Continuous
The Intermediate Value Theorem (IVT)

🔑 Key Concept: A function is continuous at a point when its limit equals its function value. The IVT guarantees that continuous functions on closed intervals take on every intermediate value — a powerful existence theorem.

📖 The Three Conditions for Continuity at x=cx = c

f is continuous at x=c  ⟺  {1. f(c) is defined2. lim⁡x→cf(x) exists3. lim⁡x→cf(x)=f(c)\boxed{f \text{ is continuous at } x = c \iff \begin{cases} 1. \ f(c) \text{ is defined} \\ 2. \ \lim_{x \to c} f(x) \text{ exists} \\ 3. \ \lim_{x \to c} f(x) = f(c) \end{cases}}

If any condition fails → ff is discontinuous at cc.


Checking Continuity: Systematic Approach

Example: Is f(x)=x2−1x−1f(x) = \frac{x^2-1}{x-1} continuous at x=1x = 1?

  1. f(1)=00f(1) = \frac{0}{0} — undefined ❌ (Condition 1 fails)

ff is discontinuous at x=1x = 1, even though lim⁡x→1f(x)=2\lim_{x \to 1} f(x) = 2 exists.


Example: g(x)={x2x≠35x=3g(x) = \begin{cases} x^2 & x \neq 3 \\ 5 & x = 3 \end{cases}

  1. g(3)=5g(3) = 5 ✓
  2. lim⁡x→3g(x)=9\lim_{x \to 3} g(x) = 9 ✓
  3. 9≠59 \neq 5 ❌ (Condition 3 fails)

AP Tip: On free-response questions, always check all three conditions explicitly. Even if the answer seems obvious, showing the systematic check earns full credit.

Types of Discontinuities

TypeDescriptionWhich Condition Fails?Example
Removable (hole)Limit exists but f(c)f(c) is missing or wrongCondition 1 or 3x2−4x−2\frac{x^2-4}{x-2} at x=2x=2
JumpOne-sided limits exist but differCondition 2Floor function ⌊x⌋\lfloor x \rfloor at integers
InfiniteFunction → ±∞\pm\inftyCondition 21x\frac{1}{x} at x=0x=0
OscillatingFunction oscillates without settlingCondition 2sin⁡(1/x)\sin(1/x) at x=0x=0

Why "Removable" Matters

A removable discontinuity can be "fixed" by redefining f(c)f(c) to equal the limit:

f(x)=x2−4x−2has a hole at x=2f(x) = \frac{x^2-4}{x-2} \quad \text{has a hole at } x = 2

Define f(2)=4f(2) = 4 (the limit value) → now ff is continuous at x=2x = 2.

🔑 Key Fact: A discontinuity is removable if and only if lim⁡x→cf(x)\lim_{x \to c} f(x) exists as a finite number.

Check Your Understanding 🎯

📌 Functions That Are Always Continuous

These functions are continuous on their entire domain:

Function TypeDomainContinuous On
Polynomials(−∞,∞)(-\infty, \infty)All reals
exe^x, axa^x(−∞,∞)(-\infty, \infty)All reals
sin⁡x\sin x, cos⁡x\cos x(−∞,∞)(-\infty, \infty)All reals
ln⁡x\ln x(0,∞)(0, \infty)All positive reals
x\sqrt{x}[0,∞)[0, \infty)All non-negative reals
1x\frac{1}{x}x≠0x \neq 0Everywhere except x=0x=0

Building Continuous Functions

If ff and gg are continuous at cc, then these are also continuous at cc:

  • f+gf + g, f−gf - g, f⋅gf \cdot g
  • fg\frac{f}{g} (provided g(c)≠0g(c) \neq 0)
  • f(g(x))f(g(x)) (composition) — continuous at cc if gg is continuous at cc and ff is continuous at g(c)g(c)

🔑 Key Fact: Most functions you encounter are continuous. Discontinuities typically occur at division by zero, piecewise breakpoints, or domain boundaries.

The Intermediate Value Theorem (IVT)

If f is continuous on [a,b], then f takes every value between f(a) and f(b).\boxed{\text{If } f \text{ is continuous on } [a,b], \text{ then } f \text{ takes every value between } f(a) \text{ and } f(b).}

More precisely: if NN is between f(a)f(a) and f(b)f(b), then there exists c∈(a,b)c \in (a,b) with f(c)=Nf(c) = N.


Using IVT to Prove a Root Exists

Claim: x3+x−1=0x^3 + x - 1 = 0 has a solution in [0,1][0,1].

Proof:

  1. Let f(x)=x3+x−1f(x) = x^3 + x - 1 (polynomial → continuous on [0,1][0,1]) ✓
  2. f(0)=−1<0f(0) = -1 < 0 and f(1)=1>0f(1) = 1 > 0 ✓
  3. Since ff is continuous on [0,1][0,1] and 00 is between f(0)=−1f(0) = -1 and f(1)=1f(1) = 1, by the IVT there exists c∈(0,1)c \in (0,1) with f(c)=0f(c) = 0. ✓

AP Exam IVT Justification Template

"Since ff is continuous on [a,b][a,b] and f(a)=[value]f(a) = \text{[value]} and f(b)=[value]f(b) = \text{[value]}, and N=[target]N = \text{[target]} is between f(a)f(a) and f(b)f(b), by the IVT there exists c∈(a,b)c \in (a,b) with f(c)=Nf(c) = N."

AP Tip: You MUST state that ff is continuous — IVT requires it! Forgetting this is one of the most common point-losing mistakes.

IVT Practice 🎯

Classify the Discontinuities 🔍

Apply the IVT ✍️

Part 6: AP-Level Practice

∫ Problem-Solving Workshop

Part 6 of 7 — AP-Level Practice


Strategy Decision Tree

StepActionIf Result Is...
1Try direct substitutionA number → done!
2aGot 00\frac{0}{0}?Factor, rationalize, or use trig identities
2bGot nonzero0\frac{\text{nonzero}}{0}?Check one-sided limits → ±∞\pm\infty or DNE
2cGot ±∞±∞\frac{\pm\infty}{\pm\infty}?Divide top & bottom by highest power of xx
3Piecewise or $x
4Oscillating factor?Try the Squeeze Theorem

🔑 Key Principle: Every limit problem fits one of these patterns. Your job is pattern recognition — the technique follows automatically.

📖 Worked Example 1: Rationalization

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

Step 1: Direct sub gives 4−24−4=00\frac{\sqrt{4}-2}{4-4} = \frac{0}{0} → indeterminate

Step 2: Radical in numerator → rationalize (conjugate trick):

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

Step 3: Now substitute: 14+2=14\frac{1}{\sqrt{4}+2} = \frac{1}{4}

lim⁡x→4x−2x−4=14\boxed{\lim_{x \to 4} \frac{\sqrt{x}-2}{x-4} = \frac{1}{4}}


Worked Example 2: Trig Limit Manipulation

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

Strategy: Introduce the "missing" denominators to create sin⁡uu\frac{\sin u}{u} forms:

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

As x→0x \to 0: each sin⁡uu→1\frac{\sin u}{u} \to 1, so the answer is simply the ratio of coefficients:

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

AP Shortcut: lim⁡x→0sin⁡(ax)sin⁡(bx)=ab\lim_{x \to 0} \frac{\sin(ax)}{\sin(bx)} = \frac{a}{b} — always the ratio of coefficients.

Practice: Rationalization & Trig 🎯

📖 Worked Example 3: Limits at −∞-\infty with Radicals

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

The trap: For x<0x < 0, x2=∣x∣=−x\sqrt{x^2} = |x| = -x, not xx!

Step 1: Factor xx from the numerator and x2\sqrt{x^2} from the denominator:

2x+1x2+3=x(2+1/x)∣x∣1+3/x2\frac{2x+1}{\sqrt{x^2+3}} = \frac{x(2 + 1/x)}{|x|\sqrt{1 + 3/x^2}}

Step 2: Since x<0x < 0, we have ∣x∣=−x|x| = -x:

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

Step 3: As x→−∞x \to -\infty: 1/x→01/x \to 0 and 3/x2→03/x^2 \to 0:

lim⁡x→−∞2x+1x2+3=−21=−2\boxed{\lim_{x \to -\infty} \frac{2x+1}{\sqrt{x^2+3}} = \frac{-2}{1} = -2}

AP Tip: The sign of x2\sqrt{x^2} is the #1 source of errors on limits at −∞-\infty with radicals. Always ask: "Is xx positive or negative here?"

Practice: Limits with Radicals 🎯

📌 Complete AP Exam Limit Toolkit

Problem TypeKey MoveExample
…−ksomething\frac{\sqrt{\ldots} - k}{\text{something}}Conjugate multiplicationx−2x−4\frac{\sqrt{x}-2}{x-4}
sin⁡(ax)bx\frac{\sin(ax)}{bx} or sin⁡(ax)sin⁡(bx)\frac{\sin(ax)}{\sin(bx)}Create sin⁡uu\frac{\sin u}{u} formssin⁡3x5x=35\frac{\sin 3x}{5x} = \frac{3}{5}
Polynomial 00\frac{0}{0}Factor and cancelx2−1x−1\frac{x^2-1}{x-1}
x→±∞x \to \pm\infty rationalDivide by highest power3x2+1x2−5→3\frac{3x^2+1}{x^2-5} \to 3
x→±∞x \to \pm\infty with  \sqrt{\,}Use $\sqrt{x^2} =x
Piecewise or $\cdot$
OscillationSqueeze Theoremx2sin⁡(1/x)→0x^2\sin(1/x) \to 0

🔑 Key Fact: On the AP exam, about 3–5 questions test limits directly, plus limits appear implicitly in derivative and integral questions.

Quick Evaluation Drill 🔍

Compute the Limit ✍️

Part 7: Putting It All Together

∫ Review & AP Exam Applications

Part 7 of 7 — Putting It All Together


Complete Limits & Continuity Toolkit

ToolWhen to UseKey Formula
Direct SubstitutionAlways try firstPlug in x=cx = c
Factoring00\frac{0}{0} with polynomialsCancel common factor
Conjugate00\frac{0}{0} with radicalsMultiply by …+k…+k\frac{\sqrt{\ldots}+k}{\sqrt{\ldots}+k}
Trig Limitssin⁡(ax)bx\frac{\sin(ax)}{bx} formssin⁡uu→1\frac{\sin u}{u} \to 1
Degree Comparisonx→±∞x \to \pm\inftyHigher degree wins
One-Sided LimitsPiecewise, $x
Squeeze TheoremOscillating functionsg≤f≤hg \leq f \leq h and g,h→Lg,h \to L
Continuity Check3 conditionsf(c)f(c) defined, limit exists, they match
IVTExistence of rootsContinuous + sign change

🔑 Key Principle: Mastering limits is the foundation for ALL of calculus — derivatives, integrals, and series all rely on limits.

📖 How Limits Connect to the Rest of AP Calculus

Derivatives Are Limits

f′(x)=lim⁡h→0f(x+h)−f(x)h\boxed{f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}}

Every derivative you compute is secretly a limit! The skills from Parts 1–6 (especially factoring, rationalizing, and trig limits) are essential for computing derivatives from the definition.

Integrals Are Limits

∫abf(x) dx=lim⁡n→∞∑i=1nf(xi)Δx\boxed{\int_a^b f(x)\,dx = \lim_{n \to \infty} \sum_{i=1}^{n} f(x_i)\Delta x}

The definite integral is the limit of Riemann sums as the number of rectangles approaches infinity.

L'Hôpital's Rule (Preview)

Later in the course, you'll learn a shortcut for 00\frac{0}{0} and ∞∞\frac{\infty}{\infty} forms:

lim⁡x→cf(x)g(x)=lim⁡x→cf′(x)g′(x)(if conditions are met)\lim_{x \to c} \frac{f(x)}{g(x)} = \lim_{x \to c} \frac{f'(x)}{g'(x)} \quad \text{(if conditions are met)}

For now, the algebraic techniques from this unit are the foundation.

AP Tip: The AP exam tests limits in multiple-choice (computation), free-response (justification with IVT/continuity), and implicitly through derivative and integral problems. Expect 3–5 direct limit questions plus many indirect ones.

Comprehensive Review 🎯

📌 Free-Response Practice: IVT Justification

Problem (AP Style): Let ff be the function defined by f(x)=x3−4x+2f(x) = x^3 - 4x + 2.

(a) Show that ff has at least one zero in the interval [−3,0][-3, 0].

Model Solution:

ff is a polynomial, so ff is continuous on [−3,0][-3, 0].

f(−3)=(−3)3−4(−3)+2=−27+12+2=−13f(-3) = (-3)^3 - 4(-3) + 2 = -27 + 12 + 2 = -13

f(0)=0−0+2=2f(0) = 0 - 0 + 2 = 2

Since f(−3)=−13<0<2=f(0)f(-3) = -13 < 0 < 2 = f(0), and ff is continuous on [−3,0][-3,0], by the Intermediate Value Theorem, there exists c∈(−3,0)c \in (-3, 0) such that f(c)=0f(c) = 0.


Grading Rubric (How AP Readers Score This)

PointRequirement
1States ff is continuous (with reason)
1Computes f(a)f(a) and f(b)f(b) correctly
1Notes 00 is between f(a)f(a) and f(b)f(b), invokes IVT, states conclusion

AP Tip: Forgetting to state "ff is continuous" costs you a point every time. It's the most common mistake on IVT problems.

AP Exam Practice 🎯

Final Review: Name That Technique 🔍

Compute the Limit ✍️

One More Challenge ✍️