Types of Continuity and Discontinuity Examples in Math

Start with the recap, study the fully worked examples, then use the practice problems to check your understanding of Types of Continuity and Discontinuity.

This page combines explanation, solved examples, and follow-up practice so you can move from recognition to confident problem-solving in Math.

Concept Recap

Continuity types classify how a function can fail to be continuous at a point. A removable discontinuity (hole) occurs when the limit exists but doesn't equal f(a). A jump discontinuity occurs when left and right limits differ. An infinite discontinuity occurs when the function approaches ยฑโˆž.

Continuous means you can draw the graph without lifting your pen. A removable discontinuity is a single hole you could fill in. A jump discontinuity is a gap where the function leaps to a different value. An infinite discontinuity is where the function shoots off to infinity (a vertical asymptote).

Read the full concept explanation โ†’

How to Use These Examples

  • Read the first worked example with the solution open so the structure is clear.
  • Try the practice problems before revealing each solution.
  • Use the related concepts and background knowledge badges if you feel stuck.

What to Focus On

Core idea: A function fails continuity at a point as a hole (removable), a jump, or a blow-up to infinity.

Common stuck point: The procedure for types of continuity and discontinuity is the easy part; the trap is calling a removable hole a jump. Asking "At the bad point, do the one-sided limits agree (hole if value mismatches), disagree (jump), or run to infinity (infinite)?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Sense of Study hint: Ask: At the bad point, do the one-sided limits agree (hole if value mismatches), disagree (jump), or run to infinity (infinite)?

Worked Examples

Example 1

easy
Classify the discontinuity of f(x)=x2โˆ’4xโˆ’2f(x) = \dfrac{x^2 - 4}{x - 2} at x=2x = 2.

Answer

Removable discontinuity at x=2x = 2 (hole at the point (2,4)(2, 4)).

First step

1
At x=2x=2: denominator =0= 0, so f(2)f(2) is undefined.

Full solution

  1. 2
    Simplify (for xโ‰ 2x \neq 2): (xโˆ’2)(x+2)xโˆ’2=x+2\frac{(x-2)(x+2)}{x-2} = x+2.
  2. 3
    Limit: limโกxโ†’2(x+2)=4\lim_{x\to 2}(x+2) = 4. The limit exists.
  3. 4
    Since the limit exists but f(2)f(2) is undefined, this is a removable discontinuity (hole at (2,4)(2,4)).
A removable discontinuity occurs when the two-sided limit exists but doesn't equal the function value (or the function is undefined there). It can be 'removed' by defining f(2)=4f(2) = 4.

Example 2

medium
Determine whether the piecewise function f(x)={x2x<13โˆ’xxโ‰ฅ1f(x) = \begin{cases} x^2 & x < 1 \\ 3 - x & x \geq 1 \end{cases} is continuous at x=1x = 1.

Example 3

medium
Find cc so that f(x)={2x+cxโ‰ค0x2โˆ’3x>0f(x)=\begin{cases} 2x+c & x\le 0\\ x^2 - 3 & x>0 \end{cases} is continuous at x=0x=0.

Example 4

medium
Locate and classify all discontinuities of f(x)=xโˆ’1x2โˆ’1f(x) = \dfrac{x-1}{x^2 - 1}.

Example 5

hard
Find all a,ba,b that make f(x)={ax+bxโ‰ค1x2โˆ’21<x<34x+bxโ‰ฅ3f(x)=\begin{cases} ax+b & x\le 1\\ x^2 - 2 & 1<x<3\\ 4x + b & x\ge 3 \end{cases} continuous on R\mathbb{R}.

Example 6

hard
Determine kk so that f(x)={sinโก(3x)xxโ‰ 0kx=0f(x) = \begin{cases} \dfrac{\sin(3x)}{x} & x\ne 0\\ k & x = 0 \end{cases} is continuous at 00.

Practice Problems

Try these problems on your own first, then open the solution to compare your method.

Example 1

easy
Classify the discontinuity of g(x)=1(xโˆ’3)2g(x) = \frac{1}{(x-3)^2} at x=3x = 3.

Example 2

medium
Find the value of cc that makes h(x)={cx+1xโ‰ค2x2โˆ’1x>2h(x) = \begin{cases} cx + 1 & x \leq 2 \\ x^2 - 1 & x > 2 \end{cases} continuous at x=2x = 2.

Example 3

easy
Classify the discontinuity of f(x)=x2โˆ’4xโˆ’2f(x) = \frac{x^2 - 4}{x - 2} at x=2x = 2.

Example 4

easy
Classify the discontinuity of the step function f(x)f(x) where f(x)=1f(x)=1 for x<0x<0 and f(x)=2f(x)=2 for xโ‰ฅ0x\geq0, at x=0x=0.

Example 5

easy
Classify the discontinuity of f(x)=1xf(x) = \frac{1}{x} at x=0x = 0.

Example 6

easy
Is f(x)=x2f(x) = x^2 continuous at x=3x = 3?

Example 7

easy
State the three conditions for ff to be continuous at x=ax = a.

Example 8

easy
Classify the discontinuity of f(x)=xโˆ’3x2โˆ’9f(x) = \frac{x - 3}{x^2 - 9} at x=3x = 3.

Example 9

easy
At x=1x=1, limโกxโ†’1โˆ’f=4\lim_{x\to1^-} f = 4, limโกxโ†’1+f=4\lim_{x\to1^+} f = 4, but f(1)=7f(1) = 7. Classify.

Example 10

easy
Is f(x)=โˆฃxโˆฃf(x) = |x| continuous at x=0x = 0?

Example 11

medium
Find the value of kk that makes f(x)={x+1x<2kxxโ‰ฅ2f(x) = \begin{cases} x+1 & x<2 \\ kx & x\geq2 \end{cases} continuous at x=2x=2.

Example 12

medium
Classify the discontinuity of f(x)=sinโกxxf(x) = \frac{\sin x}{x} at x=0x = 0.

Example 13

medium
Where is f(x)=x+1x2โˆ’xโˆ’6f(x) = \frac{x+1}{x^2 - x - 6} discontinuous, and of what type?

Example 14

medium
Is f(x)={x2xโ‰ค12xโˆ’1x>1f(x) = \begin{cases} x^2 & x \leq 1 \\ 2x - 1 & x > 1 \end{cases} continuous at x=1x=1?

Example 15

medium
Find aa and bb so f(x)={x2x<1ax+b1โ‰คxโ‰ค312x>3f(x)=\begin{cases} x^2 & x<1 \\ ax+b & 1\leq x \leq 3 \\ 12 & x>3 \end{cases} is continuous everywhere.

Example 16

medium
Classify the discontinuity of f(x)=โˆฃxโˆฃxf(x) = \frac{|x|}{x} at x=0x = 0.

Example 17

medium
Is f(x)=x2โˆ’1xโˆ’1f(x) = \frac{x^2 - 1}{x - 1}, with f(1)f(1) defined as 22, continuous at x=1x = 1?

Example 18

medium
At x=0x=0, limโกxโ†’0โˆ’f=2\lim_{x\to0^-} f = 2 and limโกxโ†’0+f=+โˆž\lim_{x\to0^+} f = +\infty. Classify.

Example 19

challenge
For what value of cc does f(x)=x2+cxโˆ’6xโˆ’2f(x) = \frac{x^2 + cx - 6}{x - 2} have a removable discontinuity at x=2x = 2?

Example 20

medium
Determine all discontinuities of f(x)=x(xโˆ’1)x2(xโˆ’1)f(x) = \frac{x(x-1)}{x^2(x-1)} and classify each.

Example 21

challenge
Is f(x)=xsinโกโ€‰โฃ(1x)f(x) = x \sin\!\left(\frac{1}{x}\right) for xโ‰ 0x \neq 0, f(0)=0f(0)=0, continuous at 0?

Example 22

challenge
Show f(x)={e2xโˆ’1xxโ‰ 0kx=0f(x) = \begin{cases} \frac{e^{2x}-1}{x} & x\neq0 \\ k & x=0 \end{cases} is continuous at 0; find kk.

Example 23

easy
Classify the discontinuity of f(x)=x2โˆ’9xโˆ’3f(x) = \dfrac{x^2 - 9}{x - 3} at x=3x = 3.

Example 24

easy
Classify the discontinuity of f(x)=1xโˆ’5f(x) = \dfrac{1}{x - 5} at x=5x = 5.

Example 25

easy
Is f(x)=โŒŠxโŒ‹f(x) = \lfloor x \rfloor continuous at x=2x = 2?

Example 26

easy
Classify the discontinuity of f(x)=x+2x2โˆ’4f(x) = \dfrac{x+2}{x^2 - 4} at x=โˆ’2x = -2.

Example 27

easy
Classify the discontinuity of f(x)=tanโกxf(x) = \tan x at x=ฯ€2x = \dfrac{\pi}{2}.

Example 28

medium
Classify the discontinuity of f(x)=x2โˆ’5x+6xโˆ’2f(x)=\dfrac{x^2 - 5x + 6}{x - 2} at x=2x = 2.

Example 29

medium
Find aa so that f(x)={ax2xโ‰ค14xโˆ’2x>1f(x)=\begin{cases} a x^2 & x\le 1\\ 4x - 2 & x>1 \end{cases} is continuous at x=1x=1.

Example 30

medium
Classify the discontinuity at x=0x=0 of f(x)=โˆฃxโˆฃxf(x) = \dfrac{|x|}{x}.

Example 31

medium
Classify the discontinuity of f(x)=e1/xf(x) = e^{1/x} at x=0x = 0.

Example 32

medium
For what value of kk is f(x)={x2โˆ’16xโˆ’4xโ‰ 4kx=4f(x)=\begin{cases}\dfrac{x^2-16}{x-4} & x\ne 4\\ k & x=4\end{cases} continuous at x=4x=4?

Example 33

medium
Find a,ba,b so f(x)={x+ax<0bx=0x2+1x>0f(x)=\begin{cases} x+a & x<0\\ b & x=0\\ x^2+1 & x>0 \end{cases} is continuous at 00.

Example 34

hard
Classify the discontinuity at x=0x = 0 of f(x)=1โˆ’cosโกxx2f(x) = \dfrac{1 - \cos x}{x^2}.

Example 35

hard
Classify the discontinuity at x=0x = 0 of f(x)=sinโกโ€‰โฃ(1x)f(x) = \sin\!\left(\dfrac{1}{x}\right).

Example 36

hard
Find cc so that f(x)=x2+cx+4xโˆ’1f(x) = \dfrac{x^2 + cx + 4}{x - 1} has a removable discontinuity at x=1x=1.

Example 37

medium
Classify the discontinuity of f(x)=x3โˆ’8xโˆ’2f(x) = \dfrac{x^3 - 8}{x - 2} at x=2x = 2.

Example 38

medium
At which xx values is f(x)=x2x2โˆ’5x+6f(x) = \dfrac{x^2}{x^2 - 5x + 6} discontinuous, and of what type?

Example 39

challenge
Show that f(x)={xxโˆˆQโˆ’xxโˆ‰Qf(x) = \begin{cases} x & x\in\mathbb{Q}\\ -x & x\notin\mathbb{Q} \end{cases} is continuous only at x=0x = 0.

Example 40

challenge
Find all aa such that f(x)=x2โˆ’a2xโˆ’af(x) = \dfrac{x^2 - a^2}{x - a} has a removable discontinuity at x=ax = a for every real aa.

Background Knowledge

These ideas may be useful before you work through the harder examples.

limit