Skip to content
🎯⭐ INTERACTIVE LESSON

What is Continuity?

Learn step-by-step with interactive practice!

What is Continuity? - Complete Interactive Lesson

Part 1: Continuity Definition

🔗 Continuity — Drawing Without Lifting the Pencil

Part 1 of 4 — The intuition


Topics in This Part

Section
Intuitive Definition
🔑 Limit = Value
Continuous vs. Not

🔑 Why this matters: Continuity is the bridge from limits to derivatives. It's the most heavily tested concept in Unit 1.

✏️ Intuitive Definition

A function ff is continuous on an interval if you can draw its graph without lifting your pencil.

Visually, this means no jumps, no holes, no vertical asymptotes.

This is great intuition but not quite a definition. The precise version uses limits.

🔑 Formal Definition: Continuous at aa

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

  1. f(a)f(a) is defined.
  2. lim⁡x→af(x)\lim_{x \to a} f(x) exists (both one-sided limits agree on a finite value).
  3. lim⁡x→af(x)=f(a)\lim_{x \to a} f(x) = f(a).

In short: the limit equals the value.

💡 If any one of the three conditions fails, ff is discontinuous at aa.

⚖️ Continuous vs. Not

FunctionContinuous at aa?Why
f(x)=x2f(x) = x^2 at a=3a = 3✅ YesPolynomial; lim⁡=f(3)=9\lim = f(3) = 9
f(x)=1/xf(x) = 1/x at a=0a = 0❌ Nof(0)f(0) undefined
Piecewise with a jump at aa❌ NoOne-sided limits disagree → no limit
Hole at aa (removable)❌ NoLimit exists but f(a)f(a) either undefined or ≠\ne limit

Most "common" functions (polynomials, sin, cos, exp) are continuous everywhere they're defined.

Three-Part Test 🎯

Identify 🧮

For each statement, type yes or no:

1) Is f(x)=x3−5xf(x) = x^3 - 5x continuous at x=2x = 2?

2) Is g(x)=1/(x−4)g(x) = 1/(x - 4) continuous at x=4x = 4?

3) Is h(x)=sin⁡xh(x) = \sin x continuous at x=πx = \pi?

Part 2: Continuity Catalog

📜 Continuity Catalog

Part 2 of 4 — Which functions are continuous where?


Topics in This Part

Section
🔑 The Continuous-Everywhere List
Continuity on Restricted Domains
Combinations Preserve Continuity

🔑 Why this matters: Knowing which families are continuous saves you from re-checking the three conditions every time.

🔑 Continuous Everywhere

These functions are continuous at every real number:

FamilyExamples
Polynomialsx2+1x^2 + 1, x5−3xx^5 - 3x, any constant
Sine and cosinesin⁡x\sin x, cos⁡x\cos x, sin⁡(2x+5)\sin(2x + 5)
Exponentialexe^x, 2x2^x, 5⋅3x5 \cdot 3^x

💡 Plug-in works for any of these. No need to think.

🚧 Continuous on a Restricted Domain

Some functions are continuous only where they're defined — and they aren't defined everywhere.

FunctionContinuous on
ln⁡x\ln x(0,∞)(0, \infty)
x\sqrt{x}[0,∞)[0, \infty)
tan⁡x\tan xAll x≠π/2+kπx \ne \pi/2 + k\pi
Rational p(x)/q(x)p(x)/q(x)All xx where q(x)≠0q(x) \ne 0

⚠️ At the edge of the domain, you might have a one-sided continuity (e.g., x\sqrt{x} is continuous from the right at x=0x = 0).

🔄 Combinations Preserve Continuity

If ff and gg are continuous at aa, then so are:

  • f+gf + g and f−gf - g
  • f⋅gf \cdot g
  • f/gf / g if g(a)≠0g(a) \ne 0
  • f∘gf \circ g (composition), provided gg is continuous at aa and ff is continuous at g(a)g(a)

So combinations of "nice" functions stay nice.

Example. h(x)=sin⁡(ex+x2)h(x) = \sin(e^x + x^2) — built from continuous pieces, continuous everywhere.

Catalog Test 🎯

Decide Continuity 🔽

Part 3: Piecewise Continuity

🧩 Continuity for Piecewise Functions

Part 3 of 4 — Make the pieces match up


Topics in This Part

Section
The Boundary Test
🔑 Solving for an Unknown Constant
Worked Examples

🔑 Why this matters: AP loves to ask "what value of kk makes this piecewise function continuous?" — a routine application of the three-condition test.

📍 The Boundary Test

For a piecewise function defined as

f(x)={g(x),x<ah(x),x≥af(x) = \begin{cases} g(x), & x < a \\ h(x), & x \ge a \end{cases}

to be continuous at the boundary x=ax = a, we need:

lim⁡x→a−g(x)  =  lim⁡x→a+h(x)  =  f(a)=h(a).\lim_{x \to a^-} g(x) \;=\; \lim_{x \to a^+} h(x) \;=\; f(a) = h(a).

In words: left piece and right piece must meet at the same value at aa.

💡 Inside each piece (away from the boundary), the function is just gg or hh — already continuous if those are continuous.

🔑 Solving for an Unknown Constant

Classic AP setup: find the value of kk that makes ff continuous.

Worked example. Find kk such that f(x)={x2+1,x≤2kx+3,x>2f(x) = \begin{cases} x^2 + 1, & x \le 2 \\ kx + 3, & x > 2 \end{cases} is continuous at x=2x = 2.

  • Left piece at x=2x = 2: 4+1=54 + 1 = 5.
  • Right piece limit at x=2x = 2: 2k+32k + 3.
  • Set equal: 2k+3=5⇒k=12k + 3 = 5 \Rightarrow k = 1.

Answer: k=1k = 1.

🎯 Two Unknowns

Sometimes both pieces have an unknown — then you need a system.

Example. Find a,ba, b so that f(x)={ax+b,x<1x2,1≤x≤24x+a,x>2f(x) = \begin{cases} ax + b, & x < 1 \\ x^2, & 1 \le x \le 2 \\ 4x + a, & x > 2 \end{cases} is continuous everywhere.

  • At x=1x = 1: a(1)+b=12⇒a+b=1a(1) + b = 1^2 \Rightarrow a + b = 1.
  • At x=2x = 2: 22=4(2)+a⇒4=8+a⇒a=−42^2 = 4(2) + a \Rightarrow 4 = 8 + a \Rightarrow a = -4.
  • From the first equation: b=5b = 5.

Answer: a=−4a = -4, b=5b = 5.

Boundary Practice 🎯

Solve 🧮

1) For f(x)={3x−1,x≤4x2+k,x>4f(x) = \begin{cases} 3x - 1, & x \le 4 \\ x^2 + k, & x > 4 \end{cases}, find kk.

2) For g(x)={ax+5,x<2x3,x≥2g(x) = \begin{cases} ax + 5, & x < 2 \\ x^3, & x \ge 2 \end{cases}, find aa.

Part 4: Continuity on Intervals & IVT

🌐 Continuity on an Interval & the IVT

Part 4 of 4 — Big-picture continuity


Topics in This Part

Section
Continuous on an Open vs. Closed Interval
🔑 The Intermediate Value Theorem
Applying IVT

🔑 Why this matters: Continuity on an interval enables the IVT — a foundational existence theorem you'll use in later units (and on the AP exam).

📏 Continuous on an Interval

ff is continuous on an open interval (a,b)(a, b) if it's continuous at every point in (a,b)(a, b).

ff is continuous on a closed interval [a,b][a, b] if it's continuous on (a,b)(a, b) AND right-continuous at aa AND left-continuous at bb.

The endpoint conditions:

  • Right-continuous at aa: lim⁡x→a+f(x)=f(a)\lim_{x \to a^+} f(x) = f(a).
  • Left-continuous at bb: lim⁡x→b−f(x)=f(b)\lim_{x \to b^-} f(x) = f(b).

💡 Most "nice" functions (polynomials, sin, cos, exe^x) are continuous on every interval.

🔑 The Intermediate Value Theorem (IVT)

IVT. If ff is continuous on [a,b][a, b] and NN is any value strictly 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.

In words: a continuous function on a closed interval takes on every value between its endpoint values.

💡 The IVT is an existence theorem — it tells you a cc exists, but not where it is or how many.

🔍 Applying IVT — Root-Finding

Worked example. Show f(x)=x3+x−1f(x) = x^3 + x - 1 has a root on [0,1][0, 1].

  • ff is a polynomial → continuous on [0,1][0, 1] ✅
  • f(0)=−1<0f(0) = -1 < 0
  • f(1)=1>0f(1) = 1 > 0
  • 00 is strictly between −1-1 and 11.

By IVT, there exists c∈(0,1)c \in (0, 1) with f(c)=0f(c) = 0. A root exists in (0,1)(0, 1).

💡 IVT guarantees existence; it doesn't tell you exactly where the root is. On the exam, a calculator finds the value when one is needed.

IVT Application 🎯

Exit Check ✅