Continuity at a Point

Before we look at a formal definition of what it means for a function to be continuous at a point, let’s consider various functions that fail to meet our intuitive notion of what it means to be continuous at a point. We then create a list of conditions that prevent such failures.

Our first function of interest is shown in Figure 2.32. We see that the graph of \(f \left(\right. x \left.\right)\) has a hole at a. In fact, \(f \left(\right. a \left.\right)\) is undefined. At the very least, for \(f \left(\right. x \left.\right)\) to be continuous at a, we need the following condition:

\[\text{i}. f \left(\right. a \left.\right) \text{is defined}.\]
A graph of an increasing linear function f(x) which crosses the x axis from quadrant three to quadrant two and which crosses the y axis from quadrant two to quadrant one. A point a greater than zero is marked on the x axis. The point on the function f(x) above a is an open circle; the function is not defined at a.
Figure 2.32 The function \(f \left(\right. x \left.\right)\) is not continuous at a because \(f \left(\right. a \left.\right)\) is undefined.

However, as we see in Figure 2.33, this condition alone is insufficient to guarantee continuity at the point a. Although \(f \left(\right. a \left.\right)\) is defined, the function has a gap at a. In this example, the gap exists because \(\underset{x \rightarrow a}{\text{lim}} f \left(\right. x \left.\right)\) does not exist. We must add another condition for continuity at a—namely,

\[\text{ii}. \underset{x \rightarrow a}{\text{lim}} f \left(\right. x \left.\right) \text{exists}.\]
The graph of a piecewise function f(x) with two parts. The first part is an increasing linear function that crosses from quadrant three to quadrant one at the origin. A point a greater than zero is marked on the x axis. At fa. on this segment, there is a solid circle. The other segment is also an increasing linear function. It exists in quadrant one for values of x greater than a. At x=a, this segment has an open circle.
Figure 2.33 The function \(f \left(\right. x \left.\right)\) is not continuous at a because \(\underset{x \rightarrow a}{\text{lim}} f \left(\right. x \left.\right)\) does not exist.

However, as we see in Figure 2.34, these two conditions by themselves do not guarantee continuity at a point. The function in this figure satisfies both of our first two conditions, but is still not continuous at a. We must add a third condition to our list:

\[\text{iii}. \underset{x \rightarrow a}{\text{lim}} f \left(\right. x \left.\right) = f \left(\right. a \left.\right) .\]
The graph of a piecewise function with two parts. The first part is an increasing linear function that crosses the x axis from quadrant three to quadrant two and which crosses the y axis from quadrant two to quadrant one. A point a greater than zero is marked on the x axis. At this point, there is an open circle on the linear function. The second part is a point at x=a above the line.
Figure 2.34 The function \(f \left(\right. x \left.\right)\) is not continuous at a because \(\underset{x \rightarrow a}{\text{lim}} f \left(\right. x \left.\right) \neq f \left(\right. a \left.\right) .\)

Now we put our list of conditions together and form a definition of continuity at a point.

Definition

A function \(f \left(\right. x \left.\right)\) is continuous at a point a if and only if the following three conditions are satisfied:

  1. \(f \left(\right. a \left.\right)\) is defined
  2. \(\underset{x \rightarrow a}{\text{lim}} f \left(\right. x \left.\right)\) exists
  3. \(\underset{x \rightarrow a}{\text{lim}} f \left(\right. x \left.\right) = f \left(\right. a \left.\right)\)

A function is discontinuous at a point a if it fails to be continuous at a.

The following procedure can be used to analyze the continuity of a function at a point using this definition.

Problem-Solving Strategy

