What Is Continuity?

Before this, knowOverview of Continuity

Interactive · 6 questions

Take a look at the following two functions:

Which function would you say is "continuous" at x=2x = 2?

Choose one answer

Illustrated · 1 min

It may be possible to test if a graph is continuous using limits, specifically two-sided limits.

Here is a conjecture:

Suppose we have a graph f(x)f(x) in which we want to test its continuity. If lim⁡x→n+f(x)=lim⁡x→n-f(x)\lim_{x\to n^{\textbf{+}}}f(x)=\lim_{x\to n^{\textbf{-}}}f(x) for all n∈[a,b]n\in [a,b], then f(x)f(x) is continuous in the range [a,b][a,b].

This seems to be reasonable. For example, inspect the graph f(x)=x2x2−9f(x)=\dfrac{x^2}{x^2-9} below:

We see that if we take the limit from both sides anywhere except x=±3x=\pm 3, then it turns out that lim⁡x→n+f(x)=lim⁡x→n−f(x)\displaystyle\lim_{x\to n^+}f(x)=\displaystyle\lim_{x\to n^-}f(x). When x=−3x=-3, this function is not continuous. And just as we thought, lim⁡x→n+f(x)=−∞ while lim⁡x→n−f(x)=∞\displaystyle\lim \limits_{x \to n^+}f(x)=-\infty \text{ while } \displaystyle\lim_{x\to n^-}f(x)=\infty, which are not equal. Ditto for x=3x=3.

Now let's look at the graph f(x)=1x2f(x)=\dfrac{1}{x^2}:

We can see that the graph has lim⁡x→n+f(x)=lim⁡x→n−f(x)\displaystyle\lim_{x\to n^+}f(x)=\displaystyle\lim_{x\to n^-}f(x) for all nn; however, there is a discontinuity at n=0n=0, yet lim⁡x→0+f(x)=lim⁡x→0−f(x)=∞\displaystyle\lim_{x\to 0^+}f(x)=\displaystyle\lim_{x\to 0^-}f(x)=\infty.

Thus, our method only works for certain essential discontinuities.

However, this is just essential discontinuities. There is also another type of discontinuity we have not been over: removable discontinuities.

Let's see what happens when we try to use our conjecture on removable discontinuities:

Consider the graph f(x)=xx2−4xf(x)=\dfrac{x}{x^2-4x} show below.

We see that there is a removable discontinuity at x=0x=0. However, note that lim⁡x→0+f(x)=lim⁡x→0−f(x)=−14\displaystyle\lim_{x\to 0^+}f(x)=\displaystyle\lim_{x\to 0^-}f(x)=-\dfrac{1}{4}

Thus, our method doesn't work for removable discontinuities.

Video · + 3 min read

(Videos) Continuity and Limits Made Easy

by PatrickJMT

Here's a video by patrickJMT explaining what continuity is and the different types.

A function is continuous if you can draw it without lifting your pen or pencil. If there's a hole or a break in the graph (like in the picture below) you have to hop over it to go to the next part.

Suppose we have a function f(x)f(x) which is graphed below. Beneath the circle the xx-coordinate is aa and the yy-coordinate is LL. Also suppose we have a dot shaded in above and its yy-coordinate is MM.

If we take the limit of our function f(x)f(x) as xx approaches aa, we see that the points get closer and closer to our whole which is LL. So, lim⁡x→af(x)=L\lim_{x\rightarrow a}f(x)=L If we were to plug aa into our function though, it would take us to the dot above at MM. So, f(a)=Mf(a)=M Clearly, lim⁡x→af(x)≠f(a)\lim_{x\rightarrow a}f(x)\ne f(a)

If we wanted to make the function continuous all you have to do is move the point into the circle to have it filled in.

Our function is now continuous because we can trace its path without having to stop. Now, the function at the point aa is equal to LL: f(a)=Lf(a)=L And this is now equal to the limit at that point, lim⁡x→af(x)=f(a)\lim_{x\rightarrow a}f(x)=f(a) This becomes our definition.

A function f(x)f(x) is continuous at x=ax=a if lim⁡x→af(x)=f(a)\lim_{x\rightarrow a}f(x)=f(a).

Types of Discontinuity

There are three different types of discontinuity.

  1. Removable Discontinuity
  2. Infinite Discontinuity
  3. Jump Discontinuities.

A removable discontinuity is the kind we saw above. There's a single point removed leaving a hole.

Algebraically we can tell this because the limit exists but the value at that point is different. lim⁡x→af(x)=L;  f(a)=M\lim_{x\rightarrow a}f(x)=L;\ \ f(a)=M

An infinite discontinuity is when the function spikes up to infinity at a certain point from both sides.

Algebraically we can tell this because the limit equals either positive infinity or negative infinity. lim⁡x→af(x)=±∞\lim_{x\rightarrow a}f(x)=\pm\infty

A jump discontinuity is when the function jumps from one location to another.

Algebraically we can tell this because the limit at aa does not exist. The limit from either side of aa goes to two different points. lim⁡x→a−f(x)=M;  lim⁡x→a+f(x)=N\lim_{x\rightarrow a^-}f(x)=M;\ \ \lim_{x\rightarrow a^+}f(x)=N

Here's another video on the topic of continuity with some examples.

The following functions are continuous on their domains:

  1. Polynomials
  2. Rational Functions
  3. Trig Functions
  4. Root Functions

