Cookmath

Continuity and Piecewise Matching

A function is continuous at a when f(a) is defined, the limit at a exists, and that limit equals f(a). Matching only the left and right limits is insufficient if the defined point has a different height. At an endpoint of the domain, use the one-sided limit available inside the domain.

Before you begin

Check: lim as x→2 of x+3 is 5. Review the distinction between f(2) and nearby limiting values.

What you will learn

Understand the idea

A function is continuous at a when f(a) is defined, the limit at a exists, and that limit equals f(a). Matching only the left and right limits is insufficient if the defined point has a different height. At an endpoint of the domain, use the one-sided limit available inside the domain.

Worked example 1

Choose k so f(x)=kx+1 for x<2 and f(x)=x²+1 for x≥2 is continuous.

  1. At the joining input 2, the right branch and point value equal 5.
  2. The left limit is 2k+1; set 2k+1=5.
  3. k=2. Both branches are polynomials elsewhere, so this gives continuity everywhere.

Worked example 2

Define f(x)=(x²−9)/(x−3) for x≠3. What value should f(3) have for continuity?

  1. For x≠3, f(x)=x+3.
  2. Both one-sided limits at 3 are 6.
  3. Set f(3)=6 to fill the removable hole; other assigned values leave a discontinuity.

Diagnose an error

A graph has left limit 2, right limit 4. Can assigning f(a)=3 make it continuous?

Compare your reasoning

A graph has left limit 2, right limit 4. Can assigning f(a)=3 make it continuous?

  1. No single point value changes either one-sided limit.
  2. Because the limits disagree, the jump cannot be repaired by redefining only f(a).

Independent practice

Submit your answer in the interactive lesson to unlock the worked solution. Type your reasoning or build it with clickable tiles.

Practice 1

Is f(x)=1/(x−5) continuous at x=4?

Solution locked until submission.

Practice 2

Choose c for f(x)=x+2 when x≠1 and f(1)=c to be continuous.

Solution locked until submission.

Practice 3

Explain why √x is continuous at 0 on its domain.

Solution locked until submission.

Practice 4

A fee is 5+2t for t<3, then 11+q(t−3) for t≥3. Does continuity determine q?

Solution locked until submission.

Connect and reflect

Continuity is equality between a defined point value and a two-sided limit, with a one-sided version at domain endpoints.

Original Cookmath explanations and exercises. Scope reference: OpenStax Calculus 2e · scope reference; original Cookmath lesson. Cookmath units are smaller study groups, not publisher chapter counts.

Continue learning

Introduction to Calculus · optional bridge