🎯⭐ INTERACTIVE LESSON

Limits & Continuity

Learn step-by-step with interactive practice!

Loading lesson...

Limits & Continuity - Complete Interactive Lesson

Part 1: Limit Definition

∫ Understanding Limits

Part 1 of 7 — The Foundation of Calculus

1. What Is a Limit?

A limit describes the value a function approaches as xx gets closer and closer to a particular value cc. We write:

limxcf(x)=L\lim_{x \to c} f(x) = L

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

Crucial insight: The limit is about where the function is heading, not where it actually is. The function doesn't need to be defined at x=cx = c for the limit to exist.

2. Evaluating Limits by Direct Substitution

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

limxcf(x)=f(c)\lim_{x \to c} f(x) = f(c)

Example: limx3(2x+1)=2(3)+1=7\lim_{x \to 3} (2x + 1) = 2(3) + 1 = 7

This works for polynomials, exponentials, and other continuous functions.

3. 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 — apply algebraic techniques.

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

Rationalizing: limx0x+42x\lim_{x \to 0} \frac{\sqrt{x+4} - 2}{x}

Multiply by conjugate: (x+4)4x(x+4+2)=1x+4+214\frac{(x+4)-4}{x(\sqrt{x+4}+2)} = \frac{1}{\sqrt{x+4}+2} \to \frac{1}{4}

4. When Limits Do Not Exist

A limit DNE when:

  • Left-hand and right-hand limits differ
  • The function grows without bound
  • The function oscillates (e.g., sin(1/x)\sin(1/x) near x=0x = 0)

Check Your Understanding 🎯

Key Techniques Summary

SituationMethodExample
Direct sub worksPlug in cclimx2x3=8\lim_{x \to 2} x^3 = 8
00\frac{0}{0} with polynomialFactor & cancelx24x2x+2\frac{x^2-4}{x-2} \to x+2
00\frac{0}{0} with radicalMultiply by conjugatex+42x\frac{\sqrt{x+4}-2}{x}
nonzero0\frac{\text{nonzero}}{0}Check for ±\pm\infty or DNE1x3\frac{1}{x-3} near x=3x=3

AP Tip: 00\frac{0}{0} does NOT mean DNE. It means "do more algebra."

Check Your Understanding 🎯

Match the Technique 🔍

For each limit, select the best first step.

Part 2: Evaluating Limits

∫ Evaluating Limits Algebraically

Part 2 of 7 — Mastering Limit Computation

1. Special Trig Limits

Two limits you must memorize for the AP exam:

limx0sinxx=1limx01cosxx=0\lim_{x \to 0} \frac{\sin x}{x} = 1 \qquad \lim_{x \to 0} \frac{1 - \cos x}{x} = 0

These appear constantly in disguised forms. For example:

limx0sin(3x)x=limx03sin(3x)3x=31=3\lim_{x \to 0} \frac{\sin(3x)}{x} = \lim_{x \to 0} 3 \cdot \frac{\sin(3x)}{3x} = 3 \cdot 1 = 3

General pattern: limx0sin(ax)bx=ab\lim_{x \to 0} \frac{\sin(ax)}{bx} = \frac{a}{b}

2. Limits at Infinity

For rational functions as xx \to \infty, compare the degrees of numerator and denominator:

  • Same degree: Limit = ratio of leading coefficients
    • limx3x2+15x22=35\lim_{x \to \infty} \frac{3x^2 + 1}{5x^2 - 2} = \frac{3}{5}
  • Numerator degree < Denominator degree: Limit = 0
    • limx2xx2+1=0\lim_{x \to \infty} \frac{2x}{x^2 + 1} = 0
  • Numerator degree > Denominator degree: Limit = ±\pm\infty
    • limxx3x+1=\lim_{x \to \infty} \frac{x^3}{x+1} = \infty

3. Limits Involving ee

The number ee is defined by: limn(1+1n)n=e2.718\lim_{n \to \infty} \left(1 + \frac{1}{n}\right)^n = e \approx 2.718

Useful variant: limx0ex1x=1\lim_{x \to 0} \frac{e^x - 1}{x} = 1

4. Piecewise Function Limits

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

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

limx1f(x)=12=1\lim_{x \to 1^-} f(x) = 1^2 = 1 and limx1+f(x)=2(1)1=1\lim_{x \to 1^+} f(x) = 2(1)-1 = 1

Since both sides agree, limx1f(x)=1\lim_{x \to 1} f(x) = 1.

Check Your Understanding 🎯

Limits at Infinity — Quick Reference

