Docsity

Continuity and Discontinuities of Functions: Definition, Types, and Continuity Laws, Study notes of Calculus

Toggle sidebar
bg1
Jim Lambers
Math 2A
Winter Quarter 2003-04
Lecture 5 Notes
These notes correspond to Section 2.5 in the text.
Continuity
In the previous lecture, we learned that in many cases, the limit of a function f(x) as xapproached
acould be obtained by simply computing f(a). Intuitively, this indicates that fhas to have a
graph that is one continuous curve, because any “break” or “jump” in the graph at x=ais caused
by fapproaching one value as xapproaches a, only to actually assume a different value at a. This
leads to the following precise definition of what it means for a function to be continuous at a given
point.
Definition (Continuity) We say that a function fis continuous at aif
lim
x→af(x) = f(a).
Example Let f(x) = x2+1. Because fis a polynomial, it satisfies the Direct Substitution Property
that was introduced in the previous lecture. In other words, for any aat which fis defined,
lim
x→af(x) = lim
x→ax2+ 1 = lim
x→ax2+ lim
x→a1 = a2+ 1 = f(a),
and therefore fis continuous at a. Since ais arbitrary, and fis defined everywhere, it follows that
fis continuous everywhere. 2
Example Let f(x) = 1/x. Being a rational function, it also satisfies the Direct Substitution
Property, so it is continuous everywhere that it is defined. However, fis not defined at x= 0, and
therefore fis not continuous at 0. 2
The above discussion also suggests how to define what it means for a function to not be continuous
at a given point. Intuitively, we want our definition to include the notion that a function is defined
near the point at which it fails to be continuous; that is, the failure to be continuous at a point is
an isolated occurrence. This leads to the following definition.
Definition (Discontinuity) We say that a function fis discontinuous at aif fis defined in an
open interval containing a, except possibly at aitself, and fis not continuous at a. Alternatively,
we say that fhas a discontinuity at a.
1
pf3
pf4
pf5

Partial preview of the text

Download Continuity and Discontinuities of Functions: Definition, Types, and Continuity Laws and more Study notes Calculus in PDF only on Docsity!

Jim Lambers Math 2A Winter Quarter 2003- Lecture 5 Notes

These notes correspond to Section 2.5 in the text.

Continuity

In the previous lecture, we learned that in many cases, the limit of a function f (x) as x approached a could be obtained by simply computing f (a). Intuitively, this indicates that f has to have a graph that is one continuous curve, because any “break” or “jump” in the graph at x = a is caused by f approaching one value as x approaches a, only to actually assume a different value at a. This leads to the following precise definition of what it means for a function to be continuous at a given point.

Definition (Continuity) We say that a function f is continuous at a if

x^ lim→a f^ (x) =^ f^ (a).

Example Let f (x) = x^2 +1. Because f is a polynomial, it satisfies the Direct Substitution Property that was introduced in the previous lecture. In other words, for any a at which f is defined,

xlim→a f^ (x) = lim x→a x^2 + 1 = lim x→a x^2 + lim x→a 1 =^ a^2 + 1 =^ f^ (a),

and therefore f is continuous at a. Since a is arbitrary, and f is defined everywhere, it follows that f is continuous everywhere. 2

Example Let f (x) = 1/x. Being a rational function, it also satisfies the Direct Substitution Property, so it is continuous everywhere that it is defined. However, f is not defined at x = 0, and therefore f is not continuous at 0. 2

The above discussion also suggests how to define what it means for a function to not be continuous at a given point. Intuitively, we want our definition to include the notion that a function is defined near the point at which it fails to be continuous; that is, the failure to be continuous at a point is an isolated occurrence. This leads to the following definition.

Definition (Discontinuity) We say that a function f is discontinuous at a if f is defined in an open interval containing a, except possibly at a itself, and f is not continuous at a. Alternatively, we say that f has a discontinuity at a.

Example Discontinuities can occur for a variety of reasons, as illustrate in Figure 1. In Figure 1(a), f (x) = (x^2 − 1)/(x − 1) is approaching the value 2 as x approaches 1, but f is not defined at 1, so it cannot be continuous there. In Figure 1(b), the function

f (x) =

x + 1 x 6 = 1 3 x = 1

is approaching 2 as x approaches 1, but f (1) = 3, so again it is not continuous there. In both cases, the discontinuity can be “removed” by simply defining f (x) to be equal to 2 at x = 1. In Figure 1(c), the Heaviside function

H(t) =

0 t < 0 1 t ≥ 0

approaches 0 as t approaches 0 from the left, while it approaches 1 as t approaches 0 from the right. In other words, the one-sided limits

lim t→ 0 −^ H(t) = 0 and lim t→ 0 +^ H(t) = 1

do not agree. This results in a “jump” in the graph of H. Finally, in Figure 1(d), the function f (x) = 1/x^2 fails to be continuous at x = 0 because f is not defined at 0. However, this discontinuity cannot be “removed” by simply defining f at 0, because f becomes infinite as x approaches 0; that is, f has a vertical asymptote at 0. 2

Based on these examples, the following definitions are used to categorize various types of disconti- nuities.

Definition (Types of Discontinuities) Suppose that f has a discontinuity at a.

  1. The discontinuity is removable if limx→a+ f (x) and limx→a− f (x) both exist and are equal, but are not equal to f (a), or f is not defined at a.
  2. The discontinuity is called a jump discontinuity if limx→a+ f (x) and limx→a− f (x) both exist but are not equal.
  3. The discontinuity is infinite if f has a vertical asymptote at a.

In the previous example, the Heaviside function H(t) approaches H(0) as t approaches 0 from the right, but not from the left. This is an example of one-sided continuity, which we now define precisely in terms of one-sided limits.

Definition (One-sided Continuity) We say that a function f is continuous from the right at a if lim x→a+^

f (x) = f (a).

Similarly, we say that f is continuous from the left at a if

lim x→a−^

f (x) = f (a).

So far, we have discussed continuity, or lack thereof, at a single point. In describing where a function is continuous, the concept of continuity over an interval is useful, so we define this concept now.

Definition (Continuity on an Interval) We say that a function f is continuous on the interval (a, b) if f is continuous at every point in (a, b). Similarly, we say that f is continuous on

  1. [a, b) if f is continuous on (a, b), and continuous from the right at a.
  2. (a, b] if f is continuous on (a, b), and continuous from the left at b.
  3. [a, b] if f is continuous on (a, b), continuous from the right at a, and continuous from the left at b.

Example The function f (x) = x is continuous on the entire real number line, which is the interval (−∞, ∞). 2

Example The Heaviside function is continuous on the interval (−∞, 0) and on the interval [0, ∞), since it is is continuous at every point except 0, and it is continuous from the right at 0. 2

Because continuity is defined using limits, the limit laws introduced in the last lecture can be used to establish corresponding “continuity laws”. These laws make it very easy to determine where complicated functions are continuous. Just as the limit laws allow one to compute a limit of a complicated function in terms of limits of simpler functions, these continuity laws allow one to decompose such a function into simpler functions and analyze their continuity instead.

Theorem (Continuity Laws) If f and g are continuous at a and c is any constant, then the functions f + g, f − g, cf , and f g are continuous at a. Furthermore, if g(a) 6 = 0, then f /g is also continuous at a.

Example Because f (x) = x and g(x) = 3 both satisfy the Direct Substitution Property and are defined everywhere, we can conclude that they are continuous everywhere. It follows that the functions x + 3, x − 3, 3 − x and 3x are also continuous everywhere. Since g is nonzero, we can also conclude that f /g = x/3 is continuous everywhere. Finally, g/f = 3/x is continuous at every point except at x = 0, since 3/x is not defined at x = 0. 2

In the previous lecture, we stated that all algebraic functions (a class of functions that includes all polynomials and rational functions) satisfy the Direct Substitution Property. This leads the following statement regarding the continuity of such functions.

Theorem (Continuity of Algebraic Functions) If f is an algebraic function, then f is continuous on its entire domain.

Example Consider the function

f (x) =

x + 1 x − 1

This is an algebraic function whose domain is all x except for negative x (due to the square root) and x = 1 (due to the denominator). In other words, its domain is the union of the intervals [0, −1) and (1, ∞). On these intervals, f is continuous. 2

Although it is not so simple to prove, the trigonometric functions also satisfy the Direct Sub- stitution Property, so we can comment on their continuity as well.

Theorem (Continuity of Trigonometric Functions) Each of the basic trigonometric functions (sin x, cos x, tan x, cot x, sec x, and csc x) are continuous on their respective domains.

Example The functions sin x and cos x are continuous everywhere. On the other hand, sec x is continuous at all points except for x = π/2+kπ, where k is any integer. This is because cos x = 0 at these points, and therefore sec x = 1/ cos x has vertical asymptotes at these same points. Because sec x is defined everywhere else, it is also continuous everywhere else, as can be seen from the fact that cos x is continuous everywhere, and the law that states that the quotient of two continuous functions (in this case, 1 and cos x) is continuous wherever the function in the denominator is nonzero. 2

Previously, we discussed how functions could be composed with one another to obtain new functions. Specifically, given two functions f (x) and g(x), the composition of f and g, written as f ◦ g, is the function whose value at any point x in the domain of g is given by (f ◦ g)(x) = f (g(x)). We now ask: when is such a composition continuous? We would like to be able to answer this question using our knowledge of the continuity of f and g. In order for f ◦ g to be continuous at a, we must have lim x→a f (g(x)) = f (g(a)).

Suppose that g is continuous at a, and let b = g(a). Furthermore, suppose that f is continuous at b. Then, as y approaches b, f (y) approaches f (b). Intuitively, it would seem that we could replace y with g(x) because g is continuous at a, and conclude that as x approaches a, y = g(x) approaches b = g(a), and therefore f (y) = f (g(x)) approaches f (b) = f (g(a)). This is in fact the case, as we formally state now.

Theorem (Continuity of Compositions) If g is continuous at a and f is continuous at g(a), then (f ◦ g) is continuous at a.

Example The function h(x) =

x + 1 is continuous for all x in the interval [− 1 , ∞). This is because the function g(x) = x + 1 is continuous everywhere, and the function f (x) =

x is