Determining Continuity at a Point

  1. Check to see if \(f \left(\right. a \left.\right)\) is defined. If \(f \left(\right. a \left.\right)\) is undefined, we need go no further. The function is not continuous at a. If \(f \left(\right. a \left.\right)\) is defined, continue to step 2.
  2. Compute \(\underset{x \rightarrow a}{\text{lim}} f \left(\right. x \left.\right) .\) In some cases, we may need to do this by first computing \(\underset{x \rightarrow a^{-}}{\text{lim}} f \left(\right. x \left.\right)\) and \(\underset{x \rightarrow a^{+}}{\text{lim}} f \left(\right. x \left.\right) .\) If \(\underset{x \rightarrow a}{\text{lim}} f \left(\right. x \left.\right)\) does not exist (that is, it is not a real number), then the function is not continuous at a and the problem is solved. If \(\underset{x \rightarrow a}{\text{lim}} f \left(\right. x \left.\right)\) exists, then continue to step 3.
  3. Compare \(f \left(\right. a \left.\right)\) and \(\underset{x \rightarrow a}{\text{lim}} f \left(\right. x \left.\right) .\) If \(\underset{x \rightarrow a}{\text{lim}} f \left(\right. x \left.\right) \neq f \left(\right. a \left.\right) ,\) then the function is not continuous at a. If \(\underset{x \rightarrow a}{\text{lim}} f \left(\right. x \left.\right) = f \left(\right. a \left.\right) ,\) then the function is continuous at a.

The next three examples demonstrate how to apply this definition to determine whether a function is continuous at a given point. These examples illustrate situations in which each of the conditions for continuity in the definition succeed or fail.

Example 2.26

Determining Continuity at a Point, Condition 1

Using the definition, determine whether the function \(f \left(\right. x \left.\right) = \left(\right. x^{2} - 4 \left.\right) / \left(\right. x - 2 \left.\right)\) is continuous at \(x = 2 .\) Justify the conclusion.

Solution

Let’s begin by trying to calculate \(f \left(\right. 2 \left.\right) .\) We can see that \(f \left(\right. 2 \left.\right) = 0 / 0 ,\) which is undefined. Therefore, \(f \left(\right. x \left.\right) = \frac{x^{2} - 4}{x - 2}\) is discontinuous at 2 because \(f \left(\right. 2 \left.\right)\) is undefined. The graph of \(f \left(\right. x \left.\right)\) is shown in Figure 2.35.

A graph of the given function. There is a line which crosses the x axis from quadrant three to quadrant two and which crosses the y axis from quadrant two to quadrant one. At a point in quadrant one, there is an open circle where the function is not defined.
Figure 2.35 The function \(f \left(\right. x \left.\right)\) is discontinuous at 2 because \(f \left(\right. 2 \left.\right)\) is undefined.

Example 2.27

Determining Continuity at a Point, Condition 2

Using the definition, determine whether the function \(\begin{aligned} f \left(\right. x \left.\right) = \left{\right. - x^{2} + 4 & \text{if} x \leq 3 \\ 4 x - 8 & \text{if} x > 3 \end{aligned}\) is continuous at \(x = 3 .\) Justify the conclusion.

Solution

Let’s begin by trying to calculate \(f \left(\right. 3 \left.\right) .\)

\[f \left(\right. 3 \left.\right) = - \left(\right. 3^{2} \left.\right) + 4 = −5 .\]

Thus, \(f \left(\right. 3 \left.\right)\) is defined. Next, we calculate \(\underset{x \rightarrow 3}{\text{lim}} f \left(\right. x \left.\right) .\) To do this, we must compute \(\underset{x \rightarrow 3^{-}}{\text{lim}} f \left(\right. x \left.\right)\) and \(\underset{x \rightarrow 3^{+}}{\text{lim}} f \left(\right. x \left.\right) :\)

\[\underset{x \rightarrow 3^{-}}{\text{lim}} f \left(\right. x \left.\right) = - \left(\right. 3^{2} \left.\right) + 4 = −5\]

and

\[\underset{x \rightarrow 3^{+}}{\text{lim}} f \left(\right. x \left.\right) = 4 \left(\right. 3 \left.\right) - 8 = 4 .\]

Therefore, \(\underset{x \rightarrow 3}{\text{lim}} f \left(\right. x \left.\right)\) does not exist. Thus, \(f \left(\right. x \left.\right)\) is not continuous at 3. The graph of \(f \left(\right. x \left.\right)\) is shown in Figure 2.36.

A graph of the given piecewise function, which has two parts. The first is a downward opening parabola which is symmetric about the y axis. Its vertex is on the y axis, greater than zero. There is a closed circle on the parabola for x=3. The second part is an increasing linear function in the first quadrant, which exists for values of x > 3. There is an open circle at the end of the line where x would be 3.
Figure 2.36 The function \(f \left(\right. x \left.\right)\) is not continuous at 3 because \(\underset{x \rightarrow 3}{\text{lim}} f \left(\right. x \left.\right)\) does not exist.

Example 2.28

Determining Continuity at a Point, Condition 3

Using the definition, determine whether the function \(\begin{aligned} f \left(\right. x \left.\right) = \left{\right. \frac{\text{sin} x}{x} & \text{if} x \neq 0 \\ 1 & \text{if} x = 0 \end{aligned}\) is continuous at \(x = 0 .\)

Solution

First, observe that

\[f \left(\right. 0 \left.\right) = 1 .\]

Next,

\[\underset{x \rightarrow 0}{\text{lim}} f \left(\right. x \left.\right) = \underset{x \rightarrow 0}{\text{lim}} \frac{\text{sin} x}{x} = 1 .\]

Last, compare \(f \left(\right. 0 \left.\right)\) and \(\underset{x \rightarrow 0}{\text{lim}} f \left(\right. x \left.\right) .\) We see that

\[f \left(\right. 0 \left.\right) = 1 = \underset{x \rightarrow 0}{\text{lim}} f \left(\right. x \left.\right) .\]

Since all three of the conditions in the definition of continuity are satisfied, \(f \left(\right. x \left.\right)\) is continuous at \(x = 0 .\)

Checkpoint 2.21

Using the definition, determine whether the function \(\begin{aligned} f \left(\right. x \left.\right) = \left{\right. 2 x + 1 & \text{if} x < 1 \\ 2 & \text{if} x = 1 \\ - x + 4 & \text{if} x > 1 \end{aligned}\) is continuous at \(x = 1 .\) If the function is not continuous at 1, indicate the condition for continuity at a point that fails to hold.

By applying the definition of continuity and previously established theorems concerning the evaluation of limits, we can state the following theorem.

Theorem 2.8

Continuity of Polynomials and Rational Functions

Polynomials and rational functions are continuous at every point in their domains.

Proof

Previously, we showed that if \(p \left(\right. x \left.\right)\) and \(q \left(\right. x \left.\right)\) are polynomials, \(\underset{x \rightarrow a}{\text{lim}} p \left(\right. x \left.\right) = p \left(\right. a \left.\right)\) for every polynomial \(p \left(\right. x \left.\right)\) and \(\underset{x \rightarrow a}{\text{lim}} \frac{p \left(\right. x \left.\right)}{q \left(\right. x \left.\right)} = \frac{p \left(\right. a \left.\right)}{q \left(\right. a \left.\right)}\) as long as \(q \left(\right. a \left.\right) \neq 0 .\) Therefore, polynomials and rational functions are continuous on their domains.

We now apply Continuity of Polynomials and Rational Functions to determine the points at which a given rational function is continuous.

Example 2.29

Continuity of a Rational Function

For what values of x is \(f \left(\right. x \left.\right) = \frac{x + 1}{x - 5}\) continuous?

Solution

The rational function \(f \left(\right. x \left.\right) = \frac{x + 1}{x - 5}\) is continuous for every value of x except \(x = 5 .\)

Checkpoint 2.22

For what values of x is \(f \left(\right. x \left.\right) = 3 x^{4} - 4 x^{2}\) continuous?

This lesson is part of:

Limits

View Full Tutorial

Track Your Learning Progress

Sign in to unlock unlimited practice exams, tutorial practice quizzes, personalized weak area practice, AI study assistance with Lexi, and detailed performance analytics.