The example solves is finding any discontinuities for the function f(x)={x2+3xx<0x+1x≥0f(x)=\begin{cases}x^2+3x&x<0\\\sqrt{x}+1&x\ge0\end{cases} The first function is a polynomial so we know that it's continuous on its interval. The second function is a root function so we know it too is continuous on its interval. The only place where there might be a discontinuity is at x=0x=0.

To figure this out we need to check to see if the limit at zero equals the value at zero. lim⁡x→0f(x)≟f(0)\lim_{x\rightarrow0}f(x)≟f(0) To find the value at 00 we use the second function because that includes zero. x+1=0+1=1\sqrt{x}+1=\sqrt0+1=1 So now we have lim⁡x→0f(x)≟1\lim_{x\rightarrow0}f(x)≟1 Next, we need to figure out what the limit is equal to. To determine this we check the limit at each side of zero. lim⁡x→0− and lim⁡x→0+\lim_{x\rightarrow0^-}\text{ and }\lim_{x\rightarrow0^+} Since the first function includes values to the less than zero we use it to find the left of zero limit and since the second function includes values greater than zero we use it to find the right of zero limit. lim⁡x→0−x2+3x  and lim⁡x→0+x+1\lim_{x\rightarrow0^-}x^2+3x\ \text{ and }\lim_{x\rightarrow0^+}\sqrt x+1 To find these limits we just plug zero into the respective function. lim⁡x→0−x2+3x=0lim⁡x→0+x+1=1\lim_{x\rightarrow0^-}x^2+3x=0\\ \lim_{x\rightarrow0^+}\sqrt x+1=1 As you can see, these two values are not equal so therefore the limit doesn't exist. This tells us that we have a jump discontinuity at x=0x=0. If we graph this we can see it easily.

Try it Yourself!

Find any discontinuities.

f(x)={2x+1x≤−13x−1<x<12x−1x≥1f(x)=\begin{cases}2x+1&x\leq -1\\3x&-1<x<1\\2x-1&x\ge1\end{cases}
Choose all correct answers

Video · + 2 min read

(Video) Continuity on Piecewise Functions

by PatrickJMT

Here's a video by patrickJMT showing you how to figure out where a piecewise function is not continuous.

While you can always graph a function to see if there's any discontinuities, it can take awhile to do so. In this video Patrick shows you how you can find discontinuities without graphing.

He makes use of the definition of continuity and a theorem. First, we say f(x)f(x) is continuous at x=ax=a if lim⁡x→af(x)=f(a)\lim\limits_{x\rightarrow a}f(x)=f(a). The theorem he uses states:

Trigonometric, rational root, and polynomial functions are continuous on their domains.

The question he looks at is: At what points, if any, is the following function NOT continuous? g(x)={x−3;x≤−1x2+1;−1<x≤2x3+4;x>2g(x)=\begin{cases}x-3;&x\le-1\\x^2+1;&-1<x\le2\\x^3+4;&x>2 \end{cases}

First look at the individual functions in the piecewise. Notice that they're all just polynomials. According to our theorem, these are all continuous on their domains. Since these are continuous everywhere the only potential places for discontinuity is where they switch from one function to another; at the breaks.

If they switch at the same point, then the piecewise function is continuous at that point. If they have two different values then this means there's a jump discontinuity happening at that point.

So let's see if there's any discontinuities in this piecewise function. The first break we have is at x=−1x=-1. We can use the limit definition to see if the limit is equal from both sides. lim⁡x→−1−g(x)≟lim⁡x→−1+g(x)\lim_{x\rightarrow-1^-}g(x)≟\lim_{x\rightarrow-1^+}g(x) If the limits are equal we can then figure out if there's continuity at the point using the definition of continuity. lim⁡x→−1g(x)≟g(−1)\lim_{x\rightarrow-1}g(x)≟g(-1)

So let's find the limit from each side. lim⁡x→−1−g(x)=lim⁡x→−1−x−3=(−1)−3=−4\lim_{x\rightarrow-1^-}g(x)=\lim_{x\rightarrow-1^-}{x-3}\\ =\color{red}{(-1)}-3=-4

lim⁡x→−1+g(x)=lim⁡x→−1+x2+1=(−1)2+1=2\lim_{x\rightarrow-1^+}g(x)=\lim_{x\rightarrow-1^+}{x^2+1}\\ =\color{red}{(-1)}^2+1=2

So the limits from each side are not equal. Therefore, the limit at −1-1 does not exist. So the function is not continuous at x=−1x=-1. lim⁡x→−1−g(x)≠lim⁡x→−1+g(x)⇒lim⁡x→−1g(x) DNE⇒lim⁡x→−1g(x)≠g(−1)\lim_{x\rightarrow-1^-}g(x)\ne\lim_{x\rightarrow-1^+}g(x)\\ \Rightarrow\lim_{x\rightarrow-1}g(x)\text{ DNE}\\ \Rightarrow\lim_{x\rightarrow-1}g(x)\ne g(-1)

The second break is at x=2x=2. We do the same process to figure out if it's continuous there. lim⁡x→2−g(x)=lim⁡x→2−x2+1=(2)2+1=5\lim_{x\rightarrow2^-}g(x)=\lim_{x\rightarrow2^-}{x^2+1}\\ =\color{red}{(2)}^2+1=5

lim⁡x→2+g(x)=lim⁡x→2+x3+4=(2)3+4=12\lim_{x\rightarrow2^+}g(x)=\lim_{x\rightarrow2^+}{x^3+4}\\ =\color{red}{(2)}^3+4=12

So the limits from each side are not equal. Therefore, the limit at 22 does not exist. So the function is not continuous at x=2x=2. lim⁡x→2−g(x)≠lim⁡x→2+g(x)⇒lim⁡x→2g(x) DNE⇒lim⁡x→2g(x)≠g(2)\lim_{x\rightarrow2^-}g(x)\ne\lim_{x\rightarrow2^+}g(x)\\ \Rightarrow\lim_{x\rightarrow2}g(x)\text{ DNE}\\ \Rightarrow\lim_{x\rightarrow2}g(x)\ne g(2)

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems