Dove's LibraryDove's Library

1.11 - Defining Continuity at a Point

Introduction

Earlier we used an informal definition of continuity (the pencil test). Now we’ll build a formal mathematical definition of what it means for a function to be continuous at a specific point.

Formal Definition of Continuity

A function ff is continuous at x=cx = c if and only if all three of these conditions hold:
Condition 1: f(c)f(c) is defined.
The function has to have a value at x=cx = c. In other words, cc has to be in the domain of ff.
Condition 2: lim⁡x→cf(x)\lim_{x \to c} f(x) exists.
The limit as xx approaches cc has to exist, which means both one-sided limits exist and are equal:
lim⁡x→c−f(x)=lim⁡x→c+f(x)\lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x)
Condition 3: lim⁡x→cf(x)=f(c)\lim_{x \to c} f(x) = f(c).
The limit value has to equal the function value. The function has to approach the same value it’s actually defined to be.

Important Note

If any one of these three conditions fails, the function is not continuous at x=cx = c.

Testing Continuity: Step by Step

When checking if a function is continuous at a point, go through each condition systematically.

Example 1: Piecewise Function, Not Continuous

Determine whether this function is continuous at x=3x = 3:
f(x)={x2+1if x<32x−1if x≥3f(x) = \begin{cases} x^2 + 1 & \text{if } x < 3 \\ 2x - 1 & \text{if } x \geq 3 \end{cases}
Step 1: Find the left-hand limit.
lim⁡x→3−f(x)=(3)2+1=9+1=10\lim_{x \to 3^-} f(x) = (3)^2 + 1 = 9 + 1 = 10
(Use the first piece, since we’re approaching from the left where x<3x < 3.)
Step 2: Find the right-hand limit.
lim⁡x→3+f(x)=2(3)−1=6−1=5\lim_{x \to 3^+} f(x) = 2(3) - 1 = 6 - 1 = 5
(Use the second piece, since we’re approaching from the right where x≥3x \geq 3.)
Step 3: Compare the one-sided limits.
lim⁡x→3−f(x)=10≠5=lim⁡x→3+f(x)\lim_{x \to 3^-} f(x) = 10 \neq 5 = \lim_{x \to 3^+} f(x)
Since the one-sided limits aren’t equal, the limit does not exist.
Conclusion: The function is not continuous at x=3x = 3.
Justification: Not continuous because lim⁡x→3−f(x)≠lim⁡x→3+f(x)\lim_{x \to 3^-} f(x) \neq \lim_{x \to 3^+} f(x). This violates Condition 2 (the limit must exist).

Example 2: Piecewise Function, Continuous

Determine whether this function is continuous at x=5x = 5:
g(x)={3x−5if x<5x2−15if x≥5g(x) = \begin{cases} 3x - 5 & \text{if } x < 5 \\ x^2 - 15 & \text{if } x \geq 5 \end{cases}
Step 1: Find the left-hand limit.
lim⁡x→5−g(x)=3(5)−5=15−5=10\lim_{x \to 5^-} g(x) = 3(5) - 5 = 15 - 5 = 10
Step 2: Find the right-hand limit.
lim⁡x→5+g(x)=(5)2−15=25−15=10\lim_{x \to 5^+} g(x) = (5)^2 - 15 = 25 - 15 = 10
Step 3: Check that the limit exists.
lim⁡x→5−g(x)=10=lim⁡x→5+g(x)\lim_{x \to 5^-} g(x) = 10 = \lim_{x \to 5^+} g(x)
So lim⁡x→5g(x)=10\lim_{x \to 5} g(x) = 10. Condition 2 is satisfied.
Step 4: Find g(5)g(5).
Since x=5x = 5 satisfies x≥5x \geq 5, use the second piece:
g(5)=(5)2−15=10g(5) = (5)^2 - 15 = 10
So g(5)=10g(5) = 10 is defined. Condition 1 is satisfied.
Step 5: Compare the limit and the function value.
lim⁡x→5g(x)=10=g(5)\lim_{x \to 5} g(x) = 10 = g(5)
Condition 3 is satisfied.
Conclusion: The function is continuous at x=5x = 5.
Justification: Continuous because g(5)=10g(5) = 10 and lim⁡x→5g(x)=g(5)\lim_{x \to 5} g(x) = g(5). All three conditions hold.

Jump Discontinuities Revisited

A jump discontinuity happens when both one-sided limits exist but aren’t equal.

Example 3: Identifying a Jump Discontinuity

Determine the type of discontinuity at x=2x = 2:
h(x)={4x+3if x<2x2+7if x≥2h(x) = \begin{cases} 4x + 3 & \text{if } x < 2 \\ \frac{x}{2} + 7 & \text{if } x \geq 2 \end{cases}
Left piece:
lim⁡x→2−h(x)=4(2)+3=8+3=11\lim_{x \to 2^-} h(x) = 4(2) + 3 = 8 + 3 = 11
Right piece:
lim⁡x→2+h(x)=22+7=1+7=8\lim_{x \to 2^+} h(x) = \frac{2}{2} + 7 = 1 + 7 = 8
The left-hand limit is 1111 and the right-hand limit is 88. Since 11≠811 \neq 8, the function jumps from one value to the other.
Answer: Jump discontinuity at x=2x = 2. The function jumps from 1111 to 88.

Example 4: Hole, Not a Jump

Determine the type of discontinuity at x=−3x = -3:
f(x)={x2+xif x<−32x+12if x>−310if x=−3f(x) = \begin{cases} x^2 + x & \text{if } x < -3 \\ 2x + 12 & \text{if } x > -3 \\ 10 & \text{if } x = -3 \end{cases}
Left-hand limit:
lim⁡x→−3−f(x)=(−3)2+(−3)=9−3=6\lim_{x \to -3^-} f(x) = (-3)^2 + (-3) = 9 - 3 = 6
Right-hand limit:
lim⁡x→−3+f(x)=2(−3)+12=−6+12=6\lim_{x \to -3^+} f(x) = 2(-3) + 12 = -6 + 12 = 6
Function value:
f(−3)=10f(-3) = 10
Analysis:
Both one-sided limits equal 66, so lim⁡x→−3f(x)=6\lim_{x \to -3} f(x) = 6 exists.
But f(−3)=10≠6f(-3) = 10 \neq 6. The limit exists, but the function value doesn’t match it.
Answer: Hole (removable discontinuity) at x=−3x = -3.
Even though the limits from both sides agree, the function is defined at a different value, which creates a hole at the point (−3,6)(-3, 6) with a separate point sitting at (−3,10)(-3, 10).
1.11 - Defining Continuity at a Point
Important: Just because the two pieces agree with each other doesn’t automatically mean the function is continuous. You also have to check that the function is actually defined at that value, not just approaching it.

Finding Constants for Continuity

Sometimes you need to find an unknown constant that makes a function continuous.

Strategy

For a piecewise function to be continuous at the boundary point, the two pieces have to have the same value at that point.

Example 5: Finding an Unknown Constant

Find the value of kk that makes this function continuous at x=4x = 4:
f(x)={3−x2if x≤45x+kif x>4f(x) = \begin{cases} 3 - x^2 & \text{if } x \leq 4 \\ 5x + k & \text{if } x > 4 \end{cases}
For continuity at x=4x = 4, the two pieces have to be equal at x=4x = 4.
Step 1: Set up the equation.
3−x2=5x+kat x=43 - x^2 = 5x + k \quad \text{at } x = 4
Step 2: Substitute x=4x = 4.
3−(4)2=5(4)+k3 - (4)^2 = 5(4) + k
Step 3: Solve for kk.
3−16=20+k3 - 16 = 20 + k−13=20+k-13 = 20 + kk=−33k = -33
Answer: k=−33k = -33
Verification: When k=−33k = -33, the left side at x=4x = 4 gives 3−16=−133 - 16 = -13, and the right side gives 5(4)+(−33)=20−33=−135(4) + (-33) = 20 - 33 = -13. They match.

Example 6: Two Unknown Constants

Find values of aa and bb that make this function continuous everywhere:
g(x)={x2+aif x<13if x=1bx+2if x>1g(x) = \begin{cases} x^2 + a & \text{if } x < 1 \\ 3 & \text{if } x = 1 \\ bx + 2 & \text{if } x > 1 \end{cases}
For continuity at x=1x = 1, both pieces have to approach the value g(1)=3g(1) = 3.
From the left:
lim⁡x→1−g(x)=(1)2+a=1+a\lim_{x \to 1^-} g(x) = (1)^2 + a = 1 + a
For continuity, 1+a=31 + a = 3, so a=2a = 2.
From the right:
lim⁡x→1+g(x)=b(1)+2=b+2\lim_{x \to 1^+} g(x) = b(1) + 2 = b + 2
For continuity, b+2=3b + 2 = 3, so b=1b = 1.
Answer: a=2a = 2 and b=1b = 1

Practice Problems

Problem 1

Is f(x)={2x+1if x<0x2+1if x≥0f(x) = \begin{cases} 2x + 1 & \text{if } x < 0 \\ x^2 + 1 & \text{if } x \geq 0 \end{cases} continuous at x=0x = 0?
Answer:
Left: lim⁡x→0−f(x)=2(0)+1=1\lim_{x \to 0^-} f(x) = 2(0) + 1 = 1
Right: lim⁡x→0+f(x)=(0)2+1=1\lim_{x \to 0^+} f(x) = (0)^2 + 1 = 1
f(0)=1f(0) = 1
Since lim⁡x→0f(x)=1=f(0)\lim_{x \to 0} f(x) = 1 = f(0), yes, it’s continuous at x=0x = 0.

Problem 2

What type of discontinuity exists at x=−1x = -1?
h(x)={3x−2if x<−1x+6if x>−1h(x) = \begin{cases} 3x - 2 & \text{if } x < -1 \\ x + 6 & \text{if } x > -1 \end{cases}
Answer:
Left: 3(−1)−2=−53(-1) - 2 = -5
Right: (−1)+6=5(-1) + 6 = 5
Jump discontinuity (the function jumps from −5-5 to 55).

Problem 3

Find kk so that f(x)={kx+7if x≤2x2+3if x>2f(x) = \begin{cases} kx + 7 & \text{if } x \leq 2 \\ x^2 + 3 & \text{if } x > 2 \end{cases} is continuous at x=2x = 2.
Answer:
At x=2x = 2: k(2)+7=(2)2+3k(2) + 7 = (2)^2 + 3
2k+7=72k + 7 = 7k=0k = 0

Key Takeaways

  • Three conditions all have to hold for continuity at a point
  • Condition 1: f(c)f(c) is defined
  • Condition 2: lim⁡x→cf(x)\lim_{x \to c} f(x) exists
  • Condition 3: lim⁡x→cf(x)=f(c)\lim_{x \to c} f(x) = f(c)
  • If any one condition fails, the function isn’t continuous
  • Jump discontinuities happen when one-sided limits exist but don’t match
  • A hole can exist even when both one-sided limits are equal, if the function value differs
  • To find constants for continuity, set the two pieces equal at the boundary point
  • Always justify your answer by saying which conditions are satisfied or violated
  • Read the inequality symbols carefully (<,≤,>,≥<, \leq, >, \geq) so you use the right piece

AP® is a registered trademark of the College Board, which is not affiliated with Dove's Library and was not involved in the production of, and does not endorse, this website.

Providing free, high-quality AP notes to help students succeed, earn college credit, and reach their educational goals, ensuring everyone has access to the resources they need.

© 2026 Standard Learning Group, Inc., which operates Dove's Library. All rights reserved.