Degree ComparisonResultMemory Aid
deg(top) < deg(bottom)00"Bottom wins"
deg(top) = deg(bottom)leading coeff topleading coeff bottom\frac{\text{leading coeff top}}{\text{leading coeff bottom}}"Tie goes to coefficients"
deg(top) > deg(bottom)±\pm\infty"Top wins"

Key trig limits to memorize:

  • limx0sinxx=1\lim_{x \to 0} \frac{\sin x}{x} = 1
  • limx01cosxx=0\lim_{x \to 0} \frac{1-\cos x}{x} = 0
  • limx0tanxx=1\lim_{x \to 0} \frac{\tan x}{x} = 1

Check Your Understanding 🎯

Evaluate Each Limit 🔍

Part 3: One-Sided Limits

∫ One-Sided Limits

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

1. Definition

The left-hand limit limxcf(x)\lim_{x \to c^-} f(x) considers only values of xx approaching cc from the left (values less than cc).

The right-hand limit limxc+f(x)\lim_{x \to c^+} f(x) considers only values approaching from the right (values greater than cc).

The two-sided limit exists if and only if both one-sided limits exist and are equal:

limxcf(x)=L    limxcf(x)=L and limxc+f(x)=L\lim_{x \to c} f(x) = L \iff \lim_{x \to c^-} f(x) = L \text{ and } \lim_{x \to c^+} f(x) = L

2. Piecewise Functions

One-sided limits are essential for piecewise functions:

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

  • limx2g(x)=2+3=5\lim_{x \to 2^-} g(x) = 2 + 3 = 5
  • limx2+g(x)=22=4\lim_{x \to 2^+} g(x) = 2^2 = 4

Since 545 \neq 4, we say limx2g(x)\lim_{x \to 2} g(x) does not exist.

3. Vertical Asymptotes

At a vertical asymptote, one-sided limits reveal the behavior:

For f(x)=1x3f(x) = \frac{1}{x - 3}:

  • limx3+1x3=+\lim_{x \to 3^+} \frac{1}{x-3} = +\infty (positive values approach from right)
  • limx31x3=\lim_{x \to 3^-} \frac{1}{x-3} = -\infty (negative values approach from left)

4. Absolute Value Functions

x={xx0xx<0|x| = \begin{cases} x & x \geq 0 \\ -x & x < 0 \end{cases}

limx0xx={limx0+xx=1limx0xx=1\lim_{x \to 0} \frac{|x|}{x} = \begin{cases} \lim_{x \to 0^+} \frac{x}{x} = 1 \\ \lim_{x \to 0^-} \frac{-x}{x} = -1 \end{cases}

The two sides disagree, so limx0xx\lim_{x \to 0} \frac{|x|}{x} does not exist.

Check Your Understanding 🎯

One-Sided Limit Decision Tree

  1. Is the function piecewise? → Use the piece valid on that side
  2. Is there a vertical asymptote? → Check sign of expression on that side
  3. Is there an absolute value? → Rewrite without | \cdot | using the sign of the expression

Key fact for the AP exam: The two-sided limit exists only when left = right. If the problem asks "does the limit exist," always check both sides.

Common Mistakes

  • Confusing "the limit is \infty" with "the limit exists" — saying the limit is \infty means it does NOT exist as a finite limit
  • Forgetting to check both sides at breakpoints of piecewise functions

Check Your Understanding 🎯

Evaluate the One-Sided Limits 🔍

Part 4: Squeeze Theorem

∫ The Squeeze Theorem

Part 4 of 7 — Bounding Limits

1. 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:

limxcg(x)=limxch(x)=L\lim_{x \to c} g(x) = \lim_{x \to c} h(x) = L

then limxcf(x)=L\lim_{x \to c} f(x) = L as well.

Intuition: If ff is "squeezed" between two functions that both approach LL, then ff must also approach LL.

2. Classic Example: limx0xsin(1x)\lim_{x \to 0} x \sin\left(\frac{1}{x}\right)

We know 1sin(1x)1-1 \leq \sin\left(\frac{1}{x}\right) \leq 1 for all x0x \neq 0.

Multiply by x|x|:  xxsin(1x)x\ -|x| \leq x\sin\left(\frac{1}{x}\right) \leq |x|

Since limx0(x)=0\lim_{x \to 0} (-|x|) = 0 and limx0x=0\lim_{x \to 0} |x| = 0:

limx0xsin(1x)=0\lim_{x \to 0} x\sin\left(\frac{1}{x}\right) = 0

3. When to Use the Squeeze Theorem

Use it when:

  • The function involves an oscillating factor (like sin\sin or cos\cos) multiplied by something going to 0
  • You can bound the function between two simpler functions
  • Direct algebraic techniques don't work

4. Proving limx0sinxx=1\lim_{x \to 0} \frac{\sin x}{x} = 1

Using geometry of the unit circle, one can show that for 0<x<π20 < x < \frac{\pi}{2}:

cosxsinxx1\cos x \leq \frac{\sin x}{x} \leq 1

Since limx0cosx=1\lim_{x \to 0} \cos x = 1 and limx01=1\lim_{x \to 0} 1 = 1, the Squeeze Theorem gives us limx0sinxx=1\lim_{x \to 0} \frac{\sin x}{x} = 1.

Check Your Understanding 🎯

Squeeze Theorem Checklist

To apply the Squeeze Theorem, you need three things:

  1. ✅ A lower bound function g(x)f(x)g(x) \leq f(x)
  2. ✅ An upper bound function f(x)h(x)f(x) \leq h(x)
  3. ✅ Both bounds approach the same limit: limg=limh=L\lim g = \lim h = L

Common bounding facts:

  • 1sin(anything)1-1 \leq \sin(\text{anything}) \leq 1
  • 1cos(anything)1-1 \leq \cos(\text{anything}) \leq 1
  • 0sin(anything)10 \leq |\sin(\text{anything})| \leq 1

Check Your Understanding 🎯

Apply the Squeeze Theorem 🔍

Part 5: Continuity & IVT

∫ Continuity & the Intermediate Value Theorem

Part 5 of 7 — When Functions Behave Nicely

1. Definition of Continuity

A function ff is continuous at x=cx = c if all three conditions hold:

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

If any condition fails, ff has a discontinuity at cc.

2. Types of Discontinuities

Removable (hole): The limit exists but f(c)f(c) is missing or wrong.

  • Example: f(x)=x21x1f(x) = \frac{x^2-1}{x-1} at x=1x=1. The limit is 2, but f(1)f(1) is undefined.

Jump: The one-sided limits exist but are not equal.

  • Example: f(x)={1x<02x0f(x) = \begin{cases} 1 & x < 0 \\ 2 & x \geq 0 \end{cases}

Infinite (vertical asymptote): The function approaches ±\pm\infty.

  • Example: f(x)=1xf(x) = \frac{1}{x} at x=0x = 0.

3. Continuity on an Interval

ff is continuous on [a,b][a,b] if:

  • ff is continuous at every point in (a,b)(a,b)
  • limxa+f(x)=f(a)\lim_{x \to a^+} f(x) = f(a) (right-continuous at left endpoint)
  • limxbf(x)=f(b)\lim_{x \to b^-} f(x) = f(b) (left-continuous at right endpoint)

Key fact: Polynomials, exe^x, sinx\sin x, cosx\cos x, and lnx\ln x (on its domain) are continuous everywhere they are defined.

4. The Intermediate Value Theorem (IVT)

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

Application: Show that x3+x1=0x^3 + x - 1 = 0 has a solution in [0,1][0,1].

  • f(0)=1<0f(0) = -1 < 0
  • f(1)=1>0f(1) = 1 > 0
  • Since ff is continuous and changes sign, by IVT there exists c(0,1)c \in (0,1) with f(c)=0f(c) = 0.

Check Your Understanding 🎯

Continuity Checklist (AP Exam Format)

To show ff is continuous at x=cx=c, state:

  1. "f(c)f(c) is defined and equals ___"
  2. "limxcf(x)\lim_{x \to c} f(x) exists and equals ___"
  3. "Since limxcf(x)=f(c)\lim_{x \to c} f(x) = f(c), ff is continuous at cc"

IVT on the AP Exam

Standard IVT justification:

  • "Since ff is continuous on [a,b][a,b]..." ← must state continuity
  • "...and f(a)=valuef(a) = \text{value} and f(b)=valuef(b) = \text{value}..." ← state the function values
  • "...by the IVT, there exists c(a,b)c \in (a,b) such that f(c)=Nf(c) = N." ← conclusion

Check Your Understanding 🎯

Classify the Discontinuities 🔍

Part 6: Problem-Solving Workshop

∫ Problem-Solving Workshop

Part 6 of 7 — AP-Level Practice

Strategy Guide for Limit Problems

Step 1: Try direct substitution. If it works, you're done.

Step 2: Identify the form.

  • 00\frac{0}{0}: Try factoring, rationalizing, or trig identities
  • nonzero0\frac{\text{nonzero}}{0}: The limit is ±\pm\infty (or DNE if signs differ by side)
  • ±±\frac{\pm\infty}{\pm\infty}: Divide top and bottom by highest power of xx

Step 3: For piecewise or absolute value, check both one-sided limits.

Step 4: For oscillating factors, try the Squeeze Theorem.

Worked Example 1

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

Direct sub: 00\frac{0}{0}. Rationalize:

x2x4x+2x+2=x4(x4)(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}

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

Worked Example 2

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

Rewrite: sin(3x)sin(5x)=sin(3x)3x5xsin(5x)3x5x=1135=35\frac{\sin(3x)}{\sin(5x)} = \frac{\sin(3x)}{3x} \cdot \frac{5x}{\sin(5x)} \cdot \frac{3x}{5x} = 1 \cdot 1 \cdot \frac{3}{5} = \frac{3}{5}

Worked Example 3

limx2x+1x2+3\lim_{x \to -\infty} \frac{2x + 1}{\sqrt{x^2 + 3}}

For x<0x < 0: x2=x=x\sqrt{x^2} = |x| = -x. Factor:

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

=(2+1/x)1+3/x221=2= \frac{-(2+1/x)}{\sqrt{1+3/x^2}} \to \frac{-2}{1} = -2

Check Your Understanding 🎯

Common AP Exam Limit Tricks

Problem TypeKey Move
stuffnumbersomething\frac{\sqrt{\text{stuff}} - \text{number}}{\text{something}}Multiply by conjugate
sin(ax)sin(bx)\frac{\sin(ax)}{\sin(bx)}Rewrite using sinuu1\frac{\sin u}{u} \to 1
f(x)g(x)\frac{f(x)}{g(x)} as x±x \to \pm\inftyDivide by highest power of xx
00\frac{0}{0} with polynomialsFactor!
Function with $x

Check Your Understanding 🎯

Quick Evaluation 🔍

Part 7: Review & Applications

∫ Review & AP Exam Applications

Part 7 of 7 — Putting It All Together

Complete Limits Toolkit

1. Direct Substitution — Always try first. Works for continuous functions.

2. Algebraic Manipulation — For 00\frac{0}{0}:

  • Factor polynomials: x2a2=(xa)(x+a)x^2 - a^2 = (x-a)(x+a)
  • Rationalize radicals: multiply by the conjugate
  • Simplify complex fractions

3. Special Trig Limits:

  • limx0sinxx=1\lim_{x \to 0} \frac{\sin x}{x} = 1, limx01cosxx=0\lim_{x \to 0} \frac{1-\cos x}{x} = 0

4. Limits at Infinity — Compare degrees of top and bottom.

5. Squeeze Theorem — For oscillating functions bounded by converging functions.

6. One-Sided Limits — Check both sides for piecewise, absolute value, or asymptotes.

AP Exam Format Notes

  • Multiple choice: Often tests recognition of technique + computation
  • Free response: May ask you to justify continuity or apply IVT with complete sentences
  • Common FRQ prompt: "Is ff continuous at x=cx = c? Justify your answer."
    • You must check all three conditions explicitly

Connections to Coming Topics

Limits lead directly to:

  • Derivatives (Part 2): f(x)=limh0f(x+h)f(x)hf'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}
  • Integrals (Part 4): abf(x)dx=limnf(xi)Δx\int_a^b f(x)\,dx = \lim_{n \to \infty} \sum f(x_i)\Delta x
  • Series (BC only): n=1an=limNn=1Nan\sum_{n=1}^{\infty} a_n = \lim_{N \to \infty} \sum_{n=1}^{N} a_n

Check Your Understanding 🎯

IVT Application Template

Problem: Show that f(x)=0f(x) = 0 has a solution on [a,b][a,b].

Solution framework:

  1. State that ff is continuous on [a,b][a,b] (and say why — polynomial, composition of continuous functions, etc.)
  2. Compute f(a)f(a) and f(b)f(b)
  3. Note that 00 is between f(a)f(a) and f(b)f(b)
  4. Conclude by IVT: there exists c(a,b)c \in (a,b) with f(c)=0f(c) = 0

Example: ex=3xe^x = 3 - x on [0,1][0, 1]

Let f(x)=ex3+xf(x) = e^x - 3 + x. Then f(0)=13+0=2<0f(0) = 1-3+0 = -2 < 0 and f(1)=e3+10.718>0f(1) = e - 3 + 1 \approx 0.718 > 0. Since ff is continuous and changes sign, f(c)=0f(c)=0 for some c(0,1)c \in (0,1).

Check Your Understanding 🎯

Comprehensive Review 🔍