Difference between revisions of "Continuous Functions"
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
'''Continuity''' marks a new classification of functions, especially prominent when the theorems explained later on in this page will be put to use. However, if one is reading this wikibook linearly, then it will be good to note that the wikibook will describe functions with even more properties than continuity. As an example, the functions in elementary mathematics, such as polynomials, trigonometric functions, and the exponential and logarithmic functions, contain many levels more properties than that of a continuous function. We will also see several examples of discontinuous functions as well, to provide some remarks of common functions that do not fit the bill. | '''Continuity''' marks a new classification of functions, especially prominent when the theorems explained later on in this page will be put to use. However, if one is reading this wikibook linearly, then it will be good to note that the wikibook will describe functions with even more properties than continuity. As an example, the functions in elementary mathematics, such as polynomials, trigonometric functions, and the exponential and logarithmic functions, contain many levels more properties than that of a continuous function. We will also see several examples of discontinuous functions as well, to provide some remarks of common functions that do not fit the bill. | ||
− | ==Definition== | + | ==Continuity at a Point== |
+ | |||
+ | ===Definition=== | ||
+ | [[File:Function-1 x.svg|thumb|The function <math>f(x)=\tfrac 1 x</math> is continuous on the domain <math>\R\setminus \{0\}</math>, but is not continuous over the domain <math>\R</math> because it is undefined at <math>x=0</math>]] | ||
+ | |||
+ | A real function, that is a function from real numbers to real numbers, can be represented by a graph in the Cartesian plane; such a function is continuous if, roughly speaking, the graph is a single unbroken curve whose domain is the entire real line. A more mathematically rigorous definition is given below. | ||
+ | |||
+ | A rigorous definition of continuity of real functions is usually given in a first course in calculus in terms of the idea of a limit. First, a function {{math|''f''}} with variable {{mvar|x}} is said to be continuous at the point {{math|c}} on the real line, if the limit of <math>f(x),</math> as {{mvar|x}} approaches that point {{math|c}}, is equal to the value <math>f(c)</math>; and second, the ''function (as a whole)'' is said to be continuous, if it is continuous at every point. A function is said to be discontinuous (or to have a ''discontinuity'') at some point when it is not continuous there. These points themselves are also addressed as discontinuities. | ||
+ | |||
+ | There are several different definitions of continuity of a function. Sometimes a function is said to be continuous if it is continuous at every point in its domain. In this case, the function <math>f(x) = \tan(x),</math> with the domain of all real <math>x \neq \pi \frac{2 n + 1}{2},</math> <math>n</math> any integer, is continuous. Sometimes an exception is made for boundaries of the domain. For example, the graph of the function <math>f(x) = \sqrt{x},</math> with the domain of all non-negative reals, has a left-hand endpoint. In this case only the limit from the right is required to equal the value of the function. Under this definition ''f'' is continuous at the boundary <math>x = 0</math> and so for all non-negative arguments. The most common and restrictive definition is that a function is continuous if it is continuous at all real numbers. In this case, the previous two examples are not continuous, but every polynomial function is continuous, as are the sine, cosine, and exponential functions. Care should be exercised in using the word continuous, so that it is clear from the context which meaning of the word is intended. | ||
+ | |||
+ | Using mathematical notation, there are several ways to define continuous functions in each of the three senses mentioned above. | ||
+ | |||
+ | Let | ||
+ | :<math>f : D \to \R \quad</math> be a function defined on a subset <math> D </math> of the set <math>\R</math> of real numbers. | ||
+ | |||
+ | This subset <math> D </math> is the domain of ''f''. Some possible choices include | ||
+ | :<math>D = \R \quad </math> (<math> D </math> is the whole set of real numbers), or, for ''a'' and ''b'' real numbers, | ||
+ | :<math>D = [a, b] = \{x \in \R \mid a \leq x \leq b \} \quad </math> (<math> D </math> is a closed interval), or | ||
+ | :<math>D = (a, b) = \{x \in \R \mid a < x < b \} \quad </math> (<math> D </math> is an open interval). | ||
+ | |||
+ | In case of the domain <math>D</math> being defined as an open interval, <math>a</math> and <math>b</math> do not belong to <math>D</math>, and the values of <math>f(a)</math> and <math>f(b)</math> do not matter for continuity on <math>D</math>. | ||
+ | |||
+ | ====Definition in terms of limits of functions==== | ||
+ | The function ''f'' is ''continuous at some point'' ''c'' of its domain if the limit of <math>f(x),</math> as ''x'' approaches ''c'' through the domain of ''f'', exists and is equal to <math>f(c).</math> In mathematical notation, this is written as | ||
+ | <math display="block">\lim_{x \to c}{f(x)} = f(c).</math> | ||
+ | In detail this means three conditions: first, ''f'' has to be defined at ''c'' (guaranteed by the requirement that ''c'' is in the domain of ''f''). Second, the limit on the left hand side of that equation has to exist. Third, the value of this limit must equal <math>f(c).</math> | ||
+ | |||
+ | (Here, we have assumed that the domain of ''f'' does not have any isolated points.) | ||
+ | |||
+ | ====Definition in terms of neighborhoods==== | ||
+ | A neighborhood of a point ''c'' is a set that contains, at least, all points within some fixed distance of ''c''. Intuitively, a function is continuous at a point ''c'' if the range of ''f'' over the neighborhood of ''c'' shrinks to a single point <math>f(c)</math> as the width of the neighborhood around ''c'' shrinks to zero. More precisely, a function ''f'' is continuous at a point ''c'' of its domain if, for any neighborhood <math>N_1(f(c))</math> there is a neighborhood <math>N_2(c)</math> in its domain such that <math>f(x) \in N_1(f(c))</math> whenever <math>x\in N_2(c).</math> | ||
+ | |||
+ | This definition only requires that the domain and the codomain are topological spaces and is thus the most general definition. It follows from this definition that a function ''f'' is automatically continuous at every isolated point of its domain. As a specific example, every real valued function on the set of integers is continuous. | ||
+ | |||
+ | ====Definition in terms of limits of sequences==== | ||
+ | [[File:Continuity of the Exponential at 0.svg|thumb|The sequence <math>\exp (1/n)</math> converges to exp(0)]] | ||
+ | One can instead require that for any sequence <math>(x_n)_{n \in \N}</math> of points in the domain which converges to ''c'', the corresponding sequence <math>\left(f(x_n)\right)_{n\in \N}</math> converges to <math>f(c).</math> In mathematical notation, <math>\forall (x_n)_{n \in \N} \subset D:\lim_{n\to\infty} x_n = c \Rightarrow \lim_{n\to\infty} f(x_n) = f(c)\,.</math> | ||
+ | |||
+ | ====Weierstrass and Jordan definitions (epsilon–delta) of continuous functions==== | ||
+ | [[File:Example of continuous function.svg|right|thumb|Illustration of the <math>\varepsilon-\delta</math>-definition: for <math>\varepsilon = 0.5,c = 2,</math> the value <math>\delta = 0.5</math> satisfies the condition of the definition.]] | ||
+ | Explicitly including the definition of the limit of a function, we obtain a self-contained definition: | ||
+ | Given a function <math>f : D \to R</math> as above and an element <math>x_0</math> of the domain ''D'', ''f'' is said to be continuous at the point <math>x_0</math> when the following holds: For any number <math>\varepsilon > 0,</math> however small, there exists some number <math>\delta > 0</math> such that for all ''x'' in the domain of ''f'' with <math>x_0 - \delta < x < x_0 + \delta,</math> the value of <math>f(x)</math> satisfies | ||
+ | <math display="block">f\left(x_0\right) - \varepsilon < f(x) < f(x_0) + \varepsilon.</math> | ||
+ | |||
+ | Alternatively written, continuity of <math>f : D \to R</math> at <math>x_0 \in D</math> means that for every <math>\varepsilon > 0,</math> there exists a <math>\delta > 0</math> such that for all <math>x \in D</math>: | ||
+ | <math display="block">\left|x - x_0\right| < \delta \text{ implies } |f(x) - f(x_0)| < \varepsilon.</math> | ||
+ | |||
+ | More intuitively, we can say that if we want to get all the <math>f(x)</math> values to stay in some small neighborhood around <math>f\left(x_0\right),</math> we simply need to choose a small enough neighborhood for the ''x'' values around <math>x_0.</math> If we can do that no matter how small the <math>f(x)</math> neighborhood is, then ''f'' is continuous at <math>x_0.</math> | ||
+ | |||
+ | In modern terms, this is generalized by the definition of continuity of a function with respect to a basis for the topology, here the metric topology. | ||
+ | |||
+ | Weierstrass had required that the interval <math>x_0 - \delta < x < x_0 + \delta</math> be entirely within the domain ''D'', but Jordan removed that restriction. | ||
+ | |||
+ | ==Continuity on an Interval== | ||
<blockquote style="background: white; border: 1px solid black; padding: 1em;"> | <blockquote style="background: white; border: 1px solid black; padding: 1em;"> | ||
'''Definition of a ''Continuous Function on I'''''<hr/> | '''Definition of a ''Continuous Function on I'''''<hr/> | ||
Line 14: | Line 68: | ||
Readers may note the similarity between this definition to the definition of a limit in that unlike the limit, where the function <math>f</math> can converge to any value, continuity restricts the returning value to be only the expected value when the function <math>f</math> is evaluated. This added restriction provides many new theorems, as some of the more important ones will be shown in the following headings. | Readers may note the similarity between this definition to the definition of a limit in that unlike the limit, where the function <math>f</math> can converge to any value, continuity restricts the returning value to be only the expected value when the function <math>f</math> is evaluated. This added restriction provides many new theorems, as some of the more important ones will be shown in the following headings. | ||
− | ==Operations== | + | ==Operations/Combinations== |
Since limits are preserved under algebraic operations, let's check whether this is also the case with continuity. | Since limits are preserved under algebraic operations, let's check whether this is also the case with continuity. | ||
Line 94: | Line 148: | ||
This is the big theorem on continuity. Essentially it says that continuous functions have no sudden jumps or breaks. | This is the big theorem on continuity. Essentially it says that continuous functions have no sudden jumps or breaks. | ||
− | + | <blockquote style="background: white; border: 1px solid black; padding: 1em;"> | |
+ | '''Theorem'''<hr/>Let f(x) be a continuous function. If <math>a<b</math> and <math>f(a)<m<f(b)</math>, then <math>\exists c \in (a,b): f(c) = m</math>.</blockquote> | ||
[[File:Intermediatevaluetheorem.svg|alt=The typical depiction of the intermediate value theorem with one peak and one valley.|thumb|The intermediate value theorem: Given a continuous function on [a,b] and three variables a < c < b it must be the case that ƒ(a) < ƒ(c) < ƒ(b)]] | [[File:Intermediatevaluetheorem.svg|alt=The typical depiction of the intermediate value theorem with one peak and one valley.|thumb|The intermediate value theorem: Given a continuous function on [a,b] and three variables a < c < b it must be the case that ƒ(a) < ƒ(c) < ƒ(b)]] | ||
Line 141: | Line 196: | ||
Assume if possible, <math>M=\sup (f([a,b]))</math> but <math>M\notin f([a,b])</math>. | Assume if possible, <math>M=\sup (f([a,b]))</math> but <math>M\notin f([a,b])</math>. | ||
− | Consider the function <math>g(x)=\frac{1}{M-f(x)}</math>. By algebraic properties of continuity, <math>g:[a,b]\to\mathbb{R}</math> is continuous. However, <math>M</math> being a cluster point of <math>f([a,b])</math>, <math>g(x)</math> is unbounded over <math>[a,b</math>, contradicting (i). Hence, <math>M\in f([a,b])</math>. Similarly, we can show that <math>m\in f([a,b])</math>. | + | Consider the function <math>g(x)=\frac{1}{M-f(x)}</math>. By algebraic properties of continuity, <math>g:[a,b]\to\mathbb{R}</math> is continuous. However, <math>M</math> being a cluster point of <math>f([a,b])</math>, <math>g(x)</math> is unbounded over <math>[a,b]</math>, contradicting (i). Hence, <math>M\in f([a,b])</math>. Similarly, we can show that <math>m\in f([a,b])</math>. |
==Appendix== | ==Appendix== | ||
Line 161: | Line 216: | ||
===Topological Continuity=== | ===Topological Continuity=== | ||
− | As mentioned, the idea of continuous functions is used in several areas of mathematics, most notably in | + | As mentioned, the idea of continuous functions is used in several areas of mathematics, most notably in Topology. A different characterization of continuity is useful in such scenarios. |
===Theorem=== | ===Theorem=== | ||
Line 171: | Line 226: | ||
It must be mentioned here that the term "Open Set" can be defined in much more general settings than the set of reals or even metric spaces, and hence the utility of this characterization. | It must be mentioned here that the term "Open Set" can be defined in much more general settings than the set of reals or even metric spaces, and hence the utility of this characterization. | ||
− | == | + | == Licensing == |
− | * [https://en.wikibooks.org/wiki/Real_Analysis/Continuity Continuity | + | Content obtained and/or adapted from: |
+ | * [https://en.wikibooks.org/wiki/Real_Analysis/Continuity Continuity, Wikibooks: Real Analysis] under a CC BY-SA license |
Latest revision as of 23:56, 5 November 2021
Continuity marks a new classification of functions, especially prominent when the theorems explained later on in this page will be put to use. However, if one is reading this wikibook linearly, then it will be good to note that the wikibook will describe functions with even more properties than continuity. As an example, the functions in elementary mathematics, such as polynomials, trigonometric functions, and the exponential and logarithmic functions, contain many levels more properties than that of a continuous function. We will also see several examples of discontinuous functions as well, to provide some remarks of common functions that do not fit the bill.
Contents
Continuity at a Point
Definition
A real function, that is a function from real numbers to real numbers, can be represented by a graph in the Cartesian plane; such a function is continuous if, roughly speaking, the graph is a single unbroken curve whose domain is the entire real line. A more mathematically rigorous definition is given below.
A rigorous definition of continuity of real functions is usually given in a first course in calculus in terms of the idea of a limit. First, a function f with variable x is said to be continuous at the point c on the real line, if the limit of as x approaches that point c, is equal to the value ; and second, the function (as a whole) is said to be continuous, if it is continuous at every point. A function is said to be discontinuous (or to have a discontinuity) at some point when it is not continuous there. These points themselves are also addressed as discontinuities.
There are several different definitions of continuity of a function. Sometimes a function is said to be continuous if it is continuous at every point in its domain. In this case, the function with the domain of all real any integer, is continuous. Sometimes an exception is made for boundaries of the domain. For example, the graph of the function with the domain of all non-negative reals, has a left-hand endpoint. In this case only the limit from the right is required to equal the value of the function. Under this definition f is continuous at the boundary and so for all non-negative arguments. The most common and restrictive definition is that a function is continuous if it is continuous at all real numbers. In this case, the previous two examples are not continuous, but every polynomial function is continuous, as are the sine, cosine, and exponential functions. Care should be exercised in using the word continuous, so that it is clear from the context which meaning of the word is intended.
Using mathematical notation, there are several ways to define continuous functions in each of the three senses mentioned above.
Let
- be a function defined on a subset of the set of real numbers.
This subset is the domain of f. Some possible choices include
- ( is the whole set of real numbers), or, for a and b real numbers,
- ( is a closed interval), or
- ( is an open interval).
In case of the domain being defined as an open interval, and do not belong to , and the values of and do not matter for continuity on .
Definition in terms of limits of functions
The function f is continuous at some point c of its domain if the limit of as x approaches c through the domain of f, exists and is equal to In mathematical notation, this is written as
(Here, we have assumed that the domain of f does not have any isolated points.)
Definition in terms of neighborhoods
A neighborhood of a point c is a set that contains, at least, all points within some fixed distance of c. Intuitively, a function is continuous at a point c if the range of f over the neighborhood of c shrinks to a single point as the width of the neighborhood around c shrinks to zero. More precisely, a function f is continuous at a point c of its domain if, for any neighborhood there is a neighborhood in its domain such that whenever
This definition only requires that the domain and the codomain are topological spaces and is thus the most general definition. It follows from this definition that a function f is automatically continuous at every isolated point of its domain. As a specific example, every real valued function on the set of integers is continuous.
Definition in terms of limits of sequences
One can instead require that for any sequence of points in the domain which converges to c, the corresponding sequence converges to In mathematical notation,
Weierstrass and Jordan definitions (epsilon–delta) of continuous functions
Explicitly including the definition of the limit of a function, we obtain a self-contained definition: Given a function as above and an element of the domain D, f is said to be continuous at the point when the following holds: For any number however small, there exists some number such that for all x in the domain of f with the value of satisfies
Alternatively written, continuity of at means that for every there exists a such that for all :
More intuitively, we can say that if we want to get all the values to stay in some small neighborhood around we simply need to choose a small enough neighborhood for the x values around If we can do that no matter how small the neighborhood is, then f is continuous at
In modern terms, this is generalized by the definition of continuity of a function with respect to a basis for the topology, here the metric topology.
Weierstrass had required that the interval be entirely within the domain D, but Jordan removed that restriction.
Continuity on an Interval
Definition of a Continuous Function on I
Given an interval and a function , continuous on I is defined as upholding the following property:
and it is notated as
Readers may note the similarity between this definition to the definition of a limit in that unlike the limit, where the function can converge to any value, continuity restricts the returning value to be only the expected value when the function is evaluated. This added restriction provides many new theorems, as some of the more important ones will be shown in the following headings.
Operations/Combinations
Since limits are preserved under algebraic operations, let's check whether this is also the case with continuity.
Algebraic
We see that if and are both continuous at c, continuity still works out fine for the following situations:
Addition | |
---|---|
Subtraction | |
Product | |
Multiple of a Function | |
Reciprocal | |
Division |
Note that of course, for any division, g(c) must be a valid number i.e. not 0.
This is actually a corollary when you look at the proofs for the preservation of algebraic operation for limits. Simply replace the limit values L and M with ƒ(c) and g(c) respectively.
We can use sequential limits to prove that functions are discontinuous as follows:
- is discontinuous at if and only if there are two sequences and such that .
Composition
Composition is a lot trickier though, as always, but it still works as intuition would suggest; composition of two continuous functions is still a continuous function.
Theorem
- If is continuous on the range of and is continuous on any interval , then the composition is continuous on A.
The proof simply works by fulfilling the definition of continuity for the composition function of and using variable substitutions based off fulfilling all requirements for those variables. As such, there is no algebra and no theorems used other than purely definitions.
We know what is needed for continuity first. As such, we will define epsilon using the most basic definition that will fit the requirement for continuity. | Let |
Since f must be continuous, we will also write down what we know is true—its checklist of properties fulfilling continuity. For now, we will make a slight modification to the delta variable for reasons that will be justified later. | . |
However, has more properties than that. The key ones are what the value of and refer to. Since the function is continuous on the range of , that means that the input value of is actual the output value of . Thus, we can validly substitute the value and for the function with 's output value. | . |
Since g must be continuous, we will also write down what we know is true, which is the definition of continuity. | . |
The expression and is awfully similar. We can use this to our advantage by seeing if we can abuse any properties we know of. Given that the only requirement for is that it must be positive and its inequality relationship is valid for any number, and that is positive and a number, then we can put two and two together and define as . | Let |
Thus, we abstractly strung together a definition of continuity built off what we know is true; the continuity of and . Reading the valid results of what this new implication statement suggests; that continuity for the composition of and , we are assured in our claim that the composition of and is also continuous. QED. | Thus
so is continuous on A. |
The Three Continuity Theorems
Think about what an intuitive notion of continuity is. If you can’t the image of a polynomial function always works. The smooth curve as it travels through the domain of the function is a graphical representation of continuity. However, how do we mathematically know that it’s continuous? Well, we’ll start with the Three Continuity Theorems that will verify this notion.
The Intermediate Value Theorem
This is the big theorem on continuity. Essentially it says that continuous functions have no sudden jumps or breaks.
Theorem
Let f(x) be a continuous function. If and , then .
Proof
Let , and let .
Let . By continuity, .
If f(c) < m, then , so . But then , which implies that c is not an upper bound for S, a contradiction.
If f(c) > m, then since , . But since , , so = m, which implies that , a contradiction.
We will now prove the Minimum-Maximum theorem, which is another significant result that is related to continuity. Essentially, it states that any continuous image of a closed interval is bounded, and also that it attains these bounds.
Minimum-Maximum Theorem
This theorem functions as a first part in another bigger theorem. However, on its own, it helps bridge the gap between supremums and infimums in regards to functions.
Theorem
Given a continuous function ƒ on [a,b] i.e. , if and , then is bounded.
Proof
Assume if possible that is unbounded.
Let . Then, is unbounded on at least one of the closed intervals and (for otherwise, would be bounded on contradicting the assumption). Call this interval .
Similarly, partition into two closed intervals and let be the one on which is unbounded.
Thus we have a sequence of nested closed intervals such that is unbounded on each of them.
We know that the intersection of a sequence of nested closed intervals is nonempty. Hence, let
As is continuous at , there exists such that But by definition, there always exists such that , contradicting the assumption that is unbounded over . Thus, is bounded over
Extreme Value Theorem
This is the second part of the theorem. It is the more assertive version of the previous theorem, stating that not only is there a supremum and a infimum, it also is reachable by the function ƒ and will be in between the interval you specified.
Theorem
Given a continuous function ƒ on [a,b] i.e. , if are respectively the upper and lower bounds of , then there exist such that .
Proof
Assume if possible, but .
Consider the function . By algebraic properties of continuity, is continuous. However, being a cluster point of , is unbounded over , contradicting (i). Hence, . Similarly, we can show that .
Appendix
Continuity will come again in other branches in mathematics. You will come across not only different variations of continuity, but you will also come across different definitions of continuity too.
Uniform Continuity
Let
Let
We say that is Uniformly Continuous on if and only if for every there exists such that if and then
Lipschitz continuity
Let
Let
We say that is Lipschitz continuous on if and only if there exists a positive real constant such that, for all , .
The smallest such is called the Lipschitz constant of the function .
Topological Continuity
As mentioned, the idea of continuous functions is used in several areas of mathematics, most notably in Topology. A different characterization of continuity is useful in such scenarios.
Theorem
Let
Let
is continuous at if and only if for every open neighbourhood of , there exists an open neighbourhood of such that
It must be mentioned here that the term "Open Set" can be defined in much more general settings than the set of reals or even metric spaces, and hence the utility of this characterization.
Licensing
Content obtained and/or adapted from:
- Continuity, Wikibooks: Real Analysis under a CC BY-